Re: [NTG-context] Captions command (special alignment)

2011-09-18 Thread Wolfgang Schuster

Am 17.09.2011 um 21:12 schrieb Honza Hejzl:

 Hello,
 why that simple thing doesn't work? Does anybody know?
 
 \def\mycap#1#2{\hbox{\hbox{#1}\vtop{#2\par}}}
 \setupcaptions[command=\mycap]
 
 Simply I need this:
 
 Fig. 1 The fig is great...
 ...like any other fig.
 
 I have tried to set this up via table but still can't proceed.

This doesn’t work because the command-key expects a command with one
argument which contains the caption number *and* text.

To write your own caption layout ask Hans to rewrite the code
for the \placefloatcaption (…number and …text) commands for MkIV.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Captions command (special alignment)

2011-09-17 Thread Honza Hejzl
Hello,
why that simple thing doesn't work? Does anybody know?

\def\mycap#1#2{\hbox{\hbox{#1}\vtop{#2\par}}}

\setupcaptions[command=\mycap]


Simply I need this:


Fig. 1 The fig is great...

...like any other fig.


I have tried to set this up via table but still can't proceed.


Thanks, Honza Hejzl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___