Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Floris van Manen
On 02/07/2020 20:46, Wolfgang Schuster wrote: > The following example needs version 2020.07.02 or newer. Nice ! .F pEpkey.asc Description: application/pgp-keys ___ If your question is of interest to others as

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Tommaso Gordini schrieb am 02.07.2020 um 17:33: I have found this, that works, buy I don't know if there's a possibility of using less code: [...] The following example needs version 2020.07.02 or newer. begin example \definelines [poem] \setuplines [poem] [

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
I have found this, that works, buy I don't know if there's a possibility of using less code: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = ConTeXt-MkIV % questo codice centra il blocco dei versi sulla pagina \defineframedtext [poemframed] [width=\textwidth, autowidth=force,

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Thanks, Wolfgang. Your example works, but the verse indentation ( \setuplines[indenting=three]) is lost. There's a way to preserve it? Tommy ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Tommaso Gordini schrieb am 02.07.2020 um 16:48: Taco, this works! Thank you! Now (last question), it's possibile to centering in the middle of the page the whole verse block ? You can use the framedtext environment but the content can no longer split across pages. \starttext

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.07.2020 um 16:48: On 7/2/2020 4:15 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 02.07.2020 um 15:40: On 7/2/2020 3:01 PM, Tommaso Gordini wrote: [...] I'll add this \setuplines[indentnext={0pt,10pt,15pt,20pt}] % \setuplines[indentnext={0pt,*,*}] which then

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Hans Hagen
On 7/2/2020 4:15 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 02.07.2020 um 15:40: On 7/2/2020 3:01 PM, Tommaso Gordini wrote: Hi everyone. I am typesetting a poetry text in triplets and I would like the second and third lines of each triplet to be indented (i.e., in the next example,

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Taco, this works! Thank you! Now (last question), it's possibile to centering in the middle of the page the whole verse block ? Tommy Il giorno gio 2 lug 2020 alle ore 15:56 Taco Hoekwater ha scritto: > > I was having fun with this as well while Hans was writing his generic > solution. > >

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.07.2020 um 15:40: On 7/2/2020 3:01 PM, Tommaso Gordini wrote: Hi everyone. I am typesetting a poetry text in triplets and I would like the second and third lines of each triplet to be indented (i.e., in the next example, verse no. 2, 3, 5, and 6). Is it possible to

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Taco Hoekwater
I was having fun with this as well while Hans was writing his generic solution. Here is an explicit ‘indent each 2nd and 3rd line’: \unprotect \installindentingmethod {three} {\c_spac_indentation_toggle_state\plusthree} \unexpanded\def\spac_indentation_tri_toggle_indeed

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Hans Hagen
On 7/2/2020 3:01 PM, Tommaso Gordini wrote: Hi everyone. I am typesetting a poetry text in triplets and I would like the second and third lines of each triplet to be indented (i.e., in the next example, verse no. 2, 3, 5, and 6). Is it possible to get what I ask for with ConTeXt? The most

[NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
Hi everyone. I am typesetting a poetry text in triplets and I would like the second and third lines of each triplet to be indented (i.e., in the next example, verse no. 2, 3, 5, and 6). Is it possible to get what I ask for with ConTeXt? The most I managed to do is this: \starttext