Re: [NTG-context] issue with defined font feature

2020-12-26 Thread Wolfgang Schuster
d argument for the script key) in your font features for the monospaced font. Another option is to use "features={always,standarddigits}" but this enables kerning and ligatures. Wolfgang ___ If your que

Re: [NTG-context] cow-font

2020-12-23 Thread Wolfgang Schuster
rk because it loads the typescript for MkII. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/n

Re: [NTG-context] \dodoubleemptywithset not working in LMTX

2020-12-20 Thread Wolfgang Schuster
]}% - \processcommalist[#1]\syst_helpers_with_set_step}} + \processcommalist[#2]\syst_helpers_with_set_step}} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] lmtx-20201218 | \usetypescriptfile | typescripts > unknown library

2020-12-20 Thread Wolfgang Schuster
pe-" prefix isn't anough anymore, you have to change it to "type-imp-" (e.g. type-imp-sourceserif.tex) to be found by ConTeXt. Valid file extensions for a typescript file in LMTX (and MkIV) are "tex&

Re: [NTG-context] Indic fonts with MkIV and

2020-12-19 Thread Wolfgang Schuster
? ನಾನು ಹೀಗೆ ತುಂಬ ಬರೆಯಬೇಕೆಂದು ಯೋಚಿಸುತ್ತಿದ್ದೇನೆ. \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] LMTX and addplot table

2020-12-12 Thread Wolfgang Schuster
is undefined which is something PGF \PackageError is a LaTeX command which takes 3 argument: \PackageError{}{}{} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Wolfgang Schuster
of text to the next page, you can avoid this when you allow the section to force a page break. \setuphead   [section]   [before={\blank[preference,2*big]}] Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Wolfgang Schuster
umber". But, for some reason, the list number doesn't show in placelist: \definelist[test] \starttext \placelist[test][criterium=all, alternative=b] Add "headnumber=always". Wolfgang ___ If your question is o

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
hwordsl{slanted word}$ $\mathwordbf{bold word}$ $\mathwordbi{bolditalic word}$ $\mathwordbs{boldslanted word}$ \stoplines \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
[grid=no] or you replace the mixed columns mechanism with a simpler column mechanism which doesn't produce an extra line, to do this add this at the begin of your document     \enableexperiments[itemize.columns] Wolfgang

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Wolfgang Schuster
Thank you in advance. This is normal, to load figures from the tex directory use \setupexternalfigures[location=default]. More information are on the wiki: https://wiki.contextgarden.net/Command/setupexternalfigure

Re: [NTG-context] ntg-context Digest, Vol 198, Issue 8

2020-12-02 Thread Wolfgang Schuster
lig=no}] Pass only named features sets (create with \definefontfeature) as argument to the features key. Even though "dlig=no" works at the moment this is not officially supported and can disap

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Wolfgang Schuster
] \starttext ct st \stoptext \definefontfamily [english] [rm] [EB Garamond] \definefontfamily [english] [mm] [Stix Two Math] \setupbodyfont[english] \starttext fi fl ffi ffl ct st \stoptext Wolfgang ___ If your

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Wolfgang Schuster
}   \NC \operatingsystem   \NC\NR \stoptabulate \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-30 Thread Wolfgang Schuster
suggests that *\framedtext* has a different default width than *\framed*. Perhaps I missed it.) There is nothing wrong with framedtext, the command always used a fixed width as default setting. Wolfgang ___ If your

Re: [NTG-context] Problem with word not hyphenating

2020-11-30 Thread Wolfgang Schuster
ementation}\\ \hyphenatedword{reimplementation} \stopTEXpage \stoptext If you comment the first line, only "||" allows hyphenation. Another option is to add \setbreakpoints[compound] to the document. Wolfgang

Re: [NTG-context] Several lines under a limit

2020-11-28 Thread Wolfgang Schuster
ign}}=+\infty \stopformula \stoptext \starttext \startformula \lim_{% \startsubstack x \to 2 \NR x > 2 \NR \stopsubstack } = +\infty \stopformula \stoptext Wolfgang ___ If your qu

Re: [NTG-context] inbetween in \setupnotation

2020-11-27 Thread Wolfgang Schuster
} } \stoptext I wonder why the green rule isn’t shown. I mean, I would expect to see it between footnotes. What am I missing or doing wrong? \setupnotation [footnote] [alternative=top] Wolfgang ___ If your question

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
-blog/post/frame-with-solid-left-line-redux/ Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-conte

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
=paragraph, before=\blank, after=\blank] \setuptyping [CPP] [before=\startCodeBackground, after=\stopCodeBackground] \starttext \samplefile{ward} \startCPP #include int main(void) { printf("hello, world\n"); } \stopCPP \samplefile{weisman} \stoptext

Re: [NTG-context] new upload

2020-11-26 Thread Wolfgang Schuster
for the initial build which should keep you covered for a while For the moment a normal intel mac should work to create a universal binary: https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary Wolfgang

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
\startMytyping \stopMytyping \starttyping[option=XML] \stoptyping \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
Johann Birnick schrieb am 26.11.2020 um 19:10: On Thu, 2020-11-26 at 17:31 +0100, Wolfgang Schuster wrote: Johann Birnick schrieb am 26.11.2020 um 17:00: On Thu, 2020-11-26 at 09:38 -0500, Aditya Mahajan wrote: On Thu, 26 Nov 2020, Johann Birnick wrote: How to surround such things properly

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http

Re: [NTG-context] question about frames

2020-11-26 Thread Wolfgang Schuster
} {\framed[width=max,height=max]{}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Wolfgang Schuster
Joseph schrieb am 25.11.2020 um 19:51: Dear list, Following MWE outputs only ‘m’ characters (with latest upload). Is there a reason why you don't use the conversion mechanism? \starttext \convertnumber{r}{7} \cldcontext{converters.convert("r",7)} \stoptext

Re: [NTG-context] Error with spaces in Argument of \startproduct

2020-11-24 Thread Wolfgang Schuster
the filename when you replace it with *, e.g. \startproduct * or \startproduct [*] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] LMTX and descriptions

2020-11-24 Thread Wolfgang Schuster
"\D{Label} description" doesn't print "Label" at all. The syntax with \start, \stop works fine but has a nasty effect on the next TABLE if it uses TH (check attached pdf). This is a different problem which is unrelated to the de

Re: [NTG-context] startCSV Wiki, Natural Table

2020-11-24 Thread Wolfgang Schuster
Fabrice L schrieb am 24.11.2020 um 19:08: Le 24 nov. 2020 à 12:52, Wolfgang Schuster a écrit : Fabrice L schrieb am 24.11.2020 um 18:44: Hi, I was using in the past (MKII) a snippet of code to produce (natural) tables from CSV. I was trying to compile my code with MKIV, but this does

Re: [NTG-context] startCSV Wiki, Natural Table

2020-11-24 Thread Wolfgang Schuster
the database module. \usemodule[database] \defineseparatedlist [CSV] [separator={,}, before=\bTABLE, after=\eTABLE, first=\bTR, last=\eTR, left=\bTD, right=\eTD] \starttext \startCSV 1,2,3 3,5,6 7,8,9 \stopCSV \stoptext Wolfgang

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-21 Thread Wolfgang Schuster
this to \defineexpandable but its best to do this in MkIV and LMTX because protected commands are the wrong thing in this case. Even though it would work in MkIV in some cases you run into problems when you pass argument to Lua. Wolfgang

Re: [NTG-context] bizarre bug in xml

2020-11-21 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 20.11.2020 um 22:57: On 11/20/20 10:52 PM, Wolfgang Schuster wrote: Optional arguments (e.g. plus/minus values for \hskip) for commands are handled different in LMTX but it was always recommended to add \relax after the last value. Thank you Wolfgang, that makes

Re: [NTG-context] bizarre bug in xml

2020-11-20 Thread Wolfgang Schuster
different in LMTX but it was always recommended to add \relax after the last value. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

Re: [NTG-context] \noindentation not working

2020-11-20 Thread Wolfgang Schuster
this? Yes, something is wrong. begin example \showgrid \starttext \parindent\emwidth a \everypar{\setbox\scratchbox\lastbox} a \stoptext end example Wolfgang ___ If your question is of interest

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Wolfgang Schuster
\testargumentlist\csname#1\endcsname} \test[\testparameter] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] new upload

2020-11-18 Thread Wolfgang Schuster
: \showgrid \starttext \parindent\emwidth text \noindent text \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] RE : Macro \spaceorpar seems gone in latest upload

2020-11-18 Thread Wolfgang Schuster
Joseph schrieb am 18.11.2020 um 15:35: No problem I can copy paste definition in my tex file and problem solved . No need to bring it back if no general use. Where do you use the command, in margin texts and framed blocks you can just use \\. Wolfgang

Re: [NTG-context] \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line

2020-11-16 Thread Wolfgang Schuster
the other examples. You can add \showstruts at the begin of your document to see the effect of \strut. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Wolfgang Schuster
with \bTABLE[split=repeat,option=stretch] no longer works. Should be fixed in the next release. BTW: Minimal working examples are useful. Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Bug in matrices/alignment (LMTX)

2020-11-14 Thread Wolfgang Schuster
, , , , , \rgeq } \stopformula \stoptext In LMTX only the first column of rotated symbols appear. ConTeXt LMTX stopped at the first empty cell in a row. \starttext \def\docommand#1{(#1)} \processcommalist[a,b,c]\docommand \processcommalist[a,,c]\

Re: [NTG-context] UTF-8 characters being dropped from typefile

2020-11-11 Thread Wolfgang Schuster
. \setupbodyfont [dejavu] \starttext \rm Triangle: ▸ \ss Triangle: ▸ \tt Triangle: ▸ \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
you \hskip is that you switch to horizontal mode and the preferred to do this is to use \dontleavehmode. \dontleavehmode \startxtable Wolfgang ___ If your question is of interest to others as well, please ad

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
. Another method is to move the section title to the next page when the remaining spaces is below a specified number of lines. The following setup forces a page break when less than 4 lines remain on the current page. \setuphead   [section]   [before={\testpage[4]\blank[2*big]}] Wolfgang

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 17:56: Hi Wolfgang, I'm sorry that the question was not clear enough. Let me ask in this way: how to define a \dorecurse, such that \dorecurse{10}{\type{a    b c}} does not squash the spaces? Verbatim in arguments of other commands is tricky because

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Wolfgang Schuster
:     \define[1]\same{#1} \definetype [typeTEX] [option=tex] \starttext \type{\startsection[title=\tex{type}]} \typeTEX{\startsection[title=\tex{typeTEX}]} \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] weird behavior of font.feature.effect

2020-11-08 Thread Wolfgang Schuster
inefontfeature [myfeature] [effect={width=1.0, delta=0}] \definefontfamily[face3][rm][gabriola][it={features:{default,myfeature}}] Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 12:19: On Sun, 8 Nov 2020 at 12:07, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: Sylvain Hubert schrieb am 08.11.2020 um 11:48: > On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez mailto:oi...@gmx.es> > &l

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
ooterexts is much clearer for page numbering. Thanks for the help!. Btw, do you know whether there is any difference between \lastpagenumber and \lastuserpagenumber mentioned both by Wolfgang and by the excursion book <http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>? \defi

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Wolfgang Schuster
your example, the problem reappears:     \definefontfamily[face][rm][dejavuserif] Add here: \definebodyfont[24pt] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillis

Re: [NTG-context] issues with fonts and font effects

2020-11-08 Thread Wolfgang Schuster
d auto=yes: \definefontfeature [ef1] [effect={width=1.0,auto=yes}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.

Re: [NTG-context] \setupindenting[first] not working

2020-11-08 Thread Wolfgang Schuster
get the first paragraph indented? \setuphead [section] [indentnext=yes] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
r[userpage]}] but \lastcounter[userpage] results in empty string. \setuppagenumbering [ left={Page }, right={/\lastuserpagenumber}] \starttext \unknown \stoptext or \setuppagenumbering [location=] \setupfootertexts [Page \userpagenumber/\lastuserpagenumber] \starttext \unknown \stoptext

Re: [NTG-context] \define in conflict with \startxtable[]

2020-11-08 Thread Wolfgang Schuster
fer[sample] \startxtable \startxrow \startxcell \unknown \stopxcell \stopxrow \stopxtable \stopbuffer \getbuffer[sample] \stoptext Wolfgang ___ If your question is of interest to others as well,

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:19: Dear List, I'm trying to move up a section title (section b) 2cm upward:     \starttext     \section{a}     \blank[-2cm,force]\ \blank[back,disable] Wolfgang

Re: [NTG-context] \section with userdata

2020-11-07 Thread Wolfgang Schuster
\section{\tex{section}} \samplefile{ward} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Wolfgang Schuster
text use \structureuservariable. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Wolfgang Schuster
ade New' for typeface 'mainface' style 'rm' was ignored because no files where found. And yet Scheherazade New sits beside Scheherazade (which 2020.09.20 finds) in ~/Fonts. Does ConTeXt list the font in its database? mtxrun --script fonts --list --all scheherazadenew* Wolfg

Re: [NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Wolfgang Schuster
no other clues. The output has a blank line where the break should be, as shown in the included snips. I guess it's the same bug (related to a symbol check) as Pablo mentioned for the itemize environment. Wolfgang

Re: [NTG-context] math symbol for "is an element of"

2020-11-05 Thread Wolfgang Schuster
startformula A \in B \stopformula \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-con

Re: [NTG-context] What is "cutspace" and "bottomspace"?

2020-11-05 Thread Wolfgang Schuster
in, \setuplayout[width=fit, cutspace=0.01cm] does the trick. Use "width=middle". Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

Re: [NTG-context] What does --errors and --noconsole do?

2020-11-04 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 04.11.2020 um 22:10: On Wed, 4 Nov 2020 at 21:32, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: 4. it performance issues and leads to a noticeable performance drop. This sounds a bit surprising, since intuitively it takes no les

Re: [NTG-context] What does --errors and --noconsole do?

2020-11-04 Thread Wolfgang Schuster
with the normal setup command, 2. one has to register all valid keys 3. you can't create new keys on the fly which is used in a few styles and 4. it performance issues and leads to a noticeable performance drop. Wolfgang

Re: [NTG-context] How to draw a horizontal line of 0.5\paperwidth ?

2020-11-04 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 04.11.2020 um 18:37: Dear List, I've tried \hl[0.5\paperwidth] but context complains 'a number should have been here' since \hl assumes 'em' as unit. Does anyone know how to draw a horizontal line of 0.5\paperwidth ? \blackrule[width=.5\paperwidth] Wolfgang

Re: [NTG-context] What does --errors and --noconsole do?

2020-11-04 Thread Wolfgang Schuster
adds extra information to the log, try the following example with and without the option \usemodule[unknown] \starttext \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to th

Re: [NTG-context] multiparagraph quotation

2020-11-02 Thread Wolfgang Schuster
, middle="] \starttext \quotation{\input knuth } \startquotation \input knuth \stopquotation Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-co

Re: [NTG-context] Loading modules in Windows

2020-10-31 Thread Wolfgang Schuster
) but for gnuplot there is a new module by Hans which uses \externalfigure to load the graphic. https://www.mail-archive.com/ntg-context@ntg.nl/msg93713.html Wolfgang ___ If your question is of interest to others

Re: [NTG-context] xtable row number trouble

2020-10-26 Thread Wolfgang Schuster
Oleg schrieb am 26.10.2020 um 21:03: On Sun, Oct 25, 2020 at 09:26:06PM +0100, Wolfgang Schuster wrote: Oleg schrieb am 25.10.2020 um 14:51: Hi, all. I try to place a row number into the first column of my table. I tried: \definecounter[rownum][way=bytext,prefix=no] \setcounter[rownum][0

Re: [NTG-context] MkIV and LMTX difference in comma list expansion

2020-10-26 Thread Wolfgang Schuster
(first and second list). \def\CommalistEntry#1{\ruledhbox{\strut#1}} \starttext \dontleavehmode\processcommalist[{aaa}]\CommalistEntry \dontleavehmode\processcommalist[{aaa,bbb}]\CommalistEntry \dontleavehmode\processcommalist[{ccc,ddd},{eee,fff}]\CommalistEntry \stoptext Wolfgang

Re: [NTG-context] xtable row number trouble

2020-10-25 Thread Wolfgang Schuster
]% \convertedcounter[rownum]} \stopxcell Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Wolfgang Schuster
, rulethickness=2.8, offset=1.4] \setupinteraction [state=start, style={\setbar[urlbackground]}] \starttext \unknown\ \goto{ConTeXt garden}[url(https://wiki.contextgarden.net/Main_Page)] \unknown \stoptext Wolfgang

Re: [NTG-context] Filler rules

2020-10-22 Thread Wolfgang Schuster
is the fillers, which apparently are not meant for the purpose I am looking for. You can try the \blackrule command to add a custom rule after your title. Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] oldstyle numerals in STIX Two Math

2020-10-21 Thread Wolfgang Schuster
}] \definefallbackfamily [alan] [mm] [STIX Two Text] [range=digitsnormal,force=yes,features=f:oldstyle] \definefontfamily [alan] [mm] [STIX Two Math] \setupbodyfont [alan] \starttext abc 123456789 xyz \m{abc\ 123456789\ xyz} \stoptext Wolfgang

Re: [NTG-context] Filler rules

2020-10-14 Thread Wolfgang Schuster
a high level interface to leaders. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] need help comparing strings

2020-10-13 Thread Wolfgang Schuster
userdata.numbersfname(name) return string.match(name, "%d+") end \stopluacode \define[1]\numbersfname {\cldcontext{userdata.numbersfname([==[#1]==])}} Untested: \defineexpandable[1]\numbersfname   {\cldcontext{userdata.numbersfname([==[#1]==])}}

Re: [NTG-context] need help comparing strings

2020-10-13 Thread Wolfgang Schuster
t;fname"]) \stopluacode \stoptext end example I tested the example with:     context --arguments="fname=abc123" Wolfgang ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] \setregisterentry levels with colon (keys:1, entries:1) in lua

2020-10-10 Thread Wolfgang Schuster
works until colon (:) is used. \startluacode context.setregisterentry({ "MyIndex" },    { keys:1="C Level 1", entries:1="C Level 2"}) context.setregisterentry ( { "MyIndex" }, { ["keys:1&q

Re: [NTG-context] \doifelse not working, \doiftextelse breaking

2020-10-09 Thread Wolfgang Schuster
and \dotripleargument are there. Which are the improvements to the command added by \do*argument? You can add a space between both arguments. You version expects this     \startswith [...][...] while the extended code allows this     \startswith [...] [...] Wolfgang

Re: [NTG-context] \doifelse not working, \doiftextelse breaking

2020-10-09 Thread Wolfgang Schuster
nd and allow a space between both arguments you can use \unexpanded\def\startswith {\dodoubleargument\dostartswith} \def\dostartswith[#1][#2]% {...} or just add a dummy parameter and use #1 and #3 to pass the arguments \unexpanded\def\startswith[#1]#2[#3]

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Wolfgang Schuster
. \starttext \bTABLE[split=yes]     \bTABLEhead     \bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR     \eTABLEhead     \bTABLEbody     \dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}     \eTABLEbody \eTABLE \stoptext Wolfgang

Re: [NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Wolfgang Schuster
Denis Maier schrieb am 07.10.2020 um 17:16: Am 07.10.2020 um 16:47 schrieb Wolfgang Schuster: Denis Maier schrieb am 07.10.2020 um 15:42: Hi, I'm struggling with getting hyphenated URLs to work from XML input. How do you enter ampersands and percent signs correctly so that they can be used

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Wolfgang Schuster
Variant 2: \starttext \defineexpandable\name{aa} \expanded{\startsection[title=\name,list=\name]} \stopsection \defineexpandable\name{bb} \expanded{\startsection[title=\name,list=\name]} \stopsection \completecontent \stoptext

Re: [NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Wolfgang Schuster
})] \stopxmlsetups \startxmlsetups xml:ext-link     \begingroup     \expandUx \expanded{\goto{\hyphenatedurl{\xmlflush{#1}}}[url(\xmlflush{#1})]}     \endgroup \stopxmlsetups Wolfgang ___ If your question

Re: [NTG-context] Protusion and spurios empty line

2020-10-03 Thread Wolfgang Schuster
has its own alignment setting. \setuphead[title][align={...}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] Natural Tables: spaceinbetween not working?

2020-09-30 Thread Wolfgang Schuster
] \starttext \bTABLE \dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR} \eTABLE Try to avoid blank lines in tables, it shouldn't matter in this case but in certain cases this can lead to unwanted whitespace. Wolfgang

Re: [NTG-context] Tagged export breaks r2l alignment in tabulate

2020-09-30 Thread Wolfgang Schuster
1 \BC \raggedcenter Column 2 \NC\NR \stoptabulatehead \starttabulate[|p|p|] \NC \input ward \NC \input ward \NC\NR \stoptabulate \stoptext Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Unwanted whitespace at beginning of document

2020-09-29 Thread Wolfgang Schuster
tricks for this? 1. Create a dummy document where you load your environment, e.g. \environment[myenvironment] \starttext I'm a placeholder! \stoptext 2. Change the position of \stopenvironment in your style file until the whitespace disappears. Wolfgang

Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily

2020-09-29 Thread Wolfgang Schuster
Michael Urban schrieb am 28.09.2020 um 23:49: On Sep 28, 2020, at 12:39 PM, Wolfgang Schuster wrote: Michael Urban schrieb am 25.09.2020 um 21:12: I don't seem quite able to put it all together, forgive the question. I have a 'Bookman' font setup, pretty vanilla: \definetypeface [Bookman

Re: [NTG-context] OK, I Don't Quite Understand \definefontfamily

2020-09-28 Thread Wolfgang Schuster
] [sl=features:{*,slanted}, bs=features:{*,slanted}] \definetypeface [Bookman] [mm] [math] [modern] [default] \setupbodyfont [Bookman] \starttext \tf upright \it italic \sl slanted \bf bold \bi bolditalic \bs boldslanted \stoptext Wolfgang

Re: [NTG-context] Tagged export breaks r2l alignment in tabulate

2020-09-27 Thread Wolfgang Schuster
Denis Maier schrieb am 26.09.2020 um 22:39: Am 23.09.2020 um 16:04 schrieb Wolfgang Schuster: Denis Maier schrieb am 23.09.2020 um 14:14: Hi, this example produces correctly aligned right-to-left text: \setupalign[verytolerant,stretch] \setupdirections[bidi=global,method=unicode

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Wolfgang Schuster
ot; layout. \startlayout[page] \dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]} \stoplayout Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

Re: [NTG-context] Tagged export breaks r2l alignment in tabulate

2020-09-23 Thread Wolfgang Schuster
do you use export when you need only tagging? You can enable tagging with     \setuptagging[state=start] and to set the PDF format use \setupbackend but ignore the export key. Wolfgang ___ If your question

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Wolfgang Schuster
Lukas/ConTeXt schrieb am 23.09.2020 um 10:33: Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \setuplist [subsubsection] [margin=5em] Wolfgang

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Wolfgang Schuster
Jeong Dal schrieb am 21.09.2020 um 20:54: Dear Aditya, Jairo, Wolfgang, and Otared, Thank you for the replies and explanations. I also read the blog. In this case, using '##1’ is an easy way. For more complex table, I may use luacode. I forgot the obvious \expanded solution: \starttext

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Wolfgang Schuster
\stopxmlsetups \startxmlsetups xml:table     \startembeddedxtable     \startxrow     ...     \stopxrow     \stopembeddedxtable \stopxmlsetups Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Wolfgang Schuster
this mean that I have to set explicitely math-italic in definefontfamily? I don't understand your problem because you tell ConTeXt to use upright letters (normal = upright) in math mode with the following setup. \setupmathematics[integral=nolimits,lcgreek=normal,default=normal] Wolfgang

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Wolfgang Schuster
|] \dorecurse{8}{\NC ##1 \NC\NR} \stoptabulate \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] lmtx update

2020-09-17 Thread Wolfgang Schuster
Eduardo Bohoyo schrieb am 17.09.2020 um 10:14: Thank you for this illustrative example, Wolfgang. So, what \forgetparagraphfreezing does is to reverse the order that lmtx currently imposes by default, right? In other words, \forgetparagraphfreezing, recovers the default behaviour of MkIV

Re: [NTG-context] lmtx update

2020-09-16 Thread Wolfgang Schuster
an \blank % working order, \parshape before \noindent \parshape 3 1cm 9cm 1.5cm 8.5cm 0cm 10cm \noindent \input weisman \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Wolfgang Schuster
is used. \starttext First paragraph\footnote{Footnote one} \page \setupnote[footnote][bodyfont=] %\setupnotation[footnote][numbercommand=] Second paragraph\footnote{Footnote two} \stoptext Wolfgang ___ If your

<    2   3   4   5   6   7   8   9   10   11   >