* another surprising change (line break in TOC) @ 2012-01-16 14:21 Steffen Wolfrum 2012-01-16 14:29 ` Wolfgang Schuster 0 siblings, 1 reply; 14+ messages in thread From: Steffen Wolfrum @ 2012-01-16 14:21 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, the good old command for breaking list entries (eg. headings in the TOC) like this ... \startLevelOne[ title={Das Krankenhaus als Leistungserbringer in der GKV}, marking={Das Krankenhaus als Leistungserbringer in der GKV}, list={Das Krankenhaus\\als Leistungserbringer in der GKV}, bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] ... pop up this error message: ! Missing } inserted. system > tex > error on line 1 in file TOCDateien/TOCtocDatei.tex: Missing ... ... <inserted text> } <to be read again> \endgroup \\->\endgroup \par \doalignline {\hss }{\hss }\begingroup l.1 Das Krankenhaus\\ als Leistungserbringer in der GKV \structurelistgenerictitle ...\currentlistindex )} \dostoptagged \063>MyListItemIT ...]{\TOCstyleBF \midaligned {#2 }}\hfill \tf #3 ... l.86 \placeTOCtoc[criterium=text,interaction=all] ? Process aborted Is this a bug, or do we have an other syntax today? Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-16 14:21 another surprising change (line break in TOC) Steffen Wolfrum @ 2012-01-16 14:29 ` Wolfgang Schuster 2012-01-16 14:39 ` Steffen Wolfrum 0 siblings, 1 reply; 14+ messages in thread From: Wolfgang Schuster @ 2012-01-16 14:29 UTC (permalink / raw) To: mailing list for ConTeXt users Am 16.01.2012 um 15:21 schrieb Steffen Wolfrum: > Hi, > > the good old command for breaking list entries (eg. headings in the TOC) like this ... > > > \startLevelOne[ > title={Das Krankenhaus als Leistungserbringer in der GKV}, > marking={Das Krankenhaus als Leistungserbringer in der GKV}, > list={Das Krankenhaus\\als Leistungserbringer in der GKV}, > bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] > > > ... pop up this error message: > > > ! Missing } inserted. > > system > tex > error on line 1 in file TOCDateien/TOCtocDatei.tex: Missing ... > > ... > > <inserted text> > } > <to be read again> > \endgroup > \\->\endgroup > \par \doalignline {\hss }{\hss }\begingroup > l.1 Das Krankenhaus\\ > als Leistungserbringer in der GKV > \structurelistgenerictitle ...\currentlistindex )} > \dostoptagged > \063>MyListItemIT ...]{\TOCstyleBF \midaligned {#2 > }}\hfill \tf #3 > ... > l.86 \placeTOCtoc[criterium=text,interaction=all] > > ? > Process aborted > > Is this a bug, or do we have an other syntax today? Send a example where we can see how the list entries are formatted. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-16 14:29 ` Wolfgang Schuster @ 2012-01-16 14:39 ` Steffen Wolfrum 2012-01-16 16:18 ` Hans Hagen 0 siblings, 1 reply; 14+ messages in thread From: Steffen Wolfrum @ 2012-01-16 14:39 UTC (permalink / raw) To: mailing list for ConTeXt users > Send a example where we can see how the list entries are formatted. > > Wolfgang Sorry, no example now: I am just about to leave the desk. In the TUC file it looks like this: { ["metadata"]=49, ["numberdata"]=48, ["references"]={ ["block"]="bodypart", ["component"]="chap_01", ["internal"]=25, ["realpage"]=15, ["referenceprefix"]="chap_01", ["section"]=2, ["tag"]="?", }, ["titledata"]={ ["bookmark"]="Das Krankenhaus als Leistungserbringer in der GKV", ["label"]="chapter", ["marking"]="Das Krankenhaus als Leistungserbringer in der GKV", ["title"]="Das Krankenhaus\\\\als Leistungserbringer in der GKV", }, } HTH, Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-16 14:39 ` Steffen Wolfrum @ 2012-01-16 16:18 ` Hans Hagen 2012-01-17 10:37 ` Steffen Wolfrum 0 siblings, 1 reply; 14+ messages in thread From: Hans Hagen @ 2012-01-16 16:18 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum On 16-1-2012 15:39, Steffen Wolfrum wrote: >> Send a example where we can see how the list entries are formatted. >> >> Wolfgang > > > > Sorry, no example now: I am just about to leave the desk. no example == no answer Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-16 16:18 ` Hans Hagen @ 2012-01-17 10:37 ` Steffen Wolfrum 2012-01-17 11:19 ` luigi scarso 0 siblings, 1 reply; 14+ messages in thread From: Steffen Wolfrum @ 2012-01-17 10:37 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen Am 16.01.2012 um 17:18 schrieb Hans Hagen: > On 16-1-2012 15:39, Steffen Wolfrum wrote: >>> Send a example where we can see how the list entries are formatted. >>> >>> Wolfgang >> >> >> >> Sorry, no example now: I am just about to leave the desk. Back again ... Here is the corresponding minimal example: \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3} \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc] [chapter] \setupcombinedlist[TOCtoc] [aligntitle=yes,criterium=text,interaction=all] \starttext \placeTOCtoc[criterium=text,interaction=all] \startchapter[ title={Das Krankenhaus als Leistungserbringer in der GKV}, marking={Das Krankenhaus als Leistungserbringer in der GKV}, list={Das Krankenhaus\\als Leistungserbringer in der GKV}, bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] \stopchapter \stoptext Best, Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-17 10:37 ` Steffen Wolfrum @ 2012-01-17 11:19 ` luigi scarso 2012-01-17 12:14 ` Steffen Wolfrum 0 siblings, 1 reply; 14+ messages in thread From: luigi scarso @ 2012-01-17 11:19 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 859 bytes --] On Tue, Jan 17, 2012 at 11:37 AM, Steffen Wolfrum <context@st.estfiles.de>wrote: > > Am 16.01.2012 um 17:18 schrieb Hans Hagen: > > > On 16-1-2012 15:39, Steffen Wolfrum wrote: > >>> Send a example where we can see how the list entries are formatted. > >>> > >>> Wolfgang > >> > >> > >> > >> Sorry, no example now: I am just about to leave the desk. > > > > Back again ... > Here is the corresponding minimal example: > > > \definelistplacement[MyListItemIT][none]#1#2#3% > > {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3} > Probably a bug, but this is ok \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1% \hfill\strut\crlf\strut\hfill\hphantom{\tf#3}% \framedtext[frame=off,offset=overlay,align=middle,style=bold]% {#2}% \hfill\tf#3 } -- luigi [-- Attachment #1.2: Type: text/html, Size: 1288 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-17 11:19 ` luigi scarso @ 2012-01-17 12:14 ` Steffen Wolfrum 2012-01-17 22:41 ` Wolfgang Schuster 2012-01-18 8:56 ` luigi scarso 0 siblings, 2 replies; 14+ messages in thread From: Steffen Wolfrum @ 2012-01-17 12:14 UTC (permalink / raw) To: mailing list for ConTeXt users Am 17.01.2012 um 12:19 schrieb luigi scarso: > Probably a bug, but this is ok > \definelistplacement[MyListItemIT][none]#1#2#3% > {\hfill\kern-1em\it#1% > \hfill\strut\crlf\strut\hfill\hphantom{\tf#3}% > \framedtext[frame=off,offset=overlay,align=middle,style=bold]% > {#2}% > \hfill\tf#3 > } Not really ok. That's a pitfall with minimal examples ... "the devil is in the details" ;o) For getting it minimal I wrote \bf, but in the original file it is used as a bold style with a certain size and a certain interlineskip: \TOCstyleBF And this interlineskip is ignored in your solution, test the following please: \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3} % here the interlinespace is ignored % {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} % here the interlinespace worked \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc] [chapter] \setupcombinedlist[TOCtoc] [aligntitle=yes,criterium=text,interaction=all] \starttext \placeTOCtoc[criterium=text,interaction=all] \startchapter[ title={Das Krankenhaus als Leistungserbringer in der GKV}, marking={Das Krankenhaus als Leistungserbringer in der GKV}, list={Das Krankenhaus\\als Leistungserbringer in der GKV}, bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] \stopchapter \stoptext ------- Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-17 12:14 ` Steffen Wolfrum @ 2012-01-17 22:41 ` Wolfgang Schuster 2012-01-18 6:25 ` Steffen Wolfrum 2012-01-18 8:56 ` luigi scarso 1 sibling, 1 reply; 14+ messages in thread From: Wolfgang Schuster @ 2012-01-17 22:41 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum Am 17.01.2012 um 13:14 schrieb Steffen Wolfrum: > > Am 17.01.2012 um 12:19 schrieb luigi scarso: > >> Probably a bug, but this is ok >> \definelistplacement[MyListItemIT][none]#1#2#3% >> {\hfill\kern-1em\it#1% >> \hfill\strut\crlf\strut\hfill\hphantom{\tf#3}% >> \framedtext[frame=off,offset=overlay,align=middle,style=bold]% >> {#2}% >> \hfill\tf#3 >> } > > > Not really ok. That's a pitfall with minimal examples ... "the devil is in the details" ;o) > For getting it minimal I wrote \bf, but in the original file it is used as a bold style with a certain size and a certain interlineskip: \TOCstyleBF > > And this interlineskip is ignored in your solution, test the following please: > > > \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} > > \definelistplacement[MyListItemIT][none]#1#2#3% > {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3} % here the interlinespace is ignored > % {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} % here the interlinespace worked You should try to make your code more readable. \definelistplacement[MyListItemIT][none]#1#2#3% {\maxaligned\bgroup \rlap{\it#1}% \framed[frame=off,align=middle,location=bottom,width=broad,foregroundstyle=\TOCstyleBF]{#2}% \llap{\tf#3}% \egroup} 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-17 22:41 ` Wolfgang Schuster @ 2012-01-18 6:25 ` Steffen Wolfrum 2012-01-18 7:30 ` luigi scarso 0 siblings, 1 reply; 14+ messages in thread From: Steffen Wolfrum @ 2012-01-18 6:25 UTC (permalink / raw) To: mailing list for ConTeXt users Am 17.01.2012 um 23:41 schrieb Wolfgang Schuster: > You should try to make your code more readable. > > \definelistplacement[MyListItemIT][none]#1#2#3% > {\maxaligned\bgroup > \rlap{\it#1}% > \framed[frame=off,align=middle,location=bottom,width=broad,foregroundstyle=\TOCstyleBF]{#2}% > \llap{\tf#3}% > \egroup} I did not know "\maxaligned" Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-18 6:25 ` Steffen Wolfrum @ 2012-01-18 7:30 ` luigi scarso 2012-01-18 7:39 ` luigi scarso ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: luigi scarso @ 2012-01-18 7:30 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 865 bytes --] On Wed, Jan 18, 2012 at 7:25 AM, Steffen Wolfrum <context@st.estfiles.de>wrote: > > Am 17.01.2012 um 23:41 schrieb Wolfgang Schuster: > > > You should try to make your code more readable. > > > > \definelistplacement[MyListItemIT][none]#1#2#3% > > {\maxaligned\bgroup > > \rlap{\it#1}% > > > \framed[frame=off,align=middle,location=bottom,width=broad,foregroundstyle=\TOCstyleBF]{#2}% > > \llap{\tf#3}% > > \egroup} > > > I did not know "\maxaligned" > > even me --- it's normal, it's hard to be in sync with all the changes of the source. I suspect that it's an internal macro, can even change. Wolfgang often uses internal macro, gaining speed but loosing compatibility. As general rule (another...) in my stylesheets I try to use TeX macros and ConTeXt switches (i.e. key=val) especially if they are related to long term projects. -- luigi [-- Attachment #1.2: Type: text/html, Size: 1472 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-18 7:30 ` luigi scarso @ 2012-01-18 7:39 ` luigi scarso 2012-01-18 7:45 ` Wolfgang Schuster 2012-01-18 8:37 ` Hans Hagen 2 siblings, 0 replies; 14+ messages in thread From: luigi scarso @ 2012-01-18 7:39 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 450 bytes --] On Wed, Jan 18, 2012 at 8:30 AM, luigi scarso <luigi.scarso@gmail.com>wrote: > > Wolfgang often uses internal macro, gaining speed but loosing > compatibility. > > Uh uh it sounds offensive (there is the fog here outside, but maybe something is still in my head). Just to be clear: I read *all* the Wolfgang answers because they help me to be in sync with the source --- in an automatic workflow speed is a concern. Sorry for the noise. -- luigi [-- Attachment #1.2: Type: text/html, Size: 825 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-18 7:30 ` luigi scarso 2012-01-18 7:39 ` luigi scarso @ 2012-01-18 7:45 ` Wolfgang Schuster 2012-01-18 8:37 ` Hans Hagen 2 siblings, 0 replies; 14+ messages in thread From: Wolfgang Schuster @ 2012-01-18 7:45 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 999 bytes --] Am 18.01.2012 um 08:30 schrieb luigi scarso: > > > On Wed, Jan 18, 2012 at 7:25 AM, Steffen Wolfrum <context@st.estfiles.de> wrote: > > Am 17.01.2012 um 23:41 schrieb Wolfgang Schuster: > > > > You should try to make your code more readable. > > > > \definelistplacement[MyListItemIT][none]#1#2#3% > > {\maxaligned\bgroup > > \rlap{\it#1}% > > \framed[frame=off,align=middle,location=bottom,width=broad,foregroundstyle=\TOCstyleBF]{#2}% > > \llap{\tf#3}% > > \egroup} > > > I did not know "\maxaligned" > > even me --- it's normal, it's hard to be in sync with all the changes of the source. I suspect that it's an internal macro, can even change. \maxaligned is the ConTeXt version of "\hbox to \hsize" or plain TeX’s "\line" command. > Wolfgang often uses internal macro, gaining speed but loosing compatibility. That’s not true, since a while I use only high level commands and sometimes less known or undocumented macros. Wolfgang [-- Attachment #1.2: Type: text/html, Size: 2236 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-18 7:30 ` luigi scarso 2012-01-18 7:39 ` luigi scarso 2012-01-18 7:45 ` Wolfgang Schuster @ 2012-01-18 8:37 ` Hans Hagen 2 siblings, 0 replies; 14+ messages in thread From: Hans Hagen @ 2012-01-18 8:37 UTC (permalink / raw) To: mailing list for ConTeXt users On 18-1-2012 08:30, luigi scarso wrote: > On Wed, Jan 18, 2012 at 7:25 AM, Steffen Wolfrum<context@st.estfiles.de>wrote: > >> >> Am 17.01.2012 um 23:41 schrieb Wolfgang Schuster: >> > > >>> You should try to make your code more readable. >>> >>> \definelistplacement[MyListItemIT][none]#1#2#3% >>> {\maxaligned\bgroup >>> \rlap{\it#1}% >>> >> \framed[frame=off,align=middle,location=bottom,width=broad,foregroundstyle=\TOCstyleBF]{#2}% >>> \llap{\tf#3}% >>> \egroup} >> >> >> I did not know "\maxaligned" >> >> even me --- it's normal, it's hard to be in sync with all the changes of > the source. I suspect that it's an internal macro, can even change. > Wolfgang often uses internal macro, gaining speed but loosing compatibility. > As general rule (another...) in my stylesheets I try to use TeX macros and > ConTeXt switches (i.e. key=val) especially if they are related to long term > projects. Actually, Wolfgang seldom uses internal macros. Macros like \maxaligned are helpers that are used to build regular commands, so they're part of the infrastructure and Wolfgang knows the context internals amazingly well. There are some obscure helpers that might dissappear but most are there for a reason and will stay. So, we have: commands: offcial interface helpers : more low level, no key/values etc hidden : not meant to be used unless on your own risk Btw, \rlap and \llap are quite standard in a tex system. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: another surprising change (line break in TOC) 2012-01-17 12:14 ` Steffen Wolfrum 2012-01-17 22:41 ` Wolfgang Schuster @ 2012-01-18 8:56 ` luigi scarso 1 sibling, 0 replies; 14+ messages in thread From: luigi scarso @ 2012-01-18 8:56 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1469 bytes --] On Tue, Jan 17, 2012 at 1:14 PM, Steffen Wolfrum <context@st.estfiles.de>wrote: > > And this interlineskip is ignored in your solution, test the following > please: > > > \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} > > \definelistplacement[MyListItemIT][none]#1#2#3% > > {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3} > % here the interlinespace is ignored > % > {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} > % here the interlinespace worked > > \setuplist[chapter] > [alternative=MyListItemIT] > > \definecombinedlist[TOCtoc] > [chapter] > > \setupcombinedlist[TOCtoc] > [aligntitle=yes,criterium=text,interaction=all] > > > \starttext > > \placeTOCtoc[criterium=text,interaction=all] > > \startchapter[ > title={Das Krankenhaus als Leistungserbringer in der GKV}, > marking={Das Krankenhaus als Leistungserbringer in der GKV}, > list={Das Krankenhaus\\als Leistungserbringer in der GKV}, > bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] > > \stopchapter > > \stoptext > Now the above example it's ok for me with # context --version mtx-context | main context file: /opt/luatex/standalone/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2012.01.16 18:33 -- luigi [-- Attachment #1.2: Type: text/html, Size: 1983 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-01-18 8:56 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-01-16 14:21 another surprising change (line break in TOC) Steffen Wolfrum 2012-01-16 14:29 ` Wolfgang Schuster 2012-01-16 14:39 ` Steffen Wolfrum 2012-01-16 16:18 ` Hans Hagen 2012-01-17 10:37 ` Steffen Wolfrum 2012-01-17 11:19 ` luigi scarso 2012-01-17 12:14 ` Steffen Wolfrum 2012-01-17 22:41 ` Wolfgang Schuster 2012-01-18 6:25 ` Steffen Wolfrum 2012-01-18 7:30 ` luigi scarso 2012-01-18 7:39 ` luigi scarso 2012-01-18 7:45 ` Wolfgang Schuster 2012-01-18 8:37 ` Hans Hagen 2012-01-18 8:56 ` luigi scarso
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).