[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
environment collects the content of the table cell-wise which means when TeX sees a \bTD in the input it reads the following text until it finds the corresponding \eTD. When you put the \eTD in the definition of another command the scanner will never find the end of a cell and you either run out

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Wolfgang Schuster
page with \par 1..10 -> the notes 1..11 \par 11..20 -> the notes 12..21 \par 21..30 -> the notes 32..31 ... is this expected standard? i'd expect \par and notes synced on page. 1..10 -> 1..10 TeX was still on page 1 to collect text when it put note 11 into the buffer fo

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Hans Hagen
using lua, and the tex macro \pagenumber is unreliable near pagebreaks. Furthermore, it would be helpful to know if there is a way to access the position and sizes of figures at the end. you have to provide some mwe so that we can see what is intended; in principle much info is available one way

[NTG-context] LUA API for page numbers

2024-05-21 Thread Luc Chabassier
. To know where the ideal placement should be (if they do not interact with each other), I use lua to insert a latelua whatsit that uses lpdf.getpos() to get the coordinate on the rendered page. However, I haven't found a way to get the page number using lua, and the tex macro \pagenumber

[NTG-context] index sort order (de)

2024-05-14 Thread Henning Hraban Ramm
no sense to have a default setting that doesn’t adhere to the official rules. If Û#m not mistaken it’s also the same as DIN 5007-1; maybe there was a difference before 2005. (DIN 5007-2 and de-AT have their uses.) The order of umlauts etc. should be ok. [ß] In tex/context/base/mkiv/sort-

[NTG-context] [installation] "unzipping" gives 0K files on windows

2024-05-14 Thread yashpalgoyal1304+ntgcontext
files of 0B * similarly the `texmf-context` dir tree matches [`texmf-context.zip`] (~115MB), but again, all the `colors`, `context`, `doc`, `tex`, `web2c` are shown as 0B files rather than being dirs * also the `texmf-win64/bin/` contains a link-file (broken) of 0B with its name in chinese: `畬浡瑥瑡硥攮數

[NTG-context] Re: Hbox error with itemized list on second page

2024-05-14 Thread Ross Schulman
oint, >> and setting `\testpage` as high as 6 is not fixing the problem. Is there >> something else I can/should try? > > For the start you can show us a minimal example with the problem. > > When you're still trying to create a paragraph with different text widths > ther

[NTG-context] Re: Hbox error with itemized list on second page

2024-05-14 Thread Wolfgang Schuster
` as high as 6 is not fixing the problem. Is there something else I can/should try? For the start you can show us a minimal example with the problem. When you're still trying to create a paragraph with different text widths there are limitations. TeX always typesets more text than it can fit

[NTG-context] Re: applying style to frame content

2024-05-14 Thread Wolfgang Schuster
't apply commands which take arguments (like \Mystyle) to pass content fro TeX to Metapost with the style key. The only solution here is to create a new commands which takes the content as argument and combine the frame and shade in the command definition. \defineframed[Myframe][frame=off] \start

[NTG-context] Re: Fwd: outlinetext broken?

2024-05-14 Thread Hans Hagen via ntg-context
Hans! Thank you for the update! I'm curious about the following issue: when I use Latin Modern (by default), a thick, filled line is drawn next to the radical. However, when I use another font such as TeX Gyre Schola, I get something similar to outlines-003.pdf, which is, in turn, similar to the result

[NTG-context] Fwd: outlinetext broken?

2024-05-13 Thread Jairo A. del Rio
next to the radical. However, when I use another font such as TeX Gyre Schola, I get something similar to outlines-003.pdf, which is, in turn, similar to the result of applying PDF effects. So, shouldn't this result be the default? Thanks a lot again. Best regards, Jairo El sáb, 11 may 2024 a la(s

[NTG-context] Re: outlinetext broken?

2024-05-11 Thread Jairo A. del Rio
quot;\mathematics{\sqrt{2}-1}")(withcolor black withpen > currentpen) scaled 1; > \stopMPpage > > fails (radicals are not drawn at all). As for context --version, > > mtx-context | ConTeXt Process Management 1.06 > mtx-context | > mtx-context | main contex

[NTG-context] Re: Hbox error with itemized list on second page

2024-05-08 Thread Ross Schulman
g to do with my \definelayout >>> > for the second (and subsequent) pages, but I can't figure it out for >>> > sure. What is happening is that whichever bullets are at the top of the >>> > second page are being wrapped as if they were appearing on the first

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-07 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 07.05.2024 um 19:40: On 5/6/24 22:45, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 06.05.2024 um 20:06: Dear list, I have the following sample: \definefontfamily[mainface][tt][TeX Gyre Termes] Apply the none feature when

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-07 Thread Pablo Rodriguez via ntg-context
On 5/6/24 22:45, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 06.05.2024 um 20:06: >> Dear list, >> >> I have the following sample: >> >> \definefontfamily[mainface][tt][TeX Gyre Termes] > > Apply the none featu

[NTG-context] Re: Hbox error with itemized list on second page

2024-05-06 Thread Ross Schulman
out >> > for the second (and subsequent) pages, but I can't figure it out for >> > sure. What is happening is that whichever bullets are at the top of the >> > second page are being wrapped as if they were appearing on the first >> > page, which has a different la

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-06 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 06.05.2024 um 20:06: Dear list, I have the following sample: \definefontfamily[mainface][tt][TeX Gyre Termes] Apply the none feature when you set the monospace font, i.e. \definefontfamily[...][tt][...][features=none] Wolfgang

[NTG-context] weird \inlinetypebuffer interaction

2024-05-06 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][tt][TeX Gyre Termes] \setupbodyfont[mainface] \starttext \startbuffer context --purgeall \stopbuffer inline \typeinlinebuffer block: \typebuffer \stoptext As long as there is no defined font family for mono

[NTG-context] outlinetext broken?

2024-05-04 Thread Jairo A. del Rio
in context file: /usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2024.04.01 08:59 mtx-context | main context file: /usr/local/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2024.04.01 08:59

[NTG-context] Re: Hbox error with itemized list on second page

2024-04-30 Thread Ross Schulman
the > > second page are being wrapped as if they were appearing on the first > > page, which has a different layout structure. > > > > I've pasted a sanitized version of the tex file below. Any assistance > > would be greatly appreciated! > > > > Thanks,

[NTG-context] Re: Hbox error with itemized list on second page

2024-04-30 Thread Wolfgang Schuster
(and subsequent) pages, but I can't figure it out for sure. What is happening is that whichever bullets are at the top of the second page are being wrapped as if they were appearing on the first page, which has a different layout structure. I've pasted a sanitized version of the tex file below. Any

[NTG-context] Re: Font switching for titles and subtitle not working as expected ?

2024-04-30 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 30.04.2024 um 14:22: Hi, I just jumbled upon this question on tex stackexchange : https://tex.stackexchange.com/questions/715799/context-switching-font-for-both-title-and-subject#715804 Using the style key as suggested in the accepted answer works, but I’ve

[NTG-context] Hbox error with itemized list on second page

2024-04-30 Thread Ross Schulman
for sure. What is happening is that whichever bullets are at the top of the second page are being wrapped as if they were appearing on the first page, which has a different layout structure. I've pasted a sanitized version of the tex file below. Any assistance would be greatly appreciated! Thanks

[NTG-context] Font switching for titles and subtitle not working as expected ?

2024-04-30 Thread denis.maier
Hi, I just jumbled upon this question on tex stackexchange : https://tex.stackexchange.com/questions/715799/context-switching-font-for-both-title-and-subject#715804 Using the style key as suggested in the accepted answer works, but I've had a look in to this, and I don't understand why

[NTG-context] Re: QR Code (Henning Hraban Ramm)

2024-04-29 Thread Benjamin Buchmuller
.rb zint --version (should be 2.12.0) [follow the instructions to symlink zint to tex/texmf-osx-64/bin/lib/luametatex/zint] mtxrun --generate ___ If your question is of interest to others as well, please add an en

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/24 19:32, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 18:21: >> Is \protected the same as \unexpanded? > > Yes they are the same (\protected is the primitive and \unexpanded is a > copy) but this wasn't always the case. >

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 18:21: On 4/29/24 18:04, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22: [...] Which is the right way to use "interfaces.definecommand" to get a simple command as in standard Te

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/24 18:04, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22: >> [...] >> Which is the right way to use "interfaces.definecommand" to get a simple >> command as in standard TeX? >> >> I mean, no a non \p

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Wolfgang Schuster
macro = document.test, } \stopluacode \meaningfull\testing \def\test#1{#1} \meaningfull\test \stoptext Which is the right way to use "interfaces.definecommand" to get a simple command as in standard TeX? I mean, no a non \permanent or non \protected command

[NTG-context] unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
\def\test#1{#1} \meaningfull\test \stoptext Which is the right way to use "interfaces.definecommand" to get a simple command as in standard TeX? I mean, no a non \permanent or non \protected command. Many thanks f

[NTG-context] Re: QR Code

2024-04-29 Thread Henning Hraban Ramm
-linked as specified in the wiki (~/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so <http://libzint.so/>). However, the library was (still) not fount after mtxrun --generate [This seems an odd, but unrelated problem] 2) So, I hardcoded libfile in libs-impzint.lmt to local libfile =

[NTG-context] Re: QR Code

2024-04-28 Thread Benjamin Buchmuller
. Observations: 1) Zint (and Inkscape) is in my PATH and correctly sym-linked as specified in the wiki (~/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so <http://libzint.so/>). However, the library was (still) not fount after mtxrun --generate [This seems an odd, but unrelated problem] 2)

[NTG-context] Re: Why Difference Between \placefloat and \definefloat

2024-04-28 Thread Henning Hraban Ramm
Where’s the float type "sidebar" defined? AFAIK it’s not a default type. And it might interfere with the actual sidebar stuff from https://source.contextgarden.net/tex/context/base/mkxl/anch-bar.mkxl, see also https://wiki.contextgarden.net/Command/setupsidebar Hraban Am 28.04.2

[NTG-context] Re: \par and \startlines

2024-04-27 Thread Henning Hraban Ramm
Am 26.04.24 um 18:24 schrieb Wolfgang Schuster: BTW: ConTeXt has a module for poems which can be loaded with \usemodule[format]. Never heard of it. Version says “ancient” ;) https://source.contextgarden.net/tex/context/modules/mkiv/m-format.mkiv What’s the advantage of all this markup over

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Pablo Rodriguez via ntg-context
en you add a \par you just end the current line/paragraph and it >> doesn't matter how many \par's you use because TeX just ignores them. >   > I see. But there's no command that could be used to simulate an empty line? Crappy code: \starttext a\dorecurse{25}{\par}b a\dorecurse

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
the number of > argument passed. Many thanks for explaining this too. >> But what are these "#_" (which don’t seem to come from TeX)? > > Hans added many additions to command parameters in Luametatex and #_ > means the argument to a commands has to be enclosed in braces

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
st end the current line/paragraph and it doesn't matter how many \par's you use because TeX just ignores them. Wolfgang   I see. But there's no command that could be used to simulate an empty line? If not, me should I perhaps try to replicate the wrapper structur

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Wolfgang Schuster
see #_ instead of #1. There is no way to search for "#_" in the wiki. Grepping the source, "#_" seems to be used for optional arguments (mainly in syst-aux.mkxl). But what are these "#_" (which don’t seem to come from TeX)? Hans added many additions to co

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
s then? Can you manually switch to the next one? The inbetween setting works because ConTeXt checks at the start of each line whether it's empty (in this case the value is used) or not. When you add a \par you just end the current line/paragraph and it doesn't matter how many \par's you use b

[NTG-context] Re: wrong spacing after command with optional arguments

2024-04-26 Thread Pablo Rodriguez via ntg-context
e is no way to search for "#_" in the wiki. Grepping the source, "#_" seems to be used for optional arguments (mainly in syst-aux.mkxl). But what are these "#_" (which don’t seem to

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

2024-04-25 Thread Gerion Entrup
tartbuffer[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 = {Ano

[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

  1   2   3   4   5   6   7   8   9   10   >