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

sage-doc-6.5 fails due to babel problems #338

Closed
gagern opened this issue Feb 22, 2015 · 5 comments
Closed

sage-doc-6.5 fails due to babel problems #338

gagern opened this issue Feb 22, 2015 · 5 comments

Comments

@gagern
Copy link
Contributor

gagern commented Feb 22, 2015

Apparently the sage docs fail to build for lack of some babel setting:

[a_tour_of] resolving references...

(/usr/share/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-dist/tex/latex/cmap/cmap.sty)
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/latex/base/t1enc.def)<<t1.cmap>>)
(/usr/share/texmf-dist/tex/generic/babel/babel.sty

! Package babel Error: You haven't specified a language option.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.332 ...ry to proceed from here, type x to quit.}

? 
! Emergency stop.
 ...                                              

I guess this might have been for one of the non-english copies of the tour document; there were several similar errors later on. Perhaps my problem is the fact that I probably don't have babel support files for magyar, italian or brazil installed. Does this package perhaps depend on dev-texlive/texlive-lang{hungarian,italian}? What package do I need for brazil? texmfind brazil.ldf returns only some gloss-brazil.ldf from xetex. I see the ebuild already depends on portuguese, so perhaps that's sufficient.

I guess for the time being I'll disable the pdf USE flag, but I'd like you to know about these issues nevertheless. I'll give the package a re-run (with USE=pdf) after I merged the packages mentioned above, but not today.

@kiwifb
Copy link
Collaborator

kiwifb commented Feb 22, 2015

sage-doc is crufty I recommend use of sage-doc-bin (which I need to update now that the official docs are out). We seriously need to do something

  1. about the pdf generation which is where those problem appear
  2. language selection. We should be able to only build and test a subset

Anyway this is stuff for #210 which is our long suffering ticket about building the doc and I understand if don't want to read it all.

@kiwifb
Copy link
Collaborator

kiwifb commented Feb 22, 2015

I have updated sage-doc-bin if you are interested in installing pdf documentation.

@kiwifb
Copy link
Collaborator

kiwifb commented Feb 22, 2015

Actually now that I remember it when I first created a sage-doc-bin for 6.4 I explicitly removed pdf generation for sage-doc-6.4 because we know it is broken. So It was a sloppy release from me. I'll put the ebuild in line.

@kiwifb kiwifb closed this as completed Feb 22, 2015
kiwifb added a commit that referenced this issue Feb 22, 2015
… Pointed out in issue #338.

Package-Manager: portage-2.2.14
@saraedum
Copy link

saraedum commented Mar 6, 2018

@kiwifb I just ran into this issue on ArchLinux (so not gentoo…). Did you eventually find out how to resolve this problem? Not sure what's so special about the German Tour of Sage.

@kiwifb
Copy link
Collaborator

kiwifb commented Mar 6, 2018

This problem is like https://trac.sagemath.org/ticket/17874 in fact. It seems to point to an underlying problem with missing a component of TeXlive.
I currently do not suffer from that problem when I build the full doc including pdf for stable releases.
Look to see if you have a folder called babel-german in your texlive install.

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

3 participants