Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38:
Dear list,
I have the following sample (which was on the way of showing another issue):
\starttext
a
\starttyping
b
\stoptyping
c
\startfootnote
a
\starttyping
b
\stoptyping
c
\stopfootnote
Dear list,
I have the following sample (which was on the way of showing another issue):
\starttext
a
\starttyping
b
\stoptyping
c
\startfootnote
a
\starttyping
b
\stoptyping
c
\stopfootnote
\stoptext
Current latest (from 2024.03.11 09:34) breaks compilation with both
,
]
\starttext
\hyphenatedfile{aesop-de}
\startcolumns
Funktioniert die Trennung? Heckeneckenzecken
\samplefile{aesop-de}
\stopcolumns
\stoptext
___
If your question is of interest to others as well, please add an
\starttext
\setupheadertexts[Name:~][Date:~__][Date:~__][Name:~]
\setupfootertexts[][pagenumber][][pagenumber]
\input knuth
\stoptext
I used this code to create header texts that prints Name / Date on the
ames to include summaries.
In any case, the MWE below correctly displays the "smile" images (in
*.pdf format) and incorrectly displays the smile.svg image). On the
other hand, the \startMPpage script given by Hans only produces a white
square. The *.log is attached.
The MWE :
\start
Thank you! The solution worked!
On Friday, March 15, 2024 at 02:30:40 PM MDT, Wolfgang Schuster
wrote:
Joel via ntg-context schrieb am 15.03.2024 um 20:50:
> When I run this code, \at{page}[xyz] is unable to find the cross reference:
>
> \starttext
> %\r
Joel via ntg-context schrieb am 15.03.2024 um 20:50:
When I run this code, \at{page}[xyz] is unable to find the cross reference:
\starttext
%\reference[xyz]{}
\starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|]
\NC \reference[xyz]{} \NC \NC\NR
\NC \doifnotmode{*trialtypesetting
When I run this code, \at{page}[xyz] is unable to find the cross reference:
\starttext%\reference[xyz]{}
\starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|]
\NC \reference[xyz]{} \NC \NC\NR
\stoptabulate
\pagebreak
\at{page}[xyz]
\stoptext
The code does work when I uncomment line #2
ata [MyInMargin][ininner]
\definemarginframed[MyInMargin]
[topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineframed[topruletitle]
[width=max,
frame=off,
topframe=on,
rulethickness=1pt,
align={justify},
extras=\dontleavehmode]
\startt
, width=13.50cm]
\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par
So I have here an example from the second page:
\definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=]
\definemarginframed[MyInMargin
es and principles are exactly the same for horizontal writing.
> >
> > • position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30
> >
> > See my attached gongitsune.tex example how you can squeeze text in a very
> > narrow header/footer.
> >
gt; > • position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30
> >
> > See my attached gongitsune.tex example how you can squeeze text in a very
> > narrow header/footer.
> >
> > • aligning lines to the text box: https://www.w3.org/TR/jlreq/#fig1_3
&
7:
> After many hours of trial-and-error, I was able to recreate the problem
> in a minimum working example:
>
> file main.tex only contains:
>
> \starttext
>
> \index{birds}
> \index{insects}
>
> \input secondary
>
> \placeindex
>
ble to recreate the problem
> in a minimum working example:
>
> file main.tex only contains:
>
> \starttext
>
> \index{birds}
> \index{insects}
>
> \input secondary
>
> \placeindex
>
> \stoptext
>
> file secondary.tex
Joel via ntg-context schrieb am 13.03.2024 um 23:27:
After many hours of trial-and-error, I was able to recreate the problem
in a minimum working example:
file main.tex only contains:
\starttext
\index{birds}
\index{insects}
\input secondary
\placeindex
\stoptext
file
After many hours of trial-and-error, I was able to recreate the problem in a
minimum working example:
file main.tex only contains:
\starttext
\index{birds}
\index{insects}
\input secondary
\placeindex
\stoptext
file secondary.tex only contains:
\index
\reference[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title=Standards]
\placeregister[learnedlong]
\stopchapter
\stoptext
___
If your questi
e text height.
>
> • protrusion of ruby: https://www.w3.org/TR/jlreq/#fig_ad1_6
>
> You're getting this for free because ruby text doesn't take up vertical
> space, in case vertical text is working it would now stick into the margins
> as expected.
>
> \s
ine[1]\learnedis{%
\txt{} \getvalue{#1}
\learnedshort{#1}
\learnedlong{#1}
}
\define[1]\learned{%
\textreference[textref#1]{\expanded{\currentstructuretitle}}
\reference[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[
cuments (a MWE will do).
\starttext
\input tufte
\externalfigure[smile03.pdf][conversion=mp]
\stoptext
It seems to me that Pablo has been struggling with the fine graining of
PDF files in recent months, but I think it was more about the
information contained in the PDF output than the pro
r]
[height=\strutht,depth=\strutdp,offset=.250ex,color=red]
\definebar
[yourbar]
[backgroundbar]
[height=\strutht,depth=\strutdp,offset=.125ex,color=blue]
\definebar
[ourbar]
[backgroundbar]
[height=\strutht,depth=\strutdp,offset=.125ex,color=green]
\starttext
\startTEXpage[width=4
s attached file :
\starttext
\input tufte
\externalfigure[smile.svg][conversion=mp]
\stoptext
Best//JP
Le 12/03/2024 à 15:01, Henning Hraban Ramm a écrit :
Am 12.03.24 um 14:53 schrieb seyal zavira:
> when i want to put some SVGs in my document the svg does not
render properl
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
inter-001.pdf
Description: Adobe PDF document
\definebar[mybar][inlined][offset=.25ex,color=red]
\starttext
\startformula
a \alignhere= b + c
Am 12.03.24 um 14:53 schrieb seyal zavira:
> when i want to put some SVGs in my document the svg does not
render properly here is the code:
>
> \starttext
> \startMPcode
> draw lmt_svg [
> filename = "smile.svg"]
> \stop
is :
>
> https://wiki.contextgarden.net/SVG
>
> Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit :
> > hi all.
> >
> > when i want to put some SVGs in my document the svg does not render
> properly here is the code:
> >
> > \starttext
> > \startMPco
Hi !
Did you have a look at this :
https://wiki.contextgarden.net/SVG
Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit :
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smil
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smile.svg"]
\stopMPcode
\stoptext
also when i look at evenmore manual at page15, for font Abelone-FREE the
gradients has rendere
}
}
}
\breakhere
\stoptexdefinition
\protect
\starttext
\section{Old alignment}
\samplefile{knuth}
\placeformula\startformula\startalign
\NC \text{something} + \text{really} + \text{really} + \text{long} \NC= \sqrt{x} \NR[+]
\intertext{\sa
#fig_ad1_6
You're getting this for free because ruby text doesn't take up
vertical space, in case vertical text is working it would now
stick into the margins as expected.
\starttext
\ruledhbox{a \ruby{x}{y} b}
\stoptext
*
In my previous
low level commands
\glyphscale
\glyphxscale
\glyphyscale
\glyphslant
\glyphweight
directly can have side efects when at an outer level these are also
set, so you need to accumulate, like
\starttext
test {\glyphscale 2000 test \glyphscale \numericscaled1.2\glyphscale
test} test
test
space, in case vertical text is working it would now stick into the margins
> as expected.
> \starttext
> \ruledhbox{a \ruby{x}{y} b}
> \stoptext
>
>
> >
> > In my previous mail, I wrote wrong amounts of lines. They should be 46
> > lines on one page, while the actua
\glyphyscale
\glyphslant
\glyphweight
directly can have side efects when at an outer level these are also set,
so you need to accumulate, like
\starttext
test {\glyphscale 2000 test \glyphscale \numericscaled1.2\glyphscale
test} test
test {\glyphslant 500 test \glyphslant \numericscaled2.0
efects when at an outer level these are also set,
so you need to accumulate, like
\starttext
test {\glyphscale 2000 test \glyphscale \numericscaled1.2\glyphscale
test} test
test {\glyphslant 500 test \glyphslant \numericscaled2.0\glyphslant
test} test
test {\glyphweight 100 test \glyphweight
Joel via ntg-context schrieb am 09.03.2024 um 16:01:
How to set section title based on section content?
I have a document that has some structures like this:
\starttext
\startsection[title={Animals}]
\event{\input knuth }
\stopsection
\startsection[title={Books}]
\event{\input knuth
n when you
switch back to the upright style.
\enableexperiments[fonts.compact]
\definefontfamily[mainface][rm][TeX Gyre Termes]
[it={style:regular, features:{default,slanted}},
sl={style:regular, features:{default,slanted}}]
\setupbodyfont[mainface]
\starttext
\tf h\showcurrentfont[]\
How to set section title based on section content?
I have a document that has some structures like this:
\starttext
\startsection[title={Animals}]
\event{\input knuth }
\stopsection
\startsection[title={Books}]
\event{\input knuth }
\stopsection
\stoptext
The event macro runs a bunch of
normalization on the
way]):
\definefontfamily[mainface][rm][EBGaramond]
\setupbodyfont[mainface, 500pt]
\definecolor [tred] [r=1,t=.5,a=1]
\definecolor [tblue] [b=1,t=.25,a=1]
\starttext
\startTEXpage[offset=1ex]
\startoverlay
{\color[tred]{Ά}}
{\color[tblue]{Ά}}
\stopoverlay
={style: regular, features:{default, quality, slanted}},
sl={style: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d
={style: regular, features:{default, quality, slanted}},
sl={style: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d
: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d\\
\stopTEXpage
\stoptext
LMTX gets b, c and d in slanted form.
LuaTeX gets only
in principle all the setups
and definitions must be before the body of your document which begns with
\starttext. Another point i sthat instead of using \par you can leave a blank
line, which makes the document more readable. And you don’t need to break the
lines by « hand », since ConTeXt does
level change at level 3
around 'back1'
and they refer to the first chapter of the bodymatter and the first
chapter of the backmatter, respectively.
The example:
\setupinteraction [state=start]
\placebookmarks [chapter]
\starttext
\startfrontmatter
7;back1'
and they refer to the first chapter of the bodymatter and the first
chapter of the backmatter, respectively.
The example:
\setupinteraction [state=start]
\placebookmarks [chapter]
\starttext
\startfrontmatter
\startchapter [title=front1]
a final \relax to stop the command from scanning to additional
values, e.g. in the example below \testone takes value beyond the
argument because \numexpr hasn't ended yet.
\starttext
\def\testone#1{\the\numexpr #1 + 1 }
\testone{1} + 1
\def\testtwo#1{\the\numexpr #1 + 1 \relax}
\test
\stopsetups
\startsetups tugboat:article:start
\starttext
\setups{tugboat:columns:presets}
\setups{tugboat:banner:setup:\getvariable{tugboat}{type}}
\setupheadertexts
[\setups{tugboat:banner:text:article}]
[pagenumber]
\setuppagenumber
[number=\
in th elow level
manual and also explain this:
\starttext
\ifnum 10 = 11 wrong \else okay \fi
\ifnum 10 != 11 okay \else wrong \fi
\ifnum 10 !> 11 okay \else wrong \fi
\ifnum 10 !< 11 wrong \else okay \fi
\ifnum 10 ≤ 11 okay \else wrong \fi
\ifnum 10
this:
\starttext
\ifnum 10 = 11 wrong \else okay \fi
\ifnum 10 != 11 okay \else wrong \fi
\ifnum 10 !> 11 okay \else wrong \fi
\ifnum 10 !< 11 wrong \else okay \fi
\ifnum 10 ≤ 11 okay \else wrong \fi
\ifnum 10 ≥ 11 wrong \else okay \fi
\ifnum 10 ≰ 1
e.
Many thanks for your reply, Wolfgang.
Now I have the minimal sample:
\startbuffer[demo]
author
text
\stopbuffer
\starttext
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{doc}{xml:*}
\xmlsetsetup{\xmldocument}
{(div|section)[@id=
ction(n)
context(n + ((n % 4 == 0) and 1 or (5 - n % 4)))
end
}
\stopluacode
\unprotect
\def\beforequadruplenumber#1{\clf_beforequadruplenumber\numexpr#1\relax}
\def\afterquadruplenumber #1{\clf_afterquadruplenumber \numexpr#1\relax}
\protect
\starttext
\dorecurse{20}{\recurselevel\space =
\beforequ
, height=0.10ex, width=1cm]\\}
\blackrule[color=black, height=0.10ex, width=13.50cm]
\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
: 2024.02.22 18:31 LMTX fmt:
2024.2.22).
Can someone try on MkIV?
"""
\usesymbols[nav]
\starttext
\showsymbolset[nav]
\stoptext
"""
You pass the wrong name to \showsymbolset.
\usesymbols[nav]
\starttext
\showsymbolset[navigation 1]\page
\showsymbolset[navigation 2]\
try on MkIV?
"""
\usesymbols[nav]
\starttext
\showsymbolset[nav]
\stoptext
"""
You pass the wrong name to \showsymbolset.
\usesymbols[nav]
\starttext
\showsymbolset[navigation 1]\page
\showsymbolset[navigation 2]\page
\showsymbolset[navigatio
The \showsymbolset has no output any more, apparently already for some time.
I checked on COW (ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23)
and my local installation (ConTeXt ver: 2024.02.22 18:31 LMTX fmt:
2024.2.22).
Can someone try on MkIV?
"""
\usesymbols[
udes the mark in the initial, and it works only with a few
languages, e.g. English and French, but not e.g. German or Dutch:
"""
\mainlanguage[de]
\setuppapersize[A6]
\setupinitial[n=2,color=orange,]
\starttext
\start
\setupinitial[method=first]
\placeinitial \quotation{Keine andere
, quality}},
bf={style: regular, features:{default, boldened-30}},
bi={style: regular, features:{default, boldened-30, slanted}}]
\setupbodyfont
[mainface, 30pt]
\starttext
\startTEXpage[offset=1ex]
a
{\it a}\\
{\bf a}
{\bi a}
\stopTEXpage
\stoptext
With
] Re: Local alternative to \input
With a single environment it seems to work, though when I expand it to
multiple, it does not seem to work anymore
\starttext
SomeText \\
\environment aaa \\
SomeText \\
\environment bbb \\
SomeText \\
\startenvironment aaa
\samplefile{lorem}
\stopenvironment
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Termes]
\definefontfamily[mainface][cg][Twemoji Mozilla][features={color}]
\setupbodyfont[mainface]
\starttext
\scale[width=30em]{a
With a single environment it seems to work, though when I expand it to
multiple, it does not seem to work anymore
\starttext
SomeText \\
\environment aaa \\
SomeText \\
\environment bbb \\
SomeText \\
\startenvironment aaa
\samplefile{lorem}
\stopenvironment
\startenvironment bbb
\samplefile
Dear list,
this issue has been bugging me for some time:
\startbuffer[demo]
author
title
text
\stopbuffer
\starttext
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{code|meta|text}{xml:*}
\stopxmlsetups
\xmlregistersetup
}},
bi={style: regular, features:{default, boldened-30, slanted}}]
\setupbodyfont
[mainface, 30pt]
\starttext
\startTEXpage[offset=1ex]
a
{\it a}\\
{\bf a}
{\bi a}
\stopTEXpage
\stoptext
With current latest (2024.02.27 09:21), LuaTeX gets boldened and slanted
for regular
stick into the
margins as expected.
\starttext
\ruledhbox{a \ruby{x}{y} b}
\stoptext
In my previous mail, I wrote wrong amounts of lines. They should be 46
lines on one page, while the actual example doesn't show the 46th line.
It would be important to identify the reason why only 24 cha
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Termes]
\definefontfamily[mainface][cg][Twemoji Mozilla][features={color}]
\setupbodyfont[mainface]
\starttext
\scale[width=30em]{a}
\scale[width=30em]{\cg 🇬🇧}
\stoptext
Using current latest from
, 2016 — La reproduction de ce
texte est soumise à autorisation.]
\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=210pt, style=rm, align=left]
\starttext
\title{\ConTeXt, ou comment imprimer des langues non-romanes}
\section {\sc Préambule}
L
style is interesting. I do not understand the purpose of
the \it for example. I did put something together that you can try,
but I don't know if this is what you are looking for.
\starttext
\startitemize[n]
\startitem
\m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies n > 1}
Hi Uschi,
Your coding style is interesting. I do not understand the purpose of
the \it for example. I did put something together that you can try,
but I don't know if this is what you are looking for.
\starttext
\startitemize[n]
\startitem
\m{\forall n \in \naturalnumbers\mtp{:} n^2 > n
gt;>
> >> \definefontfamily[JapaneseFont][ss][Noto Serif JP]
> >>[ it={style:regular,features:{*,slanted}},
> >>sl={style:regular,features:{*,slanted}},
> >>bi={style:bold,features:{*,slanted}},force=yes]
> >>
> >> \definefontfami
https://wiki.contextgarden.net/Imposition
I'll read and test it.
Hi Jean-Pierre,
in its simplest form, a booklet may be:
\setuppapersize[A4][A3, landscape]
\setuparranging[2UP]
\starttext
\dorecurse{28}{\section{Section}\input zapf}
\stoptext
I think this seems to be what you may be aiming at.
Ju
Dear List,
So I changed my sentence a little bit, now it works perfect, as I wanted it.
\setupinteraction[state=start]
\starttext
\reference[Rule:1]{Rule (3.1)}
Formulate equivalents according to rule (\goto {3.1} [Rule:1]).
\stoptext
Uschi
Von: Ursula
mily[JapaneseFont][tt][Noto Serif JP]
> >> [ it={style:regular,features:{*,slanted}},
> >> sl={style:regular,features:{*,slanted}},
> >> bi={style:bold,features:{*,slanted}},force=yes]
> >>
> >> \definefontfamily[JapaneseFont][math][Tex Gyre Term
]
\setupwhitespace[big]
\setscript[nihongo]
\starttext
\ruby{早}{はや}く。
いきましょう。
\stoptext
Best regards: Otared
Thanks all contributors, I added this to
https://wiki.contextgarden.net/Chinese_Japanese_and_Korean
I guess you also should set \mainlanguage[ja], I added it, also
\mainlanguage[kr] for
I will try to find a trick for that, but not now.
Replying to myself, this is a command to compute next numbers before and
after quadruples (with application to \realpageno):
\starttext
\def\beforequadruplenumber#1%
{\ifnum\modulonumber{4}{#1} = 1
\the\numexpr #1 + 2
\or
persize[A4][A3, landscape]
\setuparranging[2UP]
\starttext
\dorecurse{28}{\section{Section}\input zapf}
\stoptext
I think this seems to be what you may be aiming at.
Just in case it might help,
Pablo
___
If your question
t, but not now.
Replying to myself, this is a command to compute next numbers before and
after quadruples (with application to \realpageno):
\starttext
\def\beforequadruplenumber#1%
{\ifnum\modulonumber{4}{#1} = 1
\the\numexpr #1 + 2
\orelse\ifnum\modulonumber{4}{#1} = 2
\the
[JapaneseFont,12pt]
\setupruby[location=top,voffset=-2ex]
\setupwhitespace[big]
\setscript[nihongo]
\starttext
\ruby{早}{はや}く。
いきましょう。
\stoptext
Best regards: Otared
Thanks all contributors, I added this to
https://wiki.contextgarden.net/Chinese_Japanese_and_Korean
I guess you also should set
rem][text=Theorem, alternative=right]
\starttext
\starttheorem[was-noch]
This theorem has one paragraph.
\stoptheorem
\theorem[whatever]
This theorem has other paragraph.
In \in{theorem}[whatever] on \at{page}[was-noch].
\stoptext
On 2/28/24 11:56, Bruce Horrocks wrote:
> [...]
> The sample works for me if you set plain A4 and doublesided, thus:
>
> \setuppagenumbering[alternative={doublesided}]
> \starttext
> \samplefile{lorem}
> \page[quadruple]
> page before the quadruple (must be 3, not 4)
> On 27 Feb 2024, at 10:13, Pablo Rodriguez via ntg-context
> wrote:
>
> I’m afraid I cannot make your sample work:
The sample works for me if you set plain A4 and doublesided, thus:
\setuppagenumbering[alternative={doublesided}]
\starttext
\samplefile{lorem}
\page[quad
the limits to go always below, never below or below in
> display, respectively.
>
> /Mikael
>
> On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote:
> >
> >
> > \starttext
> > % copy from wiki
> > \definemathcommand[lcd][nolop]{\mfunction{lcd}}
> &g
]
\setupwhitespace[big]
\setscript[nihongo]
\starttext
\ruby{早}{はや}く。
いきましょう。
\stoptext
Best regards: Otared
> On 27 Feb 2024, at 13:55, Jeong Dal via ntg-context
> wrote:
>
> Dear Otared,
>
> I am using Korean as main language.
> I used use typescript file, but recently I use \defi
Hi,
\definemathfunction [lcd]
You can also add
[mathlimits=yes]
[mathlimits=no]
[mathlimits=auto]
if you want the limits to go always below, never below or below in
display, respectively.
/Mikael
On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote:
>
>
> \starttext
> % co
\starttext
% copy from wiki
\definemathcommand[lcd][nolop]{\mfunction{lcd}}
With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothing)!
\stoptext
___
If your question is of interest to others as well
Dear list,
I have the following sample (saved as "a.tex"):
\starttext
\getdocumentfilename{1}
\cldcontext{document.files[1]}
\getdocumentfilename{2}
\cldcontext{document.files[2]}
\getdocumentfilename{3}
\cldcontext{document.files[3]}
\stoptext
I compile it with:
On 2/27/24 10:10, Ursula Hermann wrote:
>[...]
> I have a question to my paragraphs:
>
> \definetextbackground[Paragaph][
> [...]
> \startparagraph
Hi Uschi,
if you define Paragaph, then you should use \startParagaph (and
\stopParagaph).
> \starttext
Even if that works,
sted a solution for this.
I’m afraid I cannot make your sample work:
\setuppapersize[A5][A4, landscape]
\setuparranging[2UP]
\setuppagenumbering[alternative={singlesided,doublesided}]
\starttext
\samplefile{lorem}
\page[quadruple]
page before the quadruple (must be 3, not 4)
\page[yes, q
,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\startparagraph
\starttext
Mitunter ist es aus der Formulierung nur schwer zu erkennen, dass ein
\m{∃\forall} oder ein \m{\forall\m∃} versteckt ist. Dann ist es besonders
wichtig, die Formulierung sehr lange zu prüfen und
]
\setupbodyfont[JapaneseFont,14pt]
\setupruby[location=top,voffset=-1.6ex]
\setupwhitespace[big]
\starttext
\ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。
お\ruby{休}{やす}みなさい^_^
\stoptext
%end simple-japanese.tex
Best regards: Otared
> On 26 Feb 2024, at 21:32, Emanuel Han via ntg-context
>
input
\definefontfamily [JapaneseFont] [rm] [hiraginominchopro]
\setupruby[location=top,voffset=-1.6ex, ]
\starttext \JapaneseFont
\ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。
お\ruby{休}{やす}みなさい^_^
\stoptext
On Feb. 26 2024, at 9:08 pm, Otared Kavian wrote:
> Hi all,
>
> Does anyone have a simple setup of fo
greatly
appreciated.
\setupinteraction[state=start, color=darkblue]
\setupwhitespace [big]
\starttext
Consult the \goto{\ConTeXt\ wiki}[url(https://wiki.contextgarden.net/)]
.\par
\dorecurse{5}{\samplefile{lorem}\par}
\stoptext
Processed as follows:
context mwe.tex
context --extra=select
he French text (with italics), as
well as the Greek text...
Try this :
\setuplanguage
\mainlanguage[fr,agr]
\definefontfamily
[mainface]
[rm]
[EBGaramond]
\setupbodyfont[mainface, 12pt]
\setupbodyfontenvironment[default][em=italic]
\starttext
Socrate est descendu au Pirée et affirme sa s
[rm]
[TeX Gyre Pagella]
\setupbodyfont[mainface, 11pt]
\setupbodyfontenvironment[default][em=italic]
\starttext
Socrate est descendu au Pirée et affirme sa satisfaction du culte rendu Ã
cette nouvelle déesse par les Thraces; néanmoins, {\em il ne nous dit rien
des prières} qu'il a
}}
\setuptyping[TEX][
option=tex,% scite sets cld
escape=yes,
]
\starttext
\startTEX
\starttext/BTEX\SAY{Text starts here}/ETEX
\input tufte
\stoptext/BTEX\SAY{Text ends here}/ETEX
\stopTEX
\stoptext
I tried to load the module only in the section where I need it, that
lead to strange errors in
wiki page was last updated nearly four years ago. Is anyone using
updated versions of these?
You can use quadruple out of the box.
\setuppagenumbering[alternative={singlesided,doublesided}]
\starttext
\samplefile{lorem}
\page[quadruple]
\samplefile{lorem}
\stoptext
Wol
=yes,
]
\starttext
\startTEX
\starttext/BTEX\SAY{Text starts here}/ETEX
\input tufte
\stoptext/BTEX\SAY{Text ends here}/ETEX
\stopTEX
\stoptext
___
If your question is of interest to others as well, please add an
> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context
> wrote:
>
> Dear list,
>
> I have the following sample file:
>
> \starttext
> whatever
>
> \startluacode
> luatex.wrapup(
> function()
>local t = {}
>local pdf_file_
Il 23/02/24 14:32, Pablo Rodriguez via ntg-context ha scritto:
Dear list,
I have the following sample file:
\starttext
whatever
\startluacode
luatex.wrapup(
function()
local t = {}
local pdf_file_name = tex.jobname..".pdf"
local sha_pdf = utilities.sha2.hash256(i
Dear list,
I have the following sample file:
\starttext
whatever
\startluacode
luatex.wrapup(
function()
local t = {}
local pdf_file_name = tex.jobname..".pdf"
local sha_pdf = utilities.sha2.hash256(io.loaddata(pdf_file_name))
local c_r = environment.currentrun
withdots withcolor "red";
setbounds currentpicture to OverlayBox;
\stopuseMPgraphic
Thank you!
(I’m sure I already used that somewhere… Must document…)
ok, new feature dedicated to Hraban ... who then of courese has to
document it.
\starttext
\starttabulate
\FL[1,2] % linef
he graphic (OverlayBox is the size
of the cell).
begin example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots
withcolor "red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[
begin example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
Thank you!
Since I needed o
s
{\ctxlua{userdata.formatTestQuestions()}}
\define[4]\tareaAbc{\item #1
\startitemgroup[itemize][a]
\item #2
\item #3
\item #4
\stopitemgroup}
\starttext
Here are some questions:
\startTestQuestions
In den Büchereien gibt es auch …
… Kuchen.
… Theater.
… Workshops.
In den Büchereien gibt
501 - 600 of 3071 matches
Mail list logo