One of the first lessons learned when using the LaTeX importer is to abide by the rules. The importer is a rather faithful utility, but it will not function properly unless the LaTeX file is properly prepared. So, the first step to importing your LaTeX document is preparation.
Connexions has created a template that will aid you in this process. The template is available for download here.
Using the LaTeX Template
The importer uses Tralics to translate LaTeX to CNXML. Tralics supports a large number of LaTeX packages and commands, but not all of them. Using the Connexions LaTeX Template will increase your chances for a successful import. Follow the steps below to prepare your document.
- Begin preparing your document by pasting the body of your document between the
\begin{document}and\end{document}commands in the template. - Un-comment (remove the "%" sign) only the
\usepackage{}commands required by your LaTeX document. These are located in the preamble of the Connexions LaTeX template. - If you have any "user-defined macros" you may insert these after the
\usepackage{}commands. - At the end of the document you may supply your .bib files. Make sure these files are at the same directory level as the file that is referencing it.
Note:
An issue has been noted with .bib file names containing capital letters. Ensure that your .bib files are labeled in lower-case letters (including the extensions). - If your document contains images, make sure these files are at the same directory level as the file that is referencing it.
- Save your new template-enhanced file. Make sure to rename the files and place it in the folder with your .bib and image files.
- Run LaTeX (pdflatex) on the new file using only the
\usepackage{}commands allowed by the template. - Include the new file, all image files and .bib files in a new .zip file with the same name as your template-enhanced .tex file. Their names must match and there should not be any sub-folders!
Importing your LaTeX Document
Once you have successfully completed the steps above, your document should be properly prepared for import in to the Connexions depository. Follow the steps below:
- In your workspace or workgroup, create a new blank module.
- Then from the edit tab of that module, select LaTeX from the import drop-down list and click import.
Figure 1 
- Click browse to locate your .zip file.
- Click import to upload your document.









"The canonical how-to guide to using Connexions."