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
]
\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
]
\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
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
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
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}}%
]\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
]\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
> 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
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
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
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
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
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
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
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
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
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
\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
}}
{{\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{author}}
{\crlf{\structurelistuservariable{author}}}%
\hfill\currentlistentrypagenumber % pagenumber
\egroup
\egroup}
\setuplabeltext
[en]
[ chapter=\bf Chapter
t;> Hereby my example:
>>
>> \usesymbols[mvs]
>>
>> \usesymbols[uni]
>>
>> \usesymbols[wasysym]
>>
>> %% \usesymbols[ifsym]
>>
>>
>> \starttext
>>
>>
>> \par Show entire set martinvogel 1
>>
>> \sho
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][
]
\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
{\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
>
> 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
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
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
>
> \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
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}
> > \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
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
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
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
turelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{author}}
{\crlf{\structurelistuservariable{author}}}%
\hfill\currentlistentrypagenumber % pagenumber
\egroup
\egroup}
\setuplist
[chapter]
[lab
\vtop\bgroup
\hsize\dimexpr\makeupwidth-3cm\relax
\doifsomething{\rawstructurelistuservariable{year}}
{{\it\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{author}}
{\crlf{\bf
\hss}% number + labeltext
\vtop\bgroup
\hsize\dimexpr\makeupwidth-3cm\relax
\doifsomething{\rawstructurelistuservariable{year}}
{{\it\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable
oup
\hsize\dimexpr\makeupwidth-3cm\relax
\doifsomething{\rawstructurelistuservariable{year}}
{{\it\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{author}}
{\crlf{\structu
]\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
{\rawstructurelistuservariable{year}}
{{\it\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{year}}
{\crlf{\bf\structurelistuservariable{author}}}%
\hfill\currentlistentrypagenumber % pagenumber
\vtop\bgroup
\hsize\dimexpr\makeupwidth-3cm\relax
\doifsomething{\rawstructurelistuservariable{year}}
{{\it\structurelistuservariable{year}}\crlf}%
\currentlistentrytitle % title
\doifsomething{\rawstructurelistuservariable{year}}
{\crlf{\bf
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
) 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
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%
\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
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{
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
\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
#-#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
\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
}]
\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}]{
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
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
> 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 (
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
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
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
-
;
\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
][{\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
}}]
\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
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,
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
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
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
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
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
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
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?
>
>
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
> \
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
][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
.
\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
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
ich doesn't compile:
>>>
>>>
>>> \starttext
>>> \startitemize
>>> \item
>>> A\footnote{%
>>> B
>>> \startitemize
>>> \item C
>>> \stopitemize
>>>
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 %
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
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
,
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
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(&
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
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
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
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
\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
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}
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}
# >
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
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
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
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
\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
?
\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
:
\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
\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
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
]
\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
=,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
, 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
]
\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
:*}
\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
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
101 - 200 of 1039 matches
Mail list logo