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

2021-11-14 Thread Hans Hagen via ntg-context
\recurselevel} \stoptext Compiling this into a pdf file with context produces an error. I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup. I have a feeling that the stand along install is missing some vital part

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

2021-11-13 Thread skyhorse--- via ntg-context
produces an error. I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup. I have a feeling that the stand along install is missing some vital part of the installation regarding fonts, and that it's not noticed

Re: [NTG-context] Synonyms feature request

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

[NTG-context] Synonyms feature request

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

Re: [NTG-context] SyncTeX setup

2021-11-01 Thread Hans Hagen via ntg-context
On 10/31/2021 11:31 AM, Henning Hraban Ramm via ntg-context wrote: Hi, has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than TeXshop? With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and TeXstudio. And in TeXshop we got our own parser. But can we expect

[NTG-context] SyncTeX setup

2021-10-31 Thread Henning Hraban Ramm via ntg-context
Hi, has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than TeXshop? With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and TeXstudio. And in TeXshop we got our own parser. But can we expect others to adapt to our “superior” SyncTeX format? (I don’t

Re: [NTG-context] Cannot access Lua function

2021-10-30 Thread Hans Hagen via ntg-context
, I want to (/used to) set the creator and producer in the following manner \startluacode local metadata = lpdf.getmetadata(); metadata['producer']='IKTS-VTR'; metadata['creator']='IKTS-VTR'; \stopluacode I was not able to do this using \setupinteraction, which I use to setup the title, subtitle

Re: [NTG-context] Cannot access Lua function

2021-10-30 Thread kauśika cittūr via ntg-context
set the creator and producer in the following manner \startluacode local metadata = lpdf.getmetadata(); metadata['producer']='IKTS-VTR'; metadata['creator']='IKTS-VTR'; \stopluacode I was not able to do this using \setupinteraction, which I use to setup the title, subtitle and author. T

Re: [NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Denis Maier via ntg-context
s, but if I include the link in my real document, I’am getting > > > this error message (copied from -error.log): > > > [...] > > > Two things seemed to make it work: > > > 1. Remove the link. > > > 2. Comment out \expandUx in this setup: > > > > Hi De

Re: [NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Denis Maier via ntg-context
cument, I’am getting > > this error message (copied from -error.log): > > [...] > > Two things seemed to make it work: > > 1. Remove the link. > > 2. Comment out \expandUx in this setup: > > Hi Denis, > > in my environments to typeset XML sources, I n

Re: [NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Pablo Rodriguez via ntg-context
; error message (copied from -error.log): > [...] > Two things seemed to make it work: > 1. Remove the link. > 2. Comment out \expandUx in this setup: Hi Denis, in my environments to typeset XML sources, I never need \expandUx, why do you needit? Another approach (I don’t know whether

[NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Denis Maier via ntg-context
t;offset"]=10, ["skiplinenumber"]=5, } Two things seemed to make it work: 1. Remove the link. 2. Comment out \expandUx in this setup: \startxmlsetups xml:ext-link \begingroup \expandUx % commenting this out makes it work

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

2021-10-26 Thread Gerben Wierda via ntg-context
been doing years ago (but that book did not have parts and was done in mkii) The modification of \chapter and \part setups with before= and after= never worked in the \component setup in LMTX. Creating a separate command to run immediately before a \chapter or \part, as suggested by Bruce

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
netext >> [chapterfooter] % name >> [footer]% vertical location >> [pagenumber]% content >> >> \setuphead >> [chapter] >> [header=empty, >>footer=chapterfooter] >> >> \starttext >> >> \dorecurse{4} >> {\ex

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Hans Hagen via ntg-context
On 10/25/2021 10:31 PM, Rik Kabel wrote: This has been part of my setup interaction for a couple of years. Documents all pass verapdf pdf3a testing. On Oct 25, 2021 15:54, Hans Hagen via ntg-context wrote: On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote: > On 10/25

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Hans Hagen via ntg-context
On 10/25/2021 10:31 PM, Rik Kabel wrote: This has been part of my setup interaction for a couple of years. Documents all pass verapdf pdf3a testing. the date only ended up in some places but now we try to be consistent on all places On Oct 25, 2021 15:54, Hans Hagen via ntg-context wrote

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Rik Kabel via ntg-context
This has been part of my setup interaction for a couple of years. Documents all pass verapdf pdf3a testing.On Oct 25, 2021 15:54, Hans Hagen via ntg-context wrote:On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote: > On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote: >>

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
Gerben Wierda schrieb am 25.10.2021 um 08:41: I have a problem with getting the page number on the ‘first’ page of a chapter (in my setup, it is actually the second page as there is a LHS page before it with a quote. The bare minimum example: When you switch to the chapter-environment get

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
I have a problem with getting the page number on the ‘first’ page of a chapter (in my setup, it is actually the second page as there is a LHS page before it with a quote. The bare minimum example: \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided] \setuphead

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
[header=empty, >footer=chapterfooter] > > \starttext > > \dorecurse{4} > {\expanded{\chapter{Chapter \recurselevel}} >\dorecurse{10}{\samplefile{lorem}}} > > \stoptext > > Wolfgang Yes, this works in a simple setup. But it doesn’t work in mine with my LHS-q

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

2021-10-24 Thread Rik Kabel via ntg-context
outside the immediate scope. However, since this is a setup function (per the name), perhaps a setup reset function would be an option. Could that be done in MkIV as well? In either case, the user must be able to assign new values to all three. Otherwise, an LMTX-only function is preferable

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation.

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
I attempted this: \page[right] \setupheadertexts[] \setupfootertexts[pagenumber] \setupfooter[text][after={\setupfootertexts[]\setupheadertexts[pagenumber]}] but that does not work. This definitely moves the page numbers to the footer. Gerben Wierda (LinkedIn

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation. How can I do this? Example:

Re: [NTG-context] My setup almost works

2021-10-23 Thread Pablo Rodriguez via ntg-context
On 10/23/21 6:09 PM, Gerben Wierda wrote: > [...] Replying a private to the list, since it could be useful for (future?) reference. > This works, except: > - Parts are not mentioned in the table of contents. If I use > \completecontent, I do not get the abstracts Well, don’t use

Re: [NTG-context] Memo module not working with lmtx

2021-10-15 Thread Jason Ross via ntg-context
emo \syst_setups_start_tex_two #1#2#+\stopsetups ->\endgroup \dodoglobal \instance \defcsname \??setup #1:#2 \endcsname #1{#3} \stopsetups 187 \stopsetups 188 189 \startsetups[\???memosectionrenderings\v!head:\v!memo] 190 \def\\{\correspondencesectionparameter\c!separato

[NTG-context] Memo module not working with lmtx

2021-10-15 Thread Jason Ross via ntg-context
ngs \???memosectionrenderings \v!head :\v!memo \syst_setups_start_tex_two #1#2#+\stopsetups ->\endgroup \dodoglobal \instance \defcsname \??setup #1:#2 \endcsname #1{#3} \stopsetups 187 \stopsetups 188 189 \startsetups[\???memosectionrenderings\v!head:\v!memo] 190

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

2021-10-13 Thread Hans Åberg via ntg-context
k. >>>> l.132 } >>>> ? … >>>> It is from this segment in the modified luatex-math.tex: >>>> \ifdefined\directlua >>>>\directlua { >>>>if arguments["mtx:lucidabright"] then >>>>tex.print(&

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

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 22:28, Hans Hagen wrote: > > On 10/13/2021 7:02 PM, Hans Åberg wrote: >>> On 13 Oct 2021, at 18:37, Hans Hagen wrote: >>> >>> On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >>>> >>>> … —I ma

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

2021-10-13 Thread Hans Hagen via ntg-context
n") end } \fi Is there a workaround? —I may ditch this setup in favour of using 'context' directly, so 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. luatex is just a tex

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

2021-10-13 Thread Hans Hagen via ntg-context
On 10/13/2021 7:02 PM, Hans Åberg wrote: On 13 Oct 2021, at 18:37, Hans Hagen wrote: On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: … —I may ditch this setup in favour of using 'context' directly, so it is not so important if there is no fix. I have no clue .. I made

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

2021-10-13 Thread Hans Åberg via ntg-context
> On 13 Oct 2021, at 18:37, Hans Hagen wrote: > > On 10/13/2021 6:01 PM, Hans Åberg via ntg-context wrote: >> >> … —I may ditch this setup in favour of using 'context' directly, so it is >> not so important if there is no fix. > I have no clue .. I made this a

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

2021-10-13 Thread Hans Åberg via ntg-context
n >>tex.print("\string\\lucidabright") >>else >>tex.print("\string\\latinmodern") >>end >>} >> \fi >> Is there a workaround? —I may ditch this setup in favour of using 'context' >> directly, s

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

2021-10-13 Thread Hans Hagen via ntg-context
\directlua \directlua { if arguments["mtx:lucidabright"] then tex.print("\string\\lucidabright") else tex.print("\string\\latinmodern") end } \fi Is there a workaround? —I may ditch this setup in favour of using 'conte

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

2021-10-13 Thread Hans van der Meer via ntg-context
: > > \ifdefined\directlua > \directlua { > if arguments["mtx:lucidabright"] then > tex.print("\string\\lucidabright") > else > tex.print("\string\\latinmodern") > end > } >

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

2021-10-13 Thread Hans Åberg via ntg-context
right"] then tex.print("\string\\lucidabright") else tex.print("\string\\latinmodern") end } \fi Is there a workaround? —I may ditch this setup in favour of using 'context' directly, so it is not s

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

2021-10-12 Thread Hans Hagen via ntg-context
on a convenience value I.e. ConTeXt “thinks” from the sheet size instead from the (IMO more natural) paper size. For me, the more natural setup would be: \setuplayout[ trimoffset=0mm, % from the paper size outward bleedoffset=3mm, % same, independent of trimoffset ] % ...

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

2021-10-12 Thread Henning Hraban Ramm via ntg-context
ference between paper size and sheet size ("oversized" adds 15 mm). I.e. ConTeXt “thinks” from the sheet size instead from the (IMO more natural) paper size. For me, the more natural setup would be: \setuplayout[ trimoffset=0mm, % from the paper size outward bleedoffset=3mm, %

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

2021-10-11 Thread Joey McCollum via ntg-context
ntrol sequence inserted" error. The following MWE should reproduce the error (it modifies the existing Chicago rendering, but since I couldn't figure out how to add a shorthand field to the @book category in the chicago spec from within the MWE, I just used the note field as a placeholder for it): ``

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

2021-10-08 Thread Hans Hagen via ntg-context
On 10/7/2021 6:38 AM, Joey McCollum via ntg-context wrote: A concise solution that I found would work was to define a "shorthand" citation alternative and just print the shorthand with that: ``` % Shorthand citation setup \startsetups btx:sbl:cite:shorthand   \begingro

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

2021-10-06 Thread Joey McCollum via ntg-context
A concise solution that I found would work was to define a "shorthand" citation alternative and just print the shorthand with that: ``` % Shorthand citation setup \startsetups btx:sbl:cite:shorthand \begingroup \def\currentbtxcategory{\btxfield{category}} \tex

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
oncat} >> \fastsetup{\s!btx:\s!cite:lefttext} >> \btxhandleciteentry >> \fastsetup{\s!btx:\s!cite:righttext} >> \stopsetups >> >> \startsetups \s!btx:\s!cite:footnote >> \startfootnote >> \fastsetup{btx:cite:entry} >> \stopfootnote >

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

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread jbf via ntg-context
r here. I may have to do it back at the preamble level by setting up a different kind of \setuphead, but I was hoping that in just this one case I could do it inside the existing setup. Julian ___ If you

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread jbf via ntg-context
ine, and I know I can't use \indentation or similar here. I may have to do it back at the preamble level by setting up a different kind of \setuphead, but I was hoping that in just this one case I could do it inside the existing setu

Re: [NTG-context] [External] special case of hskip...?

2021-09-28 Thread Rogers, Michael K via ntg-context
by setting up a different kind > of \setuphead, but I was hoping that in just this one case I could do it > inside the existing setup. > > Julian > > ___ > If your question is of interest to other

[NTG-context] special case of hskip...?

2021-09-28 Thread jbf via ntg-context
have to do it back at the preamble level by setting up a different kind of \setuphead, but I was hoping that in just this one case I could do it inside the existing setup. Julian ___ If your question is of interest

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

2021-09-27 Thread Hans Hagen via ntg-context
and might have a suggestion? I tried to launch textadept with the setup that is in the distribution and it worked ok with the textadept version on my machine. There is however a hickup in launching the pdf viewer and then after a while i have to hit escape (windows version of textadept). A second

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

2021-09-26 Thread Wolfgang Schuster via ntg-context
icface italic}} \tex{em}: normal {\em italic} {\bf bold {\em italic}} \stoptext Wolfgang Wolfgang, I understand that mechanism, but I am asking a different question, I think. When we specify style=\em or style=italic (and most examples I see use the later) in a setup of some sort, I t

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

2021-09-26 Thread Rik Kabel via ntg-context
bold {\em italic}} \stoptext Wolfgang Wolfgang, I understand that mechanism, but I am asking a different question, I think. When we specify style=\em or style=italic (and most examples I see use the later) in a setup of some sort, I think most folks expect similar behavior, but clearly it is n

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

2021-09-21 Thread Denis Maier via ntg-context
quot;ditto" (e.g., a dumb quote sign, or "Idem") as potential values, since all three of these options are currently supported in publ-imp-chicago.mkvi and publ-imp-sbl.mkvi, but as far as I know, they always default to the "rule" setup. Joey On Tue, Sep 21, 2021 at 12:

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

2021-09-21 Thread Joey McCollum via ntg-context
ank space the size of the "margin" option), and "ditto" (e.g., a > dumb quote sign, or "Idem") as potential values, since all three of these > options are currently supported in publ-imp-chicago.mkvi and > publ-imp-sbl.mkvi, but as far as I know, they

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

2021-09-21 Thread Denis Maier via ntg-context
kvi, but as far as I know, they always default to the "rule" setup. Joey On Tue, Sep 21, 2021 at 12:52 AM mailto:denis.ma...@unibe.ch>> wrote: Cool. I don't know about your particular solution, but will probably want to make sure to have

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

2021-09-21 Thread Joey McCollum via ntg-context
quot;) as potential values, since all three of these options are currently supported in publ-imp-chicago.mkvi and publ-imp-sbl.mkvi, but as far as I know, they always default to the "rule" setup. Joey On Tue, Sep 21, 2021 at 12:52 AM wrote: > Cool. > > I don't know about your particu

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

2021-09-20 Thread Denis Maier via ntg-context
added useibid and useidem options for the \definebtx command (making them language-dependent by adding them to mult-def.lua, which seems to be how the other options have been implemented). Ideally, I'd like to follow the pattern of the chicago:list:sameauthor setup and use a macro similar

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

2021-09-20 Thread Joey McCollum via ntg-context
, I'd like to follow the pattern of the chicago:list:sameauthor setup and use a macro similar to \btxdoifsameaspreviouselse. But since \btxdoifsameaspreviouselse relies on the indexed structure of the bibliographic list to determine what the "previous" entry is, it won't work for my purpos

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

2021-09-18 Thread Henning Hraban Ramm via ntg-context
would you deal > with those cases where you'd need a slightly different table layout in one > article? You could just use a few setup commands in that article, but an additional environment file is the cleaner solution. In our humanities book series* I need an additional environment f

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

2021-09-18 Thread Denis Maier via ntg-context
dant defined > values > > Am Thu, Sep 16, 2021 at 08:09:50AM + schrieb denis.ma...@unibe.ch: > > Hi Jan Ulrich, > > > > I have not much to contribute, but I'd be very happy to learn more about > your setup. > > You asked for it. ;-) Thanks for your detaillled

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

2021-09-17 Thread Jan Ulrich Hasecke via ntg-context
Am Thu, Sep 16, 2021 at 08:09:50AM + schrieb denis.ma...@unibe.ch: > Hi Jan Ulrich, > > I have not much to contribute, but I'd be very happy to learn more about your > setup. You asked for it. ;-) I started more than two years ago, with some documents for my cooperative. I b

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
oing wrong? > > Please advise. > > Thanks, > kauśika Dear all, After looking through publ-imp-cite.mkvi I was able to piece together the following setup for my cite command \definecounter [mycitecntr] [counter=mycitecntr] \startsetups btx:mylist:cite:num \goto{\getnumber[my

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

2021-09-16 Thread Denis Maier via ntg-context
Hi Jan Ulrich, I have not much to contribute, but I'd be very happy to learn more about your setup. Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von juh via ntg- > context > Gesendet: Mittwoch, 15. September 2021 08:40 > An: mailing list fo

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
On 9/15/2021 7:01 PM, Joey McCollum wrote: Looks like it was just a small oversight on my part; I had to make sure I added a corresponding \s!btx:\s!list:\s!author:invertedfirst setup for list entries. Here's what finally works: ``` \startsetups \s!btx:\s!cite:\s!author:invertedfirst

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
Looks like it was just a small oversight on my part; I had to make sure I added a corresponding \s!btx:\s!list:\s!author:invertedfirst setup for list entries. Here's what finally works: ``` \startsetups \s!btx:\s!cite:\s!author:invertedfirst \ifnum\currentbtxauthorindex>\plus

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
custom rendering file does not access the invertedfirst setup, regardless of which of the two setups I use. Do I have to do something different to access it? Thanks! On Wed, Sep 15, 2021 at 4:18 AM Hans Hagen wrote: > On 9/15/2021 5:06 AM, Joey McCollum via ntg-context wrote: > > All

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

2021-09-15 Thread Hans Hagen via ntg-context
a similar approach with a strong opinion how to organise the cascade? if you use xml, that one comes last While working on this I often found that I defined something twice, because I forgot to delete a setup-command in a newly structured file. Is there a way to test this? Can I grep for a warning

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

2021-09-15 Thread juh via ntg-context
on this I often found that I defined something twice, because I forgot to delete a setup-command in a newly structured file. Is there a way to test this? Can I grep for a warning in the log files to find these duplicates? Mit freundlichen Grüßen Jan Ulrich Hasecke -- Autoren-Homepage

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

2021-09-06 Thread Henning Hraban Ramm via ntg-context
sion, 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] zint barcode module on LMTX/MacOS

2021-09-05 Thread Michal Vlasák via ntg-context
ux-64/bin/lib/luametatex/zint/libzint.so' where the file is a copy of the system library. You probably need a similar setup (but you should prefer symlink), also with a ".so" extension as that's what ConTeXt uses on non Windows systems. > *) Previously, zint for MacOS was only av

Re: [NTG-context] Fuzzy lines

2021-09-03 Thread Henning Hraban Ramm via ntg-context
, since do_sketchfill didn’t use sketchrandomized. That was an easy fix. But I couldn’t fix the edge points issue: the less segments I use, the more some of the edge points deviate (see attachment with 10 segments; I used the setup from your theorems article). Lower left and upper right are good,

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

2021-08-28 Thread Wolfgang Schuster via ntg-context
[width=max,height=3cm]     First page header     \stopframed     \blank \stopsetups \startsetups [footer]     Page \userpagenumber\ of \lastuserpagenumber \stopsetups \setuppagenumbering   [location=none] \setupfootertexts   [\doifnot{\totalnumberofpages}{1}{\directsetup{footer}}] \startte

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

2021-08-27 Thread Joey McCollum via ntg-context
order...but if this is too complicated, then it may be an issue for another > e-mail thread, and we can just focus on normal vs. inverted for now). > >>> In entry citations, "et al." should be used for any names after the > third name, while in list entries, all names s

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

2021-08-27 Thread Ágoston Volcz via ntg-context
. >>> >>> I thought that the following settings would work: >>> >>> \definebtx >>> [sbl:\s!list] >>> [sbl] >>> [\c!otherstext=, >>> \c!etallimit=, >>> \c!etaldisplay=, >>> \c!etaloption=, >

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

2021-08-26 Thread Joey McCollum via ntg-context
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 / editor list >>\c!etallimit=3, % don't u

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

2021-08-26 Thread Joey McCollum via ntg-context
/ 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" settings seem to be used. I suspect this might be &g

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

2021-08-25 Thread Joey McCollum via ntg-context
/ 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" settings seem to be used. I suspect this might be because the setup

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-24 Thread Aditya Mahajan via ntg-context
On Mon, 23 Aug 2021, Aditya Mahajan via ntg-context wrote: > On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote: > > > This is the setup I have been using, but I'm unsure if the problem could be > > related to the other problem I had. (Not scaled to a MWE, but sho

[NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
, and I’m unsure how I should setup the indentation. With 'narrower' the numbered titles would be difficult. \setuplabeltext[en][Exercise=Exercise~] \definehead[Exercise][section] \setuphead[Exercise][ bodypartlabel=Exercise, number=yes, ownnumber=yes, % ?? way=bytext, % ?? ] \starttext

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Hans Hagen via ntg-context
On 8/23/2021 7:42 PM, Aditya Mahajan wrote: On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote: This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote: > This is the setup I have been using, but I'm unsure if the problem could be > related to the other problem I had. (Not scaled to a MWE, but short enough.) > I figured the issue by removing some of the lines. I get the s

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing some of the lines. \usemodule[vim] \definetextbackground[codebkg] [ frame

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

2021-08-22 Thread Joey McCollum via ntg-context
uld 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!cite:entry would handle in-text citations. The third setup, \s!btx:\s!cite:footnote, simp

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
do > > you have the fancy layout or not? > > > > It would make sense that the fancy chapter doesn’t appear only compiling > > a chapter. I guess there is no \startbodymatter...\stopbodymatter > > wrapping it. > > > > Another approach would be: > &

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
it. Another approach would be: [...] Setting values for \title is a way to avoid the chapter setup for the table of contents etc. but there is a way to set values which are used only when you process a component file. To make it work one has to load the environment file after \startcomponent

Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Hans Hagen via ntg-context
o MkIV with the CG journal since some articles use LMTX features. I’ll probably find some ugly hack to work around the issues... A lot has to do with defaults. We have several multicolumn mechanisms an cnotes themselves can also come in columns and it's nto easy to have a setup that suits them all, s

Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Henning Hraban Ramm via ntg-context
re will be no quick fix. >>>> >>> >>> good old mkiv ... so it serves a purpose! i would be more worried when you >>> went back to mkii >> ;D >> Unfortunately I can’t go back to MkIV with the CG journal since some >> articles use LMTX fe

Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Hans Hagen via ntg-context
issues... A lot has to do with defaults. We have several multicolumn mechanisms an cnotes themselves can also come in columns and it's nto easy to have a setup that suits them all, so each mechanism has additional settings. I'm still not sure how to deal with this because there are conflicting d

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

2021-08-09 Thread Joey McCollum via ntg-context
eries > > abbreviations). > > > > Regarding abbreviations have a look at > > https://wiki.contextgarden.net/Command/definesynonyms > > > > It should be as easy as > > > > \abbreviation{LSAWS}{Linguistic Studies in Ancient West Semitic} > > > > The full n

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

2021-08-09 Thread Denis Maier via ntg-context
full name of \quote{LSAWS} is \infull{LSAWS}. > > \placelistofabbreviations > > > I had a case where mostly abbreviations were used in the text but the full > name > should appear in the index. > I can provide the setup (including Lua functions), if it might help you. > >

Re: [NTG-context] Referencing fonts by path within ConTeXt

2021-08-07 Thread Wolfgang Schuster via ntg-context
path with font setup commands in an environment file? You can use     \usefontpath[...] to set a directory where ConTeXt searches for fonts but this works only when you use a typescript and not for \definefontfamily. Wolfgang

Re: [NTG-context] Referencing fonts by path within ConTeXt

2021-08-07 Thread Henning Hraban Ramm via ntg-context
do this from within > ConTeXt. Specifically, is there a way to specify a font via a local path with > font setup commands in an environment file? You can just specify your fonts in the typescript as [file:relative_path/fontname.otf]. OSFONTDIR isn’t as reliable as you need "mtxrun --script f

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

2021-08-07 Thread Henning Hraban Ramm via ntg-context
ere used in the text but the full name should appear in the index. I can provide the setup (including Lua functions), if it might help you. Can’t help with bibliographies, sorry. Hraban ___ If your question is of

[NTG-context] Referencing fonts by path within ConTeXt

2021-08-07 Thread Joey McCollum via ntg-context
to the local fonts directory and then invokes ConTeXt to typeset the project-level file, but I was wondering if there is an easier way to do this from within ConTeXt. Specifically, is there a way to specify a font via a local path with font setup commands in an environment file? Thank you! Joey

[NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
] %undo default page numbering in middle of header; doublesided option will ensure that the document has an even number of pages %Define an odd page break between books that omits headers and footers in blank pages \definepagebreak[blankpagebreak][yes,header,footer,right] %Setup body and

Re: [NTG-context] Different Styles of Typing

2021-07-29 Thread Hans Hagen via ntg-context
On 7/28/2021 10:12 PM, Wolfgang Schuster wrote: 2. Rather than adding a additional argument to \starttyping etc. provide a \startnamedtyping with a mandatory argument with the name of the instance. ok, but i do need to check the before/after wrt setup To save a few lines of code a flag (e.g

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Henning Hraban Ramm
re a way to have every odd row of every table in my document > have color background? As far as I can see, only via “styles” that you can setup with \definextable: https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf Hraban __

[NTG-context] LMTX: some alignment issues

2021-07-23 Thread Gerben Wierda
[still working to somewhat reproduce my old mkii setup in LMTX] The following is a minimal example that shows the following: context test2.tex results in The first line after the initials not as much indented as it should be Character protrusion in a footnote does not work (see “refer

Re: [NTG-context] TrueType font styles suddenly not found anymore

2021-07-23 Thread Gerben Wierda
That fixed it. Thanks. G On 23 Jul 2021, at 13:22, Wolfgang Schuster wrote: > > Gerben Wierda schrieb am 23.07.2021 um 12:35: >> My font setup is like this: >> [...] >> Now, both worked earlier today. But I’ve lost the old Optima font somehow. >> I

Re: [NTG-context] TrueType font styles suddenly not found anymore

2021-07-23 Thread Wolfgang Schuster
Gerben Wierda schrieb am 23.07.2021 um 12:35: My font setup is like this: [...] Now, both worked earlier today. But I’ve lost the old Optima font somehow. If I now try —mode=OPTIMA I get: selectfont      > the requested font 'Optima' has no files for the 'tf' alternative, Latin Mod

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