Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understand Word/LibreOffice styles #28

Open
kopeckyf opened this issue Feb 28, 2023 · 0 comments
Open

Understand Word/LibreOffice styles #28

kopeckyf opened this issue Feb 28, 2023 · 0 comments
Assignees

Comments

@kopeckyf
Copy link
Contributor

The following styles are currently not understood by the converter although they are used in the Libreoffice template:

styleNormal

Indicates a normal paragraph. Can be omitted from the conversion result.

styleLangSciBulletList

Should be replaced by \begin{itemize} ... \end{itemize}. A list entered with the style styleLangSciBulletList is converted to blocks like this:

\begin{listLFOixleveli}
\item \begin{styleLangSciBulletList}
Bullet list 
\end{styleLangSciBulletList}
\item \begin{styleLangSciBulletList}
also known as unordered list
\end{styleLangSciBulletList}
\end{listLFOixleveli}

I do not understand why the listLFOixleveli is being added. I can't find info on it within LibreOffice.

listLFOiileveli

Examples look fine, but I don't know where the listLFOiileveli, listLFOiilevelii etc are coming from.

\begin{listLFOiileveli}
\item \ea\label{ex:key:}
\langinfo{}{}{French (personal knowledge)}\\

\begin{listLFOiilevelii}
\item \ea\label{ex:key:}
\langinfo{}{}{Paris}\\
\end{listLFOiilevelii}
\end{listLFOiileveli}
\gll Ceci n'est pas une pomme\\
     this \textstyleLangSciCategory{neg} \textstyleLangSciCategory{cop}.\textstyleLangSciCategory{3sg}.\textstyleLangSciCategory{pres}  \textstyleLangSciCategory{neg}  \textstyleLangSciCategory{det}.\textstyleLangSciCategory{f} apple\\
\glt „This is not an apple.”\z

These lists seem to follow a pattern: listLFO<ID1>level<ID2>, where <ID2> is simply the list's nesting level and <ID1> a list id. For example, itemized lists are listLFOix, numbered lists are listLFOx, examples are listLFOii. Will have to find out where listLFO is coming from

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants