I had no luck with page floats in columnsets; according to the manual
they should work.
Hraban
\setuppapersize[A5,landscape]
\useMPlibrary[dum]
\definecolumnset[Two][n=2]
\starttext
\startcolumnset[Two]
\dorecurse{5}{1\recurselevel\samplefile{lorem}\par}
\startplacefigure[location=page
hat doesn’t matter.
"location=inmargin": the symbol is at the edge of the text, but not in
the margin.
Hraban
\setupinteraction[
state=start,
]
\setupcomment[
author=Don,
location=inmargin,
]
\starttext
\samplefile{knuth}
\comment[author=Me
jbf schrieb am 21.09.2023 um 07:01:
However, Wolfgang, if I do, e.g.
\setuphead[chapter][textcommand={\setbar[underbar]}]
\starttext
\startchapter[title={My title}]
\input ward
\stopchapter
\stoptext
Then I do not get My Title with underline, which is what I want, and nor
is anything
;2322]
\definemathextensible[topbin][frowned]["2322]
\starttext
$x \frownedupon{4} y + \frowned{!} z = 10$
\stoptext
Interesting, but I think that the OP wanted to use \frown as an accent,
\definemathaccent[topfake][top][offset=auto]
\definemathtopaccent[topfake][frowned]["2322]
\st
topbin][frowned] ["2322]
>
> \starttext
> $x \frownedupon{4} y + \frowned{!} z = 10$
> \stoptext
Interesting, but I think that the OP wanted to use \frown as an accent,
Aditya
___
If you
]
\definemathextensible[toprel][frownedupon]["2322]
\definemathextensible[topbin][frowned]["2322]
\starttext
$x \frownedupon{4} y + \frowned{!} z = 10$
\stoptext
-
Hans Hagen |
However, Wolfgang, if I do, e.g.
\setuphead[chapter][textcommand={\setbar[underbar]}]
\starttext
\startchapter[title={My title}]
\input ward
\stopchapter
\stoptext
Then I do not get My Title with underline, which is what I want, and nor
is anything else underlined in 'Ward'.
Could
{text}}] but would prefer to achieve
this with \setuphead
\setuphead[chapter][textcommand={\setbar[underbar]}]
\starttext
\chapter{\samplefile{ward}}
\stoptext
Wolfgang
___
If your question is of interest to others
On 9/18/23 19:52, Rik Kabel wrote:
> (Running 2023.09.18 17:40 on Windows 11 x64)
>
> With
>
> \setupbodyfont[libertinus,11pt]
> \starttext
> Hello
> \stoptext
>
> I get no text output in the pdf and the following error reports:
Hi Rik,
I think cu
(Running 2023.09.18 17:40 on Windows 11 x64)
With
\setupbodyfont[libertinus,11pt]
\starttext
Hello
\stoptext
I get no text output in the pdf and the following error reports:
fonts > otf loading > loading
'G:/ConTeXt_LMTX/tex/texmf/fonts/data/public/libe
On 18/09/2023 17:07, Michael Loescher wrote:
\starttext
\type{hello}
\stoptext
here too (linux pop!os 22.04) something goes unexpected:
! Control sequence expected instead of undefined.
\buff_verbatim_type_normal
...chained \t!verbatim \currenttype \??type \clf_type
data
Am 18.09.2023 um 16:20 schrieb Hans Hagen:
On 9/18/2023 3:58 PM, Michael Loescher wrote:
There seems to be something wrong with the \type command.
MWE:
\starttext
\type{hello}
\stoptext
gives an error:
tex error > tex error on line 2 in file Z:/test.tex: Control sequence
expec
Hi,
works as expected here, with the latest.
/Mikael
On Mon, Sep 18, 2023 at 4:04 PM Michael Loescher wrote:
>
> There seems to be something wrong with the \type command.
>
> MWE:
> \starttext
> \type{hello}
> \stoptext
>
> gives an error:
> tex error &
On 9/18/2023 3:58 PM, Michael Loescher wrote:
There seems to be something wrong with the \type command.
MWE:
\starttext
\type{hello}
\stoptext
gives an error:
tex error > tex error on line 2 in file Z:/test.tex: Control
sequence expected instead of undefined
what platform?
looks l
There seems to be something wrong with the \type command.
MWE:
\starttext
\type{hello}
\stoptext
gives an error:
tex error > tex error on line 2 in file Z:/test.tex: Control sequence
expected instead of undefined
\buff_verbatim_type_normal
#1->\buff_verbatim_initialize_ty
yfont=11pt,
style={\tt}]
\defineenumeration
[Code]
[title=yes,
alternative=empty,
before=\startCountFramedText,
after=\stopCountFramedText,
left={\somenamedheadnumber{chapter}{current}.}]
\starttext
\startchapter
[title=first]
\startCode
[title={The First Title},
refer
CountFrame}
{}
\defineenumeration
[Counter]
[title=yes,
alternative=empty,
before=\startCountFramedText,
after=\stopCountFramedText]
\starttext
\startchapter
[title=first]
\startCounter
[title={The First Title},
reference={tit1}]
Some verbatim text
\stopCounter
\startCounte
Dear list,
I have the following sample:
\showgrid
\setuplayout[grid=yes]
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{4}{\input knuth\par\pushoutputstream}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor
,frame=on,framecolor=\boxframecolor,]% }% \formattitle{#2}%}\def\boxfigure#1#2{% \externalfigure[#1]% [rulethickness=4pt,width=100pt,height=50pt,frame=on,framecolor=\boxframecolor,]% \formattitle{#2}%}\def\boxtitlecolor{blue}\def\boxframecolor{blue}\starttext\ConTeXt\ \contextversion\blankProblem
y shows the problem. I'm using ConTeXt
ver: 2023.09.04 19:15.
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{5}{\chapter{Stream One}
\dorecurse{10}{\input knuth\par}
}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[green]
\dorecurse{5}{\chapter{Stream Two}
> On 15 Sep 2023, at 13:56, Taco Hoekwater wrote:
>
> Like this?
>
> \definehead[mychapter][chapter]
> \setuphead[mychapter][page=no]
Taco beat me to it... a simple example:
\starttext
\chapter{First}
Some text
\chapter{Second}
More text
\chapter{Third}
More text
>> Either use
>>
>> \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}]
>>
>> Or, nicer:
>>
>> \startsectionblockenvironment[backpart]
>> \setuphead[chapter][page=no]
>> \stopsectionblockenvironment
>>
>>
>>> Best,
>>> Denis
&g
ter headings
and it all looks fine to me[1] - the red text is all on the right hand side and
the greeen text is all on the left. If this doesn't help and you still have
problems then you'll need to post a sample that actually shows the problem. I'm
using ConTeXt ver: 2023.09.04 19:15.
\starttext
][page=yes]
\setupsectionblock[backmatter][setups={\setuphead[chapter][page=no]}]
\starttext
\chapter{One}
\input knuth
\chapter{Two}
\input ward
\startbackmatter
\chapter{Three}
\input knuth
\chapter{Four}
\input ward
\stopbackmatter
\stoptext
Von: Jeroen
Gesendet: Donnerstag, 14
s]
> \setupsectionblock[backmatter][setups={\setuphead[chapter][page=no]}]
> \starttext
> \chapter{One}
> \input knuth
> \chapter{Two}
> \input ward
> \startbackmatter
> \chapter{Three}
> \input knuth
> \chapter{Four}
> \input ward
> \stopbackmatter
> \stopte
=no]}]
\starttext
\chapter{One}
\input knuth
\chapter{Two}
\input ward
\startbackmatter
\chapter{Three}
\input knuth
\chapter{Four}
\input ward
\stopbackmatter
\stoptext
Von: Jeroen
Gesendet: Donnerstag, 14. September 2023 23:50
An: mailing list for ConTeXt users
Betreff: [NTG-context] Chapters without
.
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{5}{\chapter{Stream One}
\dorecurse{10}{\input knuth\par}
}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[green]
\dorecurse{5}{\chapter{Stream Two}
\dorecurse{10}{\input zapf\par
this doesn't help and you still have
problems then you'll need to post a sample that actually shows the problem. I'm
using ConTeXt ver: 2023.09.04 19:15.
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{5}{\chapter{Stream One}
\dorecurse{10}{\input knuth\par}
\protected
modifier when you create \Mycommand.
\starttext
\def\Mycommand#1{#1}% fails
%\protected\def\Mycommand#1{#1}% works
\edef\CheckMycommand{\Mycommand}
\ifempty\CheckMycommand
\tex{Mycommand} is empty
\else
\tex{Mycommand} has content
\fi
\stoptext
If just found the following in th
ault TIFF converters to the above function.
figures.converters.tif.pdf = convert
figures.converters.tif.jpg = convert
figures.converters.tif.default = convert
\stopluacode
\setfigureconversion[tif][jpg] % has no effect
\starttext
\externalfigure[test.tif][conver
]\\}\blackrule[color=black, height=0.05ex, width=4cm]
\starttext
\margintext{2.1.1}\
{Ach ist das schön, dass du da bist.}
\stoptext
Uschi
___
If your question is of interest to others as well, please add an entry
this one.
Julian
The original (Wolfgang) code is as follows:
\starttext
\startoutputstream[one]
\startcolor[red]
\dorecurse{10}{\input knuth\par}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[green]
\dorecurse{10}{\input zapf\par}
\stopcolor
% Test
% \blank
% #1\space#2
% \stoptexdefinition
\starttext
\myChapterCommand{1}{asdf}
\startchapter[title=First][author=First Author]
\input knuth
\stopchapter
\startchapter[title=Second][author=Second Author]
\input knuth
\stopchapter
\setuphead[chapter]
[
before=,after
nd #1 #2 % doesn't work either, but at
least blanks should work
% \structureuservariable{author}
% Test
% \blank
% #1\space#2
% \stoptexdefinition
\starttext
\myChapterCommand{1}{asdf}
\startchapter[title=First][author=First Author]
\input knuth
\stopchapter
\startchapter[title=Second][auth
{\structureuservariable{author}\blank #1\space#2} %
does not work
% \starttexdefinition myChapterCommand #1 #2 % doesn't work either, but at
least blanks should work
% \structureuservariable{author}
% Test
% \blank
% #1\space#2
% \stoptexdefinition
\starttext
\myChapterCommand{1}{asdf
after={After: \structureuservariable{author}\blank},
]
\def\myChapterCommand#1#2{\structureuservariable{author}\space\blank}
\define[2]\myChapterCommand{\structureuservariable{author}\blank #1\space#2}
%\def\myChapterCommand#1#2{\structureuservariable{author}\blank #1\space#2} %
does not work
\sta
Ursula Hermann schrieb am 12.09.2023 um 11:19:
Dear List,
I have done an little example with a \blackrule:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\starttext
\margintext{\blackrule[color=black, height=0.05ex
Dear List,
I have done an little example with a \blackrule:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\starttext
\margintext{\blackrule[color=black, height=0.05ex,
width=1cm]\\Me
, " ") .. " …"
> else res = t.dt[1]
> end
> context(res)
> end
> \stopluacode
> \startxmlsetups xml:chapter:title:marking
> \xmlfunction{#1}{getMarking}
> \stopxmlsetups
>
end
context(res)
end
\stopluacode
\startxmlsetups xml:chapter:title:marking
\xmlfunction{#1}{getMarking}
\stopxmlsetups
\startxmlsetups xml:chapter:title
\xmlflush{#1}
\stopxmlsetups
\setupheadertexts[chapter]
\starttext
\xmlp
]
\starttext
\bTABLE
\bTR
\bTD Cell 1:1 \eTD
\bTD Cell 1:2 \eTD
\bTD Cell 1:3 \eTD
\eTR
\bTR
\bTD Cell 2:1 \eTD
\bTD Cell 2:2 \eTD
\bTD Cell 2:3 \eTD
\eTR
\bTR
\bTD Cell 3:1 \eTD
\bTD Cell 3:2 \eTD
\bTD Cell 3:3 \eTD
\eTR
\eTABLE
at 21:38 (+0200), Lutz Haseloff wrote:
> Hi Jim,
> perhaps does this work for you?
>
> \setuplist[chapter][headnumber=no]
> \setuphead[chapter][number=no]
> \starttext
> \completecontent
> \page
> \chapter{Chapter one}
> \input knuth
> \chapter{Chapt
ctions are shown in the table of content
> because by default only the numbered sections are listed.
> begin example 1
> \setuphead [title] [incrementnumber=list]
> \setuphead [subject] [incrementnumber=list]
> \setuphead [subsubject] [incrementnumber=list]
> \definehead [conte
Hi Jim,
perhaps does this work for you?
\setuplist[chapter][headnumber=no]
\setuphead[chapter][number=no]
\starttext
\completecontent
\page
\chapter{Chapter one}
\input knuth
\chapter{Chapter two}
\input ward
\stoptext
Greetings Lutz
Am 9. September 2023 20:11:55 MESZ schrieb
ject] [incrementnumber=list]
\setuphead [subsubject] [incrementnumber=list]
\definehead [contentstitle] [title]
\setupcombinedlist [content]
[list={chapter,title,section,subject,subsection,subsubject}]
\starttext
\completecontent
\title{Title}
\subject{Subject}
\subsubject{Subsubject}
[listingbackground]},
after=%
{\stoptextbackground
\blank[4*medium]},
align={flushleft,verytolerant}]
\starttext
\startListing
this is a code example
\stopListing
\stoptext
%%
% MWE2
%%
\startuseMPgraphic{FunnyFrame}
picture p ; numeric w, h, o ;
p
]
[bodyfont=10pt,
margin=1em,
before=%
{\blank[3*medium]
\setupinterlinespace[line=2.4ex]
\starttextbackground[listingbackground]},
after=%
{\stoptextbackground
\blank[4*medium]}]
\protect
\starttext
\startListing
test test test test test test test test test test test
gives a pdf with two #'s instead of only one. Why is that?
> >
> > \starttext
> >
> > \startluacode
> > context.type("#")
> > \stopluacode
> >
> > \stoptext
> because by default tex loves to duplicate hashes when it serializes
>
On 9/7/2023 2:47 PM, Marcus Vinicius Mesquita wrote:
Dear List,
The MWE below gives a pdf with two #'s instead of only one. Why is that?
\starttext
\startluacode
context.type("#")
\stopluacode
\stoptext
because by default tex loves to duplicate hashes when it serializes
t
Dear List,
The MWE below gives a pdf with two #'s instead of only one. Why is that?
\starttext
\startluacode
context.type("#")
\stopluacode
\stoptext
--
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, pr
Hi,
You can use before, inbetween and after.
\setupitemgroup
[itemize]
[inbetween={\blank[1cm]},
before={\blank[2cm]},
after={\blank[3cm]}]
\starttext
\samplefile{ward}
\startitemize
\dorecurse{4}{
\startitem
\samplefile{knuthmath}
\stopitem
}
\stopitemize
\samplefile{ward}
\stoptext
related to XML):
\starttext
\externalfigure[test two spaces.pdf]
\externalfigure[test not two spaces.pdf]
\stoptext
I don‘t know whether this is intended or not.
That being said, more than one consecutive space in a file name (I would
say it) is rather an exception than the rule
On 9/6/23 12:28, denis.ma...@unibe.ch wrote:
> Hi,
>
> I have the example below that uses the three images in the attachment.
> For some reason multiple spaces encoded as %20 get merged into a single %20.
Hi Denis,
this is standard TeX behavior (not only related to XML):
;/>
https://iiif.ub.unibe.ch/presentation/v2.1/berner-inkunabeln/manifest/Inc%20IV%2076%20%20Spiegel%20vorn_Teigstempel"/>
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
\stoptext
test two spaces.pdf
Description: test two spaces.pdf
test one space.pdf
Descrip
]
\enabledirectives[references.border=darkgreen]
\starttext
\startTEXpage[offset=1dk]
\attachment[method=hidden, file=a(b).pdf]
\stopTEXpage
\stoptext
The name in EmbeddedFiles is "a\(b\).pdf".
Sorry for the obscure question, but how can I access this with
"\goto{l
Dear list,
I have the following source:
\setupinteraction[state=start, display=new]
\enabledirectives[references.border=darkgreen]
\starttext
\startTEXpage[offset=1dk]
\attachment[method=hidden, file=a(b).pdf]
\stopTEXpage
\stoptext
The name in EmbeddedFiles is "a\(b\
ndnote] [location=none]
\starttext
\startbodymatter
\startchapter[title={Body}]
\startparagraph
\input knuthmath
\startendnote
\input knuth-gpt
\stopendnote
\stopparagraph
\stopchapter
\stopbodymatter
\startback
>>
>> \usemodule[tikz]
>> \usetikzlibrary[calendar]
>>
>> \starttext
>> This should works:
>> \blank
>> \tikz \calendar[dates=2000-01-01 to 2000-01-31,week list];
>> \blank
>> but this does not !
>> \stoptext
>>
>
On Mon, 4 Sep 2023, Fabrice L wrote:
> Dear list,
>
> I have a problem with tikzCalendar on a recent installation. This minimal
> example :
>
> 8<
>
> \usemodule[tikz]
> \usetikzlibrary[calendar]
>
> \starttext
> This should works:
>
Dear List,
After compiling the following example, which is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
Dear list,
I have a problem with tikzCalendar on a recent installation. This minimal
example :
8<
\usemodule[tikz]
\usetikzlibrary[calendar]
\starttext
This should works:
\blank
\tikz \calendar[dates=2000-01-01 to 2000-01-31,week list];
\blank
but this does not !
\stoptext
The following example generates a log file which begins with the line
structure > lists > out of order sectionsblocks, maybe use
\setsectionblock
My larger document has over a hundred of these at the beginning.
\setupnote [endnote] [location=none]
\sta
:\space\ifxmlselfempty{#1}content = \xmlflush{#1}\elseattribute = \xmlatt{#1}{value}\fi\blank\stopxmlsetups \startxmlsetups xml:something\xmlall{#1}{./emptynode}\blank\xmlall{#1}{./notemptynode}\blank\stopxmlsetups \starttext\ConTeXt\ \con
On 9/4/2023 6:12 PM, Pablo Rodriguez wrote:
Dear list,
after updating to current latest (from 2023.09.03 19:03), packed list
doesn’t seem to work in LMTX:
\starttext
\startTEXpage[offset=1em]
\startitemize[packed]
\item item
\item item
\stopitemize
\stopTEXpage
On 9/4/2023 12:12 PM, Pablo Rodriguez wrote:
Dear list,
after updating to current latest (from 2023.09.03 19:03), packed list
doesn’t seem to work in LMTX:
\starttext
\startTEXpage[offset=1em]
\startitemize[packed]
\item item
\item item
\stopitemize
\stopTEXpage
Dear list,
after updating to current latest (from 2023.09.03 19:03), packed list
doesn’t seem to work in LMTX:
\starttext
\startTEXpage[offset=1em]
\startitemize[packed]
\item item
\item item
\stopitemize
\stopTEXpage
\stoptext
MkIV gets packed lists just right.
Could anyone
Hello,
On 2023-09-04 12:06, Wolfgang Schuster wrote:
\mainlanguage[cz]
\setuphead
[section]
[distance=1.25em,
style=\bfc,
align={flushleft,broad,nothyphenated}]
that's it, thank you!
Lukas
\setupbodyfont[8pt]
\starttext
\chapter{Dummy}
\samplefile{lorem}
\section{Specifické
is that both values are reset on the following page and
with \startsectionblockenvironment
you can make this layout change in the style file of your document.
\startsectionblockenvironment[frontpart]
\setupheader[state=high]
\setupfooter[state=high]
\stopsectionblockenvironment
\showframe
\starttext
ide a *working* minimal example the next time,
otherwise we have
to fill the missing parts (\starttext ... \stoptext).
\mainlanguage[cz]
\setuphead
[section]
[distance=1.25em,
style=\bfc,
align={flushleft,broad,nothyphenated}]
\setupbodyfont[8pt]
\starttext
\chapter{Dummy}
\samplefi
bruary 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe
On 9/4/2023 8:17 AM, Jairo A. del Rio wrote:
Hi, list. The following fails with a "Missing number, treated as zero"
error prompt:
\starttext
\expandedrepeat2{\expandedrepeat2{\the\numexpression#I+#P\relax\ }}
\stoptext
OTOH, \numexpr works seamlessly. Tested on ConTeXt 2023.09.03 19:
= \xmlflush{#1}
\else
attribute = \xmlatt{#1}{value}
\fi
\blank
\stopxmlsetups
\startxmlsetups xml:something
\xmlall{#1}{./emptynode}\blank
\xmlall{#1}{./notemptynode}\blank
\stopxmlsetups
\starttext
\ConTeXt\ \contextversion\blank
\xmlprocessbuffer{main}{test}{}
\stoptext
* (which include some dummy content) examples.
The example below results in section entries which are listed as a
paragraph, what output do you expect here.
\setuplist[chapter][alternative=c]
\setuplist[section][alternative=d]
\starttext
\completecontent
\dorecurse{2}
{\chapter{Chapter #1
Hi, list. The following fails with a "Missing number, treated as zero"
error prompt:
\starttext
\expandedrepeat2{\expandedrepeat2{\the\numexpression#I+#P\relax\ }}
\stoptext
OTOH, \numexpr works seamlessly. Tested on ConTeXt 2023.09.03 19:03. Thanks
in advance.
Best regar
I’m afraid that \in{attachment}[foobar] doesn‘t generate a link in your
sample.
Or do you get a link border from the following source?
\setupinteraction[state=start]
\enabledirectives[references.border=green]
\starttext
\startTEXpage[offset=1em]
\attachment[
file={hacker.jpg},
m
the hood, I think there’s just a
“reference” key missing in \attachment or \setupattachment:
\setupinteraction[state=start]
\starttext
\samplefile{lorem}
\attachment[
file={hacker.jpg},
title={Hacker},
symbol=Paperclip,
author=Hans,
location=inmargin,
reference=foobar,
]
As you can see
-else-fi reversed:\space\ifxmlselfempty{#1} content = \xmlflush{#1}\else attribute = \xmlatt{#1}{value}\fi\blank\stopxmlsetups\startxmlsetups xml:something\xmlall{#1}{./emptynode}\blank\xmlall{#1}{./notemptynode}\blank\stopxmlsetups\starttext\ConTeXt\ \contextversion\blank \xmlprocessbuffer{main
his):
\definefontfamily[mainface][rm][DejaVu Sans]
[sl≃style:bf]
\setupbodyfont
[mainface, 100pt]
\starttext
\startTEXpage[offset=1ex]
a {\em b}
\stopTEXpage
\stoptext
Many thanks for your help again,
Pablo
][DejaVu Sans]
[sl={style:tf, features:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX
:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX higher font size gives less slanted text
]
\setupfittingpage[offset=1ex]
\starttext
\startTEXpage
a {\em b}
\stopTEXpage
\startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]
a {\em b}
\stopTEXpage
\stoptext
Using LMTX higher font size gives less slanted text (or not at all).
Using MkIV text is slanted fine
Dear list,
I have the following sample (using current latest from 2023.08.27 13:48):
\setupinteractionscreen[option=max]
\definefontfamily[maf][rm][DejaVu Sans]
[sl={style:tf, features:{default,slanted}}]
\setupbodyfont[maf, 8pt]
\setupfittingpage[offset=1ex]
\starttext
t;,
type = "kern",
nocheck = true,
data = {
[0x27E8] = {
["f"]= 300,
["f_l"] = 300,
["f_i"] = 300,
[0xFB01] = 300,
[0xFB02] = 300,
}
nocheck = true,
data = {
[0x27E8] = { ["f"] = 300, ["fi"] = 300, ["fl"] = 300 }
}
}
\stopluacode
\definefontfeature[kernit][mode=node,kernit=yes]
\starttext
\definedfont[name:ebgaramondregular*default,kernit]
⟨f ile
⟨f lame
⟨file
g node <\xmltag{#1}>
> \xmlflush{#1}
> \crlf
> \stopxmlsetups
> \startbuffer[attribute]
>
> no attribute
> attribute type = cleanup
>
> \stopbuffer
> \startbuffer[attribute2]
>
> no attribute
> attribute type
ush{#1}
\crlf
\stopxmlsetups
\startbuffer[attribute]
no attribute
attribute type = cleanup
\stopbuffer
\startbuffer[attribute2]
no attribute
attribute type=cleanup
\stopbuffer
\starttext
\ConTeXt\ version\contextversion\blank
\xmlprocessbuffer{demo}{attribute}{}
\stoptext
xml-tex-attribu
Ouch, thanks for opening my eyes!
Le 27/08/23 à 21:42, Mikael Sundqvist a écrit :
Remove the period:
\definecharacterkerning [mykerning] [factor=0.15]
\definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]
\definemakeup [title] [doublesided=empty, pagestate=start]
\starttext
Remove the period:
\definecharacterkerning [mykerning] [factor=0.15]
\definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]
\definemakeup [title] [doublesided=empty, pagestate=start]
\starttext
\starttitlemakeup
Title
\stoptitlemakeup
\stoptext
/Mikael
On Sun, Aug 27, 2023 at 9:32
] [doublesided=empty, pagestate=start]
\starttext
\starttitlemakeup
Title
\stoptitlemakeup
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
o match
\stopxmlsetups
\startxmlsetups xml:whatever
Yes
\stopxmlsetups
\startbuffer[test]
Yes
No
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
\stoptext
___
If your question is of interest to others a
tps://iiif.ub.unibe.ch/presentation/v2.1/berner-inkunabeln/manifest/Inc%20I%20104%20fol%20a1r;>IIIF-Link
https://wiki.contextgarden.net/;>Other Link
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
\stoptext
__
c")]}{Yes}{No} \par % run, but no
match
% 5 \xmldoifelse{#1}{.[contains(@class,'abc')]}{Yes}{No} \par % causes an error
% 6 \xmldoifelse{#1}{.[find(@class,"abc")]}{Yes}{No} \par % causes an error
\stopxmlsetups
\startxmlsetups xml:whatever
Yes
\stopxmlsetups
\s
\xmlfilter{#1}{./find(attribute('class'), 'abc')/command(xml:whatever)}
\xmldoifelse{#1}{./attribute('class')/contains('abc')} {Yes}{No}
\stopxmlsetups
\startxmlsetups xml:whatever
Yes
\stopxmlsetups
\startbuffer[test]
Yes
No
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
\stoptext
opluacode
\startbuffer[test]
Yes
No
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
\stoptext
Hope that gets you started.
Thomas
> On 24. Aug 2023, at 16:11, denis.ma...@unibe.ch wrote:
>
> Hi,
> I’m trying to check whether an attribute contains (or, actually st
')/command(xml:whatever)}
\xmldoifelse{#1}{./attribute('class')/contains('abc')} {Yes}{No}
\stopxmlsetups
\startxmlsetups xml:whatever
Yes
\stopxmlsetups
\startbuffer[test]
Yes
No
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
\stoptext
s
> case you need to use the Lua function math.mod as in the following, which
> is a completed version of what Wolfgang sent:
>
>
> I guess I completely missed the units digit part :)
>
> %% begin filling-with-lua.tex
> \starttext
>
> \startluacode
> context.startxt
is a completed version of what Wolfgang sent:
I guess I completely missed the units digit part :)
%% begin filling-with-lua.tex
\starttext
\startluacode
context.startxtable{ align = "middle,lohi", bodyfont = "9pt",
framecolor = "black" }
context.startxrow{ backgro
filling-with-lua.tex
\starttext
\startluacode
context.startxtable{ align = "middle,lohi", bodyfont = "9pt", framecolor =
"black" }
context.startxrow{ background = "color", backgroundcolor = "lightgray" }
context.sta
Fabrice Couvreur schrieb am 23.08.2023 um 19:28:
Hi,
I'm trying to fill an array using lua. So far it works but then I
don't know if it's possible.
Where do you have problems (look into cld-mkiv.pdf for hins)?
\starttext
\startluacode
context.startxtable{ align = "middle,lohi"
601 - 700 of 31720 matches
Mail list logo