diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
commit | c7cfef6687f65c2538898ddd7c6bc9c9ba50e58d (patch) | |
tree | 8f4de70d1a11463779871162ba84c1dbc874155b /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html | |
parent | 8948a31a6e2ac27883f7adac1b339003961ba43f (diff) |
uk-tex-faq 3.17 (7nov07)
git-svn-id: svn://tug.org/texlive/trunk@5977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html index 20fd4797ce8..297fa5858c8 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-newlang.html @@ -2,7 +2,7 @@ <title>UK TeX FAQ -- question label newlang</title> </head><body> <h3>Using a new language with Babel</h3> -<p><i>Babel</i> is capable of working with a large range of +<p/><i>Babel</i> is capable of working with a large range of languages, and a new user often wants to use a language that her TeX installation is not set up to employ. Simply asking Babel to use the language, with the command @@ -16,7 +16,7 @@ Package babel Warning: No hyphenation patterns were loaded for (babel) I will use the patterns loaded for \language=0 instead. </pre> -<p>The problem is that your TeX system doesn’t know how to hyphenate +<p/>The problem is that your TeX system doesn’t know how to hyphenate Catalan text: you need to tell it how before Babel can do its work properly. To do this, for LaTeX installations, one needs to change <i>language.dat</i> (which is part of the Babel installation); it will @@ -27,7 +27,7 @@ contain a line which, if you remove the comment marker, is supposed to instruct LaTeX to load Catalan hyphenation patterns when you tell it to build a new format. -<p>Unfortunately, in many Babel distributions, the line just isn’t +<p/>Unfortunately, in many Babel distributions, the line just isn’t right — you need to check the name of the file containing the patterns you’re going to use. As you can see, in the author’s system, the name is supposed to be <i>cahyphen.tex</i>; however the file @@ -36,8 +36,8 @@ the error should prove little more than an inconvenience (most of the files are in better distributions anyway, but an elusive one may be found on CTAN; if you have to retrieve a new file, ensure that it’s correctly installed, for which see -<a href="FAQ-instpackages.html">installing a new package</a>). -<p>Finally, you need to regenerate the formats used (in fact, most users +<a href="FAQ-inst-wlcf.html">installing a new package</a>). +<p/>Finally, you need to regenerate the formats used (in fact, most users of Babel are using it in their LaTeX documents, so regenerating the LaTeX-related formats will ordinarily be enough; however, the author always generates the lot, regardless). @@ -50,9 +50,9 @@ texconfig hyphen latex which first enters an editor for you to edit <i>language.dat</i>, and then regenerates the format you specify (<i>latex</i> in this case). -<p> Otherwise, to regenerate all formats, do: <br> +<p/> Otherwise, to regenerate all formats, do: <br> <code>fmtutil --all</code> -<p> If you’re willing to think through what you’re doing (this is +<p/> If you’re willing to think through what you’re doing (this is <em>not</em> for the faint-hearted), you can select a sequence of formats and for each one, run: <br> <code>fmtutil --byfmt <<i>formatname</i>></code><br> @@ -68,9 +68,9 @@ texconfig hyphen latex <code>Maintenance</code>-> <code>Create all format files</code> -<p> or get a DOS window and run:<br> +<p/> or get a DOS window and run:<br> <code>initexmf --dump</code> -<p> On a <i>MiKTeX</i> distribtution v2.0 or later, the whole +<p/> On a <i>MiKTeX</i> distribtution v2.0 or later, the whole procedure can be done via the GUI. To select the new language, do:<br> <code>Start</code>-> @@ -80,12 +80,12 @@ texconfig hyphen latex Select your language from the list, press the <code>Apply</code> button, and then the <code>OK</code> button. Then select the <code>General</code> tab and press the <code>Update Now</code> button. -<p> Otherwise, edit the <i>language.dat</i> file (as outlined above), +<p/> Otherwise, edit the <i>language.dat</i> file (as outlined above), and then run:<br> <code>initexmf --dump</code><br> just as for a pre-v2.0 system. </dl> -<p><b><em>Caveat</em>:</b> It is (just) possible that +<p/><b><em>Caveat</em>:</b> It is (just) possible that your TeX system may run out of “pattern memory” while generating the new format. Most TeX implementations have fixed-size arrays for storing the details of hyphenation patterns, but although their @@ -97,5 +97,5 @@ it may be worth scanning the list of languages in your <dt><tt><i>babel</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/babel.zip">macros/latex/required/babel</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/babel.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/babel/">browse</a>) <dt><tt><i>hyphenation patterns</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/language/hyphenation.zip">language/hyphenation</a> (<a href="ftp://cam.ctan.org/tex-archive/language/hyphenation.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/language/hyphenation/">browse</a>) </dl> -<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=newlang">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=newlang</a> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=newlang">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=newlang</a> </body> |