Opened 6 years ago

Closed 2 years ago

#22659 closed defect (worksforme)

Set LC_ALL=C to build PDF docs

Reported by: John Palmieri Owned by:
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: documentation Keywords: docpdf
Cc: Samuel Lelièvre Merged in:
Authors: Reviewers: John Palmieri
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by John Palmieri)

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.

Change History (5)

comment:1 Changed 6 years ago by John Palmieri

Description: modified (diff)

comment:2 Changed 6 years ago by Jeroen Demeyer

Summary: Set LC_ALL=C to build PDF docs on OS XSet LC_ALL=C to build PDF docs

comment:3 Changed 2 years ago by Dima Pasechnik

Milestone: sage-8.0sage-duplicate/invalid/wontfix
Status: newneeds_review

is this still relevant?

comment:4 Changed 2 years ago by John Palmieri

Status: needs_reviewpositive_review

I don't think so.

comment:5 Changed 2 years ago by Samuel Lelièvre

Cc: Samuel Lelièvre added
Keywords: docpdf added
Resolution: worksforme
Reviewers: John Palmieri
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.