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

Latex documentation unicode characters problem #7

Open
gtato opened this issue Apr 18, 2014 · 1 comment
Open

Latex documentation unicode characters problem #7

gtato opened this issue Apr 18, 2014 · 1 comment

Comments

@gtato
Copy link
Contributor

gtato commented Apr 18, 2014

When generating the Latex documentation using:

sphinx-build -b latex -d _build/doctrees . _build/latex
make -C _build/latex all-pdf

pdflatex compiler complains about unicode characters which are not defined such as:
├ and└ (both used to describe the directory structure)

Please suggest which would be the way to solve this issue:

  1. Remove those symbols
  2. Use xelatex compiler which supports unicode (but generates other errors)
  3. Define these symbols by means of DeclareUnicodeCharacter macros
@gtato
Copy link
Contributor Author

gtato commented Apr 18, 2014

I replaced both those characters with a │ just to have a compiling documentation but it doesn't look that good as before. Additionally, there is a problem with the coloured text in the documentation. In the rst file they are specified with the latex syntax however when it get translated to .tex sphinx messes up that part. For example:
If .rst has a line like:

\textcolor{red}{core}

In .tex that line would be:

\PYGZbs{}textcolor\PYGZob{}red\PYGZcb{}\PYGZob{}core\PYGZcb{}

and therefore won't be coloured.

@gtato gtato closed this as completed Apr 18, 2014
@gtato gtato reopened this Apr 18, 2014
@gpierre42 gpierre42 reopened this Jul 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants