[NTG-context] Re: Square right aligned

2024-02-09 Thread Ursula Hermann
Dear Otared and Dear Hraban, So this is my little example: works perfect, after our correspondence. \starttext \startalignment[normal] \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die

[NTG-context] Re: Square right aligned

2024-02-08 Thread Ursula Hermann
]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt, but it seems that in the latest version I have (2024.01.23), the command \qed is broken. Best regards: Otared On 8 Feb 2024, at 12:23, Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dea

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

2024-02-08 Thread Otared Kavian
alrule]\setupbodyfont[bonum, rm, 11pt]\starttext %\startcolumns[n=2,background="">\startcolumnset[quiz]\startitemize[n] \item Solve the following linear equations. \startitemize[r]\item equation%\blank[3.5cm]\vfill\item equation%\blank[3.5cm]\vfill\item equat

[NTG-context] \startcolumns and \startcolumnset

2024-02-08 Thread Jeong Dal via ntg-context
leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset [quiz] [n=2,background=verticalrule]\setupbodyfont[bonum, rm, 11pt]\starttext %\startcolumns[n=2

[NTG-context] Re: Square right aligned

2024-02-08 Thread Otared Kavian
Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt

[NTG-context] Square right aligned

2024-02-08 Thread Ursula Hermann
Dear List, I am at Home and have the following example.: \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen

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

2024-02-06 Thread Joel via ntg-context
o. \define\requirementA{     \reference[markerA]{This is a comment.} } \define\requirementB{     \reference[markerB]{This is a comment.} } \define\requirementC{     \reference[markerC]{This is a comment.} } \starttext     \section{Cats}         \requirementA         \input knuth         \requirementC

[NTG-context] Re: hyphenation question

2024-02-02 Thread Hans van der Meer via ntg-context
gt; Question: is it possible to realize this and how? > Like this? > > \starttext > > \startexceptions >voor-s[chree-ve] > \stopexceptions > > \hsize1mm > voors[chreeve] > > \stoptext > > > - &g

[NTG-context] Re: \type ignores space between command and bracket

2024-02-02 Thread Hans Hagen via ntg-context
On 2/2/2024 11:16 AM, wolfgangbackes--- via ntg-context wrote: I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh. don't confuse bugs and features ... \starttext here a \type{\test is} done here a \type{\test [is]} done here

[NTG-context] Re: hyphenation question

2024-02-02 Thread Hans Hagen via ntg-context
the abbreviation was interpreted. The problem then arises with hyphenation, because /voors[chreeve]/  in the example will not be hyphenated as if the []'s were absent. Which is what I would like to happen. Question: is it possible to realize this and how? Like this? \starttext \startexceptions voor

[NTG-context] BUG: colour spilling in btxrendering

2024-02-01 Thread Alexandre Christe
-DC power converters;Resonance;Switching frequency;Inverters;Filters;Snubbers;Circuit topology;Thyristors;Switching converters;Industry Applications Society},  doi={10.1109/28.67533}} } \stopbuffer \usebtxdataset [bib.buffer] \starttext \cite[alternative=entry][67533] \startnointerference

[NTG-context] Nested itemize lists: unexpected spacing

2024-02-01 Thread Jim
Consider the following: \starttext Text before. \startitemize[1,nowhite] \item item 1 \item item 2 \startitemize[5,nowhite] \item sub-item 1 \item sub-item 2 \stopitemize \item item 3 \stopitemize Text after. \stoptext Notwithstanding the "nowhite" options, there is a blank line

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Hans Hagen
=paragraph, %% offset=overlay, %% does nothing %% backgroundoffset=overlay, %% does nothing %% depthcorrection=off, %% does nothing %% topoffset=3mm,%% works, but only for positive values background=, frame=on] \starttext \startframedtext

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
tion=paragraph, >%% offset=overlay, %% does nothing >%% backgroundoffset=overlay, %% does nothing >%% depthcorrection=off, %% does nothing >%% topoffset=3mm,%% works, but only for positive values > background=, >frame=on] >

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
and setup the index at will. Lists have a sort option but this is no use here because you can't use the title to have a chronological sorted list. \starttext \placelist[section][order=title] \section{Hans} \section{Peter} \section{Anton} \stoptext Using the register mechanism as you suggest

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
a way), but for >> special needs I’m (ab)using indexes: >> just add something like \index[2017-04-29]{Speech, Panama City} to your >> chapter command and setup the index at will. > > Lists have a sort option but this is no use here because you can't use the > title

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
-04-29]{Speech, Panama City} to your chapter command and setup the index at will. Lists have a sort option but this is no use here because you can't use the title to have a chronological sorted list. \starttext \placelist[section][order=title] \section{Hans} \section{Peter} \section{Anton

[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
t line there is no problem > \setupinteraction[state=start] > > \defineenumeration[enu][text=Enu] > > \unprotect > \def\mc{\dosingleempty\do_my_command} > \def\do_my_command[#1]#2{% > \iffirstargument{% > \ctxlua{userdata.my_command('#1', [==[#2]==])}% > }\else {%

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
[scope=local]{#1}} \setuphead   [section]   [alternative=text,    numbercommand=\SectionNumberCommand,    distance=0pt] \starttext \section{Lorem} \samplefile{lorem} \stoptext Wolfgang ___ If your question is

[NTG-context] \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
e result I was looking for is the second figure in this example.) Thanks. Jim %%% cut here % \setuppapersize[legal] \starttext fr[ef] with frameoffset=1cm: This preceding text ends up inside the frame. \fr

[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
se {% \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}] \stopenu \stoptext ``` The compilation fails with: `

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-24 Thread Shiv Shankar Dayal
> yesterday, I downloaded context-win64, and tried the test today . > > > > Here is the test: > > \starttext > > > > \startmode[mkiv] > > > > \startluacode > > tex.sprint("hello") > > \stopluacode > >

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-24 Thread Ursula Hermann
Dear List, I am sorry, but once again me: I downloaded the last upload from Hans yesterday, I downloaded context-win64, and tried the test today . Here is the test: \starttext \startmode[mkiv] \startluacode tex.sprint("hello") \stopluacode \startMPcode

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-23 Thread Thomas Meyer
dle}] \setuplayout   [grid=yes] \showgrid \starttext \samplefile{lorem} \startPlaceAtBottom {\sl\samplefile{lorem}} \stopPlaceAtBottom \page \dorecurse{4}{\samplefile{lorem}} \startPlaceAtBottom {\sl\samplefile{lorem}} \stopPlaceAtBottom \stoptext Wolfg

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Wolfgang Schuster
def\startPlaceAtBottom {\PlaceAtBottom\bgroup} \mainlanguage[de] \setupbodyfont[libertinus, 12pt] \setuppagenumbering [location={footer,middle}] \setuplayout [grid=yes] \showgrid \starttext \samplefile{lorem} \startPlaceAtBottom {\sl\samplefile{lorem}} \stopPlaceAtBottom \page \dorecurs

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-22 Thread Shiv Shankar Dayal
ling list for ConTeXt users > *Betreff:* [NTG-context] Re: After Compiling the Context test, there was > no PDF. > > > > I just updated my ConTeXt distribution and it is working fine for me. > > > > Try processing the following file: > > > > \starttext &g

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-22 Thread Ursula Hermann
ontext test, there was no PDF. I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:4

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-22 Thread Ursula Hermann
here was no PDF. I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Day

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 1:33 AM, Aditya Mahajan wrote: \starttext \dorecurse{5000}{\ReadFile{knuth}} \stoptext I'll send you the PDFs offlist. lmtx defaults to 'modern' so you need to \setupbodyfont[modern] for mkiv Hans

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
LMTX generates more pages so it is > > faster. > > puzzling > > > Of course, this is a meaningless experiment from a practical point of view > > as a 1000 page document will be more complex than just text. > % engine=pdftex 1.2 > % engine=luatmetatex 1.6 >

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen via ntg-context
from a practical point of view as a 1000 page document will be more complex than just text. % engine=pdftex 1.2 % engine=luatmetatex 1.6 % engine=luatex 1.8 % engine=xetex 2.4 \starttext \dorecurse{500} { \input knuth \par } \stoptext 125 pages, so how does your test file

[NTG-context] scaling tweaked fonts

2024-01-18 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample which behaves differently after latest from 2023.09.26 18:19: \definetweakedfont[wider][xscale=1075] \starttext \startTEXpage[align=center] \contextversion\\ \wider \contextversion \stopTEXpage \stoptext Up to that version

[NTG-context] Re: upload

2024-01-18 Thread Otared Kavian
» and this apparently had consequences. In any case everything works fine now. Thanks to Hans, Mikael and all the people on this list! Best regards: Otared > On 18 Jan 2024, at 08:17, Jeong Dal via ntg-context > wrote: > > Dear Otared, > > I installed upload version today. > And, your exa

[NTG-context] How to Create Asymmetrical Continuous Columns in ConTeXt?

2024-01-18 Thread seyal . zavira
] \setupcolumnset[mymixedcolumn:2][width=7cm] \starttext \startcolumnset[mymixedcolumn] \dorecurse{5}{ \input{knuth} } \stopcolumnset \stoptext also is there a mechanism to automatically continue text between desired frames? For example, is there a way to write a function that, if the text

[NTG-context] Re: upload

2024-01-17 Thread Jeong Dal via ntg-context
Dear Otared, I installed upload version today. And, your example, \starttext The derivative of $f$ is denoted $f'$ or $f^\prime$ or is it $f^'$\dots \stoptext works well. I think that you will have the same good result. Best wishes, Dalyoung

[NTG-context] Re: upload

2024-01-17 Thread Mikael Sundqvist
Hi Otared, On Thu, Jan 18, 2024 at 2:37 AM Otared Kavian wrote: > > Hi Hans, > > Thanks for the new upload which solves the math alignment mechanism. However > I noticed that the classic notation $f’$ for the derivative does not work > anymore, while $f^\prime$ or $f^’$ do

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
] [left={\startmathfenced[cases]}, right=\stopmathfenced, align={1:right,2:left,3:left}, strut=yes] \setupformula [location=left] \starttext \samplefile{knuthmath} \startplaceformula \startformula \startalignedcases

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
Hi Mikael,Thank you for your reply. When I typeset the example you sent me, that is%begin 240117-1-bis.tex\definemathsimplealign[alignedcases] [left={\startmathfenced[cases]}, right=\stopmathfenced, align={1:right,2:left,3:left}, strut=yes]\setupformula  [location=left]\starttext\samplefile

[NTG-context] Re: Looking for itemize help

2024-01-16 Thread Jim
\define[1]\mystopitemize{\stopitemize\doifsamestringelse{#1}{\par}{\blank}{#1}} > \starttext > This is a short paragraph. > This is a line before an itemization. > \startitemize[nowhite] > \item First item. > \item Second item. > \mystopitemize > This is a short paragraph i

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-16 Thread Ursula Hermann
and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote:

[NTG-context] Re: After Compiling the Context test, there was no PDF.

2024-01-16 Thread Shiv Shankar Dayal
I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso wrote: > > > On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal < > shivshankar.da...@g

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Bruce Horrocks
On 15 Jan 2024, at 16:15, Jim wrote: > > I would like > something which automagically "does the right thing". Not pretty, but... :-) \setupwhitespace [big] \setuppapersize [letter] \define[1]\mystopitemize{\stopitemize\doifsamestringelse{#1}{\par}{\blank}{#1}} \startt

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Mikael Sundqvist
yfontenvironment[16pt] > \setupbodyfont[mainface, 16pt] > \starttext > \startmakeup[standard][style=\bf] > \switchtobodyfont[coverface] > This is a cover. > \stopmakeup > > This is text. > \stoptext > > Compiling the sample with current latest (2024.01.08 11:23),

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
y to do it. >> Can someone either enlighten me on either >> (a) the Right ConTeXt Way to do this, or >> (b) a document that would tell me this, if I knew to read it? >> I've looked in the wiki, the not-so-short intro to ConTeXt, and "ConTeXt: >> an excursion&qu

[NTG-context] issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[coverface][rm][TeX Gyre Termes] \setupbodyfont[mainface, 16pt] \starttext \startmakeup[standard][style=\bf] \switchtobodyfont[coverface] This is a cover. \stopmakeup

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Wolfgang Schuster
tion but not to ignore whitespace between paragraphs. \setupitemize[indentnext=auto] \setupindenting[yes,medium] \starttext Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur massa turpis, semper quis fringilla ut, viverra nec risus. Pellentesque habitant morbi \unknown \star

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Jim
(+), Rogers, Michael K wrote: > Hi Jim, > I think you want alternative “a”, if the dot instead of a letter is the > problem and not the whitespace: > %%%%%% > \starttext > This is a short paragraph. > This is a line before a {\bf packed, joinedup} itemization. >

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Rogers, Michael K
Hi Jim, I think you want alternative “a”, if the dot instead of a letter is the problem and not the whitespace: %% \starttext This is a short paragraph. This is a line before a {\bf packed, joinedup} itemization. \startitemize[a,packed,joinedup] \item First item. \item Second item

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
is a non-minimal but short non-working example. %%% \setupwhitespace [big] \setuppapersize [letter] \starttext This is a short paragraph. This is a line before a {\bf packed, joinedup} itemization. \startitemize[packed,joinedup] \item First item. \item Second item. \stopitemize

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-14 Thread mf
an numerals, followed by the main text starting from page 1 in arabic numerals. So the twelfth page is 'XII', while the twenty-second is '2'. How do I get 'XII' from 12 and '2' from 22? \defineconversionset   [frontpart:pagenumber] [] [romannumerals] \setuppagenumber   [way=byblock] % Alternative met

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Marco Patzer
ge] \setuppagenumbering [state=stop] \setupmakeup [standard] [align=middle] \setupblank [2*line] \showframe \starttext \dorecurse{12}{%% \startstandardmakeup Text \blank {\tfd\recurselevel} \blank Text \stopstandardmakeup \page} \stoptext That's how I

[NTG-context] Asking help for better way to make tickets.

2024-01-12 Thread Jeong Dal via ntg-context
;), .75A + .25B);\stopuseMPgraphic\starttext\dorecurse{4}{\startcombination[3*1]%distance=0mm]{\useMPgraphic{ticket}{i=\recurselevel,j=2}}{}{\useMPgraphic{ticket}{i=\recurselevel,j=1}}{}{\useMPgraphic{ticket}{i=\recurselevel,j=0}}{}\stopcombination\startcombination[3*1]%distance=0mm]{\useMPg

[NTG-context] Re: conversion from realpage to pagenumber

2024-01-12 Thread Wolfgang Schuster
than being reset % % \startsectionblockenvironment[bodypart] %   \resetuserpagenumber % \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{20}{\samplefile{lorem}\page} \stopfrontmatter \startbodymatter \dorecurse{20}{\samplefile{lorem}\page} \stopbodymatter \stoptext

[NTG-context] Re: Metapost docs

2024-01-11 Thread Shiv Shankar Dayal
specific > documentation on things like chemical structures is a little hit-or-miss, > but often quite useful. > -The mailing list. I have the most luck with very specific questions that > include a minimal working example. It should include the appropriate > \starttext…\stoptext

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Wolfgang Schuster
, only at the start of a paragraph you have to add \dontleavehmode. Another way is to use the \inlinefigure command which is a small wrapper around \externalfigure. \useMPlibrary[dum] \starttext \samplefile{ward} \externalfigure[dummy][location=low,height=\lineheight] \samplefile{ward

[NTG-context] Re: Metapost docs

2024-01-11 Thread Gavin via ntg-context
/Graphics) Searching the wiki for specific documentation on things like chemical structures is a little hit-or-miss, but often quite useful. -The mailing list. I have the most luck with very specific questions that include a minimal working example. It should include the appropriate \starttext

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
quot;check" for me > > (see 1.pdf). I also tried: > > > > ``` > > \usesymbols[fontawesome] > > > > \starttext > > \showsymbolset[fontawesome-solid] > > \stoptext > > ``` > > and get a list of symbols that do not belong to fontawesome (

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster
Gerion Entrup schrieb am 09.01.2024 um 16:21: Hi, I have to come back to that topic, since it seems not to work. The said source code produces just the text "times" and "check" for me (see 1.pdf). I also tried: ``` \usesymbols[fontawesome] \starttext \showsymbols

[NTG-context] Re: vim syntax highlighting bug?

2024-01-09 Thread Gerion Entrup
t; > > > > > Happy New Year! > > > > I got into a bug in my Vim syntax highlighting version. > > Highlight stays in lua mode after ctxlua macro is closed. > > Here is a MWE, where «this should not be highlitghted as > > a comment indeed is

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
Hi, I have to come back to that topic, since it seems not to work. The said source code produces just the text "times" and "check" for me (see 1.pdf). I also tried: ``` \usesymbols[fontawesome] \starttext \showsymbolset[fontawesome-solid] \stoptext ``` and get a lis

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
}] \starttext A paragraph before calling the subject. \subject{\sc The subject} A paragrapf after the subject was called. \stoptext I use the \subject command within a columnset, could that be the problem? Yes, because text in column(sets)s is typeset on a grid. Try \showgrid to visualize. You

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
ne]},align={flushleft,nothyphenated,tolerant}] > > \starttext > A paragraph before calling the subject. > > \subject{\sc The subject} > > A paragrapf after the subject was called. > \stoptext > > I use the \subject command within a columnset, could that be the probl

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}] \starttext A paragraph before calling the subject. \subject

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
t; > I want to use linked bibliography numbers, linked Chapter, section > subsection, linked margin numbers, in the text. > > \setupinteraction[state=start] This is essential. > > \starttext > > Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von > \m{x\dou

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
ble to "yes". %% Type 2. %\setuplayout[ %grid=yes %] Here you set the grid variable to "yes " so a trailing space. \setuphead[section][grid=low] %% needed to observe the output difference \starttext \title{Alpha} \subsection{Beta} \input{knuth} \stoptext So this is ok: \setupfoo

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
rve the output difference \starttext \title{Alpha} \subsection{Beta} \input{knuth} \stoptext """ Best regards, Ali ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
Am 08.01.24 um 14:10 schrieb Ursula Hermann: Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] This is essential. \starttext Der Wert von \m{y = f(x)} ist

[NTG-context] Links

2024-01-08 Thread Ursula Hermann
Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] \starttext Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit

[NTG-context] Re: vim syntax highlighting bug?

2024-01-08 Thread Vincent Hennebert
ghlighting version. Highlight stays in lua mode after ctxlua macro is closed. Here is a MWE, where «this should not be highlitghted as a comment indeed is. \starttext Hello! \ctxlua{context("does the parser work?")} -- this should not be highlighted as a comment \stoptext Do

[NTG-context] Re: Metapost: draw only subpath; changing thickness of line

2024-01-06 Thread Emanuel Han via ntg-context
this MWE. Now I want to draw only the subpath of S between gong6 and > > gong7 with a red line which is narrower at the two ends and thicker in the > > middle part. How to achieve this? > > > > Thanks! > > Emanuel > > > > \setuppapersize[A4,landscape]

[NTG-context] Re: multipage metapost output from ConTeXt

2024-01-06 Thread Emanuel Han via ntg-context
; TheFrame := fullsquare scaled 5in ; z1 = (60,40); z2 = (40,90); z3 = (10,70); p1:=image( label("Word 1", z1); ); p2:=image( label("Mot 2", z2); ); p3:=image( label("Parola 3", z3); ); \stopuseMPgraphic \starttext \dorecurse{3}{ % Frame \startMPpage[pagestate

[NTG-context] Re: vim syntax highlighting bug?

2024-01-06 Thread Christian Prim via ntg-context
sed. > Here is a MWE, where «this should not be highlitghted as > a comment indeed is. > > \starttext > > Hello! > \ctxlua{context("does the parser work?")} > > -- this should not be highlighted as a comment > > \stoptext > > Do other Vim users c

[NTG-context] vim syntax highlighting bug?

2024-01-06 Thread Damien Thiriet via ntg-context
Hello, Happy New Year! I got into a bug in my Vim syntax highlighting version. Highlight stays in lua mode after ctxlua macro is closed. Here is a MWE, where «this should not be highlitghted as a comment indeed is. \starttext Hello! \ctxlua{context("does the parser work?")} -- t

[NTG-context] Re: Question to a formular

2024-01-05 Thread Ursula Hermann
> > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \startformula \startalign \NC 0! \NC \colonequals 1 \NR \NC (n+1)! \NC \co

[NTG-context] Re: Question to a formular

2024-01-05 Thread Aditya Mahajan
On Fri, 5 Jan 2024, Ursula Hermann wrote: > Dear list, > > > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \star

[NTG-context] Re: Metapost: draw only subpath; changing thickness of line

2024-01-05 Thread Taco Hoekwater
I have this MWE. Now I want to draw only the subpath of S between gong6 and > gong7 with a red line which is narrower at the two ends and thicker in the > middle part. How to achieve this? > > Thanks! > Emanuel > > \setuppapersize[A4,landscape] > > \starttext >

[NTG-context] Metapost: draw only subpath; changing thickness of line

2024-01-05 Thread Emanuel Han via ntg-context
Hi all, I have this MWE. Now I want to draw only the subpath of S between gong6 and gong7 with a red line which is narrower at the two ends and thicker in the middle part. How to achieve this? Thanks! Emanuel \setuppapersize[A4,landscape] \starttext \startMPcode numeric u; u=1cm; %equiangular

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Henning Hraban Ramm
Am 04.01.24 um 18:00 schrieb Jeroen: I just would like to have a lot of mark-up for combined figures and tables etc moved out of the way, similar to this. I am loosing the general documetn flow because of all this markup. Would there be a construction similar to this: \starttext

[NTG-context] Re: Status of Asymptote

2024-01-03 Thread Jeroen
    -outname \externalfilteroutputfile},     output=\externalfilterbasefile.pdf,     cache=yes,     readcommand=\ReadImage,] \define[1]\ReadImage{\externalfigure[#1]} \starttext    Testing if we can include an asymptote image    \startplacefigure[location={here}, title={An Asymptote figure}] \startASY

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Aditya Mahajan
to obtain simple integration for asymptote using the filter module: https://github.com/adityam/filter Using that you could define an asymptote environment so that: \startbuffer[asymptote-preamble] \stopbuffer \starttext \startasymptote % Asymptote figure \stopasymptote \stoptext saves th

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Shiv Shankar Dayal
>> \define[1]\oldfact >> {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} >> >> \starttext >> >> \m{\oldfact{n}} >> >> \stoptext >> >> Wolfgang >> >> Thanks a lot. It s

[NTG-context] Question about drawing flowchart using chart module

2023-12-27 Thread Jeong Dal via ntg-context
. Thank you. Dalyoung %% \usemodule[chart] \starttext \startFLOWchart[bigger] \setupFLOWcharts [option=test, nx=3, ny=6, dx=\bodyfontsize, dy=\bodyfontsize, width=6cm,%.5\bodyfontsize, height=10cm,%.3\bodyfontsize, maxwidth=.5\textwidth ] \startFLOWcell \name

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Mikael Sundqvist
f \framed. >> >> \define[1]\oldfact >> {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} >> >> \starttext >> >> \m{\oldfact{n}} >> >> \stoptext >> >> Wolfgang >&g

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
A simple alternative to tikz is the usage of \framed. > > \define[1]\oldfact > {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} > > \starttext > > \m{\oldfact{n}} > > \stoptext > > Wolfgang > > Thanks a lot. It should work n

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
=on,bottomframe=on]{#1}} \starttext \m{\oldfact{n}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
What do you expect here to pass as argument to the oldfact command? > I will pass something like n, 5, 10 etc. > > This works here: > > \defineenumeration > [proof] > [closesymbol={\mathematics{\square}}] > > \starttext > > \startproof > \samplefile{lorem}

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
it as soon as possible. This works here: \defineenumeration   [proof]   [closesymbol={\mathematics{\square}}] \starttext \startproof \samplefile{lorem} \stopproof \stoptext Wolfgang ___ If your question is of interest

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Willi Egger
d of undefined > > If I comment out the “\externalfigure[][]” line, then there is no error > message. > > I don’t know what is wrong in the sample code. > Please check the code. > > Thank you for reading. > > Best regards, > > Dalyoung > > %%%

[NTG-context] error: Control sequence expected instead of undefined

2023-12-25 Thread Jeong Dal via ntg-context
%%%* \starttext \in{figure}[fig:kruskal1] is my point. \startplacefigure[location=,reference=fig:kruskal1,title={}] \externalfigure[cow][width=.5\makeupwidth] \stopplacefigure \stoptext %___ If your

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-24 Thread Wolfgang Schuster
] [textstyle=bold] \starttext \contextversion \abbreviation{NTG}{Nederlandstalige TeX Gebruikersgroep} Test 1 : \NTG . Test 2 : \AbbreviationsFull{NTG}. \stoptext Any clue ? Hans made changes on the capitals mode and now the following two lines have to be added to typo-cap.mkxl on line 52 and 53

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-23 Thread Bruce Horrocks
[abbreviation] [abbreviations] [\AbbreviationsFull] > \setupsynonyms [abbreviation] [textstyle=bold] > > \starttext > > \contextversion > \abbreviation{NTG}{Nederlandstalige TeX Gebruikersgroep} > > Test 1 : \NTG . > > Test 2 : \AbbreviationsFull{NTG}. >

[NTG-context] \setupsynonyms textstyle=cap failing

2023-12-23 Thread Garulfo
' in the index to The TeXbook.) mtx-context | fatal error: return code: 1 It works on https://context-on-web.eu (ConTeXt version : 2022.12.22 22:17) \definesynonyms    [abbreviation] [abbreviations] [\AbbreviationsFull] \setupsynonyms [abbreviation] [textstyle=bold] \starttext \contextversion

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
Files\MiKTeX 2.9\miktex\bin\texify.exe My question is: Should I put the PATH in WinEdt or in Windows? Or in ConTeXt? $TEXROOT/tex/texmf-$ARCH/bin/lib/luametatex/zint Many thanks Uschi Von: Henning Hraban Ramm Gesendet: Montag, 18. Dezember 2023 20:34:15 An: ntg

[NTG-context] Re: QR Code

2023-12-19 Thread Ursula Hermann
Ursula Hermann: > Dear List > After compiling > \usemodule[m-zint] > \starttext > \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] > \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, > width=3cm] \stoptext > > I got , what y

[NTG-context] Re: QR Code

2023-12-18 Thread Michal Vlasák
nTeXt cannot simply find where the > converted PDF versions of the zint images are. > > If I have the following source in testing-barcodes.tex: > > \usemodule[m-zint] > \starttext > \startTEXpage[offset=1dk] > \barcode[alternative=isbnx, text=9783865419026,

[NTG-context] Re: QR Code

2023-12-18 Thread Pablo Rodriguez via ntg-context
stalled (or its path is unknown to the system), or ConTeXt cannot simply find where the converted PDF versions of the zint images are. If I have the following source in testing-barcodes.tex: \usemodule[m-zint] \starttext \startTEXpage[offset=1dk] \barcode[alternative=isbnx, text=9783865419026, width=

[NTG-context] Re: QR Code

2023-12-18 Thread Henning Hraban Ramm
Am 18.12.23 um 17:05 schrieb Ursula Hermann: Dear List After compiling \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, width=3cm] \stoptext I got , what you see

<    1   2   3   4   5   6   7   8   9   10   >