[NTG-context] Re: ligatures and inputtranslation

2025-08-15 Thread Wolfgang Schuster
define two sets of replacements, i.e. translations, one for each font variant, and apply them to titles and running text respectively. Any suggestions? -- Michael PS: I attached a PDF showing the ligatures I'm using. \usemodule[translate] \switchtobodyfont[pagella] \translateinput[AE][\AE]

[NTG-context] Re: ligatures and inputtranslation

2025-08-15 Thread Rik Kabel
. translations, one for each font variant, and apply them to titles and running text respectively. Any suggestions? -- Michael PS: I attached a PDF showing the ligatures I'm using. \usemodule[translate] \switchtobodyfont[pagella] \translateinput[AE][\AE] % For titles \translateinput[ae][\ae] % For

[NTG-context] ligatures and inputtranslation

2025-08-15 Thread Michael Guravage
titles and running text respectively. Any suggestions? -- Michael PS: I attached a PDF showing the ligatures I'm using. \usemodule[translate] \switchtobodyfont[pagella] \translateinput[AE][\AE] % For titles \translateinput[ae][\ae] % For text \setuphead[title][before=\enableinputtranslation,

[NTG-context] Re: ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Abdelhak Ferhat
ntered > \scalarproduct > \tochar{x:00B7} > \tochar{u:middle dot} > \tochar{u:midpoint} > > \usemodule[mathml] > \startbuffer > · > \stopbuffer > \processxmlbuffer > > $\neg\neg\neg$ > \stop

[NTG-context] Re: ConTeXt 1.06 does not recognize "\centerdot" and "\neg"

2025-08-09 Thread Max Chernoff via ntg-context
t to work properly, there are quite a few alternatives: \startTEXpage · \char"00B7 \cdot \periodcentered \scalarproduct \tochar{x:00B7} \tochar{u:middle dot} \tochar{u:midpoint} \usemodule[mathml]

[NTG-context] sidefloat sorrows

2025-08-02 Thread Henning Hraban Ramm
a MWE – I didn’t try to solve the caption issues in the example. Hraban *) PDF: see https://yemaya.fiee.net/s/iz5zX6BSkTg8BGB %% same as attached .tex file: \usemodule[visual] \useMPlibrary[dum] \showframe \setuplayout[ backspace=70mm, width=100mm, leftmargin=50mm, rightmargin=10mm

[NTG-context] empty page after columnset

2025-08-02 Thread Henning Hraban Ramm
th CGJ, I tried to place anything on the empty pages in vain, using layers and postponing. Placements ocurr on the first page of the following article if at all. Hraban *) PDF: https://yemaya.fiee.net/s/TQRQxcz23snbe38 %% same as attached .tex file \usemodule[visual] \showframe \setuppapersiz

[NTG-context] Re: Pre-loading libraries by making custom format

2025-07-29 Thread Hans Hagen via ntg-context
called "$TEXMFHOME/tex/context/third/libs-ini.mkxl" with the following contents: \directlua{function pdf.getcreationdate() end} % expl3 bug \usemodule[expl3-generic] and then you can run $ TEXMFHOME='{/PATH/TO/TEXLIVE/texmf-dist/tex/latex-dev/,/PATH/TO/TEXMFHOME/}

[NTG-context] Re: Pre-loading libraries by making custom format

2025-07-29 Thread Max Chernoff via ntg-context
"libs-ini.mkxl" is a good choice for this since it's loaded near the end and isn't used by most documents. So, make a file called "$TEXMFHOME/tex/context/third/libs-ini.mkxl" with the following contents: \directlua{function pdf.getcreationdate() end} % expl3 bug

[NTG-context] Re: export and tagging

2025-07-26 Thread Matthias Weber
directory. It seems the alt tag only works inside . So changingworks. It might break other things. And then there is the question whether alt texts should contain math. It’s probably best to just use plain text in alt texts. Thanks, Matthias PS: I just tried \usemodule[math-goodriddance

[NTG-context] Re: export and tagging

2025-07-26 Thread Hans Hagen via ntg-context
ybe mikael remembers becuase i think we played with that (text under formula or so) ... maybe you mean one of our secret undocumented features: \usemodule[math-goodriddance] \goodriddancemath (no need to enable tagging as that do

[NTG-context] Re: Animation using MetaFun

2025-07-18 Thread Mikael Sundqvist
lization, but I couldn’t succeed. > > 1. How can I deliver the z[] values into the buffer? > 2. What is wrong in the following code? > > Thank you for reading. > > Best regards, > > Dalyoung > > \usemodule[animation] > \setupinteraction[state=start] > >

[NTG-context] Animation using MetaFun

2025-07-18 Thread Jeong Dal via ntg-context
you for reading. Best regards, Dalyoung \usemodule[animation] \setupinteraction[state=start] \startMPdefinitions%{Cardioid} path p,q; numeric u, ang,j,num; picture pict; u := 1cm; ang := 360/52; p := fullcircle scaled 5u; for i=0 upto 51: z[i] = 2.5*dir(ang*i)*u; endfor; pict := image

[NTG-context] More HTML/EPUB conversion issues: Repeated texts/enumerations

2025-07-13 Thread Matthias Weber
etail=Theorem], div.description.Theorem { display: block ; } that can be used to style enumerations differently. Thanks (always), Matthias \usemodule[mathml] \setupbackend[export=yes,xhtml=yes] \setupenumerations [alternative=hanging, widt

[NTG-context] Re: Minimal example for image bug in xhtml export

2025-07-12 Thread Hans Hagen via ntg-context
, the formula is covered by an image that shouldn’t be there. Notice too that the overline is present in the pdf, but not in the html. \usemodule[mathml] \setupexternalfigures[location=default] \setupbackend[export=yes,xhtml=yes] \setupexport [svgstyle=mathtest-style, hyphen=yes

[NTG-context] Minimal example for image bug in xhtml export

2025-07-12 Thread Matthias Weber
shouldn’t be there. Notice too that the overline is present in the pdf, but not in the html. \usemodule[mathml] \setupexternalfigures[location=default] \setupbackend[export=yes,xhtml=yes] \setupexport [svgstyle=mathtest-style, hyphen=yes, width=60em] \starttext \subject{Introduction

[NTG-context] Does Harfbuzz plugin (font-plugins) still work?

2025-06-27 Thread Jairo A. del Rio
Hi, list! I've tested Harfbuzz with some examples from Devanagari and Chinese and I only get garbled text and replacement characters. MWE: \usemodule[fonts-plugins] \definefontfeature[harf] [mode=plug, features=harfbuzz, shaper=native, % script=deva ? ] \starttext % Other fonts

[NTG-context] Re: SlideTitle font in Simpleslide module

2025-06-21 Thread Jeong Dal via ntg-context
] %\definefontfamily[notoFont][math][Tex Gyre Termes Math] \definefontfamily[notoFont][math][Tex Gyre Pagella Math] \usemodule[simpleslides][style=Swoosh, font=, color=blue,] \setupTitle[color=darkblue] \setupbodyfont[notoFont,ss, \NormalSize] \setuppagenumbering[state=stop] \starttext \setupTitle[title

[NTG-context] SlideTitle font in Simpleslide module

2025-06-21 Thread Jeong Dal via ntg-context
={style:bold,features:{*,slanted}},force=yes] %\definefontfamily[notoFont][math][Tex Gyre Termes Math] \definefontfamily[notoFont][math][Tex Gyre Pagella Math] \usemodule[simpleslides][style=Swoosh, font=, color=blue,] \setupTitle[color=darkblue] \setupbodyfont[notoFont,ss, \NormalSize]

[NTG-context] Re Re: issue of columnset

2025-06-18 Thread wangzhongtian via ntg-context
thanks Mikael.the oldcolumnsets works well in most situation. but in below snippet, the big figure will be discarded. if put the figure code before the \dorecurse line, the figure will be shown.\usemodule[oldcolumnsets]\definecolumnset[bodycolumn][n=2]\starttext\startcolumnset[bodycolumn

[NTG-context] Re: issue of columnset

2025-06-17 Thread Mikael Sundqvist
Hi, we work on a new version where the procedure is slightly different (see slides from a BachoTeX talk: https://www.gust.org.pl/bachotex/2025-pl/presentations/columns-hhmps.pdf) . You can try \usemodule[oldcolumnsets] to get the old behavior back. /Mikael On Tue, Jun 17, 2025 at 12:24 PM

[NTG-context] issue of columnset

2025-06-17 Thread wangzhongtian
The below snippet from manual about columnset do not work as expected in luametatex version 2025-02-07, but works in luatex. In luametatex, all the figures gathered at the last few pages.\usemodule[visual] \dontcomplain\useMPlibrary[dum]\definecolumnset[example][n=4]\starttext\startcolumnset

[NTG-context] Alternate text for figures that includes math

2025-06-15 Thread Matthias Weber
below)? I can do this manually, but my figures contain quite a bit of math, and it would be nice if alternate text for math is provided consistently throughout the document. Thanks, Matthias \usemodule[mathml] \enabledirectives [backend.usetags=testing] \setuptagging[state=start

[NTG-context] Re: New user here!

2025-06-14 Thread Wolfgang Schuster
Am 14.06.2025 um 16:04 schrieb John Was: Dear Pablo Thanks for the quick response.  I'm only just starting and many of the questions, as I say, will answer themselves when I get into the documentation properly.  I'm sure pstricks will be workable (\usemodule[pstricks] doesn

[NTG-context] Re: New user here!

2025-06-14 Thread John Was
Dear Pablo Thanks for the quick response. I'm only just starting and many of the questions, as I say, will answer themselves when I get into the documentation properly. I'm sure pstricks will be workable (\usemodule[pstricks] doesn't generate an error, but when you actually try

[NTG-context] Re: upload

2025-06-14 Thread Hans Hagen
texmf-dist/tex/context/modules/mkxl/m-texlive.mkxl %D This is a variant on code I found in a \TEXLIVE\ installation in \type %D {cont-sys.mkxl} in 2025. In \type {cont-sys.mkxl} one can add this: %D %D \starttyping %D \usemodule[texlive] %D \stoptyping I've updated cont-sys.mkxl with your n

[NTG-context] Re: upload

2025-06-14 Thread Max Chernoff via ntg-context
ules/mkxl/m-texlive.mkxl > %D This is a variant on code I found in a \TEXLIVE\ installation in \type > %D {cont-sys.mkxl} in 2025. In \type {cont-sys.mkxl} one can add this: > %D > %D \starttyping > %D \usemodule[texlive] > %D \stoptyping I've updated cont-sys.mkxl with your new

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Gottschalt, Johannes
his screen: > > I would want “den” to be indented to the same level of “Von” in the > line above. How would I set this up in ConTeXt? You have to provide a minimal example for your problem because the default layout indents the text on all lines. %%%% begin example \usemodule[visual] \

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Wolfgang Schuster
would want “den” to be indented to the same level of “Von” in the line above. How would I set this up in ConTeXt? You have to provide a minimal example for your problem because the default layout indents the text on all lines. begin example \usemodule[visual] \starttext \completecontent

[NTG-context] Re: Tagging Math

2025-04-10 Thread Matthias Weber
\left|(z_0+h)^n - z_0^n\right| \NC = \left|\sum_{k=1}^n \binom{n}{k}h^k >> z_0^{n-k}\right| \NR >> \NC \NC = \left |h \sum_{k=0}^{n-1} \binom{n}{k+1} h^k z_0^{n-1-k}\right| >> \NR >> \NC \NC = \left|h \sum_{k=0}^{n-1} \frac n {k+1} \binom{n-1}{k} h^k >> z_0^{n-

[NTG-context] Re: Tagging Math

2025-04-10 Thread Mikael Sundqvist
\sum_{k=0}^{n-1} \binom{n-1}{k} |h|^k |z_0|^{n-1-k} \NR > \NC \NC \le n | h| (|z_0|+|h|)^{n-1} \NR > \stopalign > \stopformula > \stoptext > > This creates within the pdf the XML attachment below: > > > > This XML contains all the information from the formul

[NTG-context] Tagging Math

2025-04-10 Thread Matthias Weber
it into \usemodule[mathml] \starttext \xmlprocessdata{}{ % content of XML file }{} \stoptext produces Untitled.pdf Description: Adobe PDF document which is also what my Mac screen reads from the original PDF, but it is evidently not what I want. Does someone have a working example that

[NTG-context] Re: There is something wrong with this paragraph.

2025-04-08 Thread Aditya Mahajan
lor, > backgroundcolor=greenyellow, x=F1E788, > leftoffset=.8\bodyfontsize, > rightoffset=.8\bodyfontsize, > topoffset=.8\bodyfontsize, > bottomoffset=.8\bodyfontsize, > frame=off, > width=.8\textwidth] > \startMyBackground > \usemodule[amsl] > \startnarrow[l

[NTG-context] There is something wrong with this paragraph.

2025-04-08 Thread Ursula Hermann
=.8\bodyfontsize, topoffset=.8\bodyfontsize, bottomoffset=.8\bodyfontsize, frame=off, width=.8\textwidth] \startMyBackground \usemodule[amsl] \startnarrow[left=2.90mm, right=2.90mm][left, right] {\bf Lebesque-integrierbare Funktionen}\par \definehspace[ein 1,2][0.25em] Wenn ($ a$,$ b

[NTG-context] Re: FLOW chart module

2025-03-31 Thread Willi Egger
>> \location{3,3} > 23\shape{procedure} > 24\text{End} > 25\stopFLOWcell > 26 \stopFLOWchart > 27 > 28 \starttext > 29 > 30 \FLOWchart{TEST} > 31 > 32 \stoptext > >

[NTG-context] Re: FLOW chart module

2025-03-30 Thread Wolfgang Schuster
22 >> \location{3,3} 23 \shape{procedure} 24 \text{End} 25 \stopFLOWcell 26 \stopFLOWchart 27 28 \starttext 29 30 \FLOWchart{TEST} 31 32 \stoptext Minimal Example: \usemodule[chart] \startFLOWchart[TEST] \startFLOWcell \n

[NTG-context] FLOW chart module

2025-03-29 Thread Willi Egger
\shape{procedure} 24 \text{End} 25 \stopFLOWcell 26 \stopFLOWchart 27 28 \starttext 29 30 \FLOWchart{TEST} 31 32 \stoptext Minimal Example: \usemodule[chart] \startFLOWchart[TEST] \startFLOWcell \name{Begin} \location{3,1} \shape{

[NTG-context] Re: [t-vim] doesn't load, can't find `module-catcodes`

2025-02-04 Thread Henning Hraban Ramm
Am 04.02.25 um 08:15 schrieb Kirill Davidov: Unfortunately, the issue hasn't been fixed. I tried compiling a test document that just loads the module and has some text and it fails on the `\usemodule`. The compilation log says that `vim` is loaded, `syntax-highlight` and `syntax-groups

[NTG-context] Re: [t-vim] doesn't load, can't find `module-catcodes`

2025-02-03 Thread Kirill Davidov
and it fails on the `\usemodule`. The compilation log says that `vim` is loaded, `syntax-highlight` and `syntax-groups` are loaded, but it could not find `filter` and `module-catcodes`. Should there perhaps be a `t-module-catcodes` (and/or `t-filter`) file somewhere within module files? I have

[NTG-context] Re: [t-vim] doesn't load, can't find `module-catcodes`

2025-02-03 Thread Aditya Mahajan
rotects with > regular ones, but it didn't seem to get me further. Can you double check if the module is installed correctly? I tested on a new machine with the following test file (I use neovim rather than vim as I don't have vim installed here) and everything works fine. \usemo

[NTG-context] Re: Functional shading with MetaPost / MetaFun

2025-01-09 Thread Florent Michel
with. > > > > One difficulty I encountered is for generating 2D functional shadings. > > For instance, I am not sure what is the best way to reproduce the > > following pgfplots picture in MetaPost: > > > >

[NTG-context] Re: Functional shading with MetaPost / MetaFun

2025-01-09 Thread Hans Hagen
difficulty I encountered is for generating 2D functional shadings. For instance, I am not sure what is the best way to reproduce the following pgfplots picture in MetaPost: \usemodule[pgfplots] \pgfplotsset{width=10cm,compat=1.18

[NTG-context] Functional shading with MetaPost / MetaFun

2025-01-09 Thread Florent Michel
functional shadings. For instance, I am not sure what is the best way to reproduce the following pgfplots picture in MetaPost: \usemodule[pgfplots] \pgfplotsset{width=10cm,compat=1.18} \usepgfplotslibrary{patchplots} \starttext \startTEXpage

[NTG-context] VIM typing vs. Context environments

2025-01-06 Thread Ryszard Kubiak
x27;s narrowing commands then these commands are ignored. You can see this effect in the PDF obtained by contexting the script given below. Best Regards Ryszard \setupbodyfont[12pt] \setuppagenumbering[state=stop] \parindent=0pt\parskip=2ex \usemodule[vim] \definevimtyping[PY][syntax=python,

[NTG-context] Re: playing with dates

2024-12-17 Thread Pablo Rodriguez via ntg-context
\tolerant\protected\def\translate[#1]% {\getparameters[\??translation][#1]% \ifcsname\??translation\currentlanguage\endcsname \lastnamedcs \orelse\ifcsname\??translation\s!en\endcsname \lastnamedcs \else #1% \fi} \protect \usemodule[tikz] \usetikzlibrary[calend

[NTG-context] Re: playing with dates

2024-12-16 Thread Aditya Mahajan
On Mon, 16 Dec 2024, Pablo Rodriguez via ntg-context wrote: > I‘m afraid that approach is too complex for me to implement a full > calendar of previous, current and next year. tikz has various macros to typeset calendars: \usemodule[tikz] \usetikzlibrary[calendar] \starttext \starttikzp

[NTG-context] Re: Tikz CD

2024-11-25 Thread Aditya Mahajan
cks:tikzcd}} A patched file is also attached. Then the following code works fine: \usemodule[tikz] \usetikzlibrary[cd] \starttext \startformula \starttikzcd x \arrow[d] \NC A \arrow[d] \NC D \NR y \NC B \NC D \NR \stoptikzcd \stopformula \stoptext I also wanted to add tikzcd to mtx-i

[NTG-context] Re: Tikz CD

2024-11-25 Thread Hans Hagen
diagrams/.cd,every diagram,#1]% ...} So, it fails because \tikzpicture is being called with wrong catcodes. It can be fixed in the same manner as we patched tikzpicture as shown by the following MWE: sounds ok to me \usemodule[tikz] \usetikzlibrary[cd] \permanent\protected\def\starttikzcd

[NTG-context] Tikz CD

2024-11-25 Thread Aditya Mahajan
because \tikzpicture is being called with wrong catcodes. It can be fixed in the same manner as we patched tikzpicture as shown by the following MWE: \usemodule[tikz] \usetikzlibrary[cd] \permanent\protected\def\starttikzcd% {\starttikzinput \hcontainer\bgroup \tikzcd} \permanent\protected

[NTG-context] Re: serial letters

2024-11-11 Thread Robert via ntg-context
there any new approaches to make serial letters? > > TIA > juh > > Am 09.04.19 um 21:38 schrieb Wolfgang Schuster: >> \usemodule[letter] >> \setuplettersection >> [opening] >> [alternative=setups] >> \startsetups [letter:section:opening] >>

[NTG-context] Re: serial letters

2024-11-11 Thread juh+ntg-context--- via ntg-context
Dear all, using this example below from 2019 to make a serial letter I get three pages. The second letter is split on page 2 and 3. Are there any new approaches to make serial letters? TIA juh Am 09.04.19 um 21:38 schrieb Wolfgang Schuster: \usemodule[letter] \setuplettersection

[NTG-context] Re: Seeking Advice on Electron Configuration Notation in ConTeXt

2024-10-30 Thread Hans Hagen
lue\symbol[electrond]}] \stopmodule \protect \continueifinputfile{m-electrons.mkxl} \usemodule[scite] \starttext \startTEXpage[offset=1cm,width=17cm] \startbuffer[b] Nitrogen: \electrons{b}{1s} \electrons{b}{2s} \electrons{uuu}{2p} Nitrogen: \electrons{b}{} \electrons{B}{} \electrons{uDu}{} \defin

[NTG-context] Re: Artifact in flow cell connection

2024-10-16 Thread Hans Hagen
line - so something to do with the straight line drawing code, perhaps? As a work-around, if you just want the section heading underlined (as opposed to a more complicated MP graphic that you omitted for simplicity) then your MWE becomes: \usemodule[chart] \starttext \subsection[title={\inframed

[NTG-context] Re: Artifact in flow cell connection

2024-10-16 Thread Bruce Horrocks
to do with the straight line drawing code, perhaps? As a work-around, if you just want the section heading underlined (as opposed to a more complicated MP graphic that you omitted for simplicity) then your MWE becomes: \usemodule[chart] \starttext \subsection[title={\inframed[frame=off,bottomframe=o

[NTG-context] Re: GB7714-2015 of author-year format

2024-10-15 Thread hf
wn within a subsection with an overlay. The logic to create the underlined subsection is by the way copied from the metafun manual source. I do not have the slightest clue what is going wrong in this example. Thanks for ideas. Best, Bernd \usemodule[chart] \startuniqueMPgraphic{SectionUnderline

[NTG-context] Re: Artifact in flow cell connection

2024-10-15 Thread Bernd Donner via ntg-context
overlay. > The logic to create the underlined subsection is by the way copied from the > metafun manual source. I do not have the slightest clue what is going wrong > in this example. Thanks for ideas. > > Best, Bernd > > \usemodule[chart] > > \startuniqueMPgraphic{SectionU

[NTG-context] GB7714-2015 of author-year format

2024-10-13 Thread wangzhongtian
eate the underlined subsection is by the way copied from the metafun manual source. I do not have the slightest clue what is going wrong in this example. Thanks for ideas.Best, Bernd\usemodule[chart]\startuniqueMPgraphic{SectionUnderline} path p;p:= unitsquare xscaled OverlayWidth yscaled Overla

[NTG-context] Re: Artifact in flow cell connection

2024-10-12 Thread wangzhongtian
manual source. I do not have the slightest clue what is going wrong in this example. Thanks for ideas.Best, Bernd\usemodule[chart]\startuniqueMPgraphic{SectionUnderline} path p;p:= unitsquare xscaled OverlayWidth yscaled OverlayHeight; draw llcorner p -- lrcorner p; setbounds

[NTG-context] Artifact in flow cell connection

2024-10-11 Thread Bernd Donner via ntg-context
going wrong in this example. Thanks for ideas. Best, Bernd \usemodule[chart] \startuniqueMPgraphic{SectionUnderline} path p; p:= unitsquare xscaled OverlayWidth yscaled OverlayHeight; draw llcorner p -- lrcorner p; setbounds currentpicture to p; \stopuniqueMPgraphic \defineoverlay

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Wolfgang Schuster
adapted from Marco's answer: ``` \usemodule[ipsum] \definesectionblock[roman][romanpages] \definestructureconversionset [roman:pagenumber] [] [romannumerals] \startsectionblockenvironment [bodypart]   \setcounter [userpage] [1] \stopsectionblockenvironment \starttext   \startstandardm

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Florent Michel
c-numerals-in-context > > > > The following example is slightly adapted from Marco's answer: > > > > ``` > > \usemodule[ipsum] > > > > \definesectionblock[roman][romanpages] > > \definestructureconversionset [roman:pagenumber] [] [romannumerals] > &g

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-25 Thread Shiv Shankar Dayal
m/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context > > The following example is slightly adapted from Marco's answer: > > ``` > \usemodule[ipsum] > > \definesectionblock[roman][romanpages] > \definestructureconversionset [roman:pagenumber] [] [r

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Florent Michel
Hi, After looking at it a bit more, one solution can be found in the accepted answer to this question: https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabic-numerals-in-context The following example is slightly adapted from Marco's answer: ``` \usemodule[

[NTG-context] Re: Example for switching page numbering from roman to numeric in PDF outline

2024-09-24 Thread Florent Michel
Hi, I do not know how to do that properly (if someone has a solution, I'd also be interested), but here is something which seems to give a partial solution: ``` \usemodule[ipsum] \starttext \placecontent \section{Section 1} \dorecurse {6} \ipsum \pagebreak \section{Section 2}

[NTG-context] Re: Is there an alternative to \reference[]{} that won't interfere with the document design?

2024-09-03 Thread Wolfgang Schuster
finalising a book at the moment. References need an anchor to know on which page they end up because a page is finished you don't know the answer. The following example sets three references, one and three marks the start of each paragraph but where should two end up? begin example \usem

[NTG-context] no escaping with scite highlighting any more?

2024-08-11 Thread Henning Hraban Ramm
Hi, this used to work: """ \usemodule[scite] % the setup doesn’t change the behavior, I think it used to. \setuptyping[TEX][ option=tex, % scite sets "cld" ] \starttext \startTEX[escape=yes] \definemeasure[PageWidth][165mm] /BTEX\hfill{\ss Dimensions}/ETEX \define

[NTG-context] placement of float captions in margin

2024-08-01 Thread Henning Hraban Ramm
always that of the left margin, i.e. too small on left pages. I didn’t find a combination of options that completely works. Hraban \showframe \usemodule[visual] \useMPlibrary[dum] \setuplayout[ backspace=40mm, rightmargin=20mm, leftmargin=30mm, width=fit, height=fit

[NTG-context] Re: How to create a second bibliography?

2024-07-22 Thread Joel via ntg-context
code to make a bibliography: > \usemodule[publ-imp-sbl] > > \usebtxdataset[default][~/Commons/sources.bib] > > \setupbtx[dataset=default] > \usebtxdefinitions[sbl] > \setupbtx[sbl] > > \starttext  \input knuth >    \cite[authoryear] &

[NTG-context] Re: How to create a second bibliography?

2024-07-21 Thread Aditya Mahajan
On Sun, 21 Jul 2024, Joel via ntg-context wrote: > My copy editor wants me to create a second bibliography for > photo/illustration references. > I'm using basic code to make a bibliography: > \usemodule[publ-imp-sbl] > > \usebtxdataset[default][~/Commons/sources.bib]

[NTG-context] How to create a second bibliography?

2024-07-21 Thread Joel via ntg-context
My copy editor wants me to create a second bibliography for photo/illustration references. I'm using basic code to make a bibliography: \usemodule[publ-imp-sbl] \usebtxdataset[default][~/Commons/sources.bib] \setupbtx[dataset=default] \usebtxdefinitions[sbl] \setupbtx[sbl] \star

[NTG-context] Re: table float split behavior

2024-07-07 Thread Henning Hraban Ramm
split in odd places, independent of top/page/here location. There’s always a first part, then some not-float text, then the other parts. Even if the table would fit on two pages (with location=page), it always gets split into three. Can I influence this anyhow? Hraban \usemodule[visual

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-07-01 Thread Gerion Entrup
interchanged when you use the before/after and left/right keys. > > begin example > \usemodule[visual] > > \definestartstop >[Example] >[before={\par\leftaligned{\tttf [before]}\par}, > after={\par\leftaligned{\tttf [after]}\par}, >

[NTG-context] Re: Flowcharts

2024-06-28 Thread Otared Kavian
A second try… Hi all, Is it possible to have different background colors for different cells in flow charts ? For instance in the following example, is it possible to have a particular color for each cell ? Thanks in advance and best regards: Otared \usemodule[chart] \starttext

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-28 Thread Wolfgang Schuster
Gerion Entrup schrieb am 28.06.2024 um 11:40: Do you know, why the groupedcommand solution does not work? The command and the environment which are created by \definestartstop can't be interchanged when you use the before/after and left/right keys. begin example \usemodule[v

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-26 Thread Pablo Rodriguez via ntg-context
On 6/24/24 07:25, Henning Hraban Ramm wrote: > [...] > Of course. Try \usemodule[cgj] – the module in the distribution is not > the same as the environment that I use for CGJ anymore, but it should > still work. I should update it, but it’s always in a preliminary state… “Work in prog

[NTG-context] Flowcharts

2024-06-26 Thread Otared Kavian
Hi all, Is it possible to have different background colors for different cells in flow charts ? For instance in the following example, is it possible to have a particular color for each cell ? Thanks in advance and best regards: Otared \usemodule[chart] \starttext \startFLOWchart[example

[NTG-context] Letter module broken?

2024-06-25 Thread Kip Warner
ding latin modern fonts (third stage) fonts > 'fallback modern rm 10pt' is loaded tex error > tex error on line 10 in file ./minimal.tex: Undefined control sequence \setupletteroptions 1 \mainlanguage[nl] 2 \usemodule[letter] 3 4 \setuplangua

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Henning Hraban Ramm
just thought about something similar to: \usemodule[article-basic] Or where are these start/stops (Article and Abstract) defined? This is to avoid having my own macros. Of course. Try \usemodule[cgj] – the module in the distribution is not the same as the environment that I use for CGJ

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Pablo Rodriguez via ntg-context
On 6/23/24 21:50, Henning Hraban Ramm wrote: >> [...] >> It would be really helpful for me to have the TeX source of an already >> published article, so I can adapt the template to my article. > [...] > Noting special, besides the header. I just thought about something s

[NTG-context] table float split behavior

2024-06-17 Thread Henning Hraban Ramm
\usemodule[visual] \starttext \samplefile{tufte} \startplacetable[location={top,split},title=table split test] \bTABLE%[setups=twoparamstable] \bTABLEhead \bTR\bTH One \eTH\bTH Two\eTH\bTH Three \eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{% \bTR\bTD #1\eTD\bTD \fakewords{1}{10}\eTD\bTD \fakewords{1

[NTG-context] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
w to specify that weeks begin on Sunday? I have searched through all the setvariable assignments, but nothing seems applicable. I have attached an example file so you needn't retrieve all the examples. Any help would be appreciated. -- With kind regards, Michael <http://literatesolut

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Wolfgang Schuster
the document. To get the default settings for \chapter etc. you can use the \showinstancevalues which creates a table which prints the values. begin example \usemodule[setups] \starttext \showinstancevalues[head][chapter] \showrootvalues[head] \stoptext end example Wolfgang

[NTG-context] Re: BibTeX choking on comments in database

2024-05-29 Thread Kip Warner
On Wed, 2024-05-29 at 06:49 -0600, Alan Braslau wrote: > 1) You appear to be using the long-frozen mkii bibliography code. I think you are right! I just realized that. I'm using in my Environment file... % \BIBTEX macro... \usemodule[abr-02] % Setup bibl

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

2024-04-30 Thread Ross Schulman
atly appreciated! Thanks, Ross Schulman ---- \usemodule[ipsum] \setuppapersize[letter] \setuppagenumbering[location=] \definelayout[first] [% horizontal backspace=2.5in, leftmargin=1.75in, leftmargindistance=0.25in, width=5.5in, rightmargin=0in, %

[NTG-context] Re: QR Code

2024-04-29 Thread Henning Hraban Ramm
x27;m also experienceing problems with \usemodule[zint] while \usemodule[t-zint] works fine. Running on macOS (ConTeXt ver: 2024.04.01 08:59 LMTX fmt: 2024.4.28). The issue seems somewhat unrelated to ConTeXt on first glance (??) if this is helpful. My code stopped working after I updated t

[NTG-context] Re: QR Code

2024-04-28 Thread Benjamin Buchmuller
Catching up on an earlier thread by Ursula and Hraban, I'm also experienceing problems with \usemodule[zint] while \usemodule[t-zint] works fine. Running on macOS (ConTeXt ver: 2024.04.01 08:59 LMTX fmt: 2024.4.28). The issue seems somewhat unrelated to ConTeXt on first glance (??) if

[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 Denis Maier via ntg-context
es no difference here. BTW: ConTeXt has a module for poems which can be loaded with \usemodule[format]. Wolfgang Ok. I'll have a look at this module. Just two questions: 1. so did this behavior change?  2. What is i

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

2024-04-26 Thread Wolfgang Schuster
kes no difference here. BTW: ConTeXt has a module for poems which can be loaded with \usemodule[format]. Wolfgang Ok. I'll have a look at this module. Just two questions: 1. so did this behavior change? 2. What is inbetween referring to then? If each line is a paragraph, what'

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

2024-04-26 Thread Denis Maier via ntg-context
ch can be loaded with \usemodule[format]. Wolfgang Ok. I'll have a look at this module. Just two questions: 1. so did this behavior change?  2. What is inbetween referring to then? If each line is a paragraph, what's this group of pa

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

2024-04-26 Thread Wolfgang Schuster
not am option.) As you've said, it looks like a bug then. The lines environment treats each line of the input as paragraph by adding \par at the end of it and adding another \par makes no difference here. BTW: ConTeXt has a module for poems which can be loaded with

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
ConTeXt-SBL, and it failed to compile. I'm forced to try again (due to some other issue with footnotes), and instead of compiling to error, it compiles, but the footnote's message ends up being empty.  Why is it appearing empty? Is there a fix? Here is a minimum working example: \usem

[NTG-context] Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
here a fix? Here is a minimum working example: \usemodule[publ-imp-sbl] \startbuffer [bib] @Article{na2006, title={Volcanoes \word{of} New Mexico}, year={2006}, journal={New Mexico Earth Matters}, publisher={New Mexico Bureau \word{of} Geology \word{and} Mineral Resources}, volume={6}, number={1}

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
similar effect as \starttextdisplay. \usemodule[visual] \setupfloat[figure][location=left] \starttext \fakewords{10}{20} \startlinecorrection \fakeimage{4cm}{3cm}{6cm}{4cm} \stoplinecorrection \fakewords{10}{20} \blank[2*line] \fakewords{10}{20} \startplacefigure[location={force,none}] \fakeimage

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. Oh, that’s probably where I saw it, too. Here is a short example which two other solution to get a similar effect as \starttextdisplay. \usemodule

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
is Mikael because I saw the command the first time in the source of a presentation from him. Oh, that’s probably where I saw it, too. Here is a short example which two other solution to get a similar effect as \starttextdisplay. \usemodule[visual] \setupfloat[figure][location=left

[NTG-context] Re: upload

2024-04-01 Thread Hans Hagen
this command can be used by people who want to transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance] \goodriddancemath \starttext \startformula \int_{0}^{\pi} \sin(x)\dd x = 2. \stopformula \stoptext gives integral from 0 to 𝜋 , of sin of

[NTG-context] Re: upload

2024-04-01 Thread Otared Kavian
transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance]\goodriddancemath\starttext\startformula\int_{0}^{\pi} \sin(x)\dd x = 2.\stopformula\stoptextgives  integral from 0 to 𝜋 , of sin of 𝑥 d 𝑥 equals 2  as one can see in

[NTG-context] upload

2024-04-01 Thread Hans Hagen
f Description: Adobe PDF document % language=us % todo: no comma \usemodule[scite] \usemodule[article-basic] \usemodule[abbreviations-logos] \usemodule[math-goodriddance] \setuplayout[tight] \starttext \subject{Good riddance} We're done with math. After years of active development, Mi

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

2024-03-16 Thread Hans Hagen
e maintainer mean by that ... context can add profiles if configured to do so (best not to embed them) ... and why should there be a profile anyway ... crappy arguments .. especially because when i run \usemodule[tikz] \startTEXpage \definecolor [colorone] [r=0,g=0,b=0.5] \definecolor

  1   2   3   4   5   6   7   8   9   10   >