Peter Münster schrieb am 21.03.2024 um 15:04:
Hi,
When inserting pages with \copypages, the included pages are slightly
shifted to the left and to the bottom.
Minimal example:
% test-file.tex:
\setuplayout[page]
\starttext
\input tufte
\vfill
\input tufte
\stoptext
% test.tex:
\starttext
Hi,
When inserting pages with \copypages, the included pages are slightly
shifted to the left and to the bottom.
Minimal example:
% test-file.tex:
\setuplayout[page]
\starttext
\input tufte
\vfill
\input tufte
\stoptext
% test.tex:
\starttext
\copypages[test-file.pdf]
\stoptext
How could I
]
\starttext
\xmlprocessbuffer{main}{demo}{}
\type{a --b c}
\stoptext
Using current latest (from 2024.03.11 09:34), LMTX transforms "--" in
"–" (en-dash) only with \xmlinlineprettyprinttext (LuaTeX writes the
en-dash in the three cases).
This issue has been driving me
[alternative=doublesided,location=,]
\setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}]
\setupfootertexts[][pagenumber][pagenumber][]
\setuphead[chapter][header=high]
\starttext
\dorecurse{10}{
\startchapter[title={This is my chapter
]
\strut
\blank
\bold{[\Schema]}
\vfill
This is page \recurselevel
\vfill
\stopbuffer
\starttext
\dorecurse{\Pages}{\getbuffer[Fakepage]\page}
\stoptext
___
If your question is of interest to others
. The Third Section
...
2. The Fourth Section
...
\setuphead
[chapter]
[sectionstopper=.]
\setuphead
[section]
[sectionsegments=section,
sectionstopper=.]
\starttext
\chapter{The First Chapter}
\section{The First Section}
\section{The Second Section}
\chapter{The Second Chapter
:
\setupmargindata[inmargin][style={\tf}]
It does for me but but unless you want a certain style it is better to
use a empty argument for the style key.
\starttext
\inmargin{Bold?}\samplefile{lorem}
\setupmargindata[inmargin][style=]
\inmargin{Bold?}\samplefile{lorem}
\stoptext
Wolfgang
;
>
> \starttexdefinition MyNumberChapterCommand #1
> \inframed[frame=off,rightframe=on,framecolor=black,
> rulethickness=1px,height=30pt]{#1\enspace}
> \stoptexdefinition
>
> \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,
> page=no]
&
olor=black,
rulethickness=1px,height=30pt]{#1\enspace}
\stoptexdefinition
\setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,
page=no]
\starttext
\startchapter
[title={Algemene Beginselen},
ownnumber={Boek I}]
\samplefile{tufte}
\stopchapter
\startchapter
[title={Organi
tyle={\bfc},numbercommand=\MyNumberChapterCommand,
page=no]
\starttext
\startchapter
[title={Algemene Beginselen},
ownnumber={Boek I}]
\samplefile{tufte}
\stopchapter
\startchapter
[title={Organisatorische Structuren},
ownnumber={Boek II}]
\samplefile{tufte}
\stopchapter
\mainlanguage[deo]
\setuplanguage[deo][
hyphenmin=4,
lefthyphenmin=2,
righthyphenmin=2,
]
\starttext
\hyphenatedfile{aesop-de}
\startcolumns
Funktioniert die Trennung? Heckeneckenzecken
\samplefile{aesop-de}
\stopcolumns
\stoptext
Just as a start, the languages manual provides more
][
hyphenmin=4,
lefthyphenmin=2,
righthyphenmin=2,
]
\starttext
\hyphenatedfile{aesop-de}
\startcolumns
Funktioniert die Trennung? Heckeneckenzecken
\samplefile{aesop-de}
\stopcolumns
\stoptext
Just as a start, the languages manual provides more details about
hyphenation.
\startexceptions[de
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
\starttext
\setupheadertexts[Name:~][Date:~__][Date:~__][Name:~]
\setupfootertexts[][pagenumber][][pagenumber]
\input knuth
\stoptext
I used this code to create header texts that prints Name / Date
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 :
\starttext
\startcha
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
d 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.
> >
>
;
> > • 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
> &
ter 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
>
> \s
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 seco
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
ence[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title=Standards]
\placeregister[learnedlong]
\stopchapter
\stoptext
___
If your question is o
t 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.
>
> \starttext
>
]\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[title
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 processing of
t,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=4cm]
\startformul
:
\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 properly here is the c
| 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 \breakhere
\myba
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
>
> 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
&g
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{\samplefile{knuth}}
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 mail, I wrote wrong
the 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
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 actual example do
\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
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
},
it={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
},
it={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
nge 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
\startchapter [
d 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]
\samplefil
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}
\testtwo{1
tugboat:article:start
\starttext
\setups{tugboat:columns:presets}
\setups{tugboat:banner:setup:\getvariable{tugboat}{type}}
\setupheadertexts
[\setups{tugboat:banner:text:article}]
[pagenumber]
\setuppagenumber
[number=\getvariable{tugboat}{page
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='h
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[
;
includes 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
] 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
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
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 characters
are used
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 both
, 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},
\st
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 \impl
mily[JapaneseFont][ss][Noto Serif JP]
> >>[ it={style:regular,features:{*,slanted}},
> >>sl={style:regular,features:{*,slanted}},
> >>bi={style:bold,features:{*,slanted}},force=yes]
> >>
> >> \definefontfamily[JapaneseFont][tt][Noto Serif JP]
://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.
Just in case
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
P]
> >> [ it={style:regular,features:{*,slanted}},
> >> sl={style:regular,features:{*,slanted}},
> >> bi={style:bold,features:{*,slanted}},force=yes]
> >>
> >> \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math]
> >> %\definefont
]
\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
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
][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 is of int
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
\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 work
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, quadru
,
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
>
\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 fonts
be 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
301 - 400 of 31862 matches
Mail list logo