Re: [NTG-context] \WORD regression

2021-12-10 Thread Wolfgang Schuster via ntg-context
f the current font contains an uppercase ß that would be even better, but those are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I guess it will be included in the next upload. And y

[NTG-context] upload ... new feature

2021-12-10 Thread Hans Hagen via ntg-context
that one happy but it seems to work ok summatra : the one i use, it works ok in the latest greatest (i use 3.3.13418) mutool : okay but sometimes with a warning (i have a workearound but not enabled it because i consider it to be a bug) qpdf : happy but check gives a permissions warning

Re: [NTG-context] \WORD regression

2021-12-09 Thread Hans Hagen via ntg-context
ent font contains an uppercase ß that would be even better, but those are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I guess it will be included in the next upload. And y

Re: [NTG-context] \WORD regression

2021-12-09 Thread Henning Hraban Ramm via ntg-context
hose are rare). I can’t tell when it changed (some LMTX versions ago) and can’t check MkIV, since "mtxrun --generate --luatex" doesn’t work. Hans sent me a fix, I guess it will be included in the next upload. And yes, uppercase ß (ẞ, U1E9E) would be even better, even according to the

[NTG-context] \WORD regression

2021-12-09 Thread Henning Hraban Ramm via ntg-context
\starttext \WORD{größer} \stoptext \WORD used to handle "ß" correctly, i.e. convert it to "SS"; now it makes "sS". (If the current font contains an uppercase ß that would be even better, but those are rare). I can’t tell when it changed (some LMTX versi

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

2021-12-08 Thread Joey McCollum via ntg-context
it doesn't have a field of this name already. But this causes serious problems when one needs to check if an entry has a given field (such as "shorthand") at all; specifically, the \btxdoif macro will execute its argument if the current entry *or any entry it cross-references

Re: [NTG-context] Regular online meet-up

2021-12-07 Thread Henning Hraban Ramm via ntg-context
vacy statement, * enter your name, * click "join" (or "start" if you’re the first), * click "with microphone", allow your browser to access it, check the audio. (Some strings might be different, I see the German interface, you should get the main language of your browser.)

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Hans Hagen via ntg-context
t{#1}\relax \stoptikzinput} \tikzinputfile{t-pgf.tex} \tikzinputfile{t-pgffor.tex} \tikzinputfile{tikz.code.tex} \permanent\protected\def\tikzerrormessage#1#2#3% {\writestatus{#1}{#2}} % For now we need this but we need to educate the user to wrap settings in the % wrappers. So some day the next

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
the loader (t) module if needed. In any case, also check if things work with mkiv. I tested the example on mkiv, I got error that dipchip and fliflop JK are not defined. The file compiles if I comment those out. But in LMTX, I also get a "missing semicolon" error. There is also thi

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Aditya Mahajan via ntg-context
odule if needed. In > any case, also check if things work with mkiv. I tested the example on mkiv, I got error that dipchip and fliflop JK are not defined. The file compiles if I comment those out. But in LMTX, I also get a "missing semicolon" error. There is also this warning, which

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread skrantajanneman via ntg-context
7;catches' in the loader (t) module if needed. In any case, also check if things work with mkiv. That version has hardly been touched the last few years (and basically is frozen, apart from bug fixes) so if it doesn't work there it might be an indication of somethi

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
On 12/3/2021 10:49 AM, Hans Hagen via ntg-context wrote: I’ve been struggeling with the circuitikz module since my upgrade to LMTX. btw, We can have more 'catches' in the loader (t) module if needed. In any case, also check if things work with mkiv. That version has hardly been t

Re: [NTG-context] Have a cell span multiple columns with tabulate

2021-11-28 Thread Hans Hagen via ntg-context
\NC bar \NC\NR \stoptabulate % this does not work \starttabulate[|p|p|] \NS[1][c] Manuskript X \NC\NR \NC foo \NC bar \NC\NR \stoptabulate \stoptext % Changing the column definitions from l,c,r to p breaks it. indeed, i check if that can be handled but it'

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
second example, we do want one between *Title *and 8. Similarly, we want to remove the comma if the first locator in the loctext is a section marker (§) or paragraph marker (¶). This is why I want to check the beginning of the \currentloctext macro for the presence of a volume number (a number fol

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Hans Hagen via ntg-context
text}{YES}{NOP} \stoptext ``` Indeed, if I add a simple \doifelse equality check, it looks like the value I expect is not the same as what the macro produces, even though they look identical: ``` \starttexdefinition loc [#1]     \doifassignmentelse{#1} {         % if an

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
ut as-is #1 } \stoptexdefinition \def\DoIfPrefixElse#1#2{\ctxlua{commands.doifelse(string.find([==[#2]==],"^"..[==[#1]==]))}} \def\currentbtxloctext{\loc[sec=31]} \starttext \currentbtxloctext\blank \DoIfPrefixElse{§}{\currentbtxloctext}{YES}{NOP} \stoptext ``` Indeed, if I add a s

Re: [NTG-context] Typographical quotes

2021-11-27 Thread Denis Maier via ntg-context
Oh, but I’m still on ConTeXt ver: 2021.10.24 21:45 I’ll need to check after an update. Denis Von: Maier, Denis Christian (UB) Gesendet: Samstag, 27. November 2021 17:47 An: 'mailing list for ConTeXt users' Cc: Jean-Philippe Rey Betreff: AW: [NTG-context] Typographical quotes Same h

Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Hans Hagen via ntg-context
ve that goodie control. It actually does mean that when a font (if ever) gets updated we need to check things which is why a mismatch in version will be reported on your console. Among the things we still need to discuss are if we wil freeze fonts in the distribution (only explicit updates) and i

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-26 Thread Joey McCollum via ntg-context
dy for you (and Alan) sometime soon. But for now, it looks like I still need to work out errors that arise when I pass a macro as the "str" input to be searched. I've defined a \loc macro that accepts an assignment and outputs a formatted string, and later, I want to check if this macr

[NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-25 Thread Joey McCollum via ntg-context
` Unfortunately, if I want to check for prefixes that include two-byte characters like § and ¶, then the positions and string lengths that I specify no longer correspond to the actual byte offsets and lengths that Lua uses. I'm aware of the utf8 plugin that was intended to address this issue

Re: [NTG-context] Macro for a comma separated list of authors

2021-11-24 Thread Jairo A. del Rio via ntg-context
}% } \starttext \commalistsentence[\Autores][{;\space},{\space\letterampersand\space}] \stoptext Check lang-lab.mkxl for other goodies and examples. Best regards, Jairo El mié, 24 de nov. de 2021 a la(s) 19:10, Andres Conrado Montoya via ntg-context (ntg-context@ntg.nl) escribió: > I'm t

Re: [NTG-context] Neovim and ConTeXt

2021-11-24 Thread Aditya Mahajan via ntg-context
u are talking about async compilation support, but keep in mind that context has a different error format than latex for that needs to be set different as well. It will be nice to have support to pass command line flags via the editor. Context also has a (slightly buggy) syntax checker (mtxrun --scr

Re: [NTG-context] \doifanydefinedelse, \doifallundefinedelse

2021-11-19 Thread Hans Hagen via ntg-context
macro that would check if /any /of the macros with names in the comma-separated list is defined (or, equivalently, if all of them are undefined). I don't see any mention of such a macro on the wiki page, so I wanted to ask: has something like this already been implemented, and if not, is the

[NTG-context] \doifanydefinedelse, \doifallundefinedelse

2021-11-19 Thread Joey McCollum via ntg-context
the macros with those names are defined. I was curious as to whether or not there is also a \doifanydefinedelse (or, equivalently, a \doifallundefinedelse) macro that would check if *any *of the macros with names in the comma-separated list is defined (or, equivalently, if all of them are undefined

Re: [NTG-context] Math in LMTX and definemathcommand

2021-11-17 Thread Hans Hagen via ntg-context
): hm .. (in case of lucida, also check cambria and garamond as these have staircase kerns too so they are somewhat similar) mikael is making test (and in the meantime i'm experimenting a bit forther with compact fonts because all has to work in that mode too)

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
Rik Kabel schrieb am 15.11.2021 um 22:51: Wolfgang, Can you expand on the following statements from your reply? You can run Hans example with MkIV and the differences should be even bigger because the check for [] is slower here while in LMTX it's a engine feature. The

Re: [NTG-context] directsetup vs setups

2021-11-15 Thread Wolfgang Schuster via ntg-context
re used when grid mode is disabled     % or when no grid related setups with the same name exist \stopsetups When you now use \directsetup{my_fancy_setup} (or \setup[...]) ConTeXt checks if grid mode is enabled and selects the right settings but \fastsetup never performs this check and always uses th

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Adam Reviczky via ntg-context
rst pagebreak. > > With the float, the paragraph starts always on the next page, regardless > > of the space left on the previous page. > Yes and no ... tex cannot really lookahead here. But thanks to some > recent new trickery I can provide: > >location={right,15*hang,f

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Hans Hagen via ntg-context
paragraph starts always on the next page, regardless of the space left on the previous page. Yes and no ... tex cannot really lookahead here. But thanks to some recent new trickery I can provide: location={right,15*hang,force} However, it really is up to the user to check of all works out right

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-15 Thread Vincent Hennebert via ntg-context
[...] > > gives me pages of emojis, all black. According to what is described > > on > > Stackexchange, I should be getting colours. Am I doing something > > wrong? > > Hi Vincent, > > if you are using Evince, try Okular to check color display. > > I exp

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-12 Thread Pablo Rodriguez via ntg-context
getting colours. Am I doing something wrong? Hi Vincent, if you are using Evince, try Okular to check color display. I experienced something similar in the past. Just in case it helps, Pablo ___ If your question is of

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
etty well. I’m going to ask the author whether I may share the PDF document here, so you can check it. >> BTW, how can I use "\enabledirectives[backend.date=2021.02.01]" in Lua? > > grep is your friend ... (probably also in the cld manual) > > directives.enable(&#x

Re: [NTG-context] Font Problem

2021-11-10 Thread Bruce Horrocks via ntg-context
for a working install, of course. In your first email you said you used the command "txrun": I've no idea what that is because I've never needed it. I just use the 'context' command so all you need do to check the install is working is (from your home directory

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Wolfgang Schuster via ntg-context
,math:uppercasegreeknormal},force=yes] \definefallbackfamily       [mainface] [math] [Minion Pro]       [range=math:digitsnormal,features=f:lining,force=yes] \definefontfamily     [mainface] [math] [Libertinus Math] Thanks in advance for your support. Do you get results at all? Hard to ch

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Hans Hagen via ntg-context
backfamily      [mainface] [math] [Minion Pro]      [range=math:digitsnormal,features=f:lining,force=yes] \definefontfamily     [mainface] [math] [Libertinus Math] Thanks in advance for your support. Do you get results at all? Hard to check as that math font is a commercial one. If it's an otf

Re: [NTG-context] Regular online meet-up

2021-11-04 Thread Clyde Johnston via ntg-context
d; most modern browsers should work (WebRTC required). * Open the above URL, accept the privacy statement, * enter your name, * click "join" (or "start" if you’re the first), * click "with microphone", allow your browser to access it, check the audio. (Some strings mi

Re: [NTG-context] \doifinstring: strange characters on the output

2021-11-02 Thread Tomas Hala via ntg-context
Hi Hans, ok, thank you, lmtx is a good way. Tomáš > I would like to ask what is the cause of this behavior and how to > use the \doifinstring to prevent the "fbf@" on the output. partial expansion of a protected macro where one doesn't expect it before i patch i let wolfg

[NTG-context] Regular online meet-up

2021-11-02 Thread Henning Hraban Ramm via ntg-context
vacy statement, * enter your name, * click "join" (or "start" if you’re the first), * click "with microphone", allow your browser to access it, check the audio. (Some strings might be different, I see the German interface, you should get the main language of your br

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 5:13 PM, Hans Hagen via ntg-context wrote: > On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? >> >> I know that os.name would be an option here, but not in my real world

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
able in various cases (like it > will fail for shell/command interpreter builtins, in cron jobs, in > special scripted environments, and may incorrectly succeed for > disabled/forbidden commands), as it just runs through the PATH > environment variable to check for executable file existence.

Re: [NTG-context] \doifinstring: strange characters on the output

2021-11-01 Thread Hans Hagen via ntg-context
. partial expansion of a protected macro where one doesn't expect it before i patch i let wolfgang check it - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Hans Hagen via ntg-context
On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode \stoptex

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Taco Hoekwater via ntg-context
s cases (like it will fail for shell/command interpreter builtins, in cron jobs, in special scripted environments, and may incorrectly succeed for disabled/forbidden commands), as it just runs through the PATH environment variable to check for executable file existence. Often times, it is better

[NTG-context] check installed program using Lua

2021-11-01 Thread Pablo Rodriguez via ntg-context
Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode \stoptext Is there a way to wrap os.exec() in the sample so that it only run

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
d_ICC_profiles.phtm -> 404 Thank you. The information from 2008 was outdated anyway; GWG’s latest recommendations from 2015 don’t contain ICC profiles any more (maybe their settings for commercial applications do, didn’t check). And it seems like GWG is in conflict with the PDF associat

Re: [NTG-context] upload

2021-10-23 Thread Mikael Sundqvist via ntg-context
> 0.1 looks better to me. > there are no ssty's for the quadruple prime in that font but if you need > primes so badly you probably shouldn't use it anyway i guess (there are > only super-textsize ssty variants for the 1/2/3 and their reverse) > > anyway, as you desperately n

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
2-30 23:45:16" "1234-12-30T23:45:16+01:00" "1234-12-30 23:45:16-02:00" "1234-12-30 23:45:16+05:00" "1234-12-30 23:45:16 05:00" "1234-12-30 23:45:16 05:00" (I'll send you the file to check/test) 2) Fix the os.timezone function. Previously,

Re: [NTG-context] upload

2021-10-22 Thread Pablo Rodriguez via ntg-context
ted, Pablo? Hi Michal, I haven’t found the time to check this, but this is pretty much what I wanted: being able to set other timezones than the local one. Many thanks for your help, Pablo -- http://www.ousia.tk ___

Re: [NTG-context] upload

2021-10-22 Thread Michal Vlasák via ntg-context
+02:00 print("os.fulltime()", os.fulltime()) -- 2021-10-22 17:38:38+02:00 print("os.localtime()", os.localtime()) -- 2021-10-22 17:38:38 print("os.now()", os.now()) -- 2021-10-22 15:38:38 \stopluacode \stoptext I don

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-10-22 Thread Hans Hagen via ntg-context
er files ;) We hit a limti in lpeg that allocates memory by duplicating the size which then hits a top and falls back in allocating by + 1 every capture which then kind of stalls the xml interpretation. I can hack that to work (and need to check that with every lpeg update), but as we enter a next

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
. Is there a way to add time and timezone in backend.date? Pablo : transparencies should work again (wrong alias fixed). Many thanks for this fix too. Sorry for insisting, but could you check what is wrong with an extra blank space in rotated imposition (https://mailman.ntg.nl/pipermail/ntg

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
f you need primes so badly you probably shouldn't use it anyway i guess (there are only super-textsize ssty variants for the 1/2/3 and their reverse) anyway, as you desperately need these quads (why check otherwise), adding this to the lfg blob helps: local four = characters[0x2057] if

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
play more with it and figure out nice > values for context) .. there might be more such 'simple' useful tricks > > Mikael: you can test the math cheat (doesn't make the font nicer). > Pablo : transparencies should work again (wrong alias fixed). > Michal: you can c

Re: [NTG-context] upload

2021-10-21 Thread Pablo Rodriguez via ntg-context
ay to add time and timezone in backend.date? > Pablo : transparencies should work again (wrong alias fixed). Many thanks for this fix too. Sorry for insisting, but could you check what is wrong with an extra blank space in rotated imposition (https://mailman.ntg.nl/pipermail/ntg-context/2021/10

[NTG-context] upload

2021-10-21 Thread Hans Hagen via ntg-context
need to play more with it and figure out nice values for context) .. there might be more such 'simple' useful tricks Mikael: you can test the math cheat (doesn't make the font nicer). Pablo : transparencies should work again (wrong alias fixed). Michal: you can check the dates (a

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-19 Thread Henning Hraban Ramm via ntg-context
> Am 12.10.2021 um 20:48 schrieb Hans Hagen : > >> Hm, you implemented these boxes only in 2015, there was not much change in >> that regard since then. > > Way earlier but it wasn't enabled ... (I'm not going to check ancient tex > live dvd's).

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Luis Montgomery via ntg-context
ery wrote: > > Check that your Inkscape is working properly. > > > > That proble NOT appear on my machine... > > > > Best, > > > > L. Montgomery > > (Sorry Luis, I forgot to cc mailing list) > Per https://wiki.contextgarden.net/Command/ex

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Jason Ross via ntg-context
On 10/18/21 8:38 AM, Luis Montgomery wrote: > Check that your Inkscape is working properly. > > That proble NOT appear on my machine... > > Best, > > L. Montgomery (Sorry Luis, I forgot to cc mailing list) Per https://wiki.contextgarden.net/Command/externalfigure, in L

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Luis Montgomery via ntg-context
Check that your Inkscape is working properly. That proble NOT appear on my machine... Best, L. Montgomery El lun., 18 de octubre de 2021 10:15, Jason Ross via ntg-context < ntg-context@ntg.nl> escribió: > The following MWE fails to render the text in the attached SVG

Re: [NTG-context] Update error on Raspberry Pi

2021-10-16 Thread Mojca Miklavec via ntg-context
Hi, On Sat, 16 Oct 2021 at 22:43, J. Hagen via ntg-context wrote: > > Looks like the pi bins and an osx one are behind (mojca then needs to kick > those vm's) ... I 'll check it tomorrow. I'm sorry, the new binaries have been uploaded to the usual place (Hans probably

Re: [NTG-context] Update error on Raspberry Pi

2021-10-16 Thread J. Hagen via ntg-context
Looks like the pi bins and an osx one are behind (mojca then needs to kick those vm's) ... I 'll check it tomorrow.Op 16 okt. 2021 15:12 schreef Luis Montgomery via ntg-context :Hi,I try to update LMTX and the script sends me this error:resolvers       > lua > loading file '/h

Re: [NTG-context] new upload

2021-10-13 Thread Hans Hagen via ntg-context
? they are in there; but i still need to check multiple notes and spacing before the first (we have some trickery in mkiv and lmtx but maybe i can still make that better / more reliable in lmtx/luametatex) Hans

[NTG-context] Update now!

2021-10-13 Thread Henning Hraban Ramm via ntg-context
Now is a good time to update your LMTX installation, since the current version (October 10th) works well in many regards (esp. footnotes). I didn’t check yet some areas that are known to be problematic, like columns, but my projects with hundreds of footnotes (including side floats in footnotes

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Hans Hagen via ntg-context
implementations i guess). Hm, you implemented these boxes only in 2015, there was not much change in that regard since then. Way earlier but it wasn't enabled ... (I'm not going to check ancient tex live dvd's). addtopageattributes("CropBox",box) -- mandate for renderin

Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Hans Hagen via ntg-context
then didn’t check enough if it does what it should.) I long ago lost track of what all that means ... decades of pdf ... different viewers, different interpretations ... validators complaining about things missing ... i guess that bit (like annotations) will always be in flux (also because specs

[NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-12 Thread Henning Hraban Ramm via ntg-context
more?). I gave up on that subject and still fix the boxes with Acrobat Pro whenever I need them to be correct. But that’s no solution. (And it’s probably also my fault, since I was one of those who wanted this implemented and then didn’t check enough if it does what it should.) Ok, calm down

Re: [NTG-context] Unusual error with \doifinstring in \startbtxrenderingdefinitions ... \stopbtxrenderingdefinitions

2021-10-11 Thread Joey McCollum via ntg-context
o in the MWE above. I'm trying to take certain punctuation marks that >> follow the \autopuncttest macro and place them before it instead. >> Looking at the typo-chr .lua and .mkiv files, I see that there are >> \pushpunctuation >> and \poppunctuation methods in ad

Re: [NTG-context] Regular online meet-up

2021-10-11 Thread Henning Hraban Ramm via ntg-context
t;with microphone", allow your browser to access it, check the audio. (Some strings might be different, I see the German interface, you should get the main language of your browser.) * Your microphone is muted if you join. Activate microphone and/or camera with the buttons at the bottom. * Min

Re: [NTG-context] Default values for key-value macros

2021-10-10 Thread Hans Hagen via ntg-context
ble{style}{text}}     {\color[\getvariable{style}{color}]{\getvariable{style}{text}}} } \starttext \style[   text={Some red text},   color=red, ] \style[   color=blue, ] \stoptext ``` Here I assign a default value of `nil` to every key, and then check if the `text` variable is empty before p

Re: [NTG-context] Unusual error with \doifinstring in \startbtxrenderingdefinitions ... \stopbtxrenderingdefinitions

2021-10-10 Thread Joey McCollum via ntg-context
ition to the \removepunctuation method. > These might be useful for this purpose, but in any case, I still have to > check if the trailing character is one of the characters in a specified > set/string, and this is where the error is arising. > > > Add \protected (or \unexpanded

[NTG-context] Default values for key-value macros

2021-10-10 Thread noib3 via ntg-context
\style[ color=blue, ] \stoptext ``` Here I assign a default value of `nil` to every key, and then check if the `text` variable is empty before printing it. I would expect the second macro not to print anything since its `text` should be nil, instead both macros print 'Some red text'

Re: [NTG-context] Unusual error with \doifinstring in \startbtxrenderingdefinitions ... \stopbtxrenderingdefinitions

2021-10-10 Thread Wolfgang Schuster via ntg-context
on method. These might be useful for this purpose, but in any case, I still have to check if the trailing character is one of the characters in a specified set/string, and this is where the error is arising. Add \protected (or \unexpanded) to your command definition. \startbtxrenderingdefinitio

Re: [NTG-context] Unusual error with \doifinstring in \startbtxrenderingdefinitions ... \stopbtxrenderingdefinitions

2021-10-10 Thread Hans Hagen via ntg-context
might be useful for this purpose, but in any case, I still have to check if the trailing character is one of the characters in a specified set/string, and this is where the error is arising. maybe you're in protected mode % assumes \protect earlier \unprotect \def\autopuncttest

Re: [NTG-context] Unusual error with \doifinstring in \startbtxrenderingdefinitions ... \stopbtxrenderingdefinitions

2021-10-09 Thread Joey McCollum via ntg-context
tuation marks that follow the \autopuncttest macro and place them before it instead. Looking at the typo-chr .lua and .mkiv files, I see that there are \pushpunctuation and \poppunctuation methods in addition to the \removepunctuation method. These might be useful for this purpose, but in any case,

Re: [NTG-context] running tikz

2021-09-30 Thread Hans Hagen via ntg-context
ef? Or is something else also needed? I don't know. If you send me the examplex that don't work I can check it. I suppose that it there is a well defined interface layer we can provide the connection and maintain that in the context distribution. And we can also just decide that some featur

Re: [NTG-context] running tikz

2021-09-30 Thread Aditya Mahajan via ntg-context
rogram from the tikz manual, but I get an error saying > that "t-pgf.tex" is not found; but it is in the tree of ConTeXt-lmtx. How did you install TikZ? The error message seems to suggest that tikz module is not installed. You can check by looking at the output of mtxrun t-pgf.tex O

Re: [NTG-context] Regular online meet-up

2021-09-28 Thread Denis Maier via ntg-context
e, which times would fit you (weekdays, > daytime...)? > I suppose it has to be some best fit for all, so you can best check with > those on > line last week to get the best time. > > Concerning 'topics' ... it if also involved discu

Re: [NTG-context] Getting Textadept to open pdf?

2021-09-27 Thread Hans Hagen via ntg-context
e ok. Older versions of cmd had a char-by-char refresh which is not something that goes well with tex logging. On unix one has larger delays so there it's better but tven then font rendering can slow things down. Now to textadept: in order to check this 'launch viewer' delay I ins

Re: [NTG-context] Regular online meet-up

2021-09-26 Thread Hans Hagen via ntg-context
you can best check with those on line last week to get the best time. Concerning 'topics' ... it if also involved discussing features, solving problems, demos than we need to mechanism to collect those so that they can be prepar

Re: [NTG-context] Ibid. and idem support for bibliographies (and variable scope more generally)

2021-09-21 Thread Denis Maier via ntg-context
em support for bibliographies (and variable scope more generally) Yes, I haven't added any code to check for the useibid or useidem options in list citations; they are only used for in-text citations in the SBL specification definition. The distinction between \setupbtx[sbl:\s!list] and \set

Re: [NTG-context] Ibid. and idem support for bibliographies (and variable scope more generally)

2021-09-21 Thread Joey McCollum via ntg-context
bid. for the foo-citation outside of > the footnote. > > > > Denis > > > > > > *Von:* Joey McCollum > *Gesendet:* Dienstag, 21. September 2021 17:16 > *An:* Maier, Denis Christian (UB) > *Cc:* mailing list for ConTeXt users > *Betreff:* Re: [NTG-context

Re: [NTG-context] Ibid. and idem support for bibliographies (and variable scope more generally)

2021-09-21 Thread Denis Maier via ntg-context
: Maier, Denis Christian (UB) Cc: mailing list for ConTeXt users Betreff: Re: [NTG-context] Ibid. and idem support for bibliographies (and variable scope more generally) Yes, I haven't added any code to check for the useibid or useidem options in list citations; they are only used for in

Re: [NTG-context] Ibid. and idem support for bibliographies (and variable scope more generally)

2021-09-21 Thread Joey McCollum via ntg-context
Yes, I haven't added any code to check for the useibid or useidem options in list citations; they are only used for in-text citations in the SBL specification definition. The distinction between \setupbtx[sbl:\s!list] and \setupbtx[sbl:\s!cite] should allow us to specify their options separ

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-08 Thread Floris van Manen via ntg-context
On 08/09/2021 19:08, Henning Hraban Ramm wrote: I just checked on my Linux laptop with a new installation, and it worked exactly like this. Did you check with --luatex (i.e. MkIV)? What’s your ConTeXt version? You left out this essential piece of information. $ context --version mtx

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-08 Thread Henning Hraban Ramm via ntg-context
arcode[alternative=isbn, text=9783865419026, width=4cm] > \barcode[alternative=qr code, text={https://wiki.contextgarden.net}, > width=3cm] > \stoptext > I just checked on my Linux laptop with a new installation, and it worked exactly like this. Did you check wit

Re: [NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Hans Hagen via ntg-context
stuff is not "minimal", but I wanted to check if "multiply" works. should work in next upload (not today) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 G

[NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Henning Hraban Ramm via ntg-context
rt] \starttext \starttransparent[light]% \externalfigure[hacker]% \stoptransparent \setlayer[bg][ hoffset=5mm, voffset=5mm, ]{ \starttransparent[light]% \externalfigure[hacker]% \stoptransparent } \stoptext ''' The layer stuff is not "minimal", but I wante

[NTG-context] cld, postponing and images

2021-09-06 Thread Henning Hraban Ramm via ntg-context
I think I tangled myself... - I’ve a macro defined in Lua that uses fullpagemakeup and \setlayer to place an image on an empty page. - This macro is called from within a postponing environment. - I check figures.current().status.fullname if the image is found ... - and then read xsize and ysize

Re: [NTG-context] Use MetaPost to distort images?

2021-09-06 Thread Henning Hraban Ramm via ntg-context
egression, and \externalfilterbasefile does > not remove the file extension. So, the output is named mill.png-taped.png > rather than mill-taped.png. I'll look into it later Oh, thank you. I need to check in my LilyPond setup. Hraban _

Re: [NTG-context] Fuzzy lines

2021-09-03 Thread Henning Hraban Ramm via ntg-context
((postcontrol (t*arclength(p)) on p) randomshifted s) and ((precontrol ((t+1/sketch_segments)*arclength(p)) on p) randomshifted s) .. endfor Would it make sense to check if a point is an edge point (without curve controls)? Next question: Can I apply this to \framed and

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread luigi scarso via ntg-context
t; $> mtxrun --variables > > says > > resolvers | lists | TEXMFCACHE > > resolvers | lists | env: unset > > resolvers | lists | var: TEXMFCACHE > > resolvers | lists | exp: > > selfautoparent:texmf-var;home:.texlive2021/t

Re: [NTG-context] problem with MkIV/TeXlive/TEXMFCACHE

2021-08-30 Thread Rainer J.H. Brandt via ntg-context
lists | var: TEXMFCACHE > resolvers | lists | exp: > selfautoparent:texmf-var;home:.texlive2021/texmf-var > > and it's ok. So perhaps your selfautoparent it's not ok. I will check that. But, as I said, my texmf.cnf set

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
following pages) you have to options.     1. Check the current page when to header is placed which can be done with \doif{\pagenumber}{1}{...}     2. Disable the header on the first page (\setupheader[state=high]) and place your own title as a regular element in the running text. A case where

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
the > third name, while in list entries, all names should be printed in full. > >>> > >>> I thought that the following settings would work: > >>> > >>> \definebtx > >>> [sbl:\s!list] > >>> [sbl] > >>> [\c!others

Re: [NTG-context] Test for displaying a header

2021-08-27 Thread Wolfgang Schuster via ntg-context
achieve but the check for the number of pages in your document is never used. The layout on the first page is different from the following pages but this is just how \definelayout work when you use a number as first argument. What you have to understand is that a setups-environment is just a

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Ágoston Volcz via ntg-context
, while in list entries, all names should be printed in full. >>> >>> I thought that the following settings would work: >>> >>> \definebtx >>> [sbl:\s!list] >>> [sbl] >>> [\c!otherstext=, >>> \c!etallimit=, >>&

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
c!authorconversion=inverted] % TODO: need to print the first name >> inverted, with all subsequent names in normal order >> >> \definebtx >> [sbl:\s!cite] >> [sbl] >> [\c!otherstext={\btxspace\btxlabeltext{others}}, % use et al. for >> truncated author / ed

Re: [NTG-context] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
lsounder][color=orange]    \define\seealsoindex\seeindex    \define\seealsounderindex\seeindex    \define\seeunderindex\seeindex    \setupinteraction [state=start]    \setupregister    [index][balance=no,check=no] %% seeindex entries may start on the same line as their head

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
, % use et al. for > truncated author / editor list >\c!etallimit=3, % don't use et al. for 3 or fewer authors >\c!etaldisplay=3, % >\c!authorconversion=\v!normal] % by default, use normal name order for > in-text citations > > But only the "list" setting

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 26.08.2021 um 19:06: Hi, Using this (almost what I'm trying to do) without success [...] \startsetups[header] \doifelse{\totalnumberofpages}{1} {\setupheadertexts[\setups{header}]}     {} \stopsetups This stores the page check in the s

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