Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Alex Leray via ntg-context
Dear both, thanks for your answers. `doloopovermatch` didn't work for me but this below is achieving what I wanted. Have a good day, Alex %%% \def\dosomething#1{(#1)} \def\dosomethingtwo#1{* #1\crlf} \starttext \startchapter[title={Foo Bar}][ authors={Alice,Bob,Charline},

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
\startinterview[title={My Interview}][ author={Jane Doe}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext On 23 Feb 2023, at 10:21, Alex Leray via ntg-context wrote: Hello, I'm trying to figure out how to design a chapter

[NTG-context] Indenting next multi paragraph description

2023-02-23 Thread Alex Leray via ntg-context
Hi, I'd like to indent next paragraphs in multi paragraph descriptions. For some reason, I can't figure out why this isn't working. Any idea? Here is my code: ### \setupwhitespace[none] \setupindenting[yes, 3em, next] \definedescription[question][ before={\vskip-\parskip},

Re: [NTG-context] Indenting next multi paragraph description

2023-02-23 Thread Alex Leray via ntg-context
Actually it works if I comment out "\setupindenting" (or with a manual `\indentation`). But then, no indentation on the rest of the document :( Le 23/02/23 à 22:27, Alex Leray via ntg-context a écrit : \setupindenting[yes,

[NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
Hello, I'd like to have roman numerals prefixed sections, but starting from Zero and not One (even if I know that roman numerals don't have a sign for 0). Is there a way to achieve this? My code looks like that at the moment: ### \setuphead[section][conversion=Romannumerals] \starttext

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
\stopsection \startsection[title={Section 1}]bar\stopsection \stoptext ### Sorry for the noise Le 16/02/23 à 17:32, Alex Leray via ntg-context a écrit : Hello, I'd like to have roman numerals prefixed sections, but starting from Zero and not One (even if I know that roman numerals don't have

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
Hello, I'm trying to figure out how to design a chapter page for a custom head section with uservariables defined. I'd like to have the chapter page start on a right page. I'd like this page to feature the title of the chapter (here: an interview) along with some other info like the

[NTG-context] structureuservariable as list

2023-02-24 Thread Alex Leray via ntg-context
Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf') % done \stopchapter Thanks

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
Thanks a lot Wolfgang, that's perfect! I added an example in the wiki: https://wiki.contextgarden.net/Command/setupmakeup Have a good day, Alex Le 15/02/23 à 12:03, Wolfgang Schuster via ntg-context a écrit : Alex Leray via ntg-context <mailto:ntg-context@ntg.nl>> schrieb am Mi.

Re: [NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
Alex Leray via ntg-context wrote: Dear Context users, I'm new to this mailing-list. I've decided to use Context for two separate publications. My previous experience with Context was almost 10 years ago and it seems like the resources on Context have greatly expanded. So thank you all

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
Hello again, I'm having another issue: I'd like Chapter/Section number and titles in separate lines but with grid alignement. I followed that advice: https://wiki.contextgarden.net/Titles#Chapter_number_and_titles_in_separate_lines I'm having an issue though: I can't get rid of the space

[NTG-context] Makeup and page numbering increment

2023-02-15 Thread Alex Leray via ntg-context
Dear Context users, I'm new to this mailing-list. I've decided to use Context for two separate publications. My previous experience with Context was almost 10 years ago and it seems like the resources on Context have greatly expanded. So thank you all! There is a little thing that I can't

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
 : On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut