Yodl includes rudimentary national support, in the sense that it allows you to redefine the strings that are used to identify a sections of the level chapter or part, or the strings that are used to identify a figure. E.g., a command chapter(Introduction) will yield for example the text Chapter 1: Introduction. Using the setchapterstring(text) macro, the Chapter text can be redefined. E.g., in a Dutch text you might put
setchapterstring(Hoofdstuk)

somewhere near the beginning of your document. Similar to setchapterstring, a macro getchapterstring exists that returns the text to identify a chapter. (Internally, getchapterstring is of course used to actually set the text). To redefine the text to identify a part, use setpartstring(text); to redefine the text to identify a figure, use setfigurestring(text).

The set....string macros only affect how Yodl names chapters or parts in HTML, man, ms or txt output. LaTeX output is not affected, since LaTeX does its own NLS. Usually, NLS is present for LaTeX as a `style file' named, e.g., dutch.sty. Therefore, if you want a Dutch document, you need to:

  • put dutch in the latexoptions macro in the preamble of the document. This makes sure that LaTeX uses Dutch names.

  • redefine the chapter and part names for non-LaTeX output, as in:

    setpartstring(Deel)
    setchapterstring(Hoofdstuk)
    setfigurestring(figuur)
    

  • Finally, you should probably type your text in Dutch.

  • Yodl may not be totally complete in respect to NLS; e.g., you might see Contents instead of Inhoudsopgave. But I'm working on it.


    Go back to index of Yodl.

    Please send Yodl questions and comments to yodl@icce.rug.nl.

    Please send comments on these web pages to (address unknown)

    Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.

    Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


    This page was built from Yodl-1.31.18 by

    Stew Benedict <(address unknown)>, Sat Jan 18 18:43:45 2003 EST.