[NTG-context] enumerated lists

2005-07-07 Thread Frank Grieshaber

Hello all (esp. the ConTeXt-Developers),

some time ago I sent the following email to this list and got no reply 
so I'm resending it.


Is there any possibility that this feature will be part of the next/one 
of the next ConTeXt-versions?


Frank



Dear all,
I have a manuscript with long nested numbered enumerations and I want 
the numbers of all levels to be printed automatically like:


1. one
1.1 one-one
1.2 one-two
2. two
2.1 two-one
2.2.1 two-two-one
...

Using the following prints only the current level's number, not all levels:

\startitemize[n,packed]
\item
\item
  \startitemize[m,packed]
  \item
  \item
  \stopitemize
\item
\item
\stopitemize


For Latex there is the package paralist.sty for doing the desired 
numbering, how can this be done with ConTeXt?


Frank



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \lowerleftdoubleninequote (German quotes)

2005-05-04 Thread Frank Grieshaber
Dear all,
I want to use German double quotes for my text but noticed that the 
beginning double quotation sign/glyph is somewhat corrupt: there is a 
bigger distance between the two signs than is with the ending double 
quote (which are typographically correct). To make this a bit clearer, I 
have appended to this email an examle. If you look very carfully you can 
see this effect already in the Context Manual, chapter 10.8 page 198 
(\lowerleftdoubleninequote).

The Code of the appended pdf is the following:
\mainlanguage   [de]rules, quote signs etc.
\starttext
Dies ist ein \quotation{Test}.
\stoptext
Has anybody noticed this error, or does anybody know a solution?
Thanks,
Frank


anfu.pdf
Description: Adobe PDF document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] inserting toc

2005-05-02 Thread Frank Grieshaber
Hello,
I want to insert a table of contents but all I get is the following 
error message in the created pdf-file:

[part,chapter,section,subsection,subsubsection not found/processed]
According to the mp-cb-en.pdf page 51/52 documentation I included the 
following lines to the setup area:

\definelist[chapter]
\setuplist
[chapter]
[before=\blank,
after=\blank,
style=bold]
\definelist[section]
\setuplist
[section]
[alternative=d]
\definecombinedlist
[contents]
[chapter,section]
[level=subsection]
and \placecontent after the \starttext and in front of the first 
\chapter. What am I doing wrong here?

Frank
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt oddities

2005-05-01 Thread Frank Grieshaber
Dear fellow-ConTeXters,
working with Context I noticed some small, strange behaviours:
1. I arranged pages in the following way:
\definepapersize[myCustomLayout][width=12cm, height=19cm]
\setuppapersize[myCustomLayout][A4,landscape]
\setuparranging[2SIDE]
now, when I use \showsetups I get the following values:
paperhight: 18.9973cm
paperwidth: 11.99829cm
(happens with the rest of layout-definitions as well)
well, sure enough nobody will see the difference in print... but 
nevertheless a bit annoying if you wanted to show the result of 
\showsetups to your clients (maybe the values are converted from cm to 
pt and back again?)

2. for control of orphans and widows I use the following:
\clubpenalty=8000
\widowpenalty=8000
it seems, this has to be inserted after \starttext, which is - I think - 
not a too good place for such a global definition,  shouldn't it be in 
the setup area before \starttext? but there I cant't get it working. Or 
am I doing something wrong with the commands?

3. if a command has lots of options it's better to sort of 
pretty-print those like the following:

\setuplayout[
backspace=15mm,
cutspace=10mm,
...
grid=yes,
marking=on,
]
After some time (lots of time..) I figured out that the last , is a 
must, without it, the last option is ignored - why is that?

4. I am well aware this has been asked before on this list, but no good 
solution came up: I need the footnote ref number to be beneath the main 
text, not in the small blank space between the text and the margin 
column. I managed to get it working with the hack by Paul Tremblay 
posted on this list some time ago and defined my own \myFootnote-command 
for it, but that is a quick and dirty solution, there has to be a 
better way, so I'd like to raise the question once again: How can this 
be done? Is it that difficult to change this kind of strange setting of 
footnotes?

Many thanks for your answers,
Frank
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] enumerated lists

2005-05-01 Thread Frank Grieshaber
Dear all,
I have a manuscript with long nested numbered enumerations and I want 
the numbers of all levels to be printed like:

1. one
1.1 one-one
1.2 one-two
2. two
2.1 two-one
2.2.1 two-two-one
...
Using the following prints only the current level's number, not all levels:
\startitemize[n,packed]
\item
\item
  \startitemize[m,packed]
  \item
  \item
  \stopitemize
\item
\item
\stopitemize
For Latex there is the package paralist.sty for doing the desired 
numbering, how can this be done with ConTeXt?

Frank
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context