Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
Additionally, if you want to cite page numbers, the key to use in ConTeXt-SBL is "loctext". (I was not aware of an "extra" key when I was developing the module.) So, you should be able to make the ConTeXt-style \cite command work as follows: ``` \cite[loctext=2][na2006] ``

Re: [NTG-context] No pagebreak before chapter

2021-12-23 Thread Rik Kabel via ntg-context
On 2021-12-23 14:15, juh via ntg-context wrote: Dear all, if I don't want pagebreaks before a chapter, I can do this: \setuphead [chapter,title] [style=\tfb, align=center, number=no, after=, page=no, sectionsegments=chapter, header=empty] In my

[NTG-context] No pagebreak before chapter

2021-12-23 Thread juh via ntg-context
Dear all, if I don't want pagebreaks before a chapter, I can do this: \setuphead [chapter,title] [style=\tfb, align=center, number=no, after=, page=no, sectionsegments=chapter, header=empty] In my project this does not work. All chapters start on a new

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joey McCollum via ntg-context
Joel, I've attempted to incorporate most of these features for the SBL citation style (which derives most of the same rules from Chicago) for ConTeXt. You can use my code in https://github.com/jjmccollum/context-sbl as a template for now, if you'd like; we're still waiting for the code

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.12.2021 um 18:51: [...] \define[3]\ifisempty{%         \setbox0=\hbox{#1\unskip}%         \ifdim\wd0=0pt             #2%         \else             #3%         \fi }% No need for your own command because ConTeXt already provides \doifemptyelse which

[NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joel via ntg-context
I could not find any existing solution for using Chicago-Turabian "note" style in ConTeXt, so I have started my own attempt. Chicago-Turabian uses footnotes to display the author's details on the same page, but also uses a bibliography to display an alphabetical list of the sou

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
pe[Head 2][headcolor=blue] % pass on arguments to tabulate >> \FL >> \BC Absolute \BC Stock \BC Ingredient \BC Final \NR >> \HL >> \NC 1 \NR >> \LL >> \stoprecipe >> Small question though: Is there a ConTeXt way to "\long\def" or a simple wa

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
e.g. to make a single optional argument with headertitle={Some header.}? context has no (need for) \long ... all is long (i mever saw a reason for using it) (1) use a proper head: \definehead[RecipeHead][subsubsubsubsubsubject] \setuphead [RecipeHead][style=bolditalic,after={\blank[medium]

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter] just use \inouter or define a new margindata class (see typo-mar.mkxl line 360 etc to see what is defined in what way) \starttext \chapter{Introduction} \input{tufte} \input{tufte}\inmargin

[NTG-context] descriptions -- symbol between head and text

2021-12-14 Thread Denis Maier via ntg-context
% \definedescription[deflist][ headstyle=normal, style=normal, alternative=hanging, width=fit, margin=1cm, distance=0em, ] \starttext \startdeflist{ABC} \input knuth \stopdeflist \startdeflist{CDE} \input knuth \stopdeflist \stoptext

[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all: I send this minimal example: \mainlanguage [es] \definefontfamily [mainface] [serif] [Gentium] \setupbodyfont[mainface] \setuppagenumbering[alternative=doublesided, location={footer,right}] \setuplayout[textwidth=12cm,margin=2.5cm] \setupmargindata[inmargin][style={\tfx\em}, location

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
ult] > > \definetypeface[mainfont][mm][math] [pagellaovereuler][default] > > \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, > > features=none] > > \setupbodyfont[mainfont,11pt] > > > > \starttext >

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Hans Hagen via ntg-context
}$ \stoptext which gives the same error: parameter 'fractionrule' in style 2 is not set Not sure what is happening here. can you test with the \protect \unprotect removed from these definitions

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
hich gives the same error: parameter 'fractionrule' in style 2 is not set Not sure what is happening here. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

[NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
'mainfont-11pt-mm-mb--1' tex error > tex error on line 10 in file ./test.tex: Math error: parameter 'fractionrule' in style 2 is not set $\dfrac{1}{2}$ And since tikz is a latex module, in the true LaTeX spirit, the error goes away (for obvious reasons) if I move the \us

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

2021-12-10 Thread J Huisman via ntg-context
tioned in a thread on the mailing list that I was working > on a new bibliographic rendering for the SBL citation style. After additional > testing and implementation of various features (e.g., an authorconversion > that inverts the first author and prints all subsequent authors in

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

2021-12-08 Thread Joey McCollum via ntg-context
A while ago, I mentioned in a thread on the mailing list that I was working on a new bibliographic rendering for the SBL citation style. After additional testing and implementation of various features (e.g., an authorconversion that inverts the first author and prints all subsequent authors

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

2021-12-06 Thread Jan-Erik Hägglöf via ntg-context
\circuitikzbasekey/.is family} > \def\circuitikzset{\expandafter\pgfqkeys\expandafter{\circuitikzbasekey}} > \let\ctikzset\circuitikzset > > > The file pgfcircbipoles.tex has the code: > > \newif\ifpgf@circuit@europeanresistor > \ctikzset{resistor/.is choice} > \ct

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

2021-12-06 Thread Hans Hagen via ntg-context
ircuit@europeanresistorfalse } \ctikzset{resistor/european/.code = \pgf@circuit@europeanresistortrue } \tikzset{american resistors/.style = {\circuitikzbasekey/resistor = american}} \tikzset{european resistors/.style = {\circuitikzbasekey/resistor = european}}% So, the key which is defined is \circuitikzb

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

2021-12-06 Thread Aditya Mahajan via ntg-context
cuit@europeanresistortrue } \tikzset{american resistors/.style = {\circuitikzbasekey/resistor = american}} \tikzset{european resistors/.style = {\circuitikzbasekey/resistor = european}}% So, the key which is defined is \circuitikzbasekey/resistor. Not sure why pgfkeys is searching for tikz/resisto

Re: [NTG-context] Status of moderncv with ConTeXt ?

2021-12-06 Thread Laurent Steffan via ntg-context
have been enjoying the > > ride. > > I > > was also not able to get it to work. So, I created a simplified > > version which compiles on the latest LMTX version of ConTeXt. I > > am > > including a copy here in case it is of interest to anyone else. &

Re: [NTG-context] Status of moderncv with ConTeXt ?

2021-12-05 Thread John Lord via ntg-context
re in case it is of interest to anyone else. The files included are resume-style, resume-template, and cover-context. This is my first post so hopefully the attachments come through OK. Regards John Lord I am glad this worked without issue. Unfortunately, I am not a programmer so prod

Re: [NTG-context] Status of moderncv with ConTeXt ?

2021-12-04 Thread kaddour kardio via ntg-context
nks in advance > > Laurent Steffan > > > > Hi all > > I am a recent convert to ConTeXt and have been enjoying the ride. > I > was also not able to get it to work. So, I created a simplified > version which compiles on the latest LMTX version of ConTeXt. I am > includin

Re: [NTG-context] Status of moderncv with ConTeXt ?

2021-12-04 Thread John Lord via ntg-context
The files included are resume-style, resume-template, and cover-context. This is my first post so hopefully the attachments come through OK. resume-template.tex Description: TeX document resume-style.tex Description: TeX document cover-context.tex Description: TeX document Regards

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Hans Hagen via ntg-context
=, style=, ] \starttext asdf \stoptext you can patch this in scrn-ref.lua (and remakle the format) local expandcurrent = structures.references.expandcurrent or function() end

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
after latest upgrade > > Ok, seems unrelated to XML. > > This here shows the problem: > > > % no problems withouth setupinteraction > \setupinteraction [ > state=start, > focus=standard, > openaction=FitWidth,

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
focus=standard, > openaction=FitWidth, > color=, > contrastcolor=, > style=, > ] > > \starttext > > asdf > > \stoptext > > > Best, > Denis > > > -Ursprüngliche Nachricht- >

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
Ok, seems unrelated to XML. This here shows the problem: % no problems withouth setupinteraction \setupinteraction [ state=start, focus=standard, openaction=FitWidth, color=, contrastcolor=, style

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
ify the other, AFAIK. Which is a bit unfortunate since the placement belongs in an environment and not the running text (it's a style decision after all). Take the following example: \setupfloats [figure] [default=top] \setupfloats [table] [default=bottom] %% \setupfloats [table] [default=

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

2021-11-27 Thread Joey McCollum via ntg-context
I was afraid that might be the problem. I've described some of the intended purpose of this code near the end of the "Checking for a macro in a string without expanding it" thread on the mailing list, but I will get into more detail here. I'm working on a ConTeXt implementation of cita

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
\global\setconstant\c_strc_registers_page_state\zerocount \dostoptagged \endgroup} \permanent\protected\def\usenestedregisterstyleandcolor#1#2% will change {\useregisterstyleandcolor#1#2% % how about style \ifconditional\c_strc_registers_text_interaction \ifempty

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
{\dummyparameter{category}} \dummyparameter{meaning}}]% no need for c! v! s! unless you make a multi-userinterface style anyway, makes me wonder if we should have a horizontal register variant \setupregister [Russian][2] [textstyle=bold] \setupregister [Russian][3] [textstyle=italic] so

Re: [NTG-context] update lmtx

2021-11-26 Thread Hans Hagen via ntg-context
to take the lead: https://devblogs.microsoft.com/math-in-office/unicode-math-braille-sequences/ and although it aims at msword I gave that a go for context so we now have a "braille-basic" module (style) that we (can) use (and run as demo) for playing with math spacing because we basi

Re: [NTG-context] update lmtx

2021-11-26 Thread Alain Delmotte via ntg-context
ms eems to take the lead: https://devblogs.microsoft.com/math-in-office/unicode-math-braille-sequences/ and although it aims at msword I gave that a go for context so we now have a "braille-basic" module (style) that we (can) use (and r

Re: [NTG-context] update lmtx

2021-11-25 Thread Alain Delmotte via ntg-context
s.microsoft.com/math-in-office/unicode-math-braille-sequences/ and although it aims at msword I gave that a go for context so we now have a "braille-basic" module (style) that we (can) use (and run as demo) for playing with math spacing because

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread jbf via ntg-context
That was the clue I needed - in particular the use of minus values, which I had entirely overlooked. And since \vskip works, so, therefore, does simple \blank with a minus value (and better style!), and for that matter also \hskip to make micro horizontal adjustments. In the end, so simple

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread Henning Hraban Ramm via ntg-context
lines in question? You can try \offset[y=-3pt]{your text} or \vskip-3pt Not good style, but could work. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] update lmtx

2021-11-22 Thread Hans Hagen via ntg-context
gave that a go for context so we now have a "braille-basic" module (style) that we (can) use (and run as demo) for playing with math spacing because we basically have a monospace font. If there is any interest in braille as alternative output we can extend that. I'm pretty sure th

Re: [NTG-context] Using old fonts

2021-11-18 Thread Hans Hagen via ntg-context
contain small caps (in place of lowercase characters) and old style figures (in place of digits), and other variant glyphs and additional ligatures (usually the font name contains OsF, SC, Alt, or Exp). Sometimes these are not allocated to a Unicode point, but only identified by name (e.g

[NTG-context] Using old fonts

2021-11-18 Thread Gérard Milmeister via ntg-context
Often there are additional font files which contain small caps (in place of lowercase characters) and old style figures (in place of digits), and other variant glyphs and additional ligatures (usually the font name contains OsF, SC, Alt, or Exp). Sometimes these are not allocated to a Unicode point

Re: [NTG-context] Multiline cell in spreadsheettable

2021-11-18 Thread juh via ntg-context
ushright] @ "0.2f \percent" $it.mwst$ \stopcell \startcell[align=flushright] @ "0.2f €" $it.stundensatz$ \stopcell \startcell[align=flushright] @ "0.2f €" (A[row] * D[row]) \stopcell \stoprow $endfor$ \startrow[topframe=on] \startcell[align=flushleft] " "

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

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
> \appendrightparbox{\ruledhbox{\smallinfofont\setstrut\strut[R #1.1]}}% > \appendrightparbox{\ruledhbox{\smallinfofont\setstrut\strut[R #1.2]}}% > \appendrightparbox{\ruledhbox{\smallinfofont[R #1.3]}}% > % > \samplefile{tufte} > } > > Bu

Re: [NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread Wolfgang Schuster via ntg-context
A A via ntg-context schrieb am 15.11.2021 um 17:15: Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: * * *\setuppapersize[A5] \section[sec:old]{Old Section} This is an old-style \ConTeXt\ section. \startsection

[NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread A A via ntg-context
Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: *\setuppapersize[A5]\section[sec:old]{Old Section}This is an old-style \ConTeXt\ section.\startsection [title={New Section} reference=sec:new

[NTG-context] minimum working example plus (output)

2021-11-13 Thread skyhorse--- via ntg-context
by the majority of you since those items are still on your system from legacy versions. Regards - * OS: ubuntu 20.04.3 LTS * Context current version: 2021.11.13 20:36 $ context bullet-style-example-iteration.lmtx resolvers | formats | executing runner 'run

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Thomas A. Schmitz via ntg-context
: lining numbers versus old style numbers; "lining" having no descenders, but sitting on the line. pnum vs tnum: proportional vs tabulate numbers. As the name suggests, the latter look better where numbers are vertically aligned because each numeral will take exactly the same space,

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Wolfgang Schuster via ntg-context
with the roffset to adjust that. It might make sense to use a different number style for paginations – most fonts set unproportional tabular numbers as default, in this case proportional tabular numbers make sense. That will affect the spacing around the 1 – don’t know if it solves your case. Example from

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Henning Hraban Ramm via ntg-context
ke sense to use a different number style for paginations – most fonts set unproportional tabular numbers as default, in this case proportional tabular numbers make sense. That will affect the spacing around the 1 – don’t know if it solves your case. Example from one of my projects: \definefontfeature[p

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
=off,topframe=off,align=middle] {\vbox{\headtext{chapter} \underbar{#1}\crlf\blackrule[height=.1\exheight]\crlf#2}}} \setuphead[chapter][     header=empty,     alternative=middle,     style={\ssb},     number=yes,     command=\MyChapterCommand,     after={\blank[big]},     ] \setuplabeltext

Re: [NTG-context] adding module to ConTeXt basic installation

2021-11-11 Thread Denis Maier via ntg-context
at the indentation is preserved > then a simple \definetyping is probably all that you need. > > e.g. > \definetyping[PythonSource][style=\mono] > \starttext > This is taken from Rosetta Code:\par > \startPythonSource > def eratosthenes2(n): > multiples = set() >

Re: [NTG-context] Any initial thoughts on luau?

2021-11-08 Thread Ramkumar KB via ntg-context
around > memory (not crunching numbers or massaging vectors) ... some gain will > come from the upcoming GB level 2 caches for cpu's (i guess) > > > Also the possibilities of having garbage collection (no need to worry > > about memory safety), JIT being viable (since there is no use of

Re: [NTG-context] adding module to ConTeXt basic installation

2021-11-06 Thread Bruce Horrocks via ntg-context
nt so that the indentation is preserved then a simple \definetyping is probably all that you need. e.g. \definetyping[PythonSource][style=\mono] \starttext This is taken from Rosetta Code:\par \startPythonSource def eratosthenes2(n): multiples = set() for i in range(2, n+1): if

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Hans Hagen via ntg-context
uaJIT internally optimizes integers and also provides the bit library, but the surface is "clean double only") - requires certain unidiomatic coding style for achieving performance indeed, and this while ffi mix is kind of not-so-lua i get the feeling that it also stimulate

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Michal Vlasák via ntg-context
natives). There are also arguments against LuaJIT: - weird 5.1 / 5.2 mix (probably a matter of preference) - no integer types (but actually LuaJIT internally optimizes integers and also provides the bit library, but the surface is "clean double only") - requires certain unidio

[NTG-context] Strange result with the new upload

2021-11-05 Thread Alain Delmotte via ntg-context
yword") is overwritten by the normal text in black. I don't remember that before. Alain Here is the code: %I need to ponder this usage: \definelocalboxes [linetextA] [command=\LeftTextA, location=lefttext, style=\bs, colo

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
, there is more: a mechanism for hooking in handlers. \definelocalboxes [linenumber] [command=\LeftNumber, location=left, width=3em, style=\bs, color=darkred] \definelocalboxes [linenumbertwo] [linenumber] [command=\RightNumber, location=right, width=6em, style=\bf, color

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-24 Thread Wolfgang Schuster via ntg-context
(the \sc column is the fallback style). \swapface is unchanged and I'm not sure about its output because it uses the \em code for italic and slanted which means \setupbodyfontenvironment[default][em=blue] affects also the \swapface results. Thank you very much for attacking and clarifying

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
in each part, and not a > x.y number but simply ‘2. Chapter’ > > - what is a good way to create actual RHS ‘title’ pages for each chapter? > > - how do I get parts to number with Roman numerals? > > I define my own versions of \part and \chapter (called \Part and \Chapter) > and spe

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
’ pages for each chapter? > - how do I get parts to number with Roman numerals? I define my own versions of \part and \chapter (called \Part and \Chapter) and specify a different display style using setups. The definition for \Part is below, \Chapter is very similar so I haven't included it. %%

Re: [NTG-context] marginals from footnotes

2021-10-20 Thread Henning Hraban Ramm via ntg-context
> Am 20.10.2021 um 10:29 schrieb Hans Hagen : > > On 10/19/2021 7:16 PM, Henning Hraban Ramm via ntg-context wrote: >> Hi, this is an edge case, but I tried to replicate a feature from DANTE’s >> LaTeX DTK style where links in the text (and also in footnotes) get a QR

Re: [NTG-context] marginals from footnotes

2021-10-20 Thread Hans Hagen via ntg-context
On 10/19/2021 7:16 PM, Henning Hraban Ramm via ntg-context wrote: Hi, this is an edge case, but I tried to replicate a feature from DANTE’s LaTeX DTK style where links in the text (and also in footnotes) get a QR code in the margin. It works for me (using zint) in the running text

[NTG-context] marginals from footnotes

2021-10-19 Thread Henning Hraban Ramm via ntg-context
Hi, this is an edge case, but I tried to replicate a feature from DANTE’s LaTeX DTK style where links in the text (and also in footnotes) get a QR code in the margin. It works for me (using zint) in the running text, but not in footnotes. Actually, marginals in footnotes are never displayed

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
       [location=]     \definefont       [ChapterTextStyle]       [SansBold*default sa 2.2]     \setuphead       [title]       [style=ChapterTextStyle,        align=flushright]     \setuplist        [chapter]        [style=bold,         alternative=b,         width=1em]     \setuplist

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em] \setuplist [subsection

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
uot; but it is not context that > you run there (and i can't imagine some plain format loading it either) I think that LaTeX extracted some parts out of ConTeXt for use with LuaTeX only for font loading, and that is why I have it, not remembering the details. I think I saw that LuaTeX a few years ha

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
.." but it is not context that you run there (and i can't imagine some plain format loading it either) it looks like you load a latex style so I suppose that 'arguments' is no longer defined there (as it worked for you in the past). It does not contain it; it a copy in the same directory

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Åberg via ntg-context
o it is not so important if there is no fix. > I have no clue .. Has not stuff been moved from LuaTeX to ConTeXt? —If so, I thought it might have something with that to do. > it looks like you load a latex style so I suppose that 'arguments' is no > longer defined there (as it worked f

Re: [NTG-context] Error: attempt to index a nil value

2021-10-13 Thread Hans Hagen via ntg-context
xt' directly, so it is not so important if there is no fix. I have no clue .. it looks like you load a latex style so I suppose that 'arguments' is no longer defined there (as it worked for you in the past). Maybe 'arguments' lives in some namespace? \directlua {for k, v in pairs(_G) do print

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

2021-10-12 Thread Hans Hagen via ntg-context
nal parameters (leftbleedoffset, innerbleedoffset...). Maybe give a list like in CSS? bleedoffset={3mm,3mm,3mm,0mm} – top, right, bottom, left order implied; not very “ConTeXt style”. probably spreads need some treatment (imposition) Multiple pages on a sheet are not considered by the PDF specs.

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

2021-10-12 Thread Henning Hraban Ramm via ntg-context
ters (printshop workers) will react positively to correct boxes in our PDFs ;) >> In some cases it makes sense to have different values on e.g. inner and >> outer edges; I feat that would add a plethora of additional parameters >> (leftbleedoffset, innerbleedoffset...). >> M

[NTG-context] Solved: Making metafun pictures fainter

2021-10-12 Thread Gavin via ntg-context
. Here is a >> uniformly accelerated cow in the style of my book. >> I abandoned transparency, since I actually don’t want to see through >> anything. I am using uncolored to get the fade. It works great with a >> picture that is made with fill and draw, but it doesn’t work wit

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

2021-10-12 Thread Hans Hagen via ntg-context
eft order implied; not very “ConTeXt style”. probably spreads need some treatment (imposition) (i'm pretty sure that changes will themselves introduce new issues) anyway, we can look at it once we're all on lmtx because i'm not going to change mkiv in t

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

2021-10-12 Thread Henning Hraban Ramm via ntg-context
ottom, left order implied; not very “ConTeXt style”. Hraban ___ 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/nt

Re: [NTG-context] composing commands

2021-10-11 Thread Marcus Vinicius Mesquita via ntg-context
issingcharacters \enabletrackers[fonts.missing] > \removemissingcharacters \enabletrackers[fonts.missing=remove] > \replacemissingcharacters \enabletrackers[fonts.missing=replace] > \handlemissingcharacter

Re: [NTG-context] Making metafun pictures fainter (shading, uncolored clash)

2021-10-11 Thread Hans Hagen via ntg-context
On 10/11/2021 6:30 AM, Gavin via ntg-context wrote: Hi List, I made good progress producing fainter pictures in metafun. Here is a uniformly accelerated cow in the style of my book. I abandoned transparency, since I actually don’t want to see through anything. I am using uncolored to get

Re: [NTG-context] Making metafun pictures fainter (shading, uncolored clash)

2021-10-10 Thread Gavin via ntg-context
Hi List, I made good progress producing fainter pictures in metafun. Here is a uniformly accelerated cow in the style of my book. PastedGraphic-2.pdf Description: Adobe PDF document I abandoned transparency, since I actually don’t want to see through anything. I am using uncolored to get

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

2021-10-10 Thread Hans Hagen via ntg-context
, but I'm having problems with the following MWE: ``` \def\style#1[#2] {   \ctxlua{userdata.style([==[#2]==])}   \placestyle } here you overload a core macro \startluacode   userdata = userdata or {}   userdata.style = function(keyvals)     local style = {       color = nil,       text = nil

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

2021-10-10 Thread noib3 via ntg-context
\style#1[#2] { \ctxlua{userdata.style([==[#2]==])} \placestyle } \startluacode userdata = userdata or {} userdata.style = function(keyvals) local style = { color = nil, text = nil, } args = utilities.parsers.settings_to_hash(keyvals) for k, v in pairs(args) do

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

2021-10-10 Thread Hans Hagen via ntg-context
nstring{#2}{,.!?;:}{#2}% } \popcatcodetable Joey On Sat, Oct 9, 2021 at 12:50 PM Hans Hagen <mailto:j.ha...@xs4all.nl>> wrote: On 10/9/2021 5:40 PM, Joey McCollum via ntg-context wrote: > Hi, > > I'm trying to define concise biblatex-style cita

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

2021-10-09 Thread Joey McCollum via ntg-context
e to check if the trailing character is one of the characters in a specified set/string, and this is where the error is arising. Joey On Sat, Oct 9, 2021 at 12:50 PM Hans Hagen wrote: > On 10/9/2021 5:40 PM, Joey McCollum via ntg-context wrote: > > Hi, > > > > I'm trying t

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

2021-10-09 Thread Hans Hagen via ntg-context
On 10/9/2021 5:40 PM, Joey McCollum via ntg-context wrote: Hi, I'm trying to define concise biblatex-style citation macros for a custom bibliographic style specification with support for intelligent placement of trailing punctuation, and I've encountered an unusual error. If I try to define

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

2021-10-09 Thread Joey McCollum via ntg-context
Hi, I'm trying to define concise biblatex-style citation macros for a custom bibliographic style specification with support for intelligent placement of trailing punctuation, and I've encountered an unusual error. If I try to define the macros within the btxrenderingdefinitions environment

Re: [NTG-context] Test suite fonts/features-005.tex failing for me

2021-10-08 Thread Hans Hagen via ntg-context
On 10/3/2021 1:41 AM, Bruce Horrocks via ntg-context wrote: In the test suite, the file fonts/features-005.tex is failing for me on latest lmtx. All three items appear the same each time i.e. no small caps and no old-style digits on the second and third. <http://www.pragma-ade.com/cont

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
TeXt Publication modules. It looks like three "long" citation forms are >>>>> defined in publ-imp-cite.mkvi: >>>>> >>>>> \startsetups btx:cite:listelement >>>>> \fastsetup{\s!btx:\s!cite:concat} >>>>>

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
> \else >>>>\texdefinition {\s!btx:\s!cite:inject} { >>>>\btxcitereference >>>>\currentbtxfirst >>>>} >>>> \fi >>>> \fastsetup{\s!btx:\s!cite:righttext} >>>> \sto

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
gt;> \fi >>> \fastsetup{\s!btx:\s!cite:righttext} >>> \stopsetups >>> >>> \startsetups \s!btx:\s!cite:entry >>> \fastsetup{\s!btx:\s!cite:concat} >>> \fastsetup{\s!btx:\s!cite:lefttext} >>> \btxhandleciteentry >>>

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
;> \stopsetups >> >> Intuitively, I would expect btx:cite:listelement [why not >> \s!btx:\s!cite:listelement?] to handle rendering a bibliographic entry for >> the bibliography proper (i.e., the list typically placed at the end of a >> document), while \s!btx:\s!

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
hic entry for > the bibliography proper (i.e., the list typically placed at the end of a > document), while \s!btx:\s!cite:entry would handle in-text citations. The > third setup, \s!btx:\s!cite:footnote, simply renders the "entry"-style > citation in a footnote. > &g

[NTG-context] Test suite fonts/features-005.tex failing for me

2021-10-02 Thread Bruce Horrocks via ntg-context
In the test suite, the file fonts/features-005.tex is failing for me on latest lmtx. All three items appear the same each time i.e. no small caps and no old-style digits on the second and third. <http://www.pragma-ade.com/context/latest/cont-tst.zip> Can anyone else reproduce this,

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Henning Hraban Ramm via ntg-context
; Attached is the output from a modified version of the styling command (the > \sc column is the fallback style). \swapface is unchanged and I'm not sure > about its output because it uses the \em code for italic and slanted which > means \setupbodyfontenvironment[default][em=blue] affects

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Wolfgang Schuster via ntg-context
predictable and a fix is needed but the same applies also to \boldface, \slantedface and \typeface. Attached is the output from a modified version of the styling command (the \sc column is the fallback style). \swapface is unchanged and I'm not sure about its output because it uses the \em code

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

2021-09-27 Thread Hans Hagen via ntg-context
st version and the code that we ship with context no longer runs (quits on some path creation, then when commented on some color/style settings and finally loops in finding a lexer). I know (from scite) that there has been updates to the scintilla lexer interface (again) that I need to look into but i

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
are, but it will always give an italic or roman result. -- Rik On 9/26/2021 18:37, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: So, I am asking whether, in places where folks often use style=italic, it might be better to consider style=italicface. Bug

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after

[NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the hairline the example below, but see that italicface adapts

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-18 Thread Jan Ulrich Hasecke via ntg-context
rts is arabic numbers but in one report we need a mix of capital letters and numbers (A, A.1, A.2, B, B.1 etc.) I simply made two small style files for numbering. > > It took a long time until I realized that these files are best stored in > > texmf- > > project. I use n

Re: [NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Hans Hagen via ntg-context
On 9/16/2021 8:45 PM, Joey McCollum via ntg-context wrote: Hi, It's taken a couple weeks, but I nearly have a working bibliographic rendering for SBL style ready. I'm hosting the .lua and .mkvi files I have so far, as well as a test .bib and .tex file, on GitHub at https://github.com

Re: [NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Denis Maier via ntg-context
. September 2021 20:46 An: mailing list for ConTeXt users Cc: Joey McCollum Betreff: [NTG-context] Exclude bibliographic entries from list even when cited with \cite Hi, It's taken a couple weeks, but I nearly have a working bibliographic rendering for SBL style ready. I'm hosting the .lua

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