You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a document with multiple languages, for now I'm dealing with it ignoring environments and ignoring everything except the main language.
However, having the languages already specified on latex with a simple syntax with the babel package i think textidote using the languages specified would be so much more convenient.
I understand this conflicts with #56 and can be difficult. But as babel is quite standardized and has a simple syntax maybe is worth to consider it.
Default language for text would be specified like:
\usepackage[defaultlanguage, otherlanguage1, otherlanguage2]{babel}
At first glance I think it is reasonable, as all we need to remember is the current language for a given line (either the default or that of the last otherlanguage instruction).
I am working on a document with multiple languages, for now I'm dealing with it ignoring environments and ignoring everything except the main language.
However, having the languages already specified on latex with a simple syntax with the babel package i think textidote using the languages specified would be so much more convenient.
I understand this conflicts with #56 and can be difficult. But as babel is quite standardized and has a simple syntax maybe is worth to consider it.
Default language for text would be specified like:
\usepackage[defaultlanguage, otherlanguage1, otherlanguage2]{babel}
or
\usepackage[otherlanguage1, main=defaultlanguage, otherlanguage2]{babel}
And when the text is on a different language from the default it would be wrapped on enviroments:
\begin{otherlanguage}{otherlanguage1}
Text written on otherlanguage1
\end{otherlanguage}
The text was updated successfully, but these errors were encountered: