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

Set LC_ALL=C to build PDF docs #22659

Closed
jhpalmieri opened this issue Mar 21, 2017 · 5 comments
Closed

Set LC_ALL=C to build PDF docs #22659

jhpalmieri opened this issue Mar 21, 2017 · 5 comments

Comments

@jhpalmieri
Copy link
Member

Running make doc-pdf fails to build the Russian tutorial on OS X because of some sed issue:

[docpdf] Underfull \hbox (badness 10000) in paragraph at lines 300--300
[docpdf]
[docpdf] (/usr/local/texlive/2016/texmf-dist/tex/latex/cyrillic/t2acmss.fd)<<ot1.cmap>><
[docpdf] <oml.cmap>><<oms.cmap>><<omx.cmap>>
[docpdf] (/usr/local/texlive/2016/texmf-dist/tex/latex/amsfonts/umsa.fd)
[docpdf] (/usr/local/texlive/2016/texmf-dist/tex/latex/amsfonts/umsb.fd)
[docpdf] (/usr/local/texlive/2016/texmf-dist/tex/latex/jknapltx/ursfs.fd) [1{/usr/local/
[docpdf] texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2]
[docpdf] (./SageTutorial_ru.toc [1]) [2]
[docpdf] (/usr/local/texlive/2016/texmf-dist/tex/latex/base/t1cmss.fd)pdfTeX warning (ex
[docpdf] t4): destination with the same identifier (name{page.1}) has been already used,
[docpdf]  duplicate ignored
[docpdf] <to be read again>
[docpdf]                    \relax
[docpdf] l.317 \chapter
[docpdf]               {Введение} [1]pdfTeX warning (ext4): destination with the
[docpdf]  same identifier (name{page.2}) has been already used, duplicate ignored
[docpdf] <to be read again>
[docpdf]                    \relax
[docpdf] l.317 \chapter
[docpdf]               {Введение} [2]
[docpdf] {\cyrillictext \CYRG \cyrl \cyra \cyrv \cyra } 1.
[docpdf] (/usr/local/texlive/2016/texmf-dist/tex/latex/cyrillic/t2acmtt.fd)
[docpdf] Overfull \vbox (2.56999pt too high) detected at line 370
[docpdf] [3]
[docpdf] Overfull \hbox (50.76181pt too wide) in paragraph at lines 407--411
[docpdf] []\T2A/cmr/m/n/10 ???????????? ?? ??-????-??-??-??? SageTeX ??-??-???-?? ? \T2A
[docpdf] /cmtt/m/n/10 $SAGE_ROOT/local/share/texmf/tex/latex/sagetex/
[docpdf]
[docpdf] Underfull \hbox (badness 5878) in paragraph at lines 407--411
[docpdf] \T2A/cmr/m/n/10 , ??? ``\T2A/cmtt/m/n/10 $SAGE_ROOT \T2A/cmr/m/n/10 '' ??-??-??
sed: RE error: illegal byte sequence
make[1]: *** [doc-pdf] Error 1

This can be fixed by running LC_ALL=C make doc-pdf instead of make doc-pdf. We should set this variable automatically somewhere.

CC: @slel

Component: documentation

Keywords: docpdf

Reviewer: John Palmieri

Issue created by migration from https://trac.sagemath.org/ticket/22659

@jhpalmieri

This comment has been minimized.

@jdemeyer jdemeyer changed the title Set LC_ALL=C to build PDF docs on OS X Set LC_ALL=C to build PDF docs Mar 21, 2017
@dimpase
Copy link
Member

dimpase commented Sep 15, 2020

comment:3

is this still relevant?

@dimpase dimpase removed this from the sage-8.0 milestone Sep 15, 2020
@jhpalmieri
Copy link
Member Author

comment:4

I don't think so.

@slel
Copy link
Member

slel commented Oct 11, 2020

Reviewer: John Palmieri

@slel
Copy link
Member

slel commented Oct 11, 2020

Changed keywords from none to docpdf

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