https://tex.stackexchange.com/a/45858/263287
I am working on my own Norwegian and Latin interlinear. I copied Alan Munn's template and edited the main and secondary language to
\documentclass[11pt]{book}
\usepackage[margin=1in]{geometry}
\usepackage{titlesec}
\usepackage{polyglossia}
\defaultfontfeatures{Ligatures=TeX}
\setmainlanguage[variant=bokmal]{norwegian}
\setotherlanguage{latin}
\setmainfont{Linux Libertine O}
\usepackage{datatool}
\usepackage{expex}
however, I get an error: ! Package polyglossia Error: language portuguese is not loaded. Please load it before using it..
See the polyglossia package documentation for explanation. Type H for immediate help. ...
l.2 ...tlanguage *[variant=brazilian,]{portuguese}
Please help.
polyglossiaspecific version: Polyglossia breaks when changing default language from English – Alan Munn Jul 13 '22 at 14:12! Package datatool Error: Can't assign \GreekText : there is no key
Greek' in data basetext'.See the datatool package documentation for explanation. Type H for immediate help.
...
l.82 }}}
– monstermash Jul 13 '22 at 14:21\DTLsettabseparatorinstead of explicitly using\DTLsetseparator{...}with an actual tab in the source as the argument. Perhaps you've changed that line in some way? – Alan Munn Jul 13 '22 at 14:49{in\DTLsetseparator{...}and then hit the right arrow, does it jump immediately to the immediate left of the closing}? It should if it has been pasted correctly. Also you need to make sure the.csvfile has not been messed up by e.g. Excel if you've opened it and saved it using that. The problem you're getting is a problem with reading the.csvfile. – Alan Munn Jul 13 '22 at 15:25titlesecwhich gives you lots of possibilities. The text itself should adapt automatically to your main language. It's contained in the\chaptertitlenamemacro. There are plenty of questions about formatting chapters and sections on the site. But this example isn't the best place to start if you're really unfamiliar with LaTeX. See What are good learning resources for a LaTeX beginner? for some good resources to learn from. – Alan Munn Jul 13 '22 at 15:42