[NTG-context] lmtx goodies

2021-04-15 Thread Hans Hagen
erse(a) do if i > 32 and v > 0 then context("%03i %U\\crlf",i,i) end end \stopluacode \blank \startluacode local a = { } local y = string.byte("1") local n = string.byte("0") f

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
] \authorstyle{The Author} \blank[13*big] \titlestyle{Title 1} \blank[5*small] \titlestyle{Title 2} \blank[2*big] \subtitlestyle{Subtitle} \blank[47*big] \publisherstyle{Publisher} \stopmakeup \startmakeup[copyrightpage] Title \crlf Subtitle \blank Geprint in Country. \crlf Document Reference ABC-ABC-001

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
] \authorstyle{The Author} \blank[13*big] \titlestyle{Title 1} \blank[5*small] \titlestyle{Title 2} \blank[2*big] \subtitlestyle{Subtitle} \blank[47*big] \publisherstyle{Publisher} \stopmakeup \startmakeup[copyrightpage] Title \crlf Subtitle \blank Geprint in Country. \crlf Document Reference ABC-ABC-001

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
down onto the next line, which I don't want. I tried \skip .5cm, so: \define[1]\SectionTocEntry{% #1\crlf% title \hskip .5cm\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } But the \hskip is ignored at the beginning of a line. I wonder if there is something

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Wolfgang Schuster
tried \skip .5cm, so: \define[1]\SectionTocEntry{% #1\crlf% title \hskip .5cm\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } But the \hskip is ignored at the beginning of a line. I wonder if there is something else I can substitute it for? Use \par

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
them also > pushes the page number line down onto the next line, which I don't want. I > tried \skip .5cm, so: > > \define[1]\SectionTocEntry{% > #1\crlf% title > \hskip > .5cm\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
]\SectionTocEntry{% #1\crlf% title \-\ \hskip .5cm\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } Julian On 12/3/21 9:04 am, Bruce Horrocks wrote: On 11 Mar 2021, at 02:20, jbf wrote: Hi list, I have: \define[1]\SectionTocEntry{% #1\crlf% title \doifnot

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
]\SectionTocEntry{% #1\crlf% title \hskip .5cm\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } But the \hskip is ignored at the beginning of a line. I wonder if there is something else I can substitute it for? Julian On 12/3/21 9:04 am, Bruce Horrocks wrote

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
> On 11 Mar 2021, at 02:20, jbf wrote: > > Hi list, > > I have: > > \define[1]\SectionTocEntry{% > #1\crlf% title > \doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% > } > > which successfully gives me a ToC wi

[NTG-context] margin in TocEntry definition

2021-03-10 Thread jbf
Hi list, I have: \define[1]\SectionTocEntry{% #1\crlf% title \doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%   } which successfully gives me a ToC with: Chapter title Author name But I want the author name indented by .5cm and do not know how to use

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Thanks for the alternative. Also gives me further ideas, especially regarding placement of the \startalignment Julian On 10/2/21 8:11 am, Hans Hagen wrote: On 2/9/2021 9:50 PM, jbf wrote: Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread Hans Hagen
On 2/9/2021 9:50 PM, jbf wrote: Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} You need to move the \startalignment into the test (you don't want en empty one

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} Julian On 9/2/21 9:02 pm, mf wrote: Il 09/02/21 10:49, jbf ha scritto: I wonder if someone can assist me

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Thank you. Ci siamo quasi, ma non del tutto! Nearly there! The \midaligned{... } was obviously preventing the \crlf in the \startchapter from working. Removing it altogether allowed the split to occur but obviously not centred. So i have tried now adding the \startalignment[middle

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread mf
for the essential bit (which is then called in as textcommand=\SectionTocEntry in \setuplist[chapter], obviously): \define[1]\SectionTocEntry{% #1\crlf% title \midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}% } try \startalignment[middle

[NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
is then called in as textcommand=\SectionTocEntry in \setuplist[chapter], obviously): \define[1]\SectionTocEntry{% #1\crlf% title \midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}% } My problem is that at the moment, the four authors appear on a single line

[NTG-context] 3 questions about xtables after reading manuals

2021-01-18 Thread Andres Conrado Montoya
cell[align=right] \strong{Concepto}\crlf\small{Cifras en miles de pesos} \stopxcell \startxcell \strong{Dato} \stopxcell \stopxrow \stopxtablehead \startxtablebody[body] \startxrow \startxcell[align=right] Bono \stopxcell \startxcell Ordinario \stopxcell \stopxrow \startxrow \startxcell[align=ri

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
all]\emph{Fuente:}~#1\par\stop} > > \starttext > \reference[tbl:t03]{}% > \startplacetable[title={Composición química y valor energético de recursos > forrajeros de corte en el área de influencia del Subproyecto Carne Bovina > (trópico de altura).}] > \startxtable[option=tight,bodyfo

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
\startxcell[align=right,width=.1\textwidth] \strong{Altura\crlf (msnm)} \stopxcell \startxcell[align=right,width=.28\textwidth] \strong{Gramíneas forrajeras de corte} \stopxcell \startxcell[align=middle,width=.06\textwidth] \strong{Edad (días)} \stopxcell \startxcell[align=middle,width=.05\textwidth

[NTG-context] space between chapter and chapter number (in words)

2020-10-14 Thread jbf
}} {{\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable{author}} {\crlf{\structurelistuservariable{author}}}%    \hfill\currentlistentrypagenumber % pagenumber \egroup    \egroup} \setuplabeltext   [en]   [ chapter=\bf Chapter

Re: [NTG-context] library 'uni' is unknown

2020-10-01 Thread Jairo A. del Rio
t;> Hereby my example: >> >> \usesymbols[mvs] >> >> \usesymbols[uni] >> >> \usesymbols[wasysym] >> >> %% \usesymbols[ifsym] >> >> >> \starttext >> >> >> \par Show entire set martinvogel 1 >> >> \sho

Re: [NTG-context] library 'uni' is unknown

2020-10-01 Thread Jairo A. del Rio
sesymbols[uni] > > \usesymbols[wasysym] > > %% \usesymbols[ifsym] > > > \starttext > > > \par Show entire set martinvogel 1 > > \showsymbolset[martinvogel 1] > > > \par Show YinYang symbol from martinvogel 2. \crlf > > \symbol[martinvogel 2][

[NTG-context] library 'uni' is unknown

2020-10-01 Thread Susanne G. Loeber
] \par Show YinYang symbol from martinvogel 2. \crlf \symbol[martinvogel 2][YinYang] %% \symbol[Alpine Symbol][Flag] \stoptext Console output fonts > symbols > library 'mvs' loaded fonts > symbols > library 'uni' is unknown fonts > symbols > library 'wasysym' is unknown

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
  {\hbox\bgroup \hbox to 2.5cm{\currentlistsymbol\hss}% number + labeltext \vtop\bgroup    \hsize\dimexpr\makeupwidth-2.5cm\relax    \doifsomething{\rawstructurelistuservariable{year}} {{\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
> > On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen wrote: > >> On 9/19/2020 6:18 AM, Christoph Reller wrote: >>> On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen >> <mailto:j.ha...@xs4all.nl>> wrote: >>> >>>On 9/18/2020 11:23 AM, Christoph Rell

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Otared Kavian
seems to >>> be too much… >> >> \starttabulate >> >> >> >> -- >> >> Message: 3 >> Date: Mon, 21 Sep 2020 14:55:02 +0200 >> From: Christoph Reller >> To: Hans Hagen >> Cc: mailing list fo

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jairo A. del Rio
ZapfDingbats Unicode differences MKIV vs > LMTX > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > On Sat, Sep 19, 2020 at 12:04 PM Hans Hagen wrote: > > On 9/19/2020 6:18 AM, Christoph Reller wrote: > > On Fri, Sep 18, 2020 at 4:17 PM Hans Hage

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Christoph Reller
> > \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > > > \usemodule [fnt-10] > > > \starttext > > > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  > > > (U+0F033) in font 'ZapfDingbats-4' with id 8: mis

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-19 Thread Hans Hagen
fontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > \usemodule [fnt-10] > \starttext > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  > (U+0F033) in font 'ZapfDingbats-4' with id 8: missing > (2) \getglyphdirect{ZapfDingbats}{983059}

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
> > \starttext > > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  > > (U+0F033) in font 'ZapfDingbats-4' with id 8: missing > > (2) \getglyphdirect{ZapfDingbats}{983059} % LMTX log: char  > > (U+F0013) in font 'ZapfDingbats-4' with id 8: mi

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Hans Hagen
On 9/18/2020 11:23 AM, Christoph Reller wrote: Dear List, I have the following MWE: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \usemodule [fnt-10] \starttext (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  (U+0F033) in font 'ZapfDingbats-4' with id

[NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
Dear List, I have the following MWE: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \usemodule [fnt-10] \starttext (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  (U+0F033) in font 'ZapfDingbats-4' with id 8: missing (2) \getglyphdirect{ZapfDingbats

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
the following, using an idea Hraban had floated:  \setupsectionblock  [bodypart]  [number=no] \define[1]\SectionTocEntry{%   #1\crlf% title   \structurelistuservariable{author}% } \setuplist[section][   textcommand=\SectionTocEntry, ] I need to adjust the \setuplist[section] so these section entries

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
turelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable{author}} {\crlf{\structurelistuservariable{author}}}%    \hfill\currentlistentrypagenumber % pagenumber \egroup    \egroup} \setuplist   [chapter]   [lab

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
\vtop\bgroup    \hsize\dimexpr\makeupwidth-3cm\relax    \doifsomething{\rawstructurelistuservariable{year}} {{\it\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable{author}} {\crlf{\bf

Re: [NTG-context] styling individual parts of ToC entry

2020-09-07 Thread Wolfgang Schuster
\hss}% number + labeltext \vtop\bgroup    \hsize\dimexpr\makeupwidth-3cm\relax    \doifsomething{\rawstructurelistuservariable{year}} {{\it\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable

Re: [NTG-context] styling individual parts of ToC entry

2020-09-06 Thread jbf
oup    \hsize\dimexpr\makeupwidth-3cm\relax    \doifsomething{\rawstructurelistuservariable{year}} {{\it\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable{author}} {\crlf{\structu

Re: [NTG-context] styling individual parts of ToC entry

2020-09-06 Thread Wolfgang Schuster
]\ChapterListCommand {\hbox\bgroup \hbox to 3cm{\currentlistsymbol\hss}% number + labeltext \vtop\bgroup \hsize\dimexpr\makeupwidth-3cm\relax \doifsomething{\rawstructurelistuservariable{year}} {{\it\structurelistuservariable{year}}\crlf}% \currentlistentrytitle

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread jbf
{\rawstructurelistuservariable{year}} {{\it\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable{year}} {\crlf{\bf\structurelistuservariable{author}}}%    \hfill\currentlistentrypagenumber % pagenumber

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Wolfgang Schuster
\vtop\bgroup \hsize\dimexpr\makeupwidth-3cm\relax \doifsomething{\rawstructurelistuservariable{year}} {{\it\structurelistuservariable{year}}\crlf}% \currentlistentrytitle % title \doifsomething{\rawstructurelistuservariable{year}} {\crlf{\bf

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread Henning Hraban Ramm
ble: > > \define[1]\ChapterTocEntry{% > \structurelistuservariable{author}\crlf% > #1\crlf% title > %\structurelistuservariable{subtitle}}% > } > > \setuplist[chapter][ > textcommand=\ChapterTocEntry, > ] > > So, in other words I swapped the word 'section' in your

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread jbf
) and an author, and added, below what I already have in the preamble: \define[1]\ChapterTocEntry{%   \structurelistuservariable{author}\crlf%   #1\crlf% title   %\structurelistuservariable{subtitle}}% } \setuplist[chapter][   textcommand=\ChapterTocEntry, ] So, in other words I swapped the word

[NTG-context] please explain

2020-08-06 Thread Hans van der Meer
n to 'suff' and the message goes away.I have put the full set of files inside the zip. dr. Hans van der Meer \setupbodyfont[termes]\starttext%=ConTeXt versie \contextversion \crlf%

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Wolfgang Schuster
\stopitem \startitem Convert 2,907 to TVD:\crlf TVD = 2,907 × cosine 45° = 2,907 × 0.707 = 2,056 ft \stopitem \startitem ΔP = 2,056 ft × 0.052 × (15 – 7.2) = 834 psi \stopitem \stopitemize \stoptext You can also get rid of the = in your table when you u

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
ent in the ToC like the list > argument. > > > The minimal working example below shows what I'm trying to do. > > > > Best wishes and many thanks in advance. > > > > James > > > > > \define\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
but it won't work when you try to show the argument in the ToC like the list argument. The minimal working example below shows what I'm trying to do. Best wishes and many thanks in advance. James \define\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{myvar}{date}\hfill\getvariable{myvar}{ref

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{myvar}{date}\hfill\getvariable{myvar}{ref}}} \define\mylist{\getvariable{myvar}{list}---{\bf \getvariable{myvar}{date}}} \starttext \completecontent \setvariables[myvar][ title={What I would like}, date={2020}, ref={Reference No 1}, list

[NTG-context] lmtx

2020-06-19 Thread Hans Hagen
#-#2]{\detokenize{#1#2}} \def\fff[#1#0#3]{\detokenize{#1#3}} \meaning\foo\ : <\foo[{123}]> \crlf \meaning\ofo\ : <\ofo[{123}]> \crlf \meaning\oof\ : <\oof[{123}]> \crlf \meaning\fof\ : <\fof[123]> \crlf \meaning\fff\ : <\fof[123]> \crlf I mention

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
 \def\refno#1{{\em{(no. \small #1})}} My files look like this: \starttext \startCasus[casus-349][\NL{Een moeilijke zaak}\EN{A complicated case}] \refno{casus-349}\crlf The casus-349 element is used as a label. After the text I have a list of questions for this case in a separate block for questions

Re: [NTG-context] using modeset

2020-06-11 Thread r . ermers
}] \refno{casus-349}\crlf The casus-349 element is used as a label. After the text I have a list of questions for this case in a separate block for questions, introduced by \in[casus-349]). You can probably also use something like \section[\NL{Een moeilijke zaak}\EN{A complicated case}]{

[NTG-context] \goto works but links don't when passed via textext() in METAPOST

2020-05-10 Thread Gerben Wierda
ur, and green passive structure. See \goto{here}[url(https://ea.rna.nl/2011/06/05/on-the-use-of-colours-in-archimate/)].\crlf{}\crlf{} {\bf Color codes:}\crlf{}\crlf{} - \colored[mared]{\bf Red}{} and \colored[maviolet]{\bf Violet}{} stand for a 'higher' layer element used as an abs

[NTG-context] mkiv \digits{2.0=} zero padding feature request

2020-05-07 Thread Benjamin Buchmuller
Hi, As Wolfgang has figured out, zero padding in \digits only works for trailing (and omitted) zeroes when immediately preceded by the decimal separator. It would be nice if this would work even if there is a number preceding, so that \digits{3.1=}x\crlf \digits{3.==}x\crlf \digits{3.14}x

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 09:38, Hans Hagen wrote: > > On 5/1/2020 1:44 AM, Gerben Wierda wrote: >>{ ‘\n', ‘\\strut' }, > often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; > you could also try \crlf I tried \crlf{} and that worked too (

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:44 AM, Gerben Wierda wrote:    { ‘\n', ‘\\strut' }, often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; you could also try \crlf Hans - Hans

Re: [NTG-context] offset for background overlay

2020-04-13 Thread mf
OverlayWidth yscaled 2.5 OverlayHeight ; draw p withcolor red ; setbounds currentpicture to p topenlarged 6mm ; \stopuseMPgraphic \defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}] \starttext \bTABLE[frame=off] \bTR \bTD[nx=2,align=middle,background=triangle] \dontleavehmode a\crlf

Re: [NTG-context] offset for background overlay

2020-04-11 Thread mf
f]    \bTR \bTD[nx=2,background=triangle,align=middle] \dontleavehmode a\crlf text \eTD    \eTR    \bTR[toffset=1mm] \bTD left \eTD \bTD right \eTD    \eTR \eTABLE \stoptext here's a very ugly solution \startuseMPgraphic{cell:triangle} fill llcorner OverlayBox -

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
; \stopuseMPgraphic \defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}] \starttext \bTABLE[frame=off]    \bTR \bTD[nx=2,background=triangle,align=middle] \dontleavehmode a\crlf text \eTD    \eTR    \bTR[toffset=1mm] \bTD left \eTD \bTD right \eTD    \eTR \eTABLE \stoptext

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Hans Hagen
][{\uniqueMPgraphic{cell:triangle}}] \starttext \bTABLE[frame=off]   \bTR     \bTD[nx=2,background=triangle,align=middle] \dontleavehmode a\crlf text \eTD   \eTR   \bTR[toffset=1mm]     \bTD left \eTD     \bTD right \eTD   \eTR \eTABLE \stoptext here's a very ugly solution \startuseMPgraphic

[NTG-context] offset for background overlay

2020-04-11 Thread mf
}}] \starttext \bTABLE[frame=off] \bTR \bTD[nx=2,background=triangle,align=middle] \dontleavehmode a\crlf text \eTD \eTR \bTR[toffset=1mm] \bTD left \eTD \bTD right \eTD \eTR \eTABLE \stoptext The triangle is used as background of the 2-column wide cell of the first row. I want

[NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
d[width=0.280\textwidth, height=3cm, align=right, frame=off] {\placefigure[force][]{none}{\externalfigure[somepic.png][height=1.9cm]} } \framed[width=0.430\textwidth, height=3cm, align=middle, frame=off] {\crlf\tfa \crlf \bf Technical Report} \framed[width=0.370\textwidth, height=3cm,

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Tomas Hala
Sun, Mar 29, 2020 ve 08:24:53PM +0200 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 29.03.2020 um 19:55: # >Hi all, # > # >I noticed the difference in behaviour of textcommand which depends # >on the location: for top, bottom and page the \crlf (see MWE) is applied # >whi

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Wolfgang Schuster
Tomas Hala schrieb am 29.03.2020 um 19:55: Hi all, I noticed the difference in behaviour of textcommand which depends on the location: for top, bottom and page the \crlf (see MWE) is applied while for the left and right not even if other values (\red, any-text) are used as expecterd. How could

[NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Tomas Hala
Hi all, I noticed the difference in behaviour of textcommand which depends on the location: for top, bottom and page the \crlf (see MWE) is applied while for the left and right not even if other values (\red, any-text) are used as expecterd. How could I activate the textcommand=\crlf

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-21 Thread Jeong Dal
the >> title input like >> \startchapter[title={{\BigFontTwo A Long Long Title}\crlf{\tfa Sub Title}}] >> then a big space is gone, but the chapter number follows the size of >> subtitle. >> How to remove the big space while the chapter number follow

Re: [NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-19 Thread Hans Hagen
On 3/19/2020 2:26 PM, Jeong Dal wrote: Hi, long time ago, I can use outlined fonts for the title of a chapter by the help of the experts in this list. Now, I’d like to write a subtitle under the title, but \crlf is not working. I tried in several ways, but I couldn’t make it. How to write

[NTG-context] write a subtitle under the title of a chapter using outlined font

2020-03-19 Thread Jeong Dal
Hi, long time ago, I can use outlined fonts for the title of a chapter by the help of the experts in this list. Now, I’d like to write a subtitle under the title, but \crlf is not working. I tried in several ways, but I couldn’t make it. How to write them in two lines? Thanks. Best regards

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Hans van der Meer
d in the tex-file called: >> \starttext >> \startmode[epub] >> Producing EPUB\crlf >> \stopmode >> \startnotmode[epub] >> Not producing EPUB\crlf >> \stopnotmode >> \stoptext >> >> This produces "Not producing EPUB" Why? > >

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Wolfgang Schuster
On Tue, 3 Mar 2020 22:07:51 +0100 Hans van der Meer wrote: > Calling ConTeXt with: > > mtxrun --autogenerate --mode=epub --script context "$1" > > and in the tex-file called: > \starttext > \startmode[epub] > Producing EPUB\crlf > \stopmode > \

[NTG-context] Why mode not recognized?

2020-03-03 Thread Hans van der Meer
Calling ConTeXt with: mtxrun --autogenerate --mode=epub --script context "$1" and in the tex-file called: \starttext \startmode[epub] Producing EPUB\crlf \stopmode \startnotmode[epub] Not producing EPUB\crlf \stopnotmode \stoptext This produces "Not producing

[NTG-context] Nested quotation and left-hanging punctuation together?

2020-03-01 Thread Tomas Hala
][protrusion=quality,expansion=quality] \starttext\showframe \quotation{asdaf\quotation{asdfasfd} adfasdfasf} \quotation{asdaf\crlf\quotation{asdfasfd} adfasdfasf} \stoptext Without any command (#1--#3): Quotation symbols are ok but without hanging. With cmd #1: Quotation symbols are ok

Re: [NTG-context] Using TestBackground inside Offset

2019-12-23 Thread Wolfgang Schuster
. \definetextbackground [DisplayBackground] [location=paragraph] \definetextbackground [InlineBackground]  [location=text] \starttext X\offset[x=1em]{\starttextbackground[InlineBackground]Text\stoptextbackground} X\offset[x=1em]{\vtop{\starttextbackground[DisplayBackground]Text\crlf Text\stoptextbackground

[NTG-context] Difference between direct use of quotation marks and \quotation

2019-11-22 Thread Tomas Hala
on outside the frame? Best wishes, Tomáš %%% MWE: \setupalign[hz,hanging] \definefontfeature [default] [default] [protrusion=quality, expansion=quality] \starttext\showframe one \hfill two \crlf „three“ four \par one \hfill two \crlf \quotation{three} four

Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-11-04 Thread Pablo Rodriguez
ich doesn't compile: >>> >>> >>> \starttext >>>   \startitemize >>>     \item >>>   A\footnote{% >>>     B >>>     \startitemize >>>   \item C >>>     \stopitemize >>>

Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-31 Thread context
agen wrote: On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote: Hello, here is a minimal sample which doesn't compile: \starttext   \startitemize     \item   A\footnote{%     B     \startitemize   \item C     \stopitemize   }\crlf   D     \item E %

Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-22 Thread Hans Hagen
On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote: Hello, here is a minimal sample which doesn't compile: \starttext   \startitemize     \item   A\footnote{%     B     \startitemize   \item C     \stopitemize   }\crlf   D     \item E

[NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-22 Thread context
Hello, here is a minimal sample which doesn't compile: \starttext \startitemize \item A\footnote{% B \startitemize \item C \stopitemize }\crlf D \item E % <<<< This sample compiles when this line

Re: [NTG-context] notes in the margin

2019-10-04 Thread Henning Hraban Ramm
, frame=off, offset=overlay, strut=yes, ]{#1}% }% } \define\PlaceFootnote{% \inmargin[ voffset=\dimexpr-\FNVOffset\lineheight\relax, width=\ColWidth, ]{% \vtop{\switchtobodyfont[6pt]\placelocalnotes[footnote][before=,after=]}}% } \def\FNo#1{{#1~}} %\crlf\gobblespacetokens

Re: [NTG-context] newlines in return Lua string

2019-06-15 Thread Aditya Mahajan
to replace with \crlf in this manner: string1 .. "\\crlf" .. string2 but the returned \crlf are not executed as such. How to force \crlf's in the executed return? Hard to say without a minimal example, but how about: \startluacode context.startlines() context(hvdm.myluacall(&

[NTG-context] newlines in return Lua string

2019-06-15 Thread Hans van der Meer
From\ctxlua{tex.print(hvdm.myluacall("\xmlatt{#1}{argument}"))} Lua returns a string containing newline characters '\n'. In ConTeXt this returned string is printed as one line, the embedded newlines are not honoured. I thought to replace with \crlf in this manner: string1

Re: [NTG-context] How to repeat the hyphen?

2019-03-25 Thread Sam May
e is changed again. # > # > The following code works but I guess that must be some more sophisticated # > ConTeXt way. # > # > Best wishes, # > # > Tomá?? # > # > # > %% # > \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
sticated # > ConTeXt way. # > # > Best wishes, # > # > Tomáš # > # > # > %% # > \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par} # > \def\mybox#1{\myboxik{traditional}{#1}\myboxik{d

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Taco Hoekwater
e is changed again. > > The following code works but I guess that must be some more sophisticated > ConTeXt way. > > Best wishes, > > Tomáš > > > %% > \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframe

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par} \def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1}\par\thinrule} \starttext

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Taco Hoekwater
y way in ConTeXt how to set it by default? > # > > # > Best wishes, > # > > # > Tomáš > # > > # > %% MWE: > # > > # > \starttext\mainlanguage[cz] > # > > \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
y in ConTeXt how to set it by default? # > # > Best wishes, # > # > Tomáš # > # > %% MWE: # > # > \starttext\mainlanguage[cz] # > \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par} # >

Re: [NTG-context] How to repeat the hyphen?

2019-03-21 Thread Taco Hoekwater
t by default? > > Best wishes, > > Tomáš > > %% MWE: > > \starttext\mainlanguage[cz] > \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par} > \def\mybox#1{\myboxik{traditional}{#1}\m

[NTG-context] How to repeat the hyphen?

2019-03-21 Thread Tomas Hala
anguage[cz] \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par} \def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1

Re: [NTG-context] Fwd: Fwd: IBM Wordcloud with the Filter Module

2019-03-14 Thread Aditya Mahajan
x file with filter with the defineexternalfilter command on one line without crlf or spaces: fonts > 'fallback modern-designsize rm 12pt' is loaded t-filter> current filter : wordcloud t-filter> base file : test2-temp-wordcloud-0 t-filter> input file : test2-temp

[NTG-context] Fwd: Fwd: IBM Wordcloud with the Filter Module

2019-03-14 Thread Jeroen
filter command on one line without crlf or spaces: \usemodule[filter] \defineexternalfilter[wordcloud][filtercommand={/context/java/bin/java -jar /context/wordcloud/ibm-word-cloud.jar -c /context/wordcloud/examples/configuration.txt -w 800 -h 600 -o \externalfilteroutputfile\space -i \externalfilterinp

Re: [NTG-context] problem with \sym?

2019-02-04 Thread Wolfgang Schuster
\leaderfill{\leaders\hbox to 1em{\hss. \hss}\hfill} \define[1]\pg{{\switchtobodyfont[10pt]\hfill\at[#1]\crlf}} \startcomponent%\starttext \startCList \sym{} Illustrations and Tables\pg{Illustrations} \sym{} Preface\pg{Preface} \sym{} Acknowledgments\pg{Acknowledgments} \blank[big, fixed] \sym{0

Re: [NTG-context] xmlstrippednolines

2018-09-18 Thread Taco Hoekwater
? \startxmlsetups xml:text tex: \xmlflush{#1}\crlf xmlstrippednolines: \xmlstripnolines{#1}{.}\xmlflush{#1}\crlf \stopxmlsetups > Why does \xmlstrippednolines behaves in this manner? No idea about that. Best

[NTG-context] startlines in margin

2018-07-21 Thread Rik Kabel
: \setupbackend [export=yes] \starttext \subject{\tex{startlines} in margin} \startparagraph \margintext{\startlines abc def ghi jkl mno pqr \stoplines} \input knuth \stopparagraph \subject{\tex{crlf} in margin} \startparagraph \margintext{abc def\crlf ghi

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Wolfgang Schuster
\eTR } \eTABLEbody \eTABLE \crlf \bTABLE[before=,after=,inbetween=] \bTABLEbody \bTR \bTD AAA\eTD \bTD BBB\eTD \eTR \eTABLEbody \eTABLE \stopalignment % \page \startalignment[middle] \dontleavehmode \bTABLE[split=yes] \bTAB

Re: [NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-21 Thread Procházka Lukáš Ing .
Hello, On Wed, 20 Jun 2018 13:13:08 +0200, Aditya Mahajan wrote: - How to suppress the vertical space between the last row of "aaa - bbb" table and the first row of the "AAA - BBB" table? (Untested) Try `\blank[none]` instead of `\crlf`. Aditya actually, \blank[n

Re: [NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-20 Thread Aditya Mahajan
] \dontleavehmode \bTABLE[before=,after=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD \eTR } \eTABLEbody \eTABLE \crlf \bTABLE[before=,after=,inbetween=] \bTABLEbody \bTR \bTD AAA\eTD \bTD

[NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-09 Thread Procházka Lukáš Ing .
=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD \eTR } \eTABLEbody \eTABLE \crlf \bTABLE[before=,after=,inbetween=] \bTABLEbody \bTR \bTD AAA\eTD \bTD BBB\eTD

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-23 Thread Tomas Hala
, pagella \input knuth\par \quotation{pokus s uvozovkami}\crlf \quotation{pokus s uvozovkami}\par \input knuth \stoptext Sat, Apr 21, 2018 ve 08:01:40PM +0200 Wolfgang Schuster napsal(a): #Add this fix to your document: # #\unprotect # #\def\typo_delimited_fontdriven

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Tomas Hala
] \definefontfeature [default] [default] [protrusion=quality, expansion=quality ] \setupalign[hz,hanging] \setupbodyfont[libertine] % times, modern % \definefontfamily[min][rm][EB Garamond 12] \setupbodyfont[min] \input knuth\par \quotation{pokus s uvozovkami}\crlf \quotation{pokus

Re: [NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{demo:entity} \startxmlsetups demo:entity:root \blank Start test:\crlf flushing: \xmlflush{#1}\crlf End test\blank \stopxmlsetups \startbuffer[demo] amp = and #38 = \stopbuffer \starttext \currentdate-\currenttime\quad\ConTeXt-version

[NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
e:% test character entity failure.\startxmlsetups demo:entity \xmlsetsetup{#1}{root}{demo:entity:*}\stopxmlsetups\xmlregisterdocumentsetup{demo}{demo:entity}\startxmlsetups demo:entity:root \blank Start test:\crlf root: = ""\crlf root: = "&\letterhash 038;”\crlf % &\#038; p

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