[NTG-context] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray
\starttitlemakeup Title \stoptitlemakeup \stoptext /Mikael On Sun, Aug 27, 2023 at 9:32 PM Alex Leray wrote: Hi, I found that using \definealternativestyle in conjunction with Makeup insert a page before my Makeup page. Any idea? Thanks * * * \definecharacterkerning [mykerning] [factor=0.15

[NTG-context] Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray
Hi, I found that using \definealternativestyle in conjunction with Makeup insert a page before my Makeup page. Any idea? Thanks * * * \definecharacterkerning [mykerning] [factor=0.15] \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]. %%% BUG!!! \definemakeup [title] [d

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
lfgang Schuster a écrit : Alex Leray schrieb am 17.08.2023 um 14:41: Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Do you need the verbatim environment or is the lines-environment su

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
23 2:41 PM, Alex Leray wrote: Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Is there a way to achieve this? For now do this:   \appendtoks \usesetupsparameter\typingparameter   \to

[NTG-context] breakpoints in verbatim text

2023-08-17 Thread Alex Leray
Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Is there a way to achieve this? Below is my test code. Thanks, Alex * * * \setuppapersize[A7] \setbreakpoints[compound] \starttext 1. This is the truth:

[NTG-context] Vebatim text: Preserve empty lines

2023-08-16 Thread Alex Leray
Hello, is there a way to preserve empty lines in typing env? By default it is removing them. Thanks * * * \definetyping[custom] \setuptyping[custom][ space=normal, lines=yes, tab=4, ] \starttext \startcustom Foo Bar Baz \stopcustom \stoptext ___

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
Hi all, I'm having another issue with my project. I'm trying to typeset fragments of HTML, including tabs and (repeating) spaces. I'd like to have my snippet with some words in bold. So I used `typing` together with the `escape` option. But now, I'd like my snippets to wrap when the lines ar

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
Thanks Hans! Le 4/08/23 à 23:21, Hans Hagen a écrit : On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, afterse

[NTG-context] Using

2023-08-04 Thread Alex Leray
Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \stoppoem

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}, transla

[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] 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] 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}, after={\vs

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
\tfa}, ] \starttext \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 ou

[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 intervie

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

[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 \se

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

2023-02-15 Thread Alex Leray via ntg-context
écrit : 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][     str

[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 abov

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 a

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] 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 fi