[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DebianDoc: Chap -?-> Part

On Sun, Dec 02, 2007 at 04:17:07PM -0500, Eric d'Alibut wrote:
> On Dec 2, 2007 3:36 AM, Osamu Aoki <osamu@debian.org> wrote:
> > Your question took me a while to understand.
> Sorry.

I still do not understand. You want to see the string "Part" instead of
"Chapter" in the output, right? Or do you want a different section
hierarchy in documents (bolder and bigger headlines)? LaTeX supports
\part, \chapter, \section, \subsection, \subsubsection, \paragraph and
\subparagraph. They have completely different properties. \part is used
to separate a book into two or three parts where each part is more or
less a book on it's own, that is \part is a very strong separation
between chapters. Do you want this?

Maybe you just refer to a translation where a currently used string for
Chapter is not perfect and you want to improve it?

> > For english: /usr/share/perl5/DebianDoc_SGML/Locale/en_US.* depending on
> > locale you want.
> I have changed what I thought appropriate, and, in the case of the
> file 'LaTex', added a line, but these changes do not carry over into
> pdf output. For HTML output they produce the desired effect:
> # pwd
> /usr/share/perl5/DebianDoc_SGML/Locale/en_US.ISO8859-1
> # grep chapter *
> HTML:	   'chapter' => sub { return "Part $_[0]" },
> LaTeX:	   'chapter' => 'Part',

Strange, I do not find this in my file. Please note that the string used
for Chapter is hardcoded in LaTeX. There is probably a way to redefine
it (for translation look into babel.sty) but I found no easy way. A
\renewcommand{\chapter}{Part: \thechaptername} or something similar
called via
'before begin document' => '\renewcommand{\chapter}{Part: \thechaptername}',
in LaTeX could do the job but I'm sure it's not so easy.

You should ask yourself: What do you want and why?!


Reply to: