[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Bruce Horrocks
ibrary $ cd $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint $ ln -s /usr/local/Cellar/zint/2.12.0/lib/libzint.dylib libzint.so 3) Then $ cd ~ $ mtxrun --generate 4) and the sample file \usemodule[zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Hans Hagen via ntg-context
Carlos, > On 8/20/2023 6:41 PM, Wolfgang Schuster wrote: And now it gets even worse, see https://meeting.contextgarden.net/2021/talks/2021-09-21/starttext.pdf why \starttext is necessar And watch how \startTEXpage is defined. It clearly explains why that works without. Also watch how \

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Hans Hagen
etty petty betty. I know it's hard to teach an ol' dog new tricks, but… it's worth to try! right? Please explain why this example (which is a valid ConTeXt document) works Opening a group with \starttext makes no sense because there is nothing after \stoptext. The possibil

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Wolfgang Schuster
etty petty betty. I know it's hard to teach an ol' dog new tricks, but… it's worth to try! right? Please explain why this example (which is a valid ConTeXt document) works Opening a group with \starttext makes no sense because there is nothing after \stoptext. The possibil

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Carlos
es now. > > > > So I suggest you to save those keystrokes for other tasks. Not those, > > petty petty betty. I know it's hard to teach an ol' dog new tricks, > > but… it's worth to try! right? > > Please explain why this example (which is a valid ConT

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Wolfgang Schuster
ght? Please explain why this example (which is a valid ConTeXt document) works begin example \starttext \starttext \stoptext \stoptext end example but this doesn't. %%%% begin example \starttext \startt

[NTG-context] backend not forcing 1000 width units on fonts; em size must be applied or else fails

2023-08-20 Thread Carlos
end with any font other than latin modern > > Here > > \setupbodyfont[stixtwo] > > > \setuplayout[width=16cm] > \showmakeup > > \starttext > > Thus, I came to the conclusion that the designer of a new > system must not only be the implementer and

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
styles that have the smcp feature, but I don't like having to redefine a system command. So the questions are: 1) Is there a recommended\better way to get \sc to work across all styles? \setupbodyfont[pagella] \starttext \tf Upright, \it Italic, \bf Bold and \bi Bolditalic \style[

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Wolfgang Schuster
have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6] \setupquotation[method=text] \starttext „Originalgenie“ „Originalgenie“ „Originalgenie“ \quot

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Wolfgang Schuster
\sc{\addff{smallcaps}} This works for all styles that have the smcp feature, but I don't like having to redefine a system command. So the questions are: 1) Is there a recommended\better way to get \sc to work across all styles? \setupbodyfont[pagella] \starttext \tf Upright, \it I

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Mikael Sundqvist
gt; > Not in my end with any font other than latin modern Here \setupbodyfont[stixtwo] \setuplayout[width=16cm] \showmakeup \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first large||scale user; the designer should also write

[NTG-context] hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
Hi, is this a limitation or a bug? Text inside \quotation{} is not hyphenated. It appears to be like this for a couple of versions, but I'm not sure if it has always been the case. Silly example to test: \mainlanguage [de] \setuppapersize [A6] \setupbodyfont [14pt] \star

[NTG-context] Enable interaction on custom apa cite variant

2023-08-19 Thread Jethro Djan
style=normal, number=no, ] \starttext \startdefinition{\cite[righttext={{ p.\nbsp 1}}, alternative=theorem][burago2022course]} This is something \stopdefinition \startsubject[title={References}] \placelistofpublications \startsubject \stoptext The problem with this is that the citation i

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Carlos
ou see the attachment I sent prior to your message? > 2. The example below results in a correct output for \TEX. > Not in my end with any font other than latin modern > \setuplayout[width=16cm] > \showmakeup > > \starttext > > Thus, I came to the conclusion that the de

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
is to put the table together piece by piece with the collecting mechanism which collect parts of the table until you flush the whole collection at the end with the \stopcollecting command. \starttext \bTABLE \startcollecting \startcollect \bTABLEbody \stopcollect \startcollect \bTR \bTD Cell

[NTG-context] unsubscribe

2023-08-18 Thread Thomas Floeren via ntg-context
of >>> consistency. And this ought not to be an ‹either› ‹or› scenario. But >>> rather, an and conjunctional construct. It fails both ways. >> >> Consistency of what? Spacing? Where? Can you make a complete example? >> (You can show space amount with \showmakup[

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Wolfgang Schuster
Hi, 1. Learn to two provide a working minimal example which shows the problem. 2. The example below results in a correct output for \TEX. \setuplayout[width=16cm] \showmakeup \starttext Thus, I came to the conclusion that the designer of a new system must not only be the implementer and

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
owmakeup displays: .SP:10.945 If rather than for example with: .SP:5.235 OnceSP:3.926 theSP:3.926 initial SP:3.926 designSP:3.926 is and :3.586 THK:-1.853 H__E X HK:-1.390 SP:3.586 sig­RH:0.000 IR:0.000 RS:0.000 LH:0.000 H__nificantlyLS:0.000BS:6.565 and here's your ex

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
oning commands, like \bTABLEhead, \eTABLEhead, bTABLEbody or \eTABLEbody: it seems impossible to incapsulate them into lua functions. For example, the following is not compiled: \starttext \bTABLE \ctxlua{context.bTABLEbody()} \bTR \bTD Cell 1\eTD \bTD Cell 2\eTD \eTR \ctxlua{context.eTABLEbody()} \e

[NTG-context] Table head/body via lua

2023-08-18 Thread Alexey Kryukov
Ebody or \eTABLEbody: it seems impossible to incapsulate them into lua functions. For example, the following is not compiled: \starttext \bTABLE \ctxlua{context.bTABLEbody()} \bTR \bTD Cell 1\eTD \bTD Cell 2\eTD \eTR \ctxlua{context.eTABLEbody()} \eTABLE \stoptext Can anybody suggest a worka

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
Denis \startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwid

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
Denis \startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwid

[NTG-context] Penalties and overprinting in tabulate

2023-08-18 Thread denis.maier
lties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p|] \NC asdf \NC a asdf asdf asdf asdf asdf asd

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
fficient. \setuppapersize[A7] \setbreakpoints[compound] \starttext \startlines[style=mono] 1. Thisisthetruth:waste-not-want-not 2. Thisisthetruth:waste/not/want/not 3. Thisisthetruth:waste+not+want+not 4. Thisisthetruth:waste(not(want(not)) 5. Thisisthetruth(waste)not)want)not \

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Wolfgang Schuster
tuppapersize[A7] \setbreakpoints[compound] \starttext \startlines[style=mono] 1. Thisisthetruth:waste-not-want-not 2. Thisisthetruth:waste/not/want/not 3. Thisisthetruth:waste+not+want+not 4. Thisisthetruth:waste(not(want(not)) 5. Thisisthetruth(waste)not)want)not \stoplines \sto

[NTG-context] breakpoints in verbatim text

2023-08-17 Thread Alex Leray
Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Is there a way to achieve this? Below is my test code. Thanks, Alex * * * \setuppapersize[A7] \setbreakpoints[compound] \starttext 1. Th

[NTG-context] Re: Optical scaling in Latin Modern

2023-08-17 Thread Vincent Hennebert
an inconsistency in the design size selection: \setupbodyfont[modern-designsize,12pt] \starttext This text is typeset in LMRoman12.\par {\tfa This text should be typeset in LMRoman12 but LMRoman10 is being used instead.} \stoptext If I understand the font selection algorithm

[NTG-context] Vebatim text: Preserve empty lines

2023-08-16 Thread Alex Leray
Hello, is there a way to preserve empty lines in typing env? By default it is removing them. Thanks * * * \definetyping[custom] \setuptyping[custom][ space=normal, lines=yes, tab=4, ] \starttext \startcustom Foo Bar Baz \stopcustom \stoptext

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Aditya Mahajan
picture should allow optional arguments. The following works correctly for me with ver 2023.07.18: \usemodule[tikz] \usetikzlibrary[patterns] \starttext \starttikzpicture[scale=0.75] % recipient \draw (0,0) -- (0,10) -- (2,10) -- (2,0) -- cycle; % aigua \fi

[NTG-context] Re: new align option

2023-08-16 Thread Hraban Ramm
explain? Hraban Am 15.08.23 um 22:31 schrieb Hans Hagen via ntg-context: Hi, Especially for long verbatim lines we now can do this: \starttext \setupalign[hangright] \starttyping test test test test test test test test test test test test test test test test test test test test test test

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Xavier B.
gt; > problem to several "wrong" files. > > One was trivialy fixed because I did not close one environment, but other > > don't. Please help: > > 1. You need \starttext and \stoptext at the begin and end of your > example file. > > 2. You f

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Wolfgang Schuster
Xavier B. schrieb am 16.08.2023 um 00:12: Thanks. After some work on it, following your advice, I reduce the compilation problem to several "wrong" files. One was trivialy fixed because I did not close one environment, but other don't. Please help: 1. You need \starttext a

[NTG-context] new align option

2023-08-15 Thread Hans Hagen via ntg-context
Hi, Especially for long verbatim lines we now can do this: \starttext \setupalign[hangright] \starttyping test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread Pablo Rodriguez
On 8/15/23 21:48, vm via ntg-context wrote: > [...] > A different approach is to use \dontleavehmode In that case, \dorecurse is your friend, such as in: \starttext \startTEXpage[offset=10mm, pagestate=start] \dorecurse{5}{ \dontleavehmode \framed[frame=off]{\externalfigure[p1-4_4-01-56-

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread Hans Hagen via ntg-context
re is probably a reason for this to happen, but how to avoid it ? .Floris [MWE] \starttext \startTEXpage[offset=10mm, pagestate=start] \startcombination[nx=3, ny=5] \startcontent\externalfigure[p1-4_4-01-56-25-015.png][height=.2\textwidth,width=.2\textwidth]\stopcontent \startcontent\externalfigu

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Pablo Rodriguez
al error: return code: 1" is a error message from the console), it might be a started command not closed, such as in: \starttext \startitemize \item a \stoptext Just in case it might help, Pablo __

[NTG-context] [ odd spacing ]

2023-08-15 Thread vm via ntg-context
Placing identical images in a n x m grid shows extra space every two rows. Also the vertical and horizontal spaces are different. There is probably a reason for this to happen, but how to avoid it ? .Floris [MWE] \starttext \startTEXpage[offset=10mm, pagestate=start] \startcombination[nx

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
x27;entorn > \environment ng-entorn-minimal.conTeXt > \environment ng-entorn-taules.conTeXt > \environment ng-entorn-teoria.conTeXt > \environment ng-entorn-colors.conTeXt > > % bibliografia > \usebtxdataset[default][ng-bibliografia.bib] > \setupbtx[dataset=default] >

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
btxdataset[default][ng-bibliografia.bib] \setupbtx[dataset=default] \usebtxdefinitions[aps] % el text \starttext \startfrontmatter \input ng-pre-portada.conTeXt \input ng-pre-llicencia.conTeXt \input ng-pre-informacio-document.conTeXt \completecontent \stopfrontmatter \startbodymatter \start

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
Xavier B. schrieb am 15.08.2023 um 00:03: Now     - \startexercici[]{}  --> \startexercici[reference=...,title=...] with LMTX this \startitemize \sym{\in[REFERENCE]} \stopitemize does not work. You have to provide a example for the error because it works for me. \startt

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:44:44 CEST schrieb Mikael Sundqvist: > Hi, > > I do not understand what you want to have, so here is just something > weird, but probably you look for simplealign. > > \definemathsimplealign > [whatever] > > \starttext > \startformu

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen: > On 8/14/2023 1:16 PM, Gerion Entrup wrote: > > Hi, > > > > I try to typeset a nested align in a formula. However, the results looks > > really wrong. Here is a MWE: > > > > ``` > > \st

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Mikael Sundqvist
Hi, I do not understand what you want to have, so here is just something weird, but probably you look for simplealign. \definemathsimplealign [whatever] \starttext \startformula \startalign \NC a = \NC (b, c) \quad \mtext{with}\NR \NC \NC \startwhatever \NC b \NC = something \NR \NC c \NC

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Hans Hagen
On 8/14/2023 1:16 PM, Gerion Entrup wrote: Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign

[NTG-context] Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign \NC b \NC

[NTG-context] side-by-side paragraphs broken?

2023-08-13 Thread Thomas A. Schmitz
] [2] [rulethickness=2mm,rulecolor=gray,rule=on,tolerance={stretch,verytolerant}] \starttext \startHalf \input ward \nextHalf \input knuth \stopHalf \stoptext ___ If your question is of interest to others as well

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Xavier B.
The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). Xavier On Fri, 11 Aug 2023 21:38:00 +0200 "Xavier B." ha escrit: > If you run > > \starttext > > Lorem ipsum dolor sit amet, consectetur adipiscing elit,

[NTG-context] Re: Pass string into text background graphic

2023-08-11 Thread Hans Hagen
\xmlatt{\getvariable{div}{concurrent}}{data-title}% \blank[big]% \setMPtext{concurrent}{\xmlatt{\getvariable{div}{concurrent}}{data-title}} \startTextConcurrentFrame}, after={\stopTextConcurrentFrame\blank[big]}, ] \starttext \xmlprocessbuffer{main}{demo}{}\stoptext %

[NTG-context] Pass string into text background graphic

2023-08-11 Thread Thangalin
{\xmlatt{\getvariable{div}{concurrent}}{data-title}} \startTextConcurrentFrame}, after={\stopTextConcurrentFrame\blank[big]}, ] \starttext \xmlprocessbuffer{main}{demo}{}\stoptext % EOT If I change the following line: legend := \MPstring{concurrent}; to: legend := "some string"

[NTG-context] Re: Why overbar is so big

2023-08-11 Thread Thangalin
Looks fine to me. Current version: 2023.08.10 02:59 Running on Linux. What fonts are you using? On Fri, Aug 11, 2023 at 12:38 PM Xavier B. wrote: > If you run > > \starttext > > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod > tempor incididunt u

[NTG-context] Why overbar is so big

2023-08-11 Thread Xavier B.
If you run \starttext Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit

[NTG-context] Re: How to override parts of a typescript

2023-08-11 Thread Hans Hagen
] \definefontsynonym [SerifBoldItalic] [file:SourceSerif4-BoldIt] [features=default] \stoptypescript \setupbodyfont[source] \starttext I want this text to be typeset in Adobe Source Serif. \stoptext Then I get what I want. The question is: can I move the \start

[NTG-context] How to override parts of a typescript

2023-08-11 Thread Vincent Hennebert
-BoldIt] [features=default] \stoptypescript \setupbodyfont[source] \starttext I want this text to be typeset in Adobe Source Serif. \stoptext Then I get what I want. The question is: can I move the \start/stoptypescript code into its own typescript file that would somehow

[NTG-context] Re: upload

2023-08-10 Thread Hans Hagen
On 8/11/2023 3:31 AM, Thangalin wrote: Did arguments regress in 2023.08.10 02:59? $ cat u.tex \starttext Feisty arguments \stoptext $ context u.tex $ ls -la *.pdf -rw-r--r-- 1 username username 6279 Aug 10 18:28 u.pdf $ context --arguments=x=y u.tex | grep error tex error > tex error

[NTG-context] Re: upload

2023-08-10 Thread Thangalin
Did arguments regress in 2023.08.10 02:59? $ cat u.tex \starttext Feisty arguments \stoptext $ context u.tex $ ls -la *.pdf -rw-r--r-- 1 username username 6279 Aug 10 18:28 u.pdf $ context --arguments=x=y u.tex | grep error tex error > tex error on line 13 in file : Use

[NTG-context] Re: xml: matches always child of other element

2023-08-10 Thread Hans Hagen via ntg-context
-2 % works \startindexentry{\xmlflush{#1}} \xmlflush{#1} \stopindexentry \stopxmlsetups \startxmlsetups xml:index-entry-term-3 % works \expanded{\indexentry{\xmlflush{#1}}} \indexentry{\xmlflush{#1}} \startindexentry{\xmlflush{#1}} \xmlflush{#1} \stopindexentry \stopxmlsetups \startbuffer[test] One

[NTG-context] Re: upload

2023-08-10 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 10.08.2023 um 16:41: On 8/10/2023 3:52 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 10.08.2023 um 15:33: I was already on the latest, and the problem persists. Here’s a MWE: """ \setupreferencing[left=,right=,] \starttext \

[NTG-context] Re: upload

2023-08-10 Thread Hans Hagen via ntg-context
On 8/10/2023 3:52 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 10.08.2023 um 15:33: I was already on the latest, and the problem persists. Here’s a MWE: """ \setupreferencing[left=,right=,] \starttext \about[something] \stoptext """ It's

[NTG-context] Re: upload

2023-08-10 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 10.08.2023 um 15:33: I was already on the latest, and the problem persists. Here’s a MWE: """ \setupreferencing[left=,right=,] \starttext \about[something] \stoptext """ It's unrelated to \about. Using nothing as argument

[NTG-context] Re: upload

2023-08-10 Thread Henning Hraban Ramm
: """ \setupreferencing[left=,right=,] \starttext \about[something] \stoptext """ tex error > tex error on line 5 in file referencetest.tex: Extra }, or forgotten \endgroup \egroup \about ...ways \let \\\space \postponenotes \referencingparameter \c!left \d

[NTG-context] Re: Map XML attributes to variables, dynamically

2023-08-10 Thread Hans Hagen via ntg-context
eeded: \namedstartstopparameter{concurrent}{title} \blank \stopxmlsetups \definestartstop [concurrent] [before=\startsection[title={TITLE: \namedstartstopparameter{concurrent}{title}}], after=\stopsection]% \starttext \xmlprocessbuffer{main}{demo}{} \sto

[NTG-context] Re: Map XML attributes to variables, dynamically

2023-08-10 Thread Hans Hagen via ntg-context
class}]\xmlflush{#1}\stop \stopxmlsetups \definestartstop[concurrent][    before={TITLE: \xmlatt{\getvariable {div} {concurrent} {title}}}, ] \starttext    \xmlprocessbuffer{main}{demo}{} \stoptext % EOT It doesn't look like the variables are taking, regardless of whether {title} or {data-

[NTG-context] Re: Map XML attributes to variables, dynamically

2023-08-10 Thread Hans Hagen
etups \definestartstop[concurrent][ before={TITLE: \xmlatt{\getvariable {div} {concurrent} {title}}}, ] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext % EOT It doesn't look like the variables are taking, regardless of whether {title} or {data-title} are used. \startxmlsetu

[NTG-context] Re: Map XML attributes to variables, dynamically

2023-08-10 Thread Thangalin
mlatt{\getvariable {div} {concurrent} {title}}}, ] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext % EOT It doesn't look like the variables are taking, regardless of whether {title} or {data-title} are used. On Thu, Aug 10, 2023 at 12:44 AM Hans Hagen wrote: > On 8/10/2023 9:10

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
displayed. \setuppagenumbering [alternative=doublesided,location=] \setupcaption[style=sans,headstyle=sans] \starttext \startchapter[title={Page Numbering Test}] \startplacetable[location={here,spit,force},title={Title?}] \starttabulate[|rp|lp|] \HL \NC tufte \NC \input tufte

[NTG-context] upload

2023-08-09 Thread Hans Hagen
Hi, I uploaded a new lmtx. There are some new features that wil be revealed in the future (likely after the meeting) but here is one: \starttext \defineoverlay [test] [\color [blue] {TEST \inframed [foregroundcolor=red] {xxx

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread Hans Hagen via ntg-context
-- iterate oiver for k,v in ipairs(results) do io.write(v..'\n') end -- closes the open file io.close(output_file) end -- Run main(arg[1], arg[2]) Ok, a little lua lesson, if you don't mind. xxx.tex \enabletrackers[hyphenation.applied] \starttex

[NTG-context] Parallel columns using start/stop setups

2023-08-08 Thread Thangalin
r=rule]}, after=\stopcolumns, ] \definestartstop[timelinea][ after=\column, ] \definestartstop[timelineb][] \starttext \startconcurrent \starttimelinea \dorecurse{5}{\input ward} \stoptimelinea \starttimelineb \dorecurse{5}{\input knuth} \stoptimelineb \stopc

[NTG-context] Re: How to make words searchable without diacritics

2023-08-07 Thread Marcus Vinicius Mesquita
right. > You can try this: > > \starttext > > \protected\def\ProofOfConcept#1#2% >{{#1\llap{\effect[hidden]{#2 > > test test \ProofOfConcept{föö}{foo} test > > \stoptext > > but forget about hyphenation (actualtext probably also doesn't

[NTG-context] Re: How to make words searchable without diacritics

2023-08-07 Thread Hans Hagen
On 8/7/2023 8:58 PM, Marcus Vinicius Mesquita wrote: @ Ulrike: This is what my client wants, and the client is always right. You can try this: \starttext \protected\def\ProofOfConcept#1#2% {{#1\llap{\effect[hidden]{#2 test test \ProofOfConcept{föö}{foo} test \stoptext but forget

[NTG-context] Re: How to make words searchable without diacritics

2023-08-07 Thread Marcus Vinicius Mesquita
passes > > okular: passes > > qpdfview: passes > > evince: passes > > Thank you for researching! I’ll include this in my viewer matrix. (But > probably not before the ConTeXt meeting.) > > > But \pdfbackendactualtext is actually just what I needed si

[NTG-context] Re: How to make words searchable without diacritics

2023-08-07 Thread Henning Hraban Ramm
other things like: \starttext what a \pdfbackendactualtext{\hyphenatedword{wonderful}}{wonderful} text \stoptext I’m not sure but I’d guess ActualText is also suitable for alternative texts (AltText) of images? Wouldn’t it make sense to have an alttext key in \externalfigure for accessibility (PDF

[NTG-context] Re: How to make words searchable without diacritics

2023-08-07 Thread Marcus Vinicius Mesquita
: passes qpdfview: passes evince: passes But \pdfbackendactualtext is actually just what I needed since it can be used also for other things like: \starttext what a \pdfbackendactualtext{\hyphenatedword{wonderful}}{wonderful} text \stoptext Best regards Marcus Vinicius On Mon, Aug 7, 2023 at 3:13 AM

[NTG-context] Re: How to make words searchable without diacritics

2023-08-06 Thread Henning Hraban Ramm
Am 06.08.23 um 20:37 schrieb Pablo Rodriguez: Hans provides this jewel in back-imp-pdf.mkxl and back-pdf.mkiv (adapter for your needs): \starttext text \pdfbackendactualtext{whatever you want}{filia} text \stoptext In any case, the PDF viewer used to search must have ActualText

[NTG-context] Re: How to make words searchable without diacritics

2023-08-06 Thread Pablo Rodriguez
That way, you could find literally “whatever you want” (being "filia" its ActualText). Hans provides this jewel in back-imp-pdf.mkxl and back-pdf.mkiv (adapter for your needs): \starttext text \pdfbackendactualtext{whatever you want}{filia} text \stoptext That being said, I think

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
persize[page, portrait][page, portrait] \definehead[poem][section] \setuphead[poem][] \definetyping[CUSTOM] \setuptyping[CUSTOM][escape={[[,]]}] \starttext \showgrid \startpoem[title={My title}][] \startCUSTOM[] \stopCUSTOM \st

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
ction={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \stoppoem \stoptext ``` I get the following traceback: ``` tex error   > tex error on line 6 in file /home/ali/work/being_human/test.tex: ! Undefined control

[NTG-context] Re: \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
e, > bf=style:regular, > bi=style:oblique, > force=yes, > rscale=1.0] > \definefontfamily [archimate] [ss] [Helvetica] > \setupbodyfont[archimate] > > \definelabelclass[phrase] > \setupphrasetext[en][sheettitle={ArchiMate® 3.2 Metamodel -- Core}] > \setupphrasetext[ru][shee

[NTG-context] \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
[sheettitle={Основні елементи метамоделі ArchiMate® 3.2}] \setupphrasetext[ua][sheettitle={Основні елементи метамоделі ArchiMate® 3.2}] \starttext \setuplanguage[uk][patterns={uk}]\mainlanguage[uk] \phrasetext{sheettitle} \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] \phrasetext{sheettitle} \setu

[NTG-context] Re: Using

2023-08-04 Thread Hans Hagen
On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][]

[NTG-context] Using

2023-08-04 Thread Alex Leray
Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \sto

[NTG-context] Re: \defineactivecharacter in LMTX + composing characters

2023-08-02 Thread Hamid,Idris
On Aug 1, 2023, 10:09 AM -0600, Hans Hagen , wrote: ** Caution: EXTERNAL Sender ** On 8/1/2023 4:18 PM, Hamid,Idris wrote: Dear gang, It appears that \defineactivecharacter does not work in lmtx: \starttext \defineactivecharacter Ḥ {\d{H}} \defineactivecharacter ḥ {\d{h}} \defineactivecharacter

[NTG-context] Re: \defineactivecharacter in LMTX + composing characters

2023-08-01 Thread Hans Hagen
On 8/1/2023 4:18 PM, Hamid,Idris wrote: Dear gang, It appears that \defineactivecharacter does not work in lmtx: \starttext \defineactivecharacter Ḥ {\d{H}} \defineactivecharacter ḥ {\d{h}} \defineactivecharacter Ṣ {\d{S}} \defineactivecharacter ṣ {\d{s}} \stoptext This should not produce

[NTG-context] \defineactivecharacter in LMTX + composing characters

2023-08-01 Thread Hamid,Idris
Dear gang, It appears that \defineactivecharacter does not work in lmtx: \starttext \defineactivecharacter Ḥ {\d{H}} \defineactivecharacter ḥ {\d{h}} \defineactivecharacter Ṣ {\d{S}} \defineactivecharacter ṣ {\d{s}} \stoptext This should not produce any typeset output but in lmtx it does

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuff

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Jacob Kauffmann via ntg-context
It comes from framedtext: \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext[strut=no]{\typebuffer[option=tex]} \stoptext Best, Jacob > Am 30.07.2023 um 21:14 schrieb Henning Hraban Ramm : > > Yet another issue: > > \typebuffer always starts with a blank li

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=t

[NTG-context] empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=t

[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
tmargindistance=-\rightmargintotal, default={inner,none,low,high}, ] \setupcaption[marginfigure][ style={\ss\tfx}, align={flushleft}, width=\leftmarginwidth, %location={innermargin,low}, ] \starttext \showframe \startplacemarginfigure[ location={inner,3*hang}, title={My caption should b

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Hans Hagen
etuptyping [MyCode] [option=tex, numbering=file] \definebuffer [MyBuffer] [category=MyCode] \setuptyping [MyBuffer] [option=TEX, numbering=file] % \setuptyping % [buffer] % [option=TEX, %numbering=file] \startMyBuffer \fakewords{10}{20} \stopMyBuffer \starttext \s

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Bruce Horrocks
"" > \usemodule[visual] > > \definetyping[MyCode] > > \setuptyping[MyCode][ > option=tex, > numbering=file, > ] > > \definebuffer[MyBuffer] > > \startMyBuffer > \fakewords{10}{20} > \stopMyBuffer > > \starttext > > \startMyCode &g

[NTG-context] combining \definetyping and \definebuffer

2023-07-29 Thread Henning Hraban Ramm
er \fakewords{10}{20} \stopMyBuffer \starttext \startMyCode \fakeword \stopMyCode \getMyBuffer \typeMyBuffer \stoptext """ Hraban ___ If your question is of interest to others as well, please add an

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
nk   25     adjustspacingstretch  50     next     classes  \indecentparpassclasses     threshold    0.025pt     adjustspacing  3     adjustspacingstep  1     adjustspacingshrink   50     adjustspacingstretch 100     \relax \stopse

[NTG-context] Key distance with enumeration

2023-07-27 Thread Fabrice Couvreur
[text=Définition, number=yes, style=italic] \defineenumeration [theorem] [text=Théorème, number=yes, style=italic] \starttext \startdefinition Un polynôme est une application de R dans R somme d'un nombre fini de monômes. \stopdefinition \starttheorem La for

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-27 Thread Pablo Rodriguez
ng, since I forgot enabling interaction in the main PDF document to generate the targets (or named destinations). \setupinteraction[state=start, focus=standard] \starttext \dorecurse{15} {\chapter[chap\recurselevel]{Chapter}} \stoptext The first line was missing yesterday. After that (

[NTG-context] Re: xml: matches always child of other element

2023-07-27 Thread denis.maier
\startbuffer[test] One Two Three \stopbuffer \starttext \xmlprocessbuffer{test}{test}{} \stoptext %% Von: denis.ma...@unibe.ch Gesendet: Montag, 24. Juli 2023 15:57 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: xml: matches always ch

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-26 Thread Pablo Rodriguez
erence (save it as main.tex): \starttext \dorecurse{15} {\chapter[chap\recurselevel]{Chapter}} \stoptext You have the file that reads the references from main.tuc and generates the inter-document links: \setupinteraction[state=start] \starttext Links to each chapter using

[NTG-context] Re: xml: matches always child of other element

2023-07-24 Thread denis.maier
3 Second 4 Third 5 6 7 \stopbuffer \starttext \xmlprocessbuffer

[NTG-context] xml: matches always child of other element

2023-07-24 Thread denis.maier
2 3 Second 1 Third 1 \stopbuffer \starttext \xmlprocessbuffer{test}{test

[NTG-context] \version[temporary] fatal error

2023-07-23 Thread Jacob Kauffmann via ntg-context
age \normalexpanded {\global \beforepage \emptytoks \expand \beforepage }\inpagebodytrue \pagebodymode \plusone \page_boxes_constructed_page_body #1#2 \normalexpand ... ... \stoptext 1 >> \version[temporary] 2 3 \starttext 4 \input{tufte} 5 \stoptext 6 A number should have bee

<    8   9   10   11   12   13   14   15   16   17   >