From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: another surprising change (line break in TOC)
Date: Wed, 18 Jan 2012 09:56:50 +0100 [thread overview]
Message-ID: <CAG5iGsAbBgniZg2FVpKLZEX4+nRH_zzkXFWoXM+cP1ogkPKWaA@mail.gmail.com> (raw)
In-Reply-To: <CF8966C9-85F8-4825-9FA5-FCCE1BB7F424@st.estfiles.de>
[-- 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
___________________________________________________________________________________
prev parent reply other threads:[~2012-01-18 8:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 14:21 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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG5iGsAbBgniZg2FVpKLZEX4+nRH_zzkXFWoXM+cP1ogkPKWaA@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).