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

Include babel language packs in default bundle #30

Closed
malbarbo opened this issue May 29, 2017 · 6 comments
Closed

Include babel language packs in default bundle #30

malbarbo opened this issue May 29, 2017 · 6 comments

Comments

@malbarbo
Copy link
Contributor

The following tex file

\documentclass{article}
\usepackage[brazil]{babel}

\begin{document}
\end{document}

produces this error:

note: this is a BETA release; report issues at https://github.com/tectonic-typesetting/tectonic/issues
Running TeX ...
error: something bad happened inside TeX; its output follows:

===============================================================================
(a.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(size10.clo)) (babel.sty

! Package babel Error: Unknown option `brazil'. Either you misspelled it
(babel)                or the language definition file brazil.ldf was not found
.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.310 \ProcessOptions*
                      
No pages of output.
Transcript written on a.log.
===============================================================================

error: halted on potentially-recoverable error as specified

changing brazil to english produces another (unrelated issue, I think) this error:

note: this is a BETA release; report issues at https://github.com/tectonic-typesetting/tectonic/issues
Running TeX ...
Rerunning TeX because "a.aux" changed ...
Running xdvipdfmx ...
error: cannot open "a.xdv"

Note that in a preview execution english.ldf was download, but none brazil related file was.

@malbarbo
Copy link
Contributor Author

Oh, by the way, this is an amazing project! Thank you!

@pkgw
Copy link
Collaborator

pkgw commented May 29, 2017

Thanks for reporting! It looks as if the brazil problem is mainly that the language isn't included in the master "bundle" file that assembles the resources that are generally included in a TeXLive installation. I will check it out with english to see if there are any other problems.

In the meantime, if you know how to get your hands on the missing files, things should work if you place them in the directory in which you're running Tectonic. Hopefully there aren't too many files that are needed ...

@malbarbo
Copy link
Contributor Author

I copied portuges.ldf from my tex installation (brazil is an alias to portuges) and it changed the error to error: cannot open "a.xdv" the same for english. Do you have any idea about this other issue?

@pkgw
Copy link
Collaborator

pkgw commented May 29, 2017

Oh! It's just that your document is totally empty. In that case, no XDV file is produced at all. If you add an text after \begin{document} I think it will be fine. I suppose this could get filed as a UX bug.

@malbarbo
Copy link
Contributor Author

You are right. This was my minimal example case to reproduce the issue... With my original article it worked just fine! Thanks.

@pkgw pkgw changed the title No brazil option for babel package Include babel language packs in default bundle May 29, 2017
@pkgw
Copy link
Collaborator

pkgw commented May 29, 2017

OK, in that case, I think the problem is just that it would be helpful to include language packs in the default bundle — relevant code is here in the "staging" repository.

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

2 participants