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

2024-04-23 Thread Joel via ntg-context
Okay, I've been trying many things with this \startpostponing code--if I understand what's happening, its moving the figures to a later page. I'm not sure that's quite ideal, its not fully working with my actual documents, and leaves lots of empty white space, when I'm already in a situation

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Hans Hagen
very high resolution. Is there any way to modify the code to make sure the image stretches up to be the biggest it can, without exceeding the sizes I've listed? Hi Joel, AFAIK, if you don’t set at least either height or width, ConTeXt uses the image’s resolution setting to calculate its size

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Bruce Horrocks
AFAIK, if you don’t set at least either height or width, ConTeXt uses the > image’s resolution setting to calculate its size, and that is often useless. > > (Maybe there’s also something wrong with ConTeXt’s max width/height, I don’t > know; I’m still planning to carefully check all o

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Henning Hraban Ramm
to be the biggest it can, without exceeding the sizes I've listed? Hi Joel, AFAIK, if you don’t set at least either height or width, ConTeXt uses the image’s resolution setting to calculate its size, and that is often useless. (Maybe there’s also something wrong with ConTeXt’s max width/height

[NTG-context] Re: Visually balanced columns

2024-03-27 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 27.03.2024 um 14:02: Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same

[NTG-context] Visually balanced columns

2024-03-27 Thread Alexey Kryukov
Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same vertical position -- no matter, how many lines

[NTG-context] Re: command line arguments

2024-03-20 Thread Hraban Ramm
-context-arrange.tex) written by Hans. Well, I don’t know how to use that, it doesn’t compile on its own, any hints? Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki

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

2024-03-18 Thread Hans Hagen
On 3/18/2024 1:31 AM, Jim wrote: On Sat, Mar 16, 2024 at 15:20 (+0100), Hans Hagen wrote: On 3/16/2024 2:10 PM, Jim wrote: On Fri, Mar 15, 2024 at 01:53 (+0100), Aditya Mahajan wrote: On Thu, 14 Mar 2024, Jim wrote: Max (et al), were you hoping the ConTeXt distribution would ship its

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

2024-03-17 Thread Jim
On Sat, Mar 16, 2024 at 15:20 (+0100), Hans Hagen wrote: > On 3/16/2024 2:10 PM, Jim wrote: >> On Fri, Mar 15, 2024 at 01:53 (+0100), Aditya Mahajan wrote: >>> On Thu, 14 Mar 2024, Jim wrote: >>> > Max (et al), >>> > were you hoping the ConTeXt dis

[NTG-context] Why is header page number appearing when I define a header?

2024-03-16 Thread Joel via ntg-context
on the top and page numbers in the bottom corners. But somehow when I define this code, its also adding the page number not just to the bottom of the page, but to the top of the page as well. How do I remove the page number from the header texts? --Joel

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

2024-03-16 Thread Hans Hagen
On 3/16/2024 2:10 PM, Jim wrote: On Fri, Mar 15, 2024 at 01:53 (+0100), Aditya Mahajan wrote: On Thu, 14 Mar 2024, Jim wrote: Max (et al), were you hoping the ConTeXt distribution would ship its own pgfutil-context.def, or were you hoping that someone could convince Henri to put the RGB

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

2024-03-16 Thread Jim
On Fri, Mar 15, 2024 at 09:44 (+0100), Hans Hagen wrote: > On 3/15/2024 12:53 AM, Jim wrote: >> Max (et al), >> were you hoping the ConTeXt distribution would ship its own >> pgfutil-context.def, or were you hoping that someone could convince Henri >> to put the RGB ch

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

2024-03-16 Thread Jim
Hi Max, On Fri, Mar 15, 2024 at 01:30 (-0600), Max Chernoff wrote: > Hi Aditya, Jim, > On Fri, 2024-03-15 at 01:53 +0100, Aditya Mahajan wrote: >> On Thu, 14 Mar 2024, Jim wrote: >>> were you hoping the ConTeXt distribution would ship its own >>> pgfutil-c

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

2024-03-16 Thread Jim
On Fri, Mar 15, 2024 at 01:53 (+0100), Aditya Mahajan wrote: > On Thu, 14 Mar 2024, Jim wrote: >> Max (et al), >> were you hoping the ConTeXt distribution would ship its own >> pgfutil-context.def, or were you hoping that someone could convince Henri >> to put the RGB

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

2024-03-15 Thread Hans Hagen
On 3/15/2024 12:53 AM, Jim wrote: Max (et al), were you hoping the ConTeXt distribution would ship its own pgfutil-context.def, or were you hoping that someone could convince Henri to put the RGB change in? And, if anyone has the will to push this (or add it in to a ConTeXt distribution

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

2024-03-15 Thread Max Chernoff
Hi Aditya, Jim, On Fri, 2024-03-15 at 01:53 +0100, Aditya Mahajan wrote: > On Thu, 14 Mar 2024, Jim wrote: > > were you hoping the ConTeXt distribution would ship its own > > pgfutil-context.def, or were you hoping that someone could convince Henri > > to put the RGB change

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

2024-03-14 Thread Aditya Mahajan
On Thu, 14 Mar 2024, Jim wrote: > Max (et al), > > were you hoping the ConTeXt distribution would ship its own > pgfutil-context.def, or were you hoping that someone could convince Henri > to put the RGB change in? We can patch some of the definitions of pgfutil-context.def in m

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

2024-03-14 Thread Jim
Max (et al), were you hoping the ConTeXt distribution would ship its own pgfutil-context.def, or were you hoping that someone could convince Henri to put the RGB change in? And, if anyone has the will to push this (or add it in to a ConTeXt distribution version), I'd still like the cmyk support

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout > > with attached working example code and to-do list. > > > > Thanks for any contributions! > > > > The working example code is still a work in progress. Its text

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
_for_Japanese_Text_Layout > > with attached working example code and to-do list. > > > > Thanks for any contributions! > > > > The working example code is still a work in progress. Its text layout > > output meets already some of the requirements (see comments in t

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
hinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout > with attached working example code and to-do list. > > Thanks for any contributions! > > The working example code is still a work in progress. Its text layout output > meets already some of the requirements (see comments in the code

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

2024-03-12 Thread seyal zavira
t; > draw lmt_svg [ > > filename = "smile.svg"] > > \stopMPcode > > \stoptext > > > > also when i look at evenmore manual at page15, for font Abelone-FREE the > gradients has rendered properly is there difference between renderi

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

2024-03-12 Thread Jean-Pierre Delange
e.svg"] \stopMPcode \stoptext also when i look at evenmore manual at page15, for font Abelone-FREE the gradients has rendered properly is there difference between rendering such fonts and rendering SVGs? if its a font feature how i can use this font features

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

2024-03-12 Thread seyal . zavira
d properly is there difference between rendering such fonts and rendering SVGs? if its a font feature how i can use this font features for my svg? ___ If your question is of interest to others as well, please ad

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
example code is still a work in progress. Its text layout output meets already some of the requirements (see comments in the code). Among the ones to still be implemented are: * solid setting (no extra spacing between characters) https://www.w3.org/TR/jlreq/#fig1_8 if no requirement

[NTG-context] Re: issue with module update

2024-03-11 Thread Pablo Rodriguez via ntg-context
On 3/11/24 17:17, Taco Hoekwater wrote: >> On 11 Mar 2024, at 16:57, Pablo Rodriguez wrote: >> [...] >> Is there something I am missing here? > > One of your releases had “changed-name” as its release ‘number’. > > The modules site does not know how to deal with n

[NTG-context] Re: issue with module update

2024-03-11 Thread Taco Hoekwater
ssing here? One of your releases had “changed-name” as its release ‘number’. The modules site does not know how to deal with non-numeric release names all that well; it made a mess of its symlinking stage. I fixed the symlink manually, it should be fine now. Best wishes, Taco — Taco Hoekwat

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout with attached working example code and to-do list. Thanks for any contributions! The working example code is still a work in progress. Its text layout output meets already some of the requirements (see comments

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
Hi all, I added https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout with attached working example code and to-do list. Thanks for any contributions! The working example code is still a work in progress. Its text layout output

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
ll affected characters are listed here: > > https://www.w3.org/TR/jlreq/tables/table_en3.pdf > > We have different rules, depending what kind of character is surpassing the > > text width (or is in its last position). > > Rule 1: > > Before closing brackets,

[NTG-context] Re: Japanese

2024-02-29 Thread luigi scarso
re: > https://www.w3.org/TR/jlreq/#possibilities_for_linebreaking_between_characters > , and all affected characters are listed here: > https://www.w3.org/TR/jlreq/tables/table_en3.pdf > > We have different rules, depending what kind of character is surpassing > the text width (or is in its last

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
s are listed here: > https://www.w3.org/TR/jlreq/tables/table_en3.pdf > > We have different rules, depending what kind of character is surpassing the > text width (or is in its last position). > > Rule 1: > > Before closing brackets, closing quotation marks, iterati

[NTG-context] Re: Structuring a magazine or booklet

2024-02-29 Thread Jean-Pierre Delange
://wiki.contextgarden.net/Imposition I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
, and all affected characters are listed here: https://www.w3.org/TR/jlreq/tables/table_en3.pdf We have different rules, depending what kind of character is surpassing the text width (or is in its last position). Rule 1: Before closing brackets, closing quotation marks, iteration marks

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
/jlreq/tables/table_en3.pdf We have different rules, depending what kind of character is surpassing the text width (or is in its last position). Rule 1: Before closing brackets, closing quotation marks, iteration marks, the Prolonged sound mark and small Kana, line breaking is prohibited. ’”)〕]}〉》」』】ヽヾ

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 15:27, Jean-Pierre Delange wrote: > Sorry for the noise : I did'nt see the ConTeXt imposition schemas here : > > https://wiki.contextgarden.net/Imposition > > I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4

[NTG-context] Re: Hyperlinks cease working after page selection

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/26/24 21:25, Michael Guravage wrote: > Greetings, > > The document in question compiles correctly. Its hyperlinks are correct > and work as expected. However, if I apply a page selection, the > hyperlinks in the resulting document, while correctly coloured, n

[NTG-context] Hyperlinks cease working after page selection

2024-02-26 Thread Michael Guravage
Greetings, The document in question compiles correctly. Its hyperlinks are correct and work as expected. However, if I apply a page selection, the hyperlinks in the resulting document, while correctly coloured, no longer work. Any suggestions on how to correct or work around this would

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread Bruce Horrocks
os.remove(exists_pdf) end >os.rename(pdf_file_name, ("%s_%s-%s.pdf"):format(c_r, tex.jobname, > sha_pdf)) > end > ) > \stopluacode > \stoptext > > In short, it adds its SHA256 to the final filename. > > Since renames the PDF document in each run, I

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread mf
rmat(c_r, tex.jobname, sha_pdf)) end ) \stopluacode \stoptext In short, it adds its SHA256 to the final filename. Since renames the PDF document in each run, I would like to remove the output from the previous run. The table seems not to store the value from a previous run. I see now that I am c

[NTG-context] output filename with SHA256

2024-02-23 Thread Pablo Rodriguez via ntg-context
t[c_r] = sha_pdf local exists_pdf = ("%s_%s-%s.pdf"):format(c_r-1, tex.jobname, t[c_r-1]) if io.exists(exists_pdf) then os.remove(exists_pdf) end os.rename(pdf_file_name, ("%s_%s-%s.pdf"):format(c_r, tex.jobname, sha_pdf)) end ) \stopluacode \stoptext In short, i

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Henning Hraban Ramm
phic … but it would be visible on a colored background. I’m sure you can show me a better way… My real life example (p.2 in https://yemaya.fiee.net/s/DEEHs5m49yftiqW) involves sketchy lines, and there it’s a bit annoying that the row is not its own frame that could get a continuous background… Wel

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Bruce Horrocks
see my definition is: \def\tareaAbc #1ñ#2ñ#3ñ#4ñ{...context formating > for each #)}; Its the clue to pass each sentence as an independent argument > that I don't get to work. > thanks again > A variation on Hans original suggestion is to use a buffer instead of a separate text f

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-20 Thread Ursula Hermann
save a new "test-doc.tex" file in your desktop directory (which would be named "%USERPROFILE%\Desktop\test-doc.tex" [including its full path])? "%USERPROFILE%\Desktop\test-doc.tex" should contain: \starttext \input zapf \stoptext Please, compile it by simply i

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
would become a single context.tareaAbc(the four arguments somehow separated so that I can manage each line with the corresponding context formatting) As you see my definition is: \def\tareaAbc #1ñ#2ñ#3ñ#4ñ{...context formating for each #)}; Its the clue to pass each sentence as an independent

[NTG-context] Re: Text in Margin

2024-02-19 Thread Andres Conrado Montoya
There is a package on github https://github.com/andythomas/TeX-sidenotes that can help you with that. Check the "context" folder on that repo. Also, you can find an example of its use at https://github.com/zvonkok/perf-panacea Caveat emptor: It has not been updated in 12 years. It s

[NTG-context] Re: using an end of line as parameter

2024-02-19 Thread Hans Hagen
./prueba.tex: The file ended when scanning an argument. the macro seems to  read to the end of file not detecting \par; I know its the \par that causes the problem; I used ^^M also which I read is a sinonym for return but it also does not work. Help would be appreciated (my computer keyboard

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
gt; > > > picture layerU; > > > > layerU:=image( > > > > label("number 6", z2+z1); > > > > ); > > > > > > > > After that, I would define layer sets and layer subsets. This will be > > > > done manually for each layer set and

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Ursula Hermann
desktop directory (which would be named "%USERPROFILE%\Desktop\test-doc.tex" [including its full path])? "%USERPROFILE%\Desktop\test-doc.tex" should contain: \starttext \input zapf \stoptext Please, compile it by simply invoking ("cd %USEPROFILE%\Desktop\" mig

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Mikael Sundqvist
set". > > > > > > myset layersubsetGamma; > > > layersubsetGamma:={layerU,layerM}; > > > > > > In my logic, the layers will be drawn in the order of their appearance > > > within the {}. In the example, drawn content of layerM might cover dr

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Pablo Rodriguez via ntg-context
ot; file in your desktop directory (which would be named "%USERPROFILE%\Desktop\test-doc.tex" [including its full path])? "%USERPROFILE%\Desktop\test-doc.tex" should contain: \starttext \input zapf \stoptext Please, compile it by simply invoking ("cd %USEPROFILE%\De

[NTG-context] Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
related to each other by an inner order. That's why I would use an array variable here with [].> >> > I don't know how to append a set. In the following example, I assumed there would be a function myappend(, )> >> > myset layerset[];> > layerset1 := {layerW,layerA};>

[NTG-context] using an end of line as parameter

2024-02-19 Thread Miguel Diaz
an argument. the macro seems to read to the end of file not detecting \par; I know its the \par that causes the problem; I used ^^M also which I read is a sinonym for return but it also does not work. Help would be appreciated (my computer keyboard would appreciate it too

[NTG-context] Re: Working with layer sets with Metapost

2024-02-17 Thread Emanuel Han via ntg-context
't know the proper syntax to do that. Let's assume we could use a > > > variable type called "myset". > > > > > > myset layersubsetGamma; > > > layersubsetGamma:={layerU,layerM}; > > > > > > In my logic, the layers will be drawn in the

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Mikael Sundqvist
et will result in a PDF page, and > > thus the layer sets are related to each other by an inner order. That's why > > I would use an array variable here with []. > > > > I don't know how to append a set. In the following example, I assumed there > > would be a function myap

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
s will be drawn in the order of their appearance > > > > within the {}. In the example, drawn content of layerM might cover > > > > drawn content of layerU. > > > > > > > > Contrary to a layer subset, each layer set will result in a PDF page, > &

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
t; > within the {}. In the example, drawn content of layerM might cover drawn > > > content of layerU. > > > > > > Contrary to a layer subset, each layer set will result in a PDF page, and > > > thus the layer sets are related to each other by an inner order. That

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
order. That's why > > I would use an array variable here with []. > > > > I don't know how to append a set. In the following example, I assumed there > > would be a function myappend(, > set should be appended with>) > > > > myset layerset[]; >

[NTG-context] Re: Working with layer sets with Metapost

2024-02-14 Thread Mikael Sundqvist
tion myappend(, should be appended with>) > > myset layerset[]; > layerset1 := {layerW,layerA}; > layerset2 := myappend{layerset1, layerY}; > layerset3 := myappend{layerset2, layersubsetGamma}; > layerset4 := myappend{layerset2, layerU}; > layerset5 := myappend{layerset4, la

[NTG-context] Working with layer sets with Metapost

2024-02-14 Thread Emanuel Han via ntg-context
erset4 := myappend{layerset2, layerU}; layerset5 := myappend{layerset4, layersubsetGamma}; Finally, I would need each layerset[k] typeset on its own pdf page. And of course on each page k, only the layers which appear in the definition of the layerset[k] should be drawn on top of each other in the order as they

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Joaquín Ataz López
rd to find a particular piece of information because its scattered around so many different places. This book should serve as the one and only final documentation that you would need. It would contain everything in a highly cohesive format, in one place, and make particular pieces of information pa

[NTG-context] An announcement of my new book.

2024-02-11 Thread SirColeman via ntg-context
ifferently, and with the consequence that it's hard to find a particular piece of information because its scattered around so many different places. This book should serve as the one and only final documentation that you would need. It would contain everything in a highly cohesive format, in one place,

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
> WB 2 -- 04_workbook.tex > WB 3 -- 05_workbook.tex > WB 4 -- 06_workbook.tex > TG -- 08_teachersguide.tex > > I have to prove to a government agency that the content meets several > requirements, so I'm giving them a simple file that says something like > "Req

[NTG-context] Re: \startcolumns and \startcolumnset

2024-02-08 Thread Otared Kavian
e code and its outputs of two cases for comparison.Any suggestions are welcomed.Tomorrow is the New Years day in Lunar calendar.Happy new year, again.Best regards,Dalyoung%%%\startuseMPgraphic{mark}path p;p := unitsquare scaled 3cm;draw p;draw (point 0 of p)--(point 2 of p);draw (point 1 of p)--(p

[NTG-context] \startcolumns and \startcolumnset

2024-02-08 Thread Jeong Dal via ntg-context
works, so I managed the items evenly spaced vertically.If I use “\startcolumns”, then I have the following problems: 1. \vfill doesn’t works, but \blank[] works. So, it isn’t easy to locate the items evenly spaced vertically.Here are sample code and its outputs of two cases for comparison.Any

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
chersguide.tex I have to prove to a government agency that the content meets several requirements, so I'm giving them a simple file that says something like "Requirement A is met in TB, "Cats", p. 11" basically letting the reader know its in the textbook, section called "Cats",

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Wolfgang Schuster
Gerion Entrup schrieb am 25.01.2024 um 09:18: Hi, I want to make a proper definition of a new command to be able to process it in Lua. I found something on StackOverflow [1] but that breaks in enumeration _and_ when interaction is enabled and I do not understand why? Can you give me some help

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Taco Hoekwater
> \ctxlua{userdata.my_command('', [==[#2]==])}% > }\fi > } > \protect > > \starttext > > % all the following works > \mc{foo} \mc[bold]{foo} \mc[emph]{foo} > > \startenu[title=Some] > \stopenu > > % this breaks > \startenu[title=Some \mc{foo}

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
vrules don't use tabulate >> to create the tables. >> Coincidence? I think not. :-) > Table which rely on rules to make the content readable have a serious > problem > (read Edward Tufte books how you can improve the visual style) but the > better > alternative in this c

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
es. Below is a example which uses the table like wrapper for natural tables which makes adding rules and changing the padding around text very simple because each table cell is a \framed block with all its options. \starttext \startsetups[ruledtable]   \setupTABLE [frame=off,align=middle,loffset=.5

[NTG-context] Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-25 Thread Gerion Entrup
`` tex error > tex error on line 41 in file ./test.tex: Use of \do_my_command doesn't match its definition ``` Best, Gerion [1] https://tex.stackexchange.com/a/55778 \startluacode function userdata.my_command(keywords, text) commands.writestatus("test&qu

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Gavin via ntg-context
Hi Shiv, The author of tikz-euclide has another package, tikz-elements, which looks like it could be used to do all of these calculations for MetaFun. The tikz-elements package, in spite of its name, appears to contain exactly one line of TikZ code. This line is in the very simple style file

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-11 Thread Fabrice L
ya.fiee.net/s/qTkeXAmXmJeosJc > (The “mindmap” diagram on the left shows projects supported by DANTE, in the > middle a drawing by Duane Bibby, on the right a Tux with its TikZ source code > in the back.) > We also had posters that show the architecture of TeX/LaTeX, but they were > ser

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
bleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par > (Beutelspacher [\hyphenatedurl {10},S.54]). > > \stoptext \hyphenatedurl only changes the hyphenation of its content, it doesn’t create a link. In your example it makes no sense. Generally, you need an anchor (link target) t

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par (Beutelspacher [\hyphenatedurl {10},S.54]). \stoptext \hyphenatedurl only changes the hyphenation of its content, it doesn’t create a link. In your example it makes no sense. Generally, you

[NTG-context] update

2024-01-08 Thread Hans Hagen via ntg-context
. For OSX I use a retired macbook air that Hans vd Meer sent me that has an old operating system but new enough so that its xcode can make intel and arm binaries. The linux binaries have teh problem that they depend on glibc versions and I'm assuming a reasonable up to date system so I use

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-07 Thread Henning Hraban Ramm
a Tux with its TikZ source code in the back.) We also had posters that show the architecture of TeX/LaTeX, but they were seriously outdated. Some elements that might fit: – some example code (like from Mikael’s BachoTeX presentation) – anatomy of a word and a formula (with all those little boxes

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
Modes interface affect only WinEdt and applications launched from it. In most cases, this is exactly what one wants. By default, you'll find something like this: [X][X][X][X] WinEdt inserts its own root folder %B to the PATH; this makes it possible to launch WinEdt from other applications (launche

[NTG-context] Re: QR Code

2023-12-18 Thread Michal Vlasák
o modules (m-zint and zint), there are two options: > > 1. Either you use the LMTX module (\usemodule[zint]) and you need the > Zint library (as explained in > https://wiki.contextgarden.net/Barcodes#Zint_module). > > 2. Or you use the MkIV module (\usemodule[m-zint]) and you

[NTG-context] Re: QR Code

2023-12-18 Thread Pablo Rodriguez via ntg-context
es#Zint_module). 2. Or you use the MkIV module (\usemodule[m-zint]) and you need the Zint binary installed and CMD should be able to invoke it (already knowing its past). You may have the Zint binary installed, ConTeXt may be generating the required EPS files, but either Inkscape is not in

[NTG-context] Re: QR Code

2023-12-18 Thread Pablo Rodriguez via ntg-context
output= […] At least on Linux64, it seems that barcode generation with Zint requires its binary. For Windows, your ConTeXt distribution might be missing the library (as described in the wiki link provided). Just in case it might help,

[NTG-context] Re: APA 7 and https

2023-12-17 Thread Oliver Marugg
gt;> url(https://doi.org/\btxflush{doi}) and >> \hyphenatedurl{doi:\btxflush{doi}} to >> \hyphenatedurl{https://\btxflush{doi}}. >> >> With this two changes the correct format in the list of publications >> is shown according apa7 and as well https

[NTG-context] Re: APA 7 and https

2023-12-16 Thread Alan Braslau via ntg-context
ead of http links > will be generated, which is also needed in apa7. Not all apa7 > definitions are yet reach with this changes, but its a small step > towards. > > Merry Christmas. > > Oliver ___ If

[NTG-context] Re: APA 7 and https

2023-12-15 Thread rauricastone
in the list of publications is shown according apa7 and as well https links instead of http links will be generated, which is also needed in apa7. Not all apa7 definitions are yet reach with this changes, but its a small step towards. Merry Christmas. Oliver

[NTG-context] framed: rounded corner oddity

2023-12-05 Thread Henning Hraban Ramm
the code that works on its own, but causes the results as shown in the attachments within my book. There’s nowhere a \setupframed, and nothing that should influence MetaPost. Do you have any clue for what I should look? Hraban \starttext \framed[ rulethickness=1pt, offset=0.5em

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
ide any clue to understand your code or the issue you might be dealing with. It is wiser to keep the sample to its minimal form. > \startsectionblock[portada] > \setuppagenumbering[location=] > \input{03_portadaEval.tex}%this is my title page It is better to provide actual co

[NTG-context] Text and Remark

2023-11-16 Thread Ursula Hermann
) takes the paragraph that follows it as its argument. \remark This is the first paragraph after \tex{remark}. It is part of the remark. This is the second paragraph after \tex{remark}. It is not part of the remark. \startremark This is the first paragraph inside \tex

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
t > jobname. Of course it then still depends on the pdf viewer + lib used if > things work out as expected. > there isn't much we can do about the viewer part unless tit is not locked > into the binary but as flexible like the texshop viewer is Thanks for your comments as well. It se

[NTG-context] Re: named destinations in /GoToR

2023-11-13 Thread Michal Vlasák
e if ConTeXt can't find the file, the auto mode fails and you get named destinations unless in page mode (`page=page`). Whether something better can be done (and in a backwards compatible way) at the ConTeXt side I am not sure, I did

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-13 Thread Pablo Rodriguez via ntg-context
provide (it would mean keeping > track of what gets clipped, and then compensating for it because it can > still contribute to placement of following stuff, and then how about > half clipped stuff) Many thanks for your reply, Hans. Now it is clear to me that what I asked is too complex to be

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Hans Hagen
On 11/12/2023 5:30 PM, Marco Patzer wrote: On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context wrote: In placing \externalfigure[file] I observe the figure is placed with its bottom on the baseline, thus: [externalfigure] --- baseline I looked

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
On Sun, 12 Nov 2023 16:34:00 +0100 Hans van der Meer via ntg-context wrote: > In placing \externalfigure[file] I observe the figure is placed with > its bottom on the baseline, thus: > > [externalfigure] > --- baseline > > I looked

[NTG-context] placing \externalfigure

2023-11-12 Thread Hans van der Meer via ntg-context
In placing \externalfigure[file] I observe the figure is placed with its bottom on the baseline, thus: [externalfigure] --- baseline I looked into the option list of setupexternalfigure but could not find one whereby the location with respect to the baseline

[NTG-context] \xmlinclusion?

2023-11-09 Thread Hans van der Meer via ntg-context
I cannot get \xmlinclusion working. Below an MWE with its output. What I am missing here or is \xmlinclusion not ok?\startxmlsetups demo \xmlsetsetup{#1}{ root|test }{demo:*}\stopxmlsetups\xmlregisterdocumentsetup{demo}{demo}\startxmlsetups demo:root \blank{\bf Start test}\crlf \string

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-08 Thread Henning Hraban Ramm
Am 08.11.23 um 09:53 schrieb Marco Patzer: On Sun, 5 Nov 2023 18:11:45 + Bruce Horrocks wrote: When I go to the page layout page on the Contextgarden wiki <https://wiki.contextgarden.net/Page_Layout> the "typesetting areas" diagram is missing its text labels

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-08 Thread Marco Patzer
On Sun, 5 Nov 2023 18:11:45 + Bruce Horrocks wrote: > When I go to the page layout page on the Contextgarden wiki > > <https://wiki.contextgarden.net/Page_Layout> > > the "typesetting areas" diagram is missing its text labels. Fixed. > Any suggesti

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread peter.hopcroft--- via ntg-context
e Contextgarden wiki >> <https://wiki.contextgarden.net/Page_Layout> >> the "typesetting areas" diagram is missing its text labels. If I click on >> the diagram the Wiki takes me to the underlying layout.svg file and then I >> /do/ see the labels. >>

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread Henning Hraban Ramm
Am 05.11.23 um 19:11 schrieb Bruce Horrocks: When I go to the page layout page on the Contextgarden wiki <https://wiki.contextgarden.net/Page_Layout> the "typesetting areas" diagram is missing its text labels. If I click on the diagram the Wiki takes me to the underlying

[NTG-context] Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread Bruce Horrocks
When I go to the page layout page on the Contextgarden wiki <https://wiki.contextgarden.net/Page_Layout> the "typesetting areas" diagram is missing its text labels. If I click on the diagram the Wiki takes me to the underlying layout.svg file and then I /do/ see the label

[NTG-context] Re: How to encircle text?

2023-11-05 Thread Hans Hagen via ntg-context
On 11/5/2023 7:23 AM, anton.chig...@mail.com wrote: I want to use \bigcirc to encircle text. Is there a way to do it. if you're wiling to compensate for its depth: \defineoverlay [BigCirc] [{\scale [width=\overlaywidth] {\setbox0\hpack{\bigcirc}\raise\dp0\box0}}] \framed

  1   2   3   4   5   6   7   8   9   10   >