[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
\type {inbetween-001.tex} for an example. I don't really understand what capability the comment is referring to let alone be able to create an example demonstrating the difference. Thank you, so it looks like "location=here" is only used with \writebetweenlist to get the current p

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Bruce Horrocks
to set the \type {order} variable when %D placing a list. The \type {command} option only pushes commands into the right %D order, and \type {all} orders all entries (which might be too much). In this case %D no specific location is needed with the inbetween method. Maybe additional %D

[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
[state=start] \startbuffer[testdata] @Book{knuth1, author = {Donald E. Knuth}, title = {TEX and METAFONT. New directions in typesetting}, year = {1979}, publisher = {Addison-Wesley}, } @Article{someother, author = {Some Person and Some Otherperson}, title

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
milar to my issue--is > that still a problem? Is there a fix or workaround? Old fixes I could > finding in the mailing list don't seem to work with current versions of > ConTeXt anymore. you need to consider the complications of such notes ... - tex needs to take the notes into account when de

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Hans Hagen via ntg-context
to consider the complications of such notes ... - tex needs to take the notes into account when determining a page break - it does so by the insert mechanism - when floats can't be placed they also become inserts (top and bottom) - when there are inserts in inserts th eproblem becomes more complex (so

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
form). It is more less also > > described here [1]. > > - Highlight publications of a certain author with an extra char (e.g. > > '>') > > > > Here is a minimal example (lets assume, every occurrence of Knuth > > should be highlighted): ``` > > \setupintera

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
hted): ``` > \setupinteraction[state=start] > > \startbuffer[testdata] > @Book{knuth1, > author = {Donald E. Knuth}, > title = {TEX and METAFONT. New directions in typesetting}, > year = {1979}, > publisher = {Addison-Wesley}, > } > @Article{someo

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Henning Hraban Ramm
like the first two paragraphs. The question is “what is ConTeXt,” and the answer is “we’re not LaTeX.” And why “infamous”? I agree. It sounds the same as "we're not msword" or "we're not google docs". (In the end the only thing that latex and context have in common is t

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Hans Hagen
is “what is ConTeXt,” and the answer is “we’re not LaTeX.” And why “infamous”? I agree. It sounds the same as "we're not msword" or "we're not google docs". (In the end the only thing that latex and context have in common is that they use the tex language

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-16 Thread Henning Hraban Ramm
typesetting systems are fun, make sense or are even superior. While LaTeX is the most known of these, ConTeXt is used by a growing minority of ambitioned enthusiasts around the world. The small but active and creative community of ConTeXt users and developers is always driving TeX development

[NTG-context] Customize citation format of a bibliography (use the short form as reference format)

2024-04-15 Thread Gerion Entrup
th1, author = {Donald E. Knuth}, title = {TEX and METAFONT. New directions in typesetting}, year = {1979}, publisher = {Addison-Wesley}, } @Article{someother, author = {Some Person and Some Otherperson}, title = {Another title}, year = {1

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-15 Thread Henning Hraban Ramm
I made it work with Pulsar and the pdfjs-viewer plugin: The sourcecode of the plugin is broken but easily fixable: https://github.com/allefeld/atom-pdfjs-viewer/issues/15 Then pdf->tex works with synctex from TeX live, "--synctex=repeat" and a right click in the viewer. S

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-15 Thread Jim
2:39 AM, Jim wrote: >>>> Hi, >>>> I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my >>>> system. >>>> Recently, the stand-alone ConTeXt distribution seems to not create a >>>> synctex file any more. Specifically, >&

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-14 Thread Martin Hasoň
nly --socket "/usr/share/tex/texmf/bin/mtxrun.lua" --script mtx-context --luatex --version --redirected resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md' mtx-context | ConTeXt Process Management 1.06 mtx-contex

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Mikael Sundqvist
ibution on my > >> system. > > >> Recently, the stand-alone ConTeXt distribution seems to not create a > >> synctex file any more. Specifically, > > >> /usr/local/context/tex/texmf-linux-64/bin/context --once --texutil > >> --synctex=1 --nons

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Jim
ibution seems to not create a >> synctex file any more. Specifically, >> /usr/local/context/tex/texmf-linux-64/bin/context --once --texutil >> --synctex=1 --nonstop file.tex >> does not create a .synctex file (and deletes it, if it is there), whereas >> the TeXlive

[NTG-context] Re: Back in the 90s

2024-04-13 Thread Hans Hagen
emands we could handle all these things in an abstract way (that way one could also drive printer properties like duplex or paper bins etc from a tex job) that meant that when pdf came around we could almost immediately support most of the interactive features in a dvi -> ps -> acrobat workfl

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Hans Hagen
On 4/13/2024 12:39 AM, Jim wrote: Hi, I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my system. Recently, the stand-alone ConTeXt distribution seems to not create a synctex file any more. Specifically, /usr/local/context/tex/texmf-linux-64/bin/context --once

[NTG-context] Most recent context doesn't like synctex?

2024-04-12 Thread Jim
Hi, I have both TeXlive 2024 and the stand-alone ConTeXt distribution on my system. Recently, the stand-alone ConTeXt distribution seems to not create a synctex file any more. Specifically, /usr/local/context/tex/texmf-linux-64/bin/context --once --texutil --synctex=1 --nonstop file.tex

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Hans Hagen via ntg-context
On 4/11/2024 5:25 PM, Pablo Rodriguez via ntg-context wrote: On 4/10/24 22:28, Denis Maier wrote: [...] context --luatex --generate Thanks, Pablo. I've tried it, but it doesn't seem to work... I get the same result on Win64 when I move the luatex binary from the tex/texmf-win64/bin

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Denis Maier via ntg-context
> > On 4/10/24 22:28, Denis Maier wrote: > >> [...] > >> context --luatex --generate > > > > Thanks, Pablo. > > I've tried it, but it doesn't seem to work... > > I get the same result on Win64 when I move the luatex binary from the > tex/texmf-win64

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Pablo Rodriguez via ntg-context
On 4/10/24 22:28, Denis Maier wrote: >> [...] >> context --luatex --generate > > Thanks, Pablo. > I've tried it, but it doesn't seem to work... I get the same result on Win64 when I move the luatex binary from the tex/texmf-win64/bin/ directory. This may sound stupid

[NTG-context] Fwd: [lug-leaders] BachoTeX 2024: Last minute

2024-04-09 Thread Taco Hoekwater
Hi all, Please see the forwarded message from GUST below. Best wishes, Taco > Begin forwarded message: > > From: Jerzy Ludwichowski > Subject: [lug-leaders] BachoTeX 2024: Last minute > Date: 9 April 2024 at 14:09:09 CEST > To: tex...@tug.org, LUG boards > Reply-To:

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
On 4/7/2024 7:08 PM, Thomas A. Schmitz wrote: Hi everybody, this is bizarre, but hear me out: a file that I have has a mixture of xml, TeX and Lua. It compiles cleanly, no problem, on macos and linux. I also have a little raspberry pi on which I have installed lmtx. The file compiles

[NTG-context] Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
Hi everybody, this is bizarre, but hear me out: a file that I have has a mixture of xml, TeX and Lua. It compiles cleanly, no problem, on macos and linux. I also have a little raspberry pi on which I have installed lmtx. The file compiles, BUT: it has one additional page. The first page

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Pablo Rodriguez via ntg-context
i, dashes or whatever) is way more readable than a character combination for a ligature or a TeX command. This single-character approach also makes easier to copy and paste text to other formats. > (the question is just out of curiosity, since I plan to create a > command that adds a hairspace

[NTG-context] Re: error with \sc

2024-04-04 Thread Pablo Rodriguez via ntg-context
On 4/3/24 07:16, Peter Münster wrote: > On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > >> You shouldn't run context as root in any case. > > I don’t run context as root. But I need to erase the cache in > /opt/context/tex/texmf-cache as root, because the user doesn’t

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > You shouldn't run context as root in any case. I don’t run context as root. But I need to erase the cache in /opt/context/tex/texmf-cache as root, because the user doesn’t have the permission to do that. -- Pe

[NTG-context] Re: error with \sc

2024-04-02 Thread Pablo Rodriguez via ntg-context
y to catch it). > > Did you do that? (One way is to remove tex/texmf-cache/*) Another way is to run (since your test works fine on my laptop): mtxrun --script cache --erase && mtxrun --generate The format file will be generated in the next compilation, so it will take a bit lo

[NTG-context] Re: error with \sc

2024-04-02 Thread Mikael Sundqvist
> flushing realpage 1, userpage 1, subpage 1 > close source> level 1, order 3, name './test.tex' > backend > xmp > using file > '/opt/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' > mtx-context | fatal error: return code: 1 &g

[NTG-context] error with \sc

2024-04-02 Thread Peter Münster
rder 3, name './test.tex' backend > xmp > using file '/opt/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' mtx-context | fatal error: return code: 1 Test file: \starttext \sc test \stoptext Is this a bug, or some misconfiguration of my installation?

[NTG-context] what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. I wanted to document it, but can’t find it in the sources: $ context --find=textdisplay mtx-context | …/tex/texmf-context/doc/context/sources/general/manuals

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
ds and environments report commands to the console generate check file report the meaning of commands show the internal representation of commands replace named characters by utf preprocess mkvi files to tex files [force,suffix] use given suffix

[NTG-context] upload

2024-04-01 Thread Hans Hagen
When developing this Hans' Swedish improved a lot. {\language[sv] Den lilla del av befolkningen som handlar på IKEA och tittar på fåniga krimserier förstår kanske detta: \im {\sqrt {x + 1} = \sin(4 + y)}!} \stopbuffer \typebuffer[option=TEX] Which gives us the beautifully typeset: \startc

[NTG-context] Re: ConTeXt on RPI400

2024-03-27 Thread hf
>> Can you try the following: Delete the `texmf-cache` folder >> >> inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun >> >> --generate && context --make`? > > In principle, the two following commands should be enough: > > mtxru

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
sition (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content \setuphead[chapter][header=chapterheader] \starttext \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext _

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Pablo Rodriguez via ntg-context
On 3/26/24 18:43, Andres Conrado Montoya wrote: > Can you try the following: Delete the `texmf-cache` folder > inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun > --generate && context --make`?  In principle, the two following commands should be enough: mtxr

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Andres Conrado Montoya
Can you try the following: Delete the `texmf-cache` folder inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun --generate && context --make`? After running those two, try again, and let's see if that helps. El mar, 26 mar 2024 a las 7:25, escribió: > Hello Andres, &

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
ment for the content because I wan't the text in the middle. begin example \showframe \definetext [chapterheader] % identifier [header]% vertical position (header/footer) % [text] % horizontal position (text/margin) [This is a custom header for \tex{chapter}] % conte

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread hf
Hello Andres, I have set up the shell environment variable in my `~/.zshrc`, here it is the output of `echo $PATH` under the shell: ``` /home/hf/WORKSPACE/TOOLS/Emacs/bin:/home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

[NTG-context] Re: ConTeXt on RPI400

2024-03-25 Thread Andres Conrado Montoya
You can invoke it directly, with a complete path, and it will work even if it's not in your $PATH variable. In my personal installation I have context at `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin`, so I can call it saying `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin/context hello-world.tex

[NTG-context] ConTeXt on RPI400

2024-03-25 Thread hf
Hello, I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to typeset this simple file: ``` \starttext First tex file to make, hello, world! \stoptext ``` but the test failed: ``` $context hello-world.tex mtxrun | forcing cache reload resolvers | resolving | configuration files

[NTG-context] (again) \xmlinlineprettyprinttext double hyphens

2024-03-24 Thread Pablo Rodriguez via ntg-context
} \xmlinlineprettyprinttext{#1}{none} \stopxmlsetups \definefontfamily[mainface][tt][TeX Gyre Cursor] [features={default}] \setupbodyfont[mainface] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext Current LMTX (2024.03.11 09:34) is giving different results for double hyphens

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Wolfgang Schuster
was still in feet we decided to adapt it accordingly so now in addition it reports different values, including Theodores little feet measured by Arthur as being roughly five Ediths. Here is the fitting error message when you pass a dimension too large for TeX: Dimension too large", I can

[NTG-context] issue with \xmlinlineprettyprinttext

2024-03-20 Thread Pablo Rodriguez via ntg-context
} \stopxmlsetups \startxmlsetups xml:code \xmlprettyprinttext{#1}{none} \stopxmlsetups \startxmlsetups xml:inlinecode \xmlinlineprettyprinttext{#1}{none} \stopxmlsetups \definefontfamily[mainface][tt][TeX Gyre Cursor] [features={default, quality}] \setupbodyfont[mainface

[NTG-context] Re: command line arguments

2024-03-19 Thread Willi Egger
Hello Hraban, I puzzled a while. To me the —arguments= option does not work. I saw then on the Wiki, that one can also add documentarguments as —schema=2UP —numberofpages=16. I further changed to \startdocument … \stopdocument. Please look at the attached file Willi impositiontest-2.tex

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
d]{\bf #1}\autoinsertnextspace} … \startsection[title=Lists] \TODO{Research the options of \tex{setupitemgroup}!} \stopsection … \startchapter[title=Work list]   Sections that still need work.\blank  \placetodos \stopchapter So I get a prominent marker in the content and the title of the affected section a

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-18 Thread Hans Hagen
. Unfortunately, it seems that the maintainer feels that if we can't deal with cmyk profiles, we shouldn't have cmyk at all. I don't agree, but that's where it ended. (I was arguing for plain TeX support at the time in the linked^2 message, but I was able to add the definition for cmyk to my own macro

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-17 Thread Jim
preferable to first check if tikz >>> maintainers are willing to merge them upstream. >> Unfortunately, it seems that the maintainer feels that if we can't deal >> with cmyk profiles, we shouldn't have cmyk at all. I don't agree, but >> that's where it ended. (I was arguing fo

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-16 Thread Hans Hagen
shouldn't have cmyk at all. I don't agree, but that's where it ended. (I was arguing for plain TeX support at the time in the linked^2 message, but I was able to add the definition for cmyk to my own macro file, so I was able to process examples with cmyk colours.) What does the maintainer mean

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-16 Thread Jim
he context color mechanism so be careful with > patches. I'm not going to spend time on other solutions that can interfere > with internals. Thanks Hans, I was not familiar with those. The above code worked fine for me in plain TeX (the last time I used it, anyway). By the looks of things, Max ha

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-16 Thread Jim
files, we shouldn't have cmyk at all. I don't agree, but that's where it ended. (I was arguing for plain TeX support at the time in the linked^2 message, but I was able to add the definition for cmyk to my own macro file, so I was able to process examples with cmyk colours.)

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
mailman3/lists/ntg-context.ntg.nl webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror) archive :https://github.com/contextgarden/context wiki :https://wiki.contextgarden.net ___system > system >

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-14 Thread Jim
t currently work properly. This is > internally used by "\usepgfplotslibrary[colorbrewer]" among others. > See https://github.com/pgf-tikz/pgf/pull/1130 . > Thanks, > -- Max > diff --git a/tex/generic/pgf/utilities/pgfutil-context.def > b/tex/generic/pgf/utilities/p

[NTG-context] PDF, runner, and TikZ patches

2024-03-14 Thread Max Chernoff
erly. This is internally used by "\usepgfplotslibrary[colorbrewer]" among others. See https://github.com/pgf-tikz/pgf/pull/1130 . Thanks, -- Max diff --git a/tex/generic/pgf/utilities/pgfutil-context.def b/tex/generic/pgf/utilities/pgfutil-context.def index eddab09ab..66edb0980

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
PDF images in *.tex file output. JP Le 13/03/2024 à 09:16, Henning Hraban Ramm a écrit : Am 12.03.24 um 23:59 schrieb seyal zavira: You are correct. when i convert this svg to pdf via inkscape it works like a charm. But what is standard way of including an svg file with context if we

[NTG-context] Creating a module for calligraphy practice templates

2024-03-12 Thread Andres Conrado Montoya
recommendations. 3. I'm including in my module the code of the file hatching.mp that can be found at https://ctan.org/tex-archive/graphics/metapost/contrib/macros/hatching. I did this for portability reasons, since it's less than 70 lines and has not been updated in 20 years. But if it's better to have

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
\NC d \NC= e + f \NR[+] \NC g \NC= h + i \stopalign\stopformula \samplefile{knuth} \section{“I expect to see \tex{noalign} only after the \tex{cr} of an alignment.”} \starttyping \samplefile{knuth} \startformula \text{something} + \text{really} + \text{really} + \t

[NTG-context] Re: How can I do this?

2024-03-10 Thread Otared Kavian
exchanging parts of a file with people using Plain TeX or LaTeX, it is more standard. Best regards: Otared > On 10 Mar 2024, at 10:16, Hans Hagen via ntg-context > wrote: > > On 3/8/2024 6:36 PM, Henning Hraban Ramm wrote: >> Am 08.03.24 um 17:56 schrieb Otared Kav

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen
. \enableexperiments[fonts.compact] \definefontfamily[mainface][rm][TeX Gyre Termes]   [it={style:regular, features:{default,slanted}},    sl={style:regular, features:{default,slanted}}] \setupbodyfont[mainface] \starttext \startstyle[style=italic]normal {\em emphasized} normal\stopstyle \stoptext

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
produces but this nothing which can't be > fixed. > 3. To fix the problems someone has to be passionate to fix them and we're > willing to help here. > As you can see in my second example file japanese.tex there is a font feature > to create half sized parentheses

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Wolfgang Schuster
[mainface][rm][TeX Gyre Termes] [it={style:regular, features:{default,slanted}}, sl={style:regular, features:{default,slanted}}] \setupbodyfont[mainface] \starttext \startstyle[style=italic]normal {\em emphasized} normal\stopstyle \stoptext The only way to mask the effect is to create a new

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
n when you switch back to the upright style. \enableexperiments[fonts.compact] \definefontfamily[mainface][rm][TeX Gyre Termes] [it={style:regular, features:{default,slanted}}, sl={style:regular, features:{default,slanted}}] \setupbodyfont[mainface] \starttext \tf h\showcurrentfont[]\

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Henning Hraban Ramm
Am 08.03.24 um 18:50 schrieb Pablo Rodriguez via ntg-context: Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 08.03.2024 um 18:50: Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality

[NTG-context] \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality}, it={style: regular, features:{default, quality, slanted}}, sl={style

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-07 Thread Wolfgang Schuster
\or \the\numexpr#1+4\relax % remainder = 1 \or \the\numexpr#1+3\relax % remainder = 2 \or \the\numexpr#1+2\relax % remainder = 3 \fi} Now it is clearer to me (although I need some time to learn from it). When you use \numexpr to perform arithmetic in TeX it is recommended to add

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
answered before, Wolfgang. I’m afraid I don’t get how \ifcase is deployed with as conditional (being \ifcase used to give numbers for weekdays or months). The \ifcase command is the TeX version of a switch statement from other programming languages. The first case in \ifcase checks against zero

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
whether this requires a minimal sample to be fixed. Many thanks for your help, Pablo tex error > tex error on line 0 in file : Argument of \D9>:title has an extra } \par } \prerolltostring #1->\beginlocalcontrol \setbox \b_syst_boxes \hbox {\expand \everypreroll #1

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-04 Thread Hans Hagen via ntg-context
On 3/3/2024 11:54 AM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-04 Thread Hans Hagen via ntg-context
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em

[NTG-context] issue mixing font features (LMTX & MkIV)

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted, quality}}, bf={style: regular, features:{default, boldened-30

[NTG-context] issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg } \stoptext Using current latest from both

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
; > would hold the expected 45 lines, and not 44 lines as it is doing now. > > Ruby characters in the first line should protrude the box, what they > > already do. > > I tried to implement the 1em hskip of the header and footer away from > > the page border. While it works

[NTG-context] Re: Japanese

2024-03-01 Thread Wolfgang Schuster
border. While it works for left aligned headers and footers, it doesn't for the right aligned headers and footers (negative hskip has no effect). How to solve this problem? Do you a proper example of the layout? Setting a few values is not enough because TeX doesn't work the way you need

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
ements, please accept my apology. I > > tried to be of help as far as I could. I grew up in Japan and know more or > > less how typeset text should look like. > > Emanuel > > It would be nice if you can put your notes above into > https://wiki.contextgarden.net/Chine

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
Hi, In Korea, LaTeX is popular rather than ConTeXt since mathematicians initiated the use of TeX in Korea and they use LaTeX mainly. But right now, there are so many non-math people who developed many things for Korean & LaTeX. Many years ago, Hans and Taco visited the seminar held by

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
>> \definefontfamily[JapaneseFont][ss][Noto Serif JP] > >> [ it={style:regular,features:{*,slanted}}, > >> sl={style:regular,features:{*,slanted}}, > >> bi={style:bold,features:{*,slanted}},force=yes] > >> > >> \definefontfamily[JapaneseFont][tt][Noto Serif J

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
={style:bold,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Pagella Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] \setupbodyfont[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
={style:regular,features:{*,slanted}},       bi={style:bold,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Pagella Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] \setupbodyfont

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-28 Thread fv leung
the limits to go always below, never below or below in > display, respectively. > > /Mikael > > On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote: > > > > > > \starttext > > % copy from wiki > > \definemathcommand[lcd][nolop]{\mfunction{lcd}} > &g

[NTG-context] Re: Japanese

2024-02-27 Thread Otared Kavian
,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Pagella Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] \setupbodyfont[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-27 Thread Mikael Sundqvist
py from wiki > \definemathcommand[lcd][nolop]{\mfunction{lcd}} > > With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothing)! > > \stoptext > ___ > If your question is of interest to ot

[NTG-context] \mfunction does not work with the latest upload

2024-02-27 Thread fv leung
\starttext % copy from wiki \definemathcommand[lcd][nolop]{\mfunction{lcd}} With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothing)! \stoptext ___ If your question is of interest to others as well

[NTG-context] Re: Japanese

2024-02-27 Thread Jeong Dal via ntg-context
,force=yes] \definefontfamily[notoFont][tt][Noto Sans Mono CJK KR] [ it={style:regular,features:{*,slanted}}, sl={style:regular,features:{*,slanted}}, bi={style:bold,features:{*,slanted}},force=yes] \definefontfamily[notoFont][math][Tex Gyre Termes Math] %\definefontfamily[notoFonts][math

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
? HTH Thomas On 26. Feb 2024, at 13:32, Jean-Pierre Delange wrote: Dear list, When handling the preamble to a document in which I would like to treat the text in French, with sometimes italics text and phrases in ancient Greek, I encounter the following difficulty: if I use TeX Gyre Pagella

[NTG-context] Re: Issue with italics

2024-02-26 Thread Thomas A. Schmitz
s text and phrases in ancient Greek, I > encounter the following difficulty: > if I use TeX Gyre Pagella as the main font, everything works fine, except for > the Ancient Greek text, which I don't like the look of. But the Greek text is > displayed, as are the French italics. On the

[NTG-context] Re: Issue with italics

2024-02-26 Thread Denis Maier via ntg-context
> > > Dear list, > > > > When handling the preamble to a document in which I would like to > > treat the text in French, with sometimes italics text and phrases in > > ancient Greek, I encounter the following difficulty: > > if I use TeX Gyre Pagella as the main

[NTG-context] Re: Issue with italics

2024-02-26 Thread Denis Maier via ntg-context
k, I > encounter the following difficulty: > if I use TeX Gyre Pagella as the main font, everything works fine, except for > the > Ancient Greek text, which I don't like the look of. But the Greek text is > displayed, as are the French italics. On the other hand, if I use GFS

[NTG-context] Issue with italics

2024-02-26 Thread Jean-Pierre Delange
Dear list, When handling the preamble to a document in which I would like to treat the text in French, with sometimes italics text and phrases in ancient Greek, I encounter the following difficulty: if I use TeX Gyre Pagella as the main font, everything works fine, except for the Ancient

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Henning Hraban Ramm
Am 26.02.24 um 12:22 schrieb Roger Mason: resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr/home/rmason/context/tex/texmf-freebsd-amd64' resolvers

[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello, Henning Hraban Ramm writes: > > I guess you’re lacking the main distribution package. > > My installation (tree -dL 4, partly shortened): > > . > ├── bin (installation only) > └── tex > ├── texmf-cache (necessary, but auto-created?) >

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
Thank you for your interest, Aditya. The error was kindly fixed by Hans introducing the following fix at line 993 in tex/texmf-context/tex/context/base/mkxl/back-exp-imp-mth.lmt: function extras.msubsup(di,element,n,fulltag) local data = di.data local nuc = found(data

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
cks > order disturbed floatblocks > '52' placed (force) pages > flushing realpage 138, userpage 138, subpage 138 close source> level 2, order 29, name 'include/content/Aplicación-prueba-ji-cuadrado.tex' pages > flushing realpage 139, userpage 139, subpage 139

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
il.com>) escribió: > >> I keep bumping into this error, I have no idea what may be causing it, in >> a statistics book with lots of math: >> >> registered function call [250]: >> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to >>

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm
Am 25.02.24 um 20:24 schrieb Roger Mason: Hello Hraban, Henning Hraban Ramm writes: Am 25.02.24 um 17:08 schrieb Roger Mason: Do I need mtxrun? If so, where are the sources and how do I build it? Yes, you need it, but it’s just an alias to luametatex: ~/context/tex/texmf-osx-64/bin

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
onr...@gmail.com>) escribió: > I keep bumping into this error, I have no idea what may be causing it, in > a statistics book with lots of math: > > registered function call [250]: > ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to > index a nil value (local

[NTG-context] Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
I keep bumping into this error, I have no idea what may be causing it, in a statistics book with lots of math: registered function call [250]: ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to index a nil value (local 'a2') I have checked everything. I have tried

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Hraban, Henning Hraban Ramm writes: > Am 25.02.24 um 17:08 schrieb Roger Mason: >> Do I need mtxrun? If so, where are the sources and how do I build >> it? > > Yes, you need it, but it’s just an alias to luametatex: > > ~/context/tex/texmf-osx-64/bin $ ll &

  1   2   3   4   5   6   7   8   9   10   >