diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-04 22:14:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-04 22:14:38 +0000 |
commit | 06ecc9f9415924da0dc43ceffdcf0e970c745ad9 (patch) | |
tree | 0b2260cb67e638ac64d976b5d03d630baaec304a /Master/texmf-dist/doc/latex/bxorigcapt/README.md | |
parent | 673a8d0f7aca9c451d1a2e325e8479824b1a0df2 (diff) |
bxorigcapt (4may17)
git-svn-id: svn://tug.org/texlive/trunk@44195 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bxorigcapt/README.md')
-rw-r--r-- | Master/texmf-dist/doc/latex/bxorigcapt/README.md | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bxorigcapt/README.md b/Master/texmf-dist/doc/latex/bxorigcapt/README.md new file mode 100644 index 00000000000..83095fa7de2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bxorigcapt/README.md @@ -0,0 +1,81 @@ +BXorigcapt Package +================== + +LaTeX: To retain the original caption names when using Babel + +This package forces the caption names (`\chaptername`, `\today`, etc) +declared by the document class in use to be used as the caption names +for a specific language introduced by the Babel package. + +### System requirement + + * TeX format: LaTeX. + * TeX engine: Anything. + * Dependent packages: + - babel + +### Installation + + - `*.sty` → $TEXMF/tex/latex/BXorigcapt + +### License + +This package is distributed under the MIT License. + +The bxorigcapt Package +---------------------- + +### Introduction + +Suppose you have designed a document class tailored for the Esperanto +language. The class has the following definition of caption names and you +like it: + + \newcommand\contentsname{Tabelo de Enhavo} + +If a document is written solely in Esperanto, then there is no need to +employ the Babel package. (Yes, the document class should select the +hyphenation rule for the language.) However, when you want to create +document that contains Esperanto and German, then you have to utilize +Babel, to have correct hyphenations for both languages. + + \usepackage[ngerman,esperanto]{babel} + +But unfortunately, this changes `\contentsname` from “Tabelo de Enhavo” +(what you have chosen) to “Enhavo” (what is declared in the language +definition file of Babel), which is unfavorable. + +In fact, when using a document class for a specific language, the most +suitable caption names *for that language* should be the ones provided by +the class. The bxorigcapt package realizes this natual request, that is, +it enables you to make the caption names declared in the current document +class treated as the caption names for a specific language. + +### Package Loading + + \usepackage[<language>]{bxorigcapt} + +The package option specifies a Babel language, and requires that the +caption names provided by the document class (actually the ones that are +effective when this package is loaded) should be used as the caption names +for that language. + +The option can be omitted; in that case, the main language of Babel will +be assumed. + +### Usage + +For present, this package has no public commands. All the settings are +done through the package option. + +Revision History +---------------- + + * Version 0.2a 〈2017/05/03〉 + - Minor fix. + * Version 0.2 〈2016/04/01〉 + - The first public version. + +-------------------- +Takayuki YATO (aka. "ZR") +https://github.com/zr-tex8r |