|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Babel loaded by default ?Dear all,
Why is babel loaded by default with MikTeX's latex ? And how to change this behavior ? Regards, Iray -- __________________________ Upside down ... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?On 16-07-2008 13:10, iraysyvalo wrote:
> Why is babel loaded by default with MikTeX's latex ? And how to change > this behavior ? AFAIK, it is *not* loaded by default. If I compile the file \documentclass{article} \begin{document} Test. \end{document} then I get a .log which I reproduce at the end of this post. As you can see, no reference is made there to the Babel package. On the other hand, I am using MikTeX 2.7. Which version are you using? Best regards, Jose Carlos Santos This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=latex 2008.1.17) 16 JUL 2008 13:14 entering extended mode **\input test.tex (test.tex ("C:\Programas\MiKTeX 2.7\tex\latex\base\article.cls" Document Class: article 2005/09/16 v1.4f Standard LaTeX document class ("C:\Programas\MiKTeX 2.7\tex\latex\base\size10.clo" File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (test.aux) LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 2. LaTeX Font Info: ... okay on input line 2. [1 ] (test.aux) ) Here is how much of TeX's memory you used: 201 strings out of 95314 1961 string characters out of 1183851 45953 words of memory out of 1500000 3488 multiletter control sequences out of 110000 3640 words of font info for 14 fonts, out of 1200000 for 2000 16 hyphenation exceptions out of 8191 23i,4n,17p,144b,107s stack positions out of 5000i,500n,10000p,200000b,5000s Output written on test.dvi (1 page, 224 bytes). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?iraysyvalo wrote:
> Dear all, > > Why is babel loaded by default with MikTeX's latex ? And how to change > this behavior ? > > Regards, > Iray > I *think* you mean that the hyphenation patterns for various languages are loaded as part of the format. However, the babel package is not loaded unless you ask for it: \documentclass{minimal} %\usepackage[english]{babel} \begin{document} Babel version: \csname ver@...\endcsname \end{document} Uncomment the \usepackage line to see the difference. Joseph Wright ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?On Wed, Jul 16, 2008 at 2:19 PM, José Carlos Santos <jcsantos@...> wrote:
> On 16-07-2008 13:10, iraysyvalo wrote: > >> Why is babel loaded by default with MikTeX's latex ? And how to change >> this behavior ? > > AFAIK, it is *not* loaded by default. If I compile the file > > \documentclass{article} > \begin{document} > Test. > \end{document} I used the minimal example by Joseph Wright \documentclass{minimal} %\usepackage[english]{babel} \begin{document} Babel version: \csname ver@...\endcsname \end{document} With that one the version doesn't appear in the dvi but the file compiles. > > then I get a .log which I reproduce at the end of this post. As you can > see, no reference is made there to the Babel package. The problem is with the log : instead of the log you got, I see in my log (see below) that Babel was loaded somehow ?? > On the other hand, I am using MikTeX 2.7. Which version are you using? > >From the log, the same as yours, it seems. Regards, Iray ------ My log This is pdfTeX, Version 3.1415926-1.40.8-beta-20080627 (MiKTeX 2.7) (preloaded format=latex 2008.7.16) 16 JUL 2008 15:28 entering extended mode **ecm (ecm.tex LaTeX2e <2005/12/01> Babel <v3.8j> and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\minimal.cls" Document Class: minimal 2001/05/25 Standard LaTeX minimal class ) (ecm.aux) LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. [1] (ecm.aux) ) Here is how much of TeX's memory you used: 20 strings out of 95306 250 string characters out of 1183057 45003 words of memory out of 1500000 3310 multiletter control sequences out of 110000 3640 words of font info for 14 fonts, out of 1200000 for 2000 14 hyphenation exceptions out of 8191 14i,4n,10p,105b,92s stack positions out of 5000i,500n,10000p,200000b,5000s Output written on ecm.dvi (1 page, 220 bytes). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?am Mittwoch, 16. Juli 2008 um 14:10 schrieb iraysyvalo:
> Why is babel loaded by default with MikTeX's latex ? Only a small part of babel, the file hyphen.cfg, is loaded by default in the formats. hyphen.cfg contains core commands, e.g. to load and switch between hyphenation patterns. It also process the language.dat and loads the hyphenation patterns. > And how to change this behavior ? Write your own hyphen.cfg and put it in a place that is searched before \tex\generic\babel. Then regenerate the formats. -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?iraysyvalo wrote:
> Babel <v3.8j> and hyphenation patterns for english, dumylang, nohyphenation, ge > rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded. As Ulrike has said, that is the hyphenation patterns, not the babel package itself. Why do you want to avoid loading any part of babel, by the way? Joseph Wright ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?On Wed, Jul 16, 2008 at 3:50 PM, Joseph Wright
<joseph.wright@...> wrote: > iraysyvalo wrote: > >> Babel <v3.8j> and hyphenation patterns for english, dumylang, nohyphenation, ge >> rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded. > > As Ulrike has said, that is the hyphenation patterns, not the babel > package itself. Why do you want to avoid loading any part of babel, by > the way? > > Joseph Wright > Because I wanted to reproduce a current bug in babel and with my current setting, I didn't know how to switch it off. The example is the following ---- a file which seems to load more than the hyphen patterns !! \documentclass{article} %%\usepackage[english]{babel} \listfiles \begin{document} % Works fine without babel/english First call to the first footnote\footnotemark\footnotetext{\label{fn:one} This is a footnote.}, another footnote\footnote{\label{fn:two} This is another footnote.} and a second call to the first footnote\footnotemark[\ref{fn:one}]. \end{document} This one should compile fine with the commented out babel line above but this example still does not compile here. Iray -- __________________________ Upside down ... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?am Mittwoch, 16. Juli 2008 um 16:21 schrieb iraysyvalo:
>> Why do you want to avoid loading any part of babel, by >> the way? > Because I wanted to reproduce a current bug in babel and with my > current setting, I didn't know how to switch it off. The example is > the following > ---- a file which seems to load more than the hyphen patterns !! > \documentclass{article} > %%\usepackage[english]{babel} > \listfiles > \begin{document} > % Works fine without babel/english > First call to the first > footnote\footnotemark\footnotetext{\label{fn:one} This is a > footnote.}, another footnote\footnote{\label{fn:two} This is another > footnote.} and a second call to the first > footnote\footnotemark[\ref{fn:one}]. > \end{document} > This one should compile fine with the commented out babel line above > but this example still does not compile here. Your example compiles fine for me (with a hyphen.cfg). It fails with the uncommented babel-line because babel redefines \ref and so it no longer expands to the number \footnotemark expects. It is much better to use footmisc and the \footref command. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=repfootnote -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?On Wed, Jul 16, 2008 at 4:53 PM, Ulrike Fischer <list@...> wrote:
> am Mittwoch, 16. Juli 2008 um 16:21 schrieb iraysyvalo: > >>> Why do you want to avoid loading any part of babel, by >>> the way? > >> Because I wanted to reproduce a current bug in babel and with my >> current setting, I didn't know how to switch it off. The example is >> the following > >> ---- a file which seems to load more than the hyphen patterns !! >> \documentclass{article} >> %%\usepackage[english]{babel} >> \listfiles >> \begin{document} >> % Works fine without babel/english >> First call to the first >> footnote\footnotemark\footnotetext{\label{fn:one} This is a >> footnote.}, another footnote\footnote{\label{fn:two} This is another >> footnote.} and a second call to the first >> footnote\footnotemark[\ref{fn:one}]. >> \end{document} > >> This one should compile fine with the commented out babel line above >> but this example still does not compile here. > > Your example compiles fine for me (with a hyphen.cfg). I know it should compile fine with the babel line commented but then it does NOT here. That's why I asked in the first place if somehow babel was loaded by default by MikTeX as the log seemed to suggest. Could you please send me your hyphen.cfg and your log for that test ? I really don't now why it does not compile here. Regards, Iray ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?iraysyvalo wrote:
> > I know it should compile fine with the babel line commented but then > it does NOT here. That's why I asked in the first place if somehow > babel was loaded by default by MikTeX as the log seemed to suggest. > > Could you please send me your hyphen.cfg and your log for that test ? > I really don't now why it does not compile here. > > Regards, > Iray For me, I have to do two runs to get it to work. In the first run, I get an error as, of course, \ref{fn:on} does not expand to a number. In the second run, however, all is fine. Log for first run, then log for second run (a bit long, but for completeness): ****************************************************************** * RUN ONE ****************************************************************** This is pdfTeX, Version 3.1415926-1.40.8-beta-20080627 (MiKTeX 2.7) (preloaded format=latex 2008.7.16) 17 JUL 2008 08:37 entering extended mode **test.tex (test.tex LaTeX2e <2005/12/01> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, ukenglish, loaded. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls" Document Class: article 2005/09/16 v1.4f Standard LaTeX document class ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo" File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) No file test.aux. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 7. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 7. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 8. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 8. ! Missing number, treated as zero. <to be read again> \protect l.10 footnote\footnotemark[\ref{fn:one}] . ? LaTeX Warning: Reference `fn:one' on page 1 undefined on input line 10. [1 ] (test.aux) *File List* article.cls 2005/09/16 v1.4f Standard LaTeX document class size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) *********** LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) Here is how much of TeX's memory you used: 219 strings out of 95311 2170 string characters out of 1183712 46013 words of memory out of 1500000 3501 multiletter control sequences out of 110000 5771 words of font info for 21 fonts, out of 1200000 for 2000 22 hyphenation exceptions out of 8191 23i,8n,19p,132b,148s stack positions out of 5000i,500n,10000p,200000b,5000s Output written on test.dvi (1 page, 696 bytes). ****************************************************************** * RUN TWO ****************************************************************** This is pdfTeX, Version 3.1415926-1.40.8-beta-20080627 (MiKTeX 2.7) (preloaded format=latex 2008.7.16) 17 JUL 2008 08:37 entering extended mode **test.tex (test.tex LaTeX2e <2005/12/01> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, ukenglish, loaded. ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls" Document Class: article 2005/09/16 v1.4f Standard LaTeX document class ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo" File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (test.aux) LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 7. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 7. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 8. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 8. [1 ] (test.aux) *File List* article.cls 2005/09/16 v1.4f Standard LaTeX document class size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) *********** ) Here is how much of TeX's memory you used: 219 strings out of 95311 2165 string characters out of 1183712 46013 words of memory out of 1500000 3500 multiletter control sequences out of 110000 5463 words of font info for 20 fonts, out of 1200000 for 2000 22 hyphenation exceptions out of 8191 23i,8n,19p,132b,148s stack positions out of 5000i,500n,10000p,200000b,5000s Output written on test.dvi (1 page, 640 bytes). ****************************************************************** * END ****************************************************************** Hope this helps, Joseph Wright ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?On Thu, Jul 17, 2008 at 9:39 AM, Joseph Wright
<joseph.wright@...> wrote: > For me, I have to do two runs to get it to work. In the first run, I > get an error as, of course, \ref{fn:on} does not expand to a number. In > the second run, however, all is fine. Log for first run, then log for > second run (a bit long, but for completeness): Ok, it also works for me compiling twice. I have the bad habit to Ctrl-C on any compiling error, so of course, I never had the chance to compile twice as it was back to primary state again. > > Hope this helps, > So it helps, but apparently, with texlive07 (on debian), the example file compiles smoothly on the first run. Thanks all for your patience, Iray ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
|
|
Re: Babel loaded by default ?am Donnerstag, 17. Juli 2008 um 10:06 schrieb iraysyvalo:
> I have the bad habit to Ctrl-C on any compiling error, A very bad habit which you should really get rid of. It will disable log-creation and -- as you saw -- prevent recovering from errors due to old auxiliary files. > So it helps, but apparently, with texlive07 (on debian), the example > file compiles smoothly on the first run. Are you sure it is really the first run with no .aux-file around? And that the run didn't use \scrollmode which would simply continue the compilation after the first error? -- Mit freundlichen Grüßen Ulrike Fischer mailto:list@... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MiKTeX-Users mailing list MiKTeX-Users@... https://lists.sourceforge.net/lists/listinfo/miktex-users |
| Free Forum Powered by Nabble | Forum Help |