[NTG-context] Re: check if symbol or color is defined

2025-08-15 Thread Hans Hagen via ntg-context
is just for macros, isn’t it? And how can I check if the current font has a glyph? i suppose you grepped a bit \doifelsesymboldefined \doifelsecolor \doifelsefontchar and friends also listed in setup-en.pdf Oops, thanks! I don’t know why I hate grep… Source browser and wiki just aren’t

[NTG-context] Re: check if symbol or color is defined

2025-08-15 Thread Henning Hraban Ramm
if the current font has a glyph? i suppose you grepped a bit \doifelsesymboldefined \doifelsecolor \doifelsefontchar and friends also listed in setup-en.pdf Oops, thanks! I don’t know why I hate grep… Source browser and wiki just aren’t enough… Hraban

[NTG-context] Re: check if symbol or color is defined

2025-08-15 Thread Wolfgang Schuster
grepped a bit \doifelsesymboldefined \doifelsecolor \doifelsefontchar and friends also listed in setup-en.pdf Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

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

2025-08-14 Thread Thomas A. Schmitz
just a generic one when your main one is {main} you can also use that anywhere, so in the middle of some setup (say one that does a chapter title) you can just access something {main} which is then the root of the same document And just to be on the safe side: is the following example what

[NTG-context] Re: How to use Metapost libraries with Metafun?

2025-08-14 Thread Henning Hraban Ramm
s not supposed to work in any other lua, metapost or tex setup. To some extend tikz is an exception but that was written to work everywhere and has so many interfaces that in provides its own generic code for that. If something is written with e.g. latex in mind you can just forget about it: diff

[NTG-context] Re: How to use Metapost libraries with Metafun?

2025-08-14 Thread Hans Hagen via ntg-context
apost or tex setup. To some extend tikz is an exception but that was written to work everywhere and has so many interfaces that in provides its own generic code for that. If something is written with e.g. latex in mind you can just forget about it: different eco systems, audience, design, mi

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

2025-08-14 Thread Hans Hagen via ntg-context
hing you just access it explicitly, so no #1 but {two} ; you can mix and match any way you like the #1 approach is just a generic one when your main one is {main} you can also use that anywhere, so in the middle of some setup (say one that does a chapter title) you can just access something {mai

[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: mtxrun --script epub and modes

2025-08-14 Thread Florent Michel
Hi Mikael, > We have some kind of working setup at the moment (here I have some lua > file that compiles lectures in different files to different xhtml > files, exporting svg files for formulas automatically, and so on), but > this is something that will be discussed further during

[NTG-context] Re: mtxrun --script epub and modes

2025-08-14 Thread Mikael Sundqvist
t tex has several of them. I should thus be able to use > mutools to convert it to svgs and save them to `test-export/images` manually, > using mtx-epub.lua as reference. > > Thanks again for your help! We have some kind of working setup at the moment (here I have some lua file that c

[NTG-context] Re: tagigng

2025-08-13 Thread Mikael Sundqvist
ve slightly better control. The drawback is that you then need to type \startparagraph and \stopparagraph all the time. So, if you decide to go that route, you need to configure your own tagging setup, and then the should not go into Div (since that cannot be inside P), but maybe NonStruct. (Yo

[NTG-context] Re: tagigng

2025-08-13 Thread Mikael Sundqvist
s gives some basic mapping. Then there is a basic mapping that or > with Mikael figured out and tested on lecture notes and a math book. Of > course runtime increases (so the book now needs 14 sec instead of 8 but so > be it we might be able to improve that a little bit but all that math ..

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
>>> [format=pdf/ua-2] >>> >>> \setuptagging >>> [state=start] >>> >>> This gives some basic mapping. Then there is a basic mapping that or with >>> Mikael figured out and tested on lecture notes and a math book. Of course >>&g

[NTG-context] Re: tagigng

2025-08-13 Thread Mikael Sundqvist
be it we might be able to improve that a little bit but all that math ... > it's not like one tags all day). > > > > \setuptagging > > [state=start, > > preset=basic, > > % preset={basic,\jobname}, > > comment={just a basic test document}] > &

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
ured out and tested on lecture notes and a math book. Of course >> runtime increases (so the book now needs 14 sec instead of 8 but so be it we >> might be able to improve that a little bit but all that math ... it's not >> like one tags all day). >> >> \setuptaggi

[NTG-context] Re: tagigng

2025-08-13 Thread Matthias Weber
your own mappings, e.g. which could already be done with > commands but we now prefer using an "imp" file as hard pdf mapping doesn't > belong in a document setup. You, as user / author knows best what mapping is > nneeded and can work. There is tagging-basic.tex docume

[NTG-context] tagigng

2025-08-13 Thread Hans Hagen via ntg-context
c test document}] You can kick in your own mappings, e.g. which could already be done with commands but we now prefer using an "imp" file as hard pdf mapping doesn't belong in a document setup. You, as user / author knows best what mapping is nneeded and can work. There is ta

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

2025-08-13 Thread Denis Maier via ntg-context
Hi Thomas, You know more about XML processing than I do, but how does your project setup look like? I imagine you should be able to keep track of the footnotes in a lua table (just like shown in the xml-mkiv manual) and place them manually with \placefootnotes where you want. Something like

[NTG-context] Re: testing language tagging?

2025-07-31 Thread Mikael Sundqvist
Hi Pablo, On Thu, Jul 31, 2025 at 6:58 PM Pablo Rodriguez via ntg-context wrote: > > On 7/30/25 17:35, Mikael Sundqvist wrote: > > [...] > > As a funny coincidence, I was just looking at block quotes. We are > > making some simple variant of tagging in an example setup (

[NTG-context] Re: testing language tagging?

2025-07-31 Thread Pablo Rodriguez via ntg-context
On 7/30/25 17:35, Mikael Sundqvist wrote: > [...] > As a funny coincidence, I was just looking at block quotes. We are > making some simple variant of tagging in an example setup (maybe > others want it differently). What do you think of > > \startquotation > [...] > \

[NTG-context] Re: testing language tagging?

2025-07-30 Thread Mikael Sundqvist
allowed. > > Sorry, but I don’t see why blockquotes should contain only a single > paragraph. As a funny coincidence, I was just looking at block quotes. We are making some simple variant of tagging in an example setup (maybe others want it differently). What do you think of \startquotati

[NTG-context] Re: Margin text?

2025-07-24 Thread Ursula Hermann
margin text? While I don’t really understand your question: – A thumb index usually depends on the part or chapter (here it’s the part, obviously) and stays the same within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and

[NTG-context] Re: Margin text?

2025-07-24 Thread Henning Hraban Ramm
within that section. – Its setup should probably be triggered by \setuphead or maybe \setupheader, but there’s nothing ready-made and there are several approaches possible. – The colored area must “bleed” over the edge of the paper (usually 2–3 mm), i.e. you must use the second parameter of

[NTG-context] SPR: was Re: Re: language in tagging and export

2025-07-15 Thread Jim
m using neither gnome now wayland, but the non-PDF-reader programs I just examined (urxvt, emacs, firefox, xclock, fvwm3, ...) all cheerfully do sub-pixel rendering with the setup I have on my system (Slackware64 15.0). However, the PDF viewers on my system (evince, kpdf, okular, mupdf) resolutely r

[NTG-context] Re: language in tagging and export

2025-07-14 Thread Hans Hagen via ntg-context
ux it depends on the general setup and i always found that ubuntu (xubuntu) was set up right wrt fonts, others were unbearable which is why i stayed on windows; recently i managed to set up opensuse (we use that on a server) to render fonts ok too, although it differs (and over the year i simply b

[NTG-context] Re: testing tagging for UA-2

2025-07-08 Thread Pablo Rodriguez via ntg-context
ways, you are right, Wolfgang. https://www.pragma-ade.com/general/qrcs/setup-en.pdf#search=startdelimitedtext Many thanks for the tip, since it makes easier to see how it behaves with tagging. Pablo ___ If your ques

[NTG-context] Re: Processing time

2025-06-20 Thread John Was
upported models: gray 'true', rgb 'true', > > cmyk 'true', spot 'true' > > transparencies > support > transparency is supported > > viewerlayers> viewerlayers are not supported > > backend > xmp > using file &#x

[NTG-context] Re: Processing time

2025-06-20 Thread Wolfgang Schuster
e 'D:/TEXFILES/TEXINPUT/TEXDOCS/ UNIDEFS/uhyphens.tex' close source    > level 2, order 4, name 'D:/TEXFILES/TEXINPUT/TEXDOCS/ UNIDEFS/uhyphens.tex' Why is uhyphens.tex loaded and what is its content? structure       > sectioning > cha

[NTG-context] Re: preventing next \par

2025-06-19 Thread mf
an and Wolfgang. \ignorepars is what I was looking for, though I realized it must be the last thing in the paragraph. Currently it does not work with my xml setup for paragraphs: \startxmlsetups xml:Para    \dontleavehmode\xmlflush{#1}\resetcharacterkerning\strut\par \stopxmlsetups \resetchara

[NTG-context] Re: preventing next \par

2025-06-19 Thread Wolfgang Schuster
Am 18.06.2025 um 23:28 schrieb mf: Thanks Hraban and Wolfgang. \ignorepars is what I was looking for, though I realized it must be the last thing in the paragraph. Currently it does not work with my xml setup for paragraphs: \startxmlsetups xml:Para   \dontleavehmode\xmlflush{#1

[NTG-context] Re: preventing next \par

2025-06-19 Thread Aditya Mahajan
On Wed, 18 Jun 2025, mf wrote: > Thanks Hraban and Wolfgang. > > \ignorepars is what I was looking for, though I realized it must be the last > thing in the paragraph. > > Currently it does not work with my xml setup for paragraphs: > > \startxmlsetups xml:Para >

[NTG-context] Re: preventing next \par

2025-06-19 Thread Henning Hraban Ramm
Am 18.06.25 um 23:28 schrieb mf: Thanks Hraban and Wolfgang. \ignorepars is what I was looking for, though I realized it must be the last thing in the paragraph. Currently it does not work with my xml setup for paragraphs: \startxmlsetups xml:Para   \dontleavehmode\xmlflush{#1

[NTG-context] Re: preventing next \par

2025-06-18 Thread mf
Thanks Hraban and Wolfgang. \ignorepars is what I was looking for, though I realized it must be the last thing in the paragraph. Currently it does not work with my xml setup for paragraphs: \startxmlsetups xml:Para \dontleavehmode\xmlflush{#1}\resetcharacterkerning\strut\par \stopxmlsetups

[NTG-context] Re: Cropmarks

2025-06-18 Thread John Was
e, > > marking=on, > > horoffset=60pt, > > veroffset=0pt, > > paper=OUPoctavo, > > cutspace=0pt] > > \setuplayout[GHIL] > > These are far too many settings, that usually makes no sense and I doubt > you nee

[NTG-context] Re: Cropmarks

2025-06-18 Thread Henning Hraban Ramm
instructions how to setup a layout properly somewhere in the wiki, but since it was restructured, I can’t find anything any more. Hraban ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: New user here!

2025-06-16 Thread Wolfgang Schuster
mation that there is more than one instance of # between instances of & in the setup of the table.  They lie! I'm disappointed that I can't use \catcode = \active to do anything useful - I do often use that, particularly to fetch a character not in the typeface.  For example, if I wa

[NTG-context] Re: New user here!

2025-06-16 Thread John Was
> ago, I like a half-point rule at the beginning and end but a quarter-point > rule between headings and the data). Plain (Xe)TeX's \halign command works > only for that generally useless item, a table with only one column - if you > try add an extra column the setting halts and o

[NTG-context] Re: New user here!

2025-06-16 Thread Taco Hoekwater
setting halts and one is presented with the false > information that there is more than one instance of # between instances of & > in the setup of the table. They lie! This should help: https://wiki.contextgarden.net/Tables/Natural_tables_with_TABLE#Rules > I'm disappointed that

[NTG-context] Re: New user here!

2025-06-16 Thread John Was
between instances of & in the setup of the table. They lie! I'm disappointed that I can't use \catcode = \active to do anything useful - I do often use that, particularly to fetch a character not in the typeface. For example, if I want a yogh and am obliged to use a particular type

[NTG-context] Re: line breaks within *section title

2025-06-14 Thread Damien Thiriet via ntg-context
Thanks for all your answers. just don't justify: \setuphead[align=flushleft] I realized I did not do my homework so well (I certainly had to get up too early). My \sectionhead parameters were already setup with : align={lohi,flushleft,nothyphenated,verytolerant} Maybe my margins

[NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore

2025-06-13 Thread Pablo Rodriguez via ntg-context
and compile the minimal source with that setup (both brand-new user and brand-new install). I really hope any of this might help. Please, tell us what works (or whether all tricks failed). Best luck, Pablo ___ If your

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Gottschalt, Johannes
That works, thanks for your help, Wolfgang! :) -Ursprüngliche Nachricht- Von: Wolfgang Schuster Gesendet: Donnerstag, 22. Mai 2025 11:58 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Hanging indent in TOC Am 22.05.2025 um 08:51 schrieb Gottschalt, Johannes: > My current setup

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Wolfgang Schuster
Am 22.05.2025 um 08:51 schrieb Gottschalt, Johannes: My current setup is this: % TOC setup \setupcombinedlist[content]% [ list={defaultchapter,defaultsection,defaultsubsection},% after={\blank[10pt]},% alternative=c,% criterium=all,% ] \definelist[defaultchapter][chapter]%default

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Gottschalt, Johannes
My current setup is this: % TOC setup \setupcombinedlist[content]% [ list={defaultchapter,defaultsection,defaultsubsection},% after={\blank[10pt]},% alternative=c,% criterium=all,% ] \definelist[defaultchapter][chapter]%default first layer \definelist[defaultsection][section] \setuplist

[NTG-context] Re: Why does \setvalue not work inside \startbodymatter?

2025-05-19 Thread Wolfgang Schuster
Am 18.05.2025 um 17:57 schrieb Joel via ntg-context: I have a document setup with: \starttext \startfrontmatter (contains all front matter content) \stopfrontmatter \startbodymatter \stopbodymatter \startbackmatter \stopbackmatter \stoptext I was noticing very strange behavior where

[NTG-context] Re: Why does \setvalue not work inside \startbodymatter?

2025-05-18 Thread Hans Hagen via ntg-context
On 5/18/2025 5:57 PM, Joel via ntg-context wrote: I have a document setup with: \starttext \startfrontmatter (contains all front matter content) \stopfrontmatter \startbodymatter \stopbodymatter \startbackmatter \stopbackmatter \stoptext I was noticing very strange behavior where \setvalue

[NTG-context] Why does \setvalue not work inside \startbodymatter?

2025-05-18 Thread Joel via ntg-context
I have a document setup with: \starttext\startfrontmatter(contains all front matter content)\stopfrontmatter \startbodymatter \stopbodymatter \startbackmatter \stopbackmatter\stoptext I was noticing very strange behavior where \setvalue was not showing up as \getvalue. I put it in lots of pllaces

[NTG-context] Re: setups issue

2025-05-13 Thread Wolfgang Schuster
Am 12.05.2025 um 23:22 schrieb jbf: Thank you for that very clear explanation. Below is another \setups feature. \startsetups strong \ifempty{#1} \bgroup \tttf [empty] \egroup \else \bgroup \bf #1 \egroup \fi \stopsetups \starttext word \setup{strong} word

[NTG-context] Re: Shadow around a figure

2025-05-11 Thread Jeroen
So far I have been able to get this setup which does what I was looking for. I just dont seem to get the "Intermezzo 1" text removed: \useMPlibrary[dum] \startuniqueMPgraphic{mpshadow} % BodyFontSize should be the current font size of/in the frame mw := BodyFontSize/3; ox := +3.5 ; % o

[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2025-04-28 Thread Cron Daemon
context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip general/manuals/ general/manuals/luametafun.pdf general/manuals/standards.pdf general/qrcs/ general/qrcs/setup-cs.pdf general/qrcs/setup-de.pdf general/qrcs/setup-en.pdf general

[NTG-context] Re: How to easily comment out/uncomment multiple lines all at once?

2025-04-27 Thread mf
you want to run both \macroA and \macroB, context --mode=ModeA,ModeB yourfile.tex You can also use \startnotmode[ModeA] ... \stopnotmode to run something only when ModeA is not active. Massi Il 27/04/25 20:42, Joel via ntg-context ha scritto: I have a single *.tex file that I have setup, here&#

[NTG-context] Re: How to easily comment out/uncomment multiple lines all at once?

2025-04-27 Thread Hans Hagen via ntg-context
On 4/27/2025 8:42 PM, Joel via ntg-context wrote: I have a single *.tex file that I have setup, here's a simple minimal example: \define\macroA{This outputs some stuff.} \define\macroB{\input knuth } \define\macroC{This outputs other stuff.} \define\macroD{This outputs other

[NTG-context] How to easily comment out/uncomment multiple lines all at once?

2025-04-27 Thread Joel via ntg-context
I have a single *.tex file that I have setup, here's a simple minimal example: \define\macroA{This outputs some stuff.} \define\macroB{\input knuth } \define\macroC{This outputs other stuff.} \define\macroD{This outputs other stuff.} \define\macroE{This outputs other stuff.} \define[2]\macroF

[NTG-context] How to check if a register item appears in a specific chapter, or not?

2025-04-05 Thread Joel via ntg-context
ndard1 is in chapter1then    print "✓"else    print "" How can I setup such a check? --Joel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

[NTG-context] Re: FLOW chart module

2025-03-31 Thread Willi Egger
Hello Wolfgang, it looks like I am really getting old :-(. Thank you for getting my going again :-) Willi > On 29 Mar 2025, at 21:00, Willi Egger wrote: > > Good evening! > > I just tried to setup a small FLOW chart. However it appears that there must > be something brok

[NTG-context] Re: FLOW chart module

2025-03-30 Thread Wolfgang Schuster
Am 29.03.2025 um 21:00 schrieb Willi Egger: Good evening! I just tried to setup a small FLOW chart. However it appears that there must be something broken: tex error > tex error on line 22 in file /Users/willi/Documents/test-FLOW-chart.tex: Control sequence expected instead

[NTG-context] FLOW chart module

2025-03-29 Thread Willi Egger
Good evening! I just tried to setup a small FLOW chart. However it appears that there must be something broken: tex error > tex error on line 22 in file /Users/willi/Documents/test-FLOW-chart.tex: Control sequence expected instead of undefined \location {3,3}

[NTG-context] help with \flushsubcolumnsets[spread]

2025-03-23 Thread Pablo Rodriguez via ntg-context
Dear list, first of all, sorry for not providing a MWE, but it is really hard in this case. To enjoy the new added abilities for parallel texts in ConTeXt, I’m making a six-language version of an ancient Greek text. Columns setup (using landscape A4), so there are two pages: \definecolumnset

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
== %% HEADER'S FORMAT %% === % set the header logo height \def\headerlogoheight{13mm}%{40pt}%{13mm} % carico logo aziendale \useexternalfigure [logo] [.\\TEX\\01-DOCFORMAT\\IMG\\Logo_P

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

2025-03-06 Thread Denis Maier via ntg-context
What about putting the relevant sections in a group with \begingroup \endgroup? Or you could save the default settings in a la setup and call them where needed. Joel via ntg-context hat am 07.03.2025 03:55 CET geschrieben

[NTG-context] Re: Strange display of math when enabling export xml/html/xhtml

2025-03-05 Thread Christoph Hintermüller via ntg-context
port settings or not called helper scripts. - No fallack image of the math is generated in the image directory of export-example. Like no images are linked or copied at all to export- example/images when running mtxrun --script context and no information is given no warining message indicating what to

[NTG-context] Re: month form \currentdate in Roman numerals

2025-03-02 Thread Hans Hagen via ntg-context
On 2/28/2025 11:30 PM, Mohammad Hossein Bateni wrote: BTW why doesn't \setuplabeltext exist in the mtx-server-ctx-help? It does exist in setup-en.pdf and shows that it is an instance of \setupLABELtext. because it's a 'defined command' ... i could probably add it but it&#

[NTG-context] \currentlistentrynumber and \currentlistlocation

2025-03-01 Thread Pablo Rodriguez via ntg-context
Dear list, I’m struggling with an alternative list setup: \showframe \setupinteraction [state=start, style=, focus=standard] \enabledirectives[references.border=red] \definelistalternative [pmcols] [renderingsetup=pmcol] \startsetups [pmcol] \ifnum

[NTG-context] Re: month form \currentdate in Roman numerals

2025-02-28 Thread Mohammad Hossein Bateni
BTW why doesn't \setuplabeltext exist in the mtx-server-ctx-help? It does exist in setup-en.pdf and shows that it is an instance of \setupLABELtext. On Fri, Feb 28, 2025 at 5:28 PM Mohammad Hossein Bateni wrote: > the following outputs "farsi" instead of "fa&q

[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2025-02-28 Thread Cron Daemon
context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip general/manuals/ general/manuals/mathincontext-paper.pdf general/manuals/mathincontext-screen.pdf general/manuals/missingfiles.pdf general/qrcs/ general/qrcs/setup-pe.pdf sent

[NTG-context] Re: \setuplist[chapter][alternative=d] inside margins

2025-02-27 Thread Hans Hagen
this is the first time I see it. I always search my local copy of https://www.pragma-ade.com/general/ qrcs/setup-en.pdf, but with "\setupcommand [" (to avoid all the ocurrences of "inherits: \setupcommand". Now I see this was wrong. But I wonder if I would have ever noticed i

[NTG-context] Re: \setuplist[chapter][alternative=d] inside margins

2025-02-27 Thread Pablo Rodriguez via ntg-context
. Many thanks for this command, since this is the first time I see it. I always search my local copy of https://www.pragma-ade.com/general/ qrcs/setup-en.pdf, but with "\setupcommand [" (to avoid all the ocurrences of "inherits: \setupcommand". Now I see this was wrong. But I

[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2025-02-26 Thread Cron Daemon
context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip general/manuals/ general/manuals/lowlevel.pdf general/qrcs/ general/qrcs/setup-cs.pdf general/qrcs/setup-de.pdf general/qrcs/setup-en.pdf general/qrcs/setup-fr.pdf general/qrcs

[NTG-context] Re: Quads not appearing

2025-02-26 Thread Wolfgang Schuster
Am 26.02.2025 um 16:40 schrieb Denis Maier via ntg-context: Hi, I have an xml setup like the one below. In my real document the qquads in xml:index-entry don’t appear, but I haven’t been able to reproduce the problem in the MWE. What could be the cause of such an issue? I don’t know if this

[NTG-context] Quads not appearing

2025-02-26 Thread Denis Maier via ntg-context
Hi, I have an xml setup like the one below. In my real document the qquads in xml:index-entry don't appear, but I haven't been able to reproduce the problem in the MWE. What could be the cause of such an issue? I don't know if this is helpful, but I had to change the line

[NTG-context] Re: header centered doublesided

2025-02-24 Thread Jürgen Hanneder via ntg-context
to me that while \setupheadertexts can print stuff in the middle, it does not take orders to have different texts on left (even) and right (odd) pages. My relevant setup is: \setupheader[leftwidth=.8\hsize,rightwidth=.8\hsize,style=\tfx,location={middle}] \setuppagenumbering[alternative=double

[NTG-context] Re: header centered doublesided

2025-02-24 Thread Henning Hraban Ramm
ff in the middle, it does not take orders to have different texts on left (even) and right (odd) pages. My relevant setup is: \setupheader[leftwidth=.8\hsize,rightwidth=.8\hsize,style=\tfx,location={middle}] \setuppagenumbering[alternative=doublesided,location={footer,margin}] \setupheadertexts[?]

[NTG-context] header centered doublesided

2025-02-24 Thread Jürgen Hanneder via ntg-context
rs to have different texts on left (even) and right (odd) pages. My relevant setup is: \setupheader[leftwidth=.8\hsize,rightwidth=.8\hsize,style=\tfx,location={middle}] \setuppagenumbering[alternative=doublesided,location={footer,margin}] \setupheadertexts[?] Best wishes, Jürgen --- Prof. Dr. Ju

[NTG-context] Re: Mathdigits fallback does not work

2025-02-23 Thread Mohammad Hossein Bateni
uot;[math] [base] [modern] [default]" but couldn't get it to work. Is there any other way to make the above more readable? In my setup, I have copies of SEC A for each fallback font and a copy of SEC B for each base math font. 2. I don't understand how \definefontsynonym works. Does it h

[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2025-02-04 Thread Cron Daemon
context/latest/cont-tmf.zip context/latest/cont-tst.7z context/latest/cont-tst.tar.xz context/latest/cont-tst.zip general/manuals/ general/manuals/lowlevel-balancing.pdf general/manuals/luametatex.pdf general/qrcs/ general/qrcs/setup-mapping-en.pdf general/qrcs/setup-mapping-it.pdf sent

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
in particular \startsection for example breaks the mecanism \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setupinterlinespace[14pt] % LET DEFAULT \setuplayout[% backspace=10mm, topspace=20mm, header=0mm,

[NTG-context] Re: [ page setup ]

2025-01-26 Thread garulfo
A proposal based on lmt_parshape, \startshapetext, and \getshapetext. Be sure to use \endgraf to break the line ==> it probably work only if you stay in the same par. % 8<--- \setuppapersize [A4] \setupheader [state=empty, no] \usetypescript[ibmplex] \setupbodyfont[ibmplex, serif, 11pt] % \setu

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 21:43, Mikael Sundqvist wrote: If you are in the middle of a paragraph at the page break where the width changes, it will  not work. ok, so the \definelayout will not work for defining alternate (odd/even) narrow, (odd/even) wide pages. Is there an different route? e.g. manu

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Mikael Sundqvist
If you are in the middle of a paragraph at the page break where the width changes, it will not work. Den sön 19 jan. 2025 21:40vm via ntg-context skrev: > > > On 19/01/2025 20:38, Henning Hraban Ramm wrote: > > \definelayout[one][width=118mm] > > \definelayout[two][width=178mm] > > > > and then

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] my current lmtx seems to ignore the \definelayout what am i missing? 8<--- \set

[NTG-context] Re: [ page setup ]

2025-01-19 Thread vm via ntg-context
On 19/01/2025 20:38, Henning Hraban Ramm wrote: You can define different layouts like \definelayout[one][width=118mm] \definelayout[two][width=178mm] and then activate them for pages like \definelayout[1,2,5,6][one] \definelayout[4,5,7,8][two] That helps indeed, Thank you! .F _

[NTG-context] Re: [ page setup ]

2025-01-19 Thread Henning Hraban Ramm
Am 19.01.25 um 19:07 schrieb vm via ntg-context: What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, .

[NTG-context] [ page setup ]

2025-01-19 Thread vm via ntg-context
What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ... all hints appreciated .Floris _

[NTG-context] Re: Weird date output

2025-01-14 Thread Wolfgang Schuster
Am 13.01.2025 um 19:02 schrieb Hans Hagen: On 1/13/2025 5:43 PM, Wolfgang Schuster wrote: Am 12.01.2025 um 06:16 schrieb autumnus: Thank you for your explanation. Regarding the space after the month, will it be added to the ConTeXt in the future? I'm worried that after I patch it, it will be

[NTG-context] Re: Spacing between Chapter title and first paragraph sometimes changes

2025-01-13 Thread Keith McKay
tups along with a few others for divs, images and some other tags. For the chapters setup I use: \setuphead[chapter][page=no, number=no, header=empty, align=middle, after={\blank[3cm]}] I would expect that using this \setuphead, there should be a gap of three cm between

[NTG-context] Re: Spacing between Chapter title and first paragraph sometimes changes

2025-01-13 Thread Hans Hagen via ntg-context
\xmlflush{#1} \stopxmlsetups \startxmlsetups xml:h2 \page \chapter{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1}\par \stopxmlsetups along with a few others for divs, images and some other tags. For the chapters setup I use: \setuphead[chapter][page=no,     number=no,

[NTG-context] Spacing between Chapter title and first paragraph sometimes changes

2025-01-13 Thread Keith McKay
lsetups xml:h2 \page \chapter{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1}\par \stopxmlsetups along with a few others for divs, images and some other tags. For the chapters setup I use: \setuphead[chapter][page=no,     number=no,     header=empty,     align=middle,     after

[NTG-context] Re: Quickly invoke a self-defined index sorting file?

2025-01-12 Thread Hans Hagen
these files with my local context system and use setup to enable it directly. I want directly use %%% \setupregister[index][n=4,language=cn-alpha,] %%% instead of \input sort-alpha.lua \setupregister[index][ n=4, language={cn-alpha},] %%% remove \startluacode and \stopluacode in that

[NTG-context] Quickly invoke a self-defined index sorting file?

2025-01-12 Thread autumnus
and use setup to enable it directly. I want directly use %%% \setupregister[index][n=4,language=cn-alpha,] %%% instead of \input sort-alpha.lua \setupregister[index][ n=4, language={cn-alpha},] %%% In addition to this, I found that the following notification appeared on the tex

[NTG-context] Re: about : setuplayout[width=fit or height=fit]

2025-01-10 Thread wangzhongtian
I think for the width=fit setup,the makeupwidth should be : paperwidth - [ max of( backspace , leftmargin +leftmargindis+leftedge+leftedegedis)]- cutspace (leftmargin +leftmargindis+leftedge+leftedegedis) is the subdimmensions of backspace.For the height=fit setup,the makeupheight should be

[NTG-context] Re: defining macros

2025-01-10 Thread Hans Hagen via ntg-context
for modules (namespaces, setup helpers…), I also know the Lua way of interface.implement, but how to combine those? When should I use brackets or other characters in a definition, when not? optionals normally have [] Which docs should I read? how about lowlevel-macros .. but haven't you

[NTG-context] defining macros

2025-01-10 Thread Henning Hraban Ramm
work with \define? I have more questions like that: From Wolfgang’s presentation (article in progress…) I know all the cool stuff for modules (namespaces, setup helpers…), I also know the Lua way of interface.implement, but how to combine those? When should I use brackets or other characters in

[NTG-context] Re: Yet Another itemize question

2025-01-08 Thread Jim
perfectly, thanks. > Inside a bracket pair, either use [a,b] or [a=b], do not mix them. (Duh. Fortunately, there are no handy concrete walls for me to bang my head on.) > How to know what to use? In this case you can look up \startitemize in > https://www.pragma-ade.com/general/qrcs/setup-en

[NTG-context] Re: Yet Another itemize question

2025-01-08 Thread Mikael Sundqvist
up \startitemize in https://www.pragma-ade.com/general/qrcs/setup-en.pdf to see how to do it. But, that said, maybe you shall define your own itemgroup for this, and set it up, since then you do not have to add these settings everytime. Also, depending on what you do, maybe a description is more

[NTG-context] Re: Why are my images floating away even though I used "here" and "force" settings?

2024-11-28 Thread Henning Hraban Ramm
ppear exactly as the next item after instructions, and before requirements, without floating away, even if that means a lot of empty space is going to be added to the page? Include \placefloats in your structure setup, e.g. like \setuphead[section][before={\placefloats}] or like \setuphead[secti

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-20 Thread Niklas von Hirschfeld
hink this is the > expected behaviour, since the margins flip on odd and even pages. You could > set up as single-sided to prevent this but you may be relying on the > double-sided setup for other things (page numbers, headers and footers for > example). > > Duncan > >

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-19 Thread Duncan Hothersall
If your document is set up as double-sided (\setuplayout[alternative=doublesided] or similar) then I think this is the expected behaviour, since the margins flip on odd and even pages. You could set up as single-sided to prevent this but you may be relying on the double-sided setup for other

[NTG-context] Re: penalties

2024-11-04 Thread Thomas Meyer
d for this case and has been dropped in favour of more powerful par passes and specification definitions this setup approach was also sensitive for order doesn't work any longer, I think. Can anyone confirm this. There is another problem (page break in the paragraph) that I have yet to ve

[NTG-context] Re: penalties

2024-10-31 Thread Hans Hagen
does \startsetups[mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{1} \setpenalties\clubpenalties {2}{1} \stopsetups work? this [grid] was only used for this case and has been dropped in favour of more powerful par passes and specification definitions this

[NTG-context] Re: Why is my custom bullet point not rendering?

2024-10-27 Thread Mikael Sundqvist
to make a pointing finger the bullet point symbol. > > When I put the bullet point into the document, it works just fine. But when > defined as the pointer, it somehow isn't showing up. > > What am I doing wrong? You can separate the definition from the setup. Try \defineitemgro

  1   2   3   4   5   6   7   8   9   10   >