[NTG-context] Re: Notes at end of book

2025-08-14 Thread Hans Hagen via ntg-context
stion is still: how can I delete/reset/overwrite/deregister an xml setup? All best Thomas On 8/13/25 21:49, Denis Maier via ntg-context wrote: I'm not sure you need this. I've recently had a project where I've processed a single source XML multiple times. Each environment cont

[NTG-context] Re: Notes at end of book

2025-08-14 Thread Thomas A. Schmitz
ill: how can I delete/reset/overwrite/deregister an xml setup? All best Thomas On 8/13/25 21:49, Denis Maier via ntg-context wrote: I'm not sure you need this. I've recently had a project where I've processed a single source XML multiple times. Each environment contains a set of xm

[NTG-context] Re: weird issue with latest win64 binaries

2025-07-18 Thread Pablo Rodriguez via ntg-context
On 7/17/25 23:53, Bruce Horrocks wrote: > [...] > But I suspect the best way to reset everything in order to start > again would be to make a backup by renaming the directory as you > currently do and then do a fresh install of the Windows 64-bit > version using nothing but Windo

[NTG-context] Re: weird issue with latest win64 binaries

2025-07-17 Thread Bruce Horrocks
rror is coming from? So a check would be to see if context runs from purely a Windows command line. But I suspect the best way to reset everything in order to start again would be to make a backup by renaming the directory as you currently do and then do a fresh install of the Windows 64-bit v

[NTG-context] Re: How to force end-of-sentence space?

2025-04-27 Thread Hans Hagen via ntg-context
a full end- of-sentence space width appears? In the next upload this is 'fixed'. The footnote adds stuff that makes the space factor reset and we can catch that - optionally - in the engine. Hans -

[NTG-context] Re: How to return 'setupalign' to default behavior after setting?

2025-03-06 Thread Mikael Sundqvist
areas of the document, where its no so needed > though. Is there a way to tell these commands to "go back to the default"? > > like \setupalign[default] > \setupnotation[default] > > --Joel Maybe \setupalign[reset]? /Mikael __

[NTG-context] Re: how to reset and switch fallbackfont?

2025-03-03 Thread Wolfgang Schuster
Am 03.03.2025 um 05:35 schrieb autumnus: I want to set different fallbackfonts for the main font in the same document. I think your guess is correct. Once the fallbacks is set, the mainfont will be bound to the font. Even if I switch to other typescripts, as long as its style(rm,ss etc) does not

[NTG-context] Re: how to reset and switch fallbackfont?

2025-03-03 Thread Hans Hagen
On 2/28/2025 1:21 PM, autumnus wrote: hi, As described in the title, how to reset fallbackfont? I have created a number of Chinese typescripts and related fallbackfont (latin). However, in the actual operation process, I found that if you want to switch different fallbackfont, you must change

[NTG-context] Re: how to reset and switch fallbackfont?

2025-03-02 Thread autumnus
I want to set different fallbackfonts for the main font in the same document. I think your guess is correct. Once the fallbacks is set, the mainfont will be bound to the font. Even if I switch to other typescripts, as long as its style(rm,ss etc) does not change, it will still use the previous

[NTG-context] Re: how to reset and switch fallbackfont?

2025-03-02 Thread Wolfgang Schuster
Am 28.02.2025 um 13:21 schrieb autumnus: hi, As described in the title, how to reset fallbackfont? I have created a number of Chinese typescripts and related fallbackfont (latin). However, in the actual operation process, I found that if you want to switch different fallbackfont, you must

[NTG-context] how to reset and switch fallbackfont?

2025-02-28 Thread autumnus
hi, As described in the title, how to reset fallbackfont? I have created a number of Chinese typescripts and related fallbackfont (latin). However, in the actual operation process, I found that if you want to switch different fallbackfont, you must change the bodyfont at the same time

[NTG-context] Re: Hi! I can't reset my password for ntg-context mailing list

2025-01-20 Thread aldo_lazich--- via ntg-context
Thank you very much, all right now! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl web

[NTG-context] Re: Hi! I can't reset my password for ntg-context mailing list

2025-01-20 Thread Taco Hoekwater
Hi, You should have received a message just now. I temporarily allowed the mailman web service to email to addresses it does not know about, hit the button for you, then disabled emailing again. Sending emails to “unknown” (not used yet) email addresses is normally turned off because otherwi

[NTG-context] Hi! I can't reset my password for ntg-context mailing list (not received any email after I clicked to "Reset My Password" button)

2025-01-20 Thread Aldo Lazich via ntg-context
Thanks for your help! Aldo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage

[NTG-context] Re: serial letters

2024-11-11 Thread Robert via ntg-context
er-to-mycontacts.tex}{} \stopsetups \startxmlsetups xml:contact \setupletter [toaddress={\switchtobodyfont[reset,10pt]\xmltext{#1}{/address/(bn|nm|st|pz|p)/command(xml:p)} {\switchtobodyfont[reset,kixbarc,9pt]\xmltext{#1}{/kix}}}, opening={Dear \xmltext{#1}{/prefix} \xm

[NTG-context] Re: Why didn't I get the correct ordinal number, after defining an environment via command "installcounterassociation".

2024-10-21 Thread Wolfgang Schuster
hange the start value of a counter you have to reset the counter, in your case the reset happened at the start of the following chapter which explains the delay. You can try the following example with and without the reset mode. begin example \definecounter[xxx][way=bychapter,pref

[NTG-context] Re: changing the symbol used in \footnote{}

2024-10-20 Thread Rik Kabel
oduce any symbol at all. If I do: \setupnotation[footnote][numberconversion=set 2] then I get an asterix, not a crucifix, and I don't know how to prevent or otherwise reset the footnote counter for subsequent footnote numberings. David Roderick. The following (tested) shows how to do

[NTG-context] changing the symbol used in \footnote{}

2024-10-20 Thread David Roderick
ation[footnote][numberconversion=set 2] then I get an asterix, not a crucifix, and I don't know how to prevent or otherwise reset the footnote counter for subsequent footnote numberings. David Roderick. ___ If you

[NTG-context] Re: penalties

2024-10-10 Thread Mikael Sundqvist
applied to “everything” (after defining > the layout, I think?), then I need the setup "*defaults". Yes, for now, since it got reset when \setuplayout was done. But we are working on making it possible to also setup this with \setupalign, with a few "reasonable" pre-defined se

[NTG-context] Re: how can I reset section counter when recursing buffers?

2024-10-03 Thread Damien Thiriet via ntg-context
}]    \input knuth \stopsection \stopbuffer \starttext \dorecurse{2}{    % how can I reset chapter number? \setupheadnumber[section][0] Wolfgang ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Re: how can I reset section counter when recursing buffers?

2024-10-01 Thread Wolfgang Schuster
Damien Thiriet via ntg-context schrieb am 01.10.2024 um 17:02: Hello, When I call a buffer with sections several times, I would like to get the same headers numbers for each buffer call. (So, in my MWE twice 1 and 2, not 1, 2, 3, 4) How can I reset the section counter within a dorecurse run

[NTG-context] how can I reset section counter when recursing buffers?

2024-10-01 Thread Damien Thiriet via ntg-context
Hello, When I call a buffer with sections several times, I would like to get the same headers numbers for each buffer call. (So, in my MWE twice 1 and 2, not 1, 2, 3, 4) How can I reset the section counter within a dorecurse run? I tried \resetcounter [section] but that is not the good way. I

[NTG-context] Re: Mail server login broken

2024-09-30 Thread Taco Hoekwater
lman so that it blocks only the “password reset” > functionality, but not the “sign up” (help?). With much needed help from Max Chernoff, the mailing list webforms now all have a reCaptcha. This means that both signup and “password forgotten” features could be enabled again. Thank you, Max!

[NTG-context] Re: Mail server login broken

2024-09-30 Thread Hans Åberg via ntg-context
;> and confirmed by clicking on a button. > > What happens is that a malicious script is submitting a "password reset" form > with a valid but unknown to mailman email address. Mailman3 should not > respond to those, but it does. The receivers of such password reset remi

[NTG-context] Re: Mail server login broken

2024-09-30 Thread Taco Hoekwater
cious script is submitting a "password reset" form with a valid but unknown to mailman email address. Mailman3 should not respond to those, but it does. The receivers of such password reset reminders get righteously annoyed. Best wishes, Taco — Taco Hoekwater E: t...@bi

[NTG-context] Re: Mail server login broken

2024-09-30 Thread Hans Åberg via ntg-context
send me a > message personally). > > However, a secondary problem is that the mailman web forms are used by > spammers so often that I have registration/signup turned off. The continuous > barrage of invalid password reset requests was negatively affecting the >

[NTG-context] Re: Mail server login broken

2024-09-30 Thread Taco Hoekwater
be to create a new subscriber account using the web interface, and then use the old-fashioned email method to unsubscribe the old account (or send me a message personally). However, a secondary problem is that the mailman web forms are used by spammers so often that I have registration/signup

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Wolfgang Schuster
ct in Okular. Is there a reason why you create a new sectionblock? BTW: You can also reset userpagenumber instead of setting it back to 1 by hand. begin example \defineconversionset [frontpart:pagenumber] [] [romannumerals] \startsectionblockenvironment [bodypart] \resetuserpagen

[NTG-context] Re: Interline spacing in tabulate paragraphs

2024-09-15 Thread Florent Michel
oblem with is that tabulate resets the > interlinespace value > to the global settings while "big" is just a relative value which > depends on the global value. > > This reset is necessary because tabulate uses the global interlinespace > value to split > the table into s

[NTG-context] Re: Interline spacing in tabulate paragraphs

2024-09-15 Thread Wolfgang Schuster
ive value which depends on the global value. This reset is necessary because tabulate uses the global interlinespace value to split the table into slices which allows it to break cells across pages. When you need a different interlinespace for a part of the document you should u

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-09-03 Thread Wolfgang Schuster
odule[visual] \setuppapersize[A6,landscape] \setupwhitespace[line] \starttext \showmakeup[hbox] \pagereference[one]\fakelines{10}{10} \pagereference[two] \pagereference[three]\fakelines{10}{10} \page \showmakeup[reset] \starttabulate \NC one \NC \at[one] \NC\NR \NC two \NC \at[two] \

[NTG-context] Re: \brokenpenalties query

2024-06-20 Thread Mikael Sundqvist
But with the > > latest LMTX, when I run the file, I get the error message > > Error count has to be 1 for \brokenpenalties > > > > Any advice on how to fix the file would be most welcome. > > > > Alan > > > > > > Probably only

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Hans Hagen via ntg-context
with the latest LMTX, when I run the file, I get the error message Error count has to be 1 for \brokenpenalties Any advice on how to fix the file would be most welcome. Alan Probably only Hans (or Wolfgang) can give a complete answer here. But \startsetups [*default]   \directset

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Mikael Sundqvist
has to be 1 for \brokenpenalties > Any advice on how to fix the file would be most welcome. > > Alan > Probably only Hans (or Wolfgang) can give a complete answer here. But \startsetups [*default] \directsetup{*reset} \frozen\brokenpenalties 1 1\relax \stopsetups works here. /Mik

[NTG-context] Re: contextwiki what is going on?

2024-06-17 Thread Bruce Horrocks
The setting is controlled via Safari -> Preferences -> Websites -> Downloads I'm not aware of any way to inadvertantly reset or change the setting for a site. > On 16 Jun 2024, at 21:17, Hans van der Meer via ntg-context > wrote: > > Mysterious: loading once e

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Alan Braslau via ntg-context
bla > >> \startquotation > >>Not Ok: a space is missing > >> \stopquotation > >> \stoptext > > > > It seems, that this workaround solves the problem: > > \setupquotation[before={\setcharacterspacing[reset]}] > > > The quotation environ

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Wolfgang Schuster
workaround solves the problem: \setupquotation[before={\setcharacterspacing[reset]}] The quotation environment doesn't rely on the characterspacing mechanism to add the spaces before and the after the quotes but uses language dependent skips. The example below shows how it works and where it

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Peter Münster
rkaround solves the problem: \setupquotation[before={\setcharacterspacing[reset]}] What do you think about it? Is this the right way to do it? -- Peter ___ If your question is of interest to others as well, pleas

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
> > \define[2]\MyChapter{% > > #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) > > } > > > > \setuphead[title, chapter][command=\MyChapter] > > > > \setupbodyfont[11pt] > > > > \starttext > > \

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Tomáš Hála
er > \stoptext > ``` > This produces 1.pdf. > > > ## Font size > > What is the reason that that the font of the chapter is bigger? How can I > reset it to normal size? This does not work at all: > ``` > \define[2]\MyChapter{% > \setupbodyfont[11pt] #1 #2: \stru

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
> \setupbodyfont[11pt] > > \starttext > \startchapter[title=foo][subtitle=bar, intro={some explanation}] > some text > \stopchapter > \stoptext > ``` > This produces 1.pdf. > > > ## Font size > > What is the reason that that the font of the chapter is big

[NTG-context] setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
etupbodyfont[11pt] \starttext \startchapter[title=foo][subtitle=bar, intro={some explanation}] some text \stopchapter \stoptext ``` This produces 1.pdf. ## Font size What is the reason that that the font of the chapter is bigger? How can I reset it to normal size? This does not work at

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
fight several issues: - parshapes being reset at the end paragraph (handled here by luametatex context) - parshapes operate on lines, not dimension (i might add an aletnative one day) - you use a bit old mechanism (checkout the luametafun-paragraphs chapter) Now, is there a solution? It really depen

[NTG-context] Re: Special charakter

2024-05-18 Thread BPJ
\permanent\let\T\relax > \permanent\let\B\relax > \permanent\let\L\relax > \permanent\let\M\relax > \permanent\let\R\relax > > The same thing happens for the \CC commands which gets reset in > tabl-com.mkxl > > \permanent\protected\lettonothing\CC > > Wolfgang > >

[NTG-context] Re: Special charakter

2024-05-18 Thread Wolfgang Schuster
anent\let\T\relax \permanent\let\B\relax \permanent\let\L\relax \permanent\let\M\relax \permanent\let\R\relax The same thing happens for the \CC commands which gets reset in tabl-com.mkxl \permanent\protected\lettonothing\CC Wol

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread Bruce Horrocks
= tracker + 1 the_question[tracker] = the_buffer[i] end -- If tracker has got to 4 then we've read four lines if tracker == 4 then context.tareaAbc( the_question[1], the_question[2], the_question[3], the_question[4])

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Bruce Horrocks
"{\\bf Beispiel:} %s", the_question[1]) context(true) for answer = 2,4 do context("\\qquad %s) %s", letters[answer], the_question[answer]) context(true) end context.stoplines() -- Reset for the next quest

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
ges in roman numerals, followed by the main text starting from page 1 in arabic numerals. So the twelfth page is 'XII', while the twenty-second is '2'. How do I get 'XII' from 12 and '2' from 22? \defineconversionset   [frontpart:pagenumber] [] [romannumerals] \

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
number of the bodypart continues rather than being reset % % \startsectionblockenvironment[bodypart] %   \resetuserpagenumber % \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{20}{\samplefile{lorem}\page} \stopfrontmatter \startbodymatter \dorecurse{20}{\samplefile

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
inside it. > I use \setuppagenumbering[location=] for not getting the number > printed and then I reset the page numbering for the next sections. I > copy my code so that you know what I do. > Sorry if it doesnt help If you are showing your code to list members, fine. Sorry, but if there is a question

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
ering[location=] for not getting the number printed and then I reset the page numbering for the next sections. I copy my code so that you know what I do. Sorry if it doesnt help %% %%% LOS BL

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
that both values are reset on the following page and with \startsectionblockenvironment you can make this layout change in the style file of your document. \startsectionblockenvironment[frontpart] \setupheader[state=high] \setupfooter[state=high] \stopsectionblockenvironment \showframe \starttext

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}     \frozen\widowpenalty    1     \frozen\clubpenalty 1     \frozen\displaywidowpenalty 1     \frozen\broke

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Keith McKay
Thanks Hans! I'll have a play and keep an eye on updates Best Wishes Keith On 21/07/2023 17:10, Hans Hagen via ntg-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}  

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen via ntg-context
Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default] \directsetup{*reset} \frozen\widowpenalty1 \frozen\clubpenalty 1 \frozen\displaywidowpenalty 1 \frozen\brokenpenalty

[NTG-context] Re: \placeinitial problem

2023-07-19 Thread Hans Hagen
On 7/19/2023 8:32 PM, Alan Bowen wrote: The latest version fixes the \placeinitial issue. it's kind of tricky because a nested paragraph (as in footnotes) can reset the state so we need to take precautions for that without harming performance

Re: [NTG-context] font size and style

2023-05-26 Thread Wolfgang Schuster via ntg-context
le setting. My question: It seems most convenient if I could retrieve the current style and reset that after a size command. I rather would refrain from tinkering with those. Since there is a \currentxfontsize is there an analogue for the style? \tf is the switch for the normal upright styl

[NTG-context] font size and style

2023-05-26 Thread Hans van der Meer via ntg-context
trieve the current style and reset that after a size command. I rather would refrain from tinkering with those. Since there is a \currentxfontsize is there an analogue for the style? dr. Hans van der Meer ___ If your ques

[NTG-context] layout for marked pages?

2023-01-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuplayout[width=middle] \definelayout[odd][reset] \definelayout[even][reset] \doiftext{\markedpages[zapf]} {\doloopoverlist{\markedpages[zapf]} {\definelayout[\recursestring][page]}} \starttext \dorecurse{50}{\input

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alan Braslau via ntg-context
ved picture. \startMPcode currentpicture := mypicture ; draw unitsquare scaled 1cm withcolor red ; \stopMPcode currentpicture is reset for each MP call. Of course, you must not use save mypicture ; picture mypictur

Re: [NTG-context] \autoinsertedspace fails

2023-01-04 Thread Hans Hagen via ntg-context
') local c_period = byte('.') local function inject_quad_space(unicode,head,current,fraction) if fraction ~= 0 then fraction = fraction * fontquads[getfont(current)] end local glue = new_glue(fraction) setattrlist(glue,current) setattrlist(current) -- why rese

[NTG-context] Problem with float and new layout on same page

2022-12-25 Thread peter.hopcroft--- via ntg-context
][footerdistance=100mm, ] \definelayout[odd][reset] % ?? \definelayout[even][reset] \starttext \dorecurse{3}{\input{knuth} } % change to \dorecurse{2} - it works properly \definelayout[2][mypage] \dorecurse{2}{\input{knuth} } \placefigure [leftmargin] {} {\externalfigure[greybox][width

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread Mikael Sundqvist via ntg-context
re" (One can now do \definelayout[+6][height=16cm]). Maybe something got changed regarding the reset when one does \definelayout[n] to alter the nth page? I will double check with Hans. /Mikael ___ If your question is

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread peter.hopcroft--- via ntg-context
IDE] > \setuplayout[backspace=80mm, width=100mm, topspace=50mm, header=0mm, > footer=0mm, height=200mm, margindistance=10mm, leftmargin=40mm] > > \definelayout[short][backspace=80mm, width=100mm, topspace=50mm, > header=0mm, footer=0mm, height=80mm, margindistance=10mm, &g

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread Pablo Rodriguez via ntg-context
ndistance=10mm, leftmargin=40mm] \starttext \definelayout[even][reset] \definelayout[odd][reset] \definelayout[2][short] \definelayout[3][short] \dorecurse{10}{\input{knuth} } \stoptext It seems that you need to reset the layout in all other pages (where the special layout isn’t a

Re: [NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-09 Thread Pablo Rodriguez via ntg-context
haves like I expect: the short layout is only > on those 2 pages. Hi Peter, I must confess it isn’t totally clear to me whether I’m getting your point. The following might achieve what you intend: \definelayout[odd][reset] \definelayout[even][reset] \definelayout[2][short] \definelayout[

[NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-08 Thread peter.hopcroft--- via ntg-context
%== Also, https://wiki.contextgarden.net/Command/definelayout says: % different layout for first two pages \definelayout[1][wide] \definelayout[3][reset] This does not work for me. Cheers, Peter

Re: [NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
this document: \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] % \setupbodyfont[reset,modern] % \setupalign[hz] \startluacode function userdata.test(head) local last_line = node.tail(head) local i = 1

Re: [NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Hans Hagen via ntg-context
on=quality] % \usetypescript[modern-base] % \setupbodyfont[reset,modern] % \setupalign[hz] \starttext Hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello h

[NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] % \setupbody

[NTG-context] How to reset settings in setuphead back to defaults?

2022-08-21 Thread Joel via ntg-context
,                         numbercolor=white,                         strut=yes,                         page=chapterpagebreak,                         header=empty] A problem I have is I need one document to ignore all the above, basically pretend each of these is reset to defaults. Is there a way to rest all of the

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
goes through each "node" in the paragraph. > If it is a glyph or glue, then we increment the character counter by one and > the width by the node's width. > > If we have exceeded the maximum character count or maximum width, then we > switch directions and start goin

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-26 Thread Max Chernoff via ntg-context
r counter by one and the width by the node's width. If we have exceeded the maximum character count or maximum width, then we switch directions and start going backwards through each node, starting at the character that was too long. If one of the previous 5 characters is glue, then

Re: [NTG-context] Changing font and font size inside textex

2022-05-31 Thread Stefan Nedeljkovic via ntg-context
\starttexdefinition storexheight [#1] > % Placing the first use of \switchtobodyfont inside a group messes > % with the definitions, so we need to reset the font family > manually. > \edef\oldfontclass{\fontclass} > > \switchtobodyfont[#1

Re: [NTG-context] Changing font and font size inside textex

2022-05-31 Thread Max Chernoff via ntg-context
h the definitions, so we need to reset the font family manually. \edef\oldfontclass{\fontclass} \switchtobodyfont[#1] \expandafter\newcount\csname #1_xheight\endcsname \global\csname #1_xheight\endcsname=\numexpr 100 * \number\dimexpr1em\relax / \number\dimexpr1ex\

Re: [NTG-context] Microtipography

2022-05-25 Thread Denis Maier via ntg-context
tever \setupalign[hz,hanging] Unfortunately the global alignment settings do not propagate into certain structures. For example itemizations, captions, and bibliographies just reset it and need special treatment: \setupitemize[each][align={hz,hanging}] \setupbtxlist[align={hz,hanging,to

Re: [NTG-context] Microtipography

2022-05-25 Thread Tommaso Gordini via ntg-context
global alignment settings do not propagate into > certain structures. For example itemizations, captions, and > bibliographies just reset it and need special treatment: > >\setupitemize[each][align={hz,hanging}] >\setupbtxlist[align={hz,hanging,tolerant}] >\setupcaptio

Re: [NTG-context] Microtipography

2022-05-25 Thread Henri Menke via ntg-context
y, expansion=quality] \setupbodyfont[modern] % or whatever \setupalign[hz,hanging] Unfortunately the global alignment settings do not propagate into certain structures. For example itemizations, captions, and bibliographies just reset it and need special treatment: \setupitemize[each][align={hz,

[NTG-context] \placenotes ends up in wrong place when mixing one- and two- column layouts.

2022-05-10 Thread Zhichu Chen via ntg-context
}} \starttext \protected\def\casing[#1]{\groupedcommand{\setcharactercasing[#1]}{}}     \protected\def\nocasing {\groupedcommand{\setcharactercasing[reset]}{}}     \setuphead[chapter][textstyle=\WORD]     \chapter{some \nocasing{kept} text

Re: [NTG-context] Is there a "smart" capitalisation implementation?

2022-05-08 Thread Hans Hagen via ntg-context
trick works: \def\NoCaseChange#1{\noexpand\NoCaseChange{\noexpand#1}} \starttext \protected\def\casing[#1]{\groupedcommand{\setcharactercasing[#1]}{}} \protected\def\nocasing {\groupedcommand{\setcharactercasing[reset]}{}} \setuphead[chapter][textstyle=\WORD] \chapter{some \no

[NTG-context] Fwd: lua-widow-control module error in LMTX

2022-04-27 Thread Eduardo Bohoyo via ntg-context
50" and     "5000" are fine too. If you see negative values, "0", or values     greater than ten thousand, then something is wrong here.  2. Something is "hiding" the widow/orphan penalties from lwc.     Something like "\vadjust{\penalty X}" or the e-TeX "

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-27 Thread Max Chernoff via ntg-context
g is "hiding" the widow/orphan penalties from lwc. Something like "\vadjust{\penalty X}" or the e-TeX "\-penalties" commands could potentially do this. One potential solution for (a subset of) this problem would be to modify lwc.mkxl to in

Re: [NTG-context] Makeup on same page as main content

2022-03-05 Thread śrīrāma via ntg-context
eXt has a nice set key which can be made to trigger anything when the variables are set. So you can give it a setup to do whatever you want by just saying \setvariables[assignments][...] wherever in the document you desire. See here for an example [there is also a 'reset' key]: ht

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-21 Thread Vincent Hennebert via ntg-context
On Thu, 2022-01-20 at 15:47 +0100, Hans Hagen via ntg-context wrote: > On 1/20/2022 3:26 PM, Aditya Mahajan via ntg-context wrote: > > > AFAIK, there is no in-built support for this. > > FYEO: > > \starttext > > \startMPcode > u = 123; > \stopMPcode > > \ctxlua{metapost.reset("metafun:1")

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:42 PM, Hans Hagen via ntg-context wrote: next upload: \resetMPinstance[metafun:1] but try to avoid this because reloading takes time Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 3:26 PM, Aditya Mahajan via ntg-context wrote: AFAIK, there is no in-built support for this. FYEO: \starttext \startMPcode u = 123; \stopMPcode \ctxlua{metapost.reset("metafun:1")} \startMPcode u = 123; \stopMPcode \stoptext (the instance is reported on the console)

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Hans Hagen via ntg-context
On 1/20/2022 2:59 PM, Vincent Hennebert via ntg-context wrote: Hi, Say I’m writing a document containing many independent MetaPost figures. I don’t want to bother with enclosing each and every graphics in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But I don’t want variables

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Aditya Mahajan via ntg-context
On Thu, 20 Jan 2022, Vincent Hennebert via ntg-context wrote: > Hi, > > Say I’m writing a document containing many independent MetaPost > figures. I don’t want to bother with enclosing each and every graphics > in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But > I don’t want

[NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Vincent Hennebert via ntg-context
Hi, Say I’m writing a document containing many independent MetaPost figures. I don’t want to bother with enclosing each and every graphics in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But I don’t want variables from previous graphics to leak into following ones either. Like

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread kauśika via ntg-context
On Monday, January 3, 2022 4:21:27 PM IST Jan-Erik Hägglöf via ntg-context wrote: > I want a simple solution to reset the counter so it achieves the following > result: > > Exercises > > 1 First exercise > > 2 Second exercise > > Answers to exercises > >

[NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread Jan-Erik Hägglöf via ntg-context
to reset the counter so it achieves the following result: Exercises 1 First exercise 2 Second exercise Answers to exercises 1 Answers to first exercise 2 Answers to second exercise I hope that is clear enough to describe what I want to achieve Many thanks in advance Yours Sincerely Jan

Re: [NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-10 Thread J Huisman via ntg-context
, and > \btxdoifcombiinlistelse to help with this sort of thing in the bibliographic > list, but we'd like something analogous for inline citations. Specifically, > we'd like a way to retrieve (or compare) the tag, author, and title of the > last entry cited in the current mode (w

[NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-08 Thread Joey McCollum via ntg-context
compare) the tag, author, and title of the last entry cited in the current mode (where the mode may be in the main document or a footnote/endnote). A further \btxsetup option could control how locally the tracking should be done (i.e., if the trackers should reset at the start o

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Hans Hagen via ntg-context
[left] etc as we have installable boxes (that can individually be set and reset) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
he name implies a faster version which ignores grid mode and doesn't care whether the requested environment even exists. My simple testing shows no difference between setup, directsetup, and fastsetup for namespace set and reset. Is it your understanding that they all behave the same? No

Re: [NTG-context] Synonyms feature request

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 4:22 AM, Rik Kabel via ntg-context wrote: Hello developers, Is it possible to get a mechanism to reset and setup synonyms by way (page, part, chapter, section, ...)? This is not a high-priority request. I currently accomplish this in the after key of chapter setuphead

[NTG-context] Synonyms feature request

2021-11-11 Thread Rik Kabel via ntg-context
Hello developers, Is it possible to get a mechanism to reset and setup synonyms by way (page, part, chapter, section, ...)? This is not a high-priority request. I currently accomplish this in the after key of chapter setuphead definitions. However, it seems cleaner to define it when the

[NTG-context] Wiki's ConTeXt updated

2021-10-29 Thread Taco Hoekwater via ntg-context
Hi, Since yesterday wiki.contextgarden.net, live.contextgarden.net, and source.contextgarden.net all use ConTeXt 2021.10.28 10:19 LMTX as the installed ConTeXt. I have also tried to reset all the “” output images so that they will be automatically regenerated with this new ConTeXt, but

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
] %% reset , chapter, but not part \setuphead[part][number=no] \SectionPrequote{The world is not \rationals, it is \reals\crlf {\tf Gerben Wierda}} \part{Title title title} \PartAbstract{This is a part abstract.} \dorecurse{2}{ \SectionPrequote{If you think good architecture is expensive, try

Re: [NTG-context] resetting setuphyphenatedurl...

2021-10-24 Thread Rik Kabel via ntg-context
On 10/24/2021 06:37, Hans Hagen wrote: On 10/23/2021 4:53 AM, Rik Kabel via ntg-context wrote: Hello List, As demonstrated in the following example, it does not seem possible to reset \setuphyphenatedurlbefore, after, or normal once changed from default. That is, the first change appears to

  1   2   3   4   5   6   7   8   9   10   >