[NTG-context] Can itemize calculate optimal label widths?

2004-02-20 Thread Stefan Wachter
Hi all!

Is there a possiblity to have itemize calculate the optimal label width 
itself? I have an itemize that has rather different labels, e.g.:

\startitemize
\sym{1.} An item
\sym{2.} Another item
\sym{103 a.} An item with a very broad label
\stopitemize
In this example the label 103 a. flows into the item text. It would be 
great if itemize would automatically use a label width that fits the 
broadest label.

Thanks for your attention,
--Stefan
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Again: hanging for a lot of paragraphs?

2004-02-20 Thread Steffen Wolfrum
a secret feature - great!

So, sometimes it really is worthwhile to ask the same question twice :o)


Thank you very much Hans 


Steffen

By the way: Any news from the placefigure-cookery?



Hans Hagen [EMAIL PROTECTED] wrote:

 At 21:55 18/02/2004, you wrote:
 Hi friends,
 
 there are for sure more sophisticated and more urgent problems,
 but my question to me is really a big problem.
 
 Isn't there anybody that knows a command or a work-around that could help?
 
 Hm, for some time there is a secret feature in cont-new.tex which i still 
 have to finish:
 
 \starttext
 
 \start
\setupparagraphintro[reset,first][\hangafter-2 \hangindent2em FIRST]
\input ward \blank \input ward \blank
\input ward \blank \input ward \blank
 \stop
 
 \page
 
 \start
\setupparagraphintro[reset,next][\hangafter-2 \hangindent2em NEXT]
\input ward \blank \input ward \blank
\input ward \blank \input ward \blank
 \stop
 
 \page
 
 \start
\setupparagraphintro[reset,each][\hangafter-2 \hangindent2em EACH]
\input ward \blank \input ward \blank
\input ward \blank \input ward \blank
 \stop
 
 \stoptext
 
 The next option only works when you have the following patch in 
 cont-new.tex (Search for original):
 
 \def\dosetupparagraphintro[#1][#2]%
{\processallactionsinset
   [#1]
   [   \v!reset=\global\chardef\everyparagraphintro\zerocount
 \global\everyfirstparagraphintro\emptytoks
 \global\everynextparagraphintro \emptytoks,
  \v!eerste=\global\chardef\everyparagraphintro\plusone
 \doglobal\appendtoks#2\to\everyfirstparagraphintro,

 \v!volgende=\ifcase\everyparagraphintro\global\chardef\everyparagraphintro\plusone\fi
 \doglobal\appendtoks#2\to\everynextparagraphintro,
 
 \v!elk=\ifcase\everyparagraphintro\global\chardef\everyparagraphintro\plustwo\fi
 \doglobal\appendtoks#2\to\everyfirstparagraphintro
 \doglobal\appendtoks#2\to\everynextparagraphintro]}
 
 
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Not seeing the wood because of so many trees

2004-02-20 Thread Hans Hagen
At 09:17 17/02/2004, Thomas A.Schmitz wrote:
Sorry for going back to an older thread, but I don't think the question 
was answered properly. Alexander Klink wanted to know how to typeset { 
and }. Suggestions were \type|{| and \type|}| or $\{$ and $\}$. 
Neither of which is satisfactory, because it will typeset them either in 
typewriter or in math font. We had a discussion about similar questions a 
while ago. I still think we should have \{ and \} for
this kind of thing. As long as this isn't available, I see no better 
solution than \getglyph{Serif}{123} and \getglyph{Serif}{125} vel. 
sim. For those of us working in the humanities, these curly braces are 
sometimes necessary (e.g., in critical editions), and having them in 
typewriter or math fonts isn't acceptable. So may I continue my rally for 
\{ etc.?
The problem is that the cmr fonts are not that complete. Once we switch to 
the lmr fonts, this problem will disappear (sincethen we can use other 
encoding vectors)

Hans



-
  Hans Hagen | PRAGMA ADE/POD/CTS
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Again: hanging for a lot of paragraphs?

2004-02-20 Thread Hans Hagen
At 10:45 20/02/2004, you wrote:
a secret feature - great!

So, sometimes it really is worthwhile to ask the same question twice :o)
well, that way you learn more tricks on the way

By the way: Any news from the placefigure-cookery?
no

Hans  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setupsection ... works how?

2004-02-20 Thread Hans Hagen
At 16:22 18/02/2004, you wrote:
Hi there,

while replying to a post on comp.text.tex I made the
interesting discovery that
\setupsection[section-2][conversion=Romannumerals]

cannot be replaced by

\setupsection[chapter][conversion=Romannumerals]

even though chapter is section-2 ... why is it? Shouldn't it be
possible to use those names?
sections are at  ahigher level that chapters

  \setuphead[chapter][...] should work

of course i can cook up something that would make \setupsectionp[chapter] 
work; remind me in a few weeks

Hans  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unicode garbage in table of contents

2004-02-20 Thread Hans Hagen
At 05:35 20/02/2004, you wrote:
Hello,

I'm using

\enableregime[utf]

in the preamble and unicode characteurs in the document are typeset
correctly. But, in the table of contents and in the index, they are
replaced with their hex codes with some garbage.
Anything I might be doing wrong?
how does the \jobname.tuo file looks like? maybe you run a 7 bit tex (in 
which care you need to enable the 8 bit tcx extension)

Hans   

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-20 Thread Christopher G D Tipper
 At 07:15 05/02/2004, you wrote:
 Hallo,
 
 it seems to me that text surrounding is ignored for floats inside columns,
 see the code below. Am I right?
 
 yes; see columns.pdf for the many figure options in column sets
 
 Hans  
 I find myself with a similar problem with floats not working. Could I have a link to 
'columns.pdf'. I have searched the website, but no joy.

Christopher
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-20 Thread Christopher G D Tipper
 yes; see columns.pdf for the many figure options in column sets
 
 Hans  
 I find myself with a similar problem with floats not working. Could I have a link to 
 'columns.pdf'. I have searched the website, but no joy.
I reply to my own message because I have found columns.pdf in tex/sources/user, but 
this is meaningless to me. Are there some undocumented \placefigure switches I need to 
know about?

Christopher
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


ReĀ : [NTG-context] Unicode garbage in table of contents

2004-02-20 Thread David Munger
\enableregime[utf]

in the preamble and unicode characteurs in the document are typeset
correctly. But, in the table of contents and in the index, they are
replaced with their hex codes with some garbage.

how does the \jobname.tuo file looks like? maybe you run a 7 bit tex  
(in which care you need to enable the 8 bit tcx extension)


The text in the tuo file looks exactly like the one in the table of  
contents.

A few more tests pointed out that the problem arises from the nath  
module. But my TeX knowledge is too limited so I can't find where it  
happens into the file.

David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] caption alignment

2004-02-20 Thread Hans Hagen
At 20:34 18/02/2004, you wrote:
Ahoi!

I thought
\setupcaptions[align=right]
would cause left aligned captions, but they stay centered.
\setupcombinations[align=right]
works -- even if I think, combination captions should be
affected by \setupcaptions also...
Ergo:
- How do I get left aligned captions?
- Is it possible to set up normal and combination captions together?
meybe the latest detials.pdf helps

Hans

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] floats in column sets [was: (no subject)]

2004-02-20 Thread Christopher G D Tipper
 yes; see columns.pdf for the many figure options in column sets
 
 Hans  
 I find myself with a similar problem with floats not working. Could I have a link to 
 'columns.pdf'. I have searched the website, but no joy.

Thanks for your help, for others in this situation the url is
http://www.pragma-ade.com/overview.htm

Christopher
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context