On 18/12/2023 17:05, Ursula Hermann wrote:
After compiling
\usemodule[m-zint]
\starttext
\barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big]
\barcode[alternative=qrcode, text={wie weet waar willem wever woont},
width=3cm] \stoptext
I got , what you see in the pdf.
context
Dear List
After compiling
\usemodule[m-zint]
\starttext
\barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big]
\barcode[alternative=qrcode, text={wie weet waar willem wever woont},
width=3cm] \stoptext
I got , what you see in the pdf.
Many Thanks
Uschi
-Ursprüngliche
On 18/12/2023 15:13, Ursula Hermann wrote:
Dear List
I was interested how it works.
So I started this example.
\starttext
\usemodule[m-zint]
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\barcode[alternative=qrcode, text={https://wiki.contextgarden.net},
width=3cm
] Re: QR Code
Am 18.12.23 um 13:00 schrieb Ursula Hermann:
> Dear List
>
> I was interested how it works.
>
> So I started this example.
>
> \starttext
>
> \usemodule[m-zint]
>
> \barcode[alternative=isbnx, text=9783865419026, width=4cm]
>
> \
Am 18.12.23 um 13:00 schrieb Ursula Hermann:
> Dear List
>
> I was interested how it works.
>
> So I started this example.
>
> \starttext
>
> \usemodule[m-zint]
>
> \barcode[alternative=isbnx, text=9783865419026, width=4cm]
>
> \
Am 18.12.23 um 13:00 schrieb Ursula Hermann:
Dear List
I was interested how it works.
So I started this example.
\starttext
\usemodule[m-zint]
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\barcode[alternative=qrcode, text={https://wiki.contextgarden.net},
width=3cm
Dear List
I was interested how it works.
So I started this example.
\starttext
\usemodule[m-zint]
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, width=3cm]
\stoptext
Is that the right way?
Many thanks
Uschi
}
\starttext
exaple code
\stoptext
and then process the module to get the example
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
ule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext
{1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par
Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aussage h(m, f)
sei ”m ist verliebt in f“. Unter diesen Voraussetzungen mach
led or disabled.
>
> %\enablemode[H]
>
> \startmode [H]
> \definestartstop [H] [color=blue]
> \stopmode
>
> \startnotmode [H]
> \define\startH{\ignoreupto\stopH}
> \stopnotmode
>
> \starttext
>
> xxx \startH yyy \sto
\starttext
xxx \startH yyy \stopH zzz
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg
On 12/16/2023 9:17 AM, Peter Münster wrote:
Hi,
I get an "runaway error" with the following example:
--8<---cut here---start->8---
\definestartstop[H][color=blue, before={\startmode[h]}, after={\stopmode}]
\starttext
test
\startH
TEST
\sto
Hi,
I get an "runaway error" with the following example:
--8<---cut here---start->8---
\definestartstop[H][color=blue, before={\startmode[h]}, after={\stopmode}]
\starttext
test
\startH
TEST
\stopH
\stoptext
--8<---cut her
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 Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aussage h(m, f) sei ”m ist verliebt in f“. Unter diesen Vorauss
,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
before={\switchtobodyfont[global]},
after={},
frame=off,]
\margintext{\blackrule[color=black, height=0.10ex,
width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm]
\starttext
\margintext {1.1.1
> context('Color chosen = ' .. named_values['color'])
> context('\\par')
> context('Curly braces = ' .. str)
> context('\\par')
> end
> \stopluacode
>
> \def\mycommand[#1][#2]#3{\ctxlua{
> userdata.mycommand('#1', '#2', [==[#3]==])}}
>
> \startt
to do the following?
> >
> > \integerdef\lmao=0
> > \starttext
> > Sum: \in[trick] % 10 from the result below
> >
> > +1\advance\lmao\plusone
> >
> > +2\advance\lmao\plustwo
> >
> > +3\advance\lmao\plusthree
> >
> > +4\advance\lmao\plus
][#2]#3{\ctxlua{
userdata.mycommand('#1', '#2', [==[#3]==])}}
\starttext
\mycommand[top, inmargin, now][color=green, roof=gabled]{Anne of Green Gables?}
\stoptext
—
Bruce Horrocks
Hampshire, UK
___
If your question
=,
after=,
text=Info,
title=no,
width=fit,
distance=0.5em,
headcommand=\FrameTitle,
alternative=serried]
\starttext
\startFramedText[width=5cm]
\startInfo
\input{ward}
\stopInfo
\stopFramedText
\stoptext
,]
\margintext{\blackrule[color=black, height=0.10ex,
width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm]
\starttext
\margintext {1.1.1}
\starttext
\bf{Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor)}.
\stoptext
\starttext
{\it
\par Sei M die Menge aller Männer und F die Menge aller
On 12/13/2023 4:05 AM, Jairo A. del Rio wrote:
Hi, dear list. Is there a proper "ConTeXt way" to do the following?
\integerdef\lmao=0
\starttext
Sum: \in[trick] % 10 from the result below
+1\advance\lmao\plusone
+2\advance\lmao\plustwo
+3\advance\lmao\plusthree
+4\advance\lma
Hi, dear list. Is there a proper "ConTeXt way" to do the following?
\integerdef\lmao=0
\starttext
Sum: \in[trick] % 10 from the result below
+1\advance\lmao\plusone
+2\advance\lmao\plustwo
+3\advance\lmao\plusthree
+4\advance\lmao\plusfour
\normalexpanded{\reference[trick]{\the\l
{\textfraction\getnamedglyphdirect{libertinus}{oneinferior}\getnamedglyphdirect{libertinus}{threeinferior}}
% /13
\define\onethirteenth{\text{\fracone\thirteenths}} % 1/13
\define\threethirteenths{\text{\fracthree\thirteenths}} % 3/13
\define\ninethirteenths{\text{\fracnine\thirteenths}} % 9/13
\sta
sided documents. The remainder of the settings will need
adjusting to suit your specific circumstances.
\setuppapersize[A4][A3]
\setuplayout[location=middle]
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=30.8mm]
\starttext
\showlayout[4,pt,cm]
\stoptext
—
Bruce Horrock
Thanks Wolfgang.
Is this expected behavior? I'm very much confused with my second example:
\setuppapersize[A5][A4]
%\setuplayout[location=middle]
\setuplayout[location=middle,width=middle]
%\setuplayout[location=middle,width=middle,backspace=2.5cm]
\usemodule[ipsum]
\starttext
\showframe
Hello
On 12/9/2023 4:33 PM, Aditya Mahajan wrote:
On Sat, 9 Dec 2023, Wolfgang Schuster wrote:
\starttext
\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3}}: \m
,
leftmargin=10mm,
leftmargindistance=5mm,
width=110mm,
topspace=20mm,
header=0mm,
footer=0mm,
height=250mm]
\starttext
\showlayout
\stoptext
Wolfgang
___
If your question is of interest to others
=0mm,
height=250mm]
\starttext
\showlayout
\stoptext
Another example:
\setuppapersize[A5][A4]
\setuplayout[location=middle]
\usemodule[ipsum]
\starttext
\showframe
\ipsum
\stoptext
Thanks,
Jean-Guillaume
mise_en_page-layout.pdf
Description: Adobe PDF document
Marcus Vinicius Mesquita schrieb am 07.12.2023 um 19:21:
Dear List,
In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?
\starttext
\startlinenumbering[left={[},right={]}]
\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth
On Sat, 9 Dec 2023, Wolfgang Schuster wrote:
> \starttext
>
> \startlines
> \type{\frac{1}{3}}: \m{\frac{1}{3}}
> \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
> \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
> \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
> \type{\sfrac{1}{3}}: \m{\sfrac{1
{} and
\tfrac{} ?
\frac switches the math style while \tfrac (textstyle), \dfrac
(displaystyle) and \sfrac (scriptstyle) enforce a certain style.
begin example
\startbuffer[frac]
\frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2}
\stopbuffer
\starttext
\startformula
\getbuffer[frac
with \setupinterlinespace or you use a different fraction command
which uses
smaller numbers or creates inline fractions.
\starttext
\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3
Dear List,
In the MWE below, the left and right arguments are not applied in the
last chapter. How can this be fixed?
\starttext
\startlinenumbering[left={[},right={]}]
\dorecurse{5}{%
\startchapter[title={Knuth}]
\samplefile{knuth}
\stopchapter
}
\stoplinenumbering
\stoptext
Kind regards
t: Ths not a anymore!
Th{i{s {is} not a {question} anymore!
\stopbuffer
\starttext
\processtokens\foo\foo\relax\space{Th{i}s {is} not a {question} anymore!}
% Neither \inlinebuffer nor \rawbuffer work in the example above
\stoptext
I didn't try to decipher this (you probably need expansion som
nymore!
\stopbuffer
\starttext
\processtokens\foo\foo\relax\space{Th{i}s {is} not a {question} anymore!}
% Neither \inlinebuffer nor \rawbuffer work in the example above
\stoptext
I've also tried a variant of the mechanism described in OPmac trick
described here <https://petr.olsak.net/opm
the code that works on its own, but causes the results as
shown in the attachments within my book. There’s nowhere a \setupframed,
and nothing that should influence MetaPost.
Do you have any clue for what I should look?
Hraban
\starttext
\framed[
rulethickness=1pt,
offset=0.5em
[physics.units]
%% inch should render as “in”
%% \setupunittext [inch=in]
\starttext
\unit{mercury}\crlf %% renders: mm · m
\unit{12 millimetermercury}\crlf %% renders: mm · m
\unit{12 inchmercury}\crlf%% renders: in · m
%% why is this necessary to get mercury rendered as Hg
[inch=in]
\starttext
\unit{mercury}\crlf %% renders: mm · m
\unit{12 millimetermercury}\crlf %% renders: mm · m
\unit{12 inchmercury}\crlf%% renders: in · m
%% why is this necessary to get mercury rendered as Hg?
\registerunitshortcut [mercury=mercury]
\unit{12
,
alternative=serried,
]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm]
\starttext
\margintext {1.1.1}
\startparagraph
It was essential for Hasselt to have a bridge across the Zwarte
Water river. The bishop of Utrecht gave
> On 3 Dec 2023, at 15:26, Pablo Rodriguez via ntg-context
> wrote:
>
> On 11/22/23 00:06, Bruce Horrocks wrote:
>> [...]
>> I changed your example to the following:
>> \setupinteraction[state=start, page=name, focus=standard]
>> \starttext
>&g
themselves.
Basically one can sign (with some certificate) and then validate.
% sign-001.tex
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed
,70);
>
> p1:=image(
> label(textext("Word 1"), z1);
> );
>
> p2:=image(
> label(textext("Mot 2"), z2);
> );
>
> p3:=image(
> label(textext("Parola 3"), z3);
> );
>
> \stopMPinclusions
>
> \starttext
>
>
\enablemathautospacing % more global
% \enablemathautofencing % more global
\enablemathautonumbers % more global
% \autofences % more local
\usemodule[ipsum]
\starttext
\ipsum
\stoptext
And I attach the two files to setup the font.
no math ... anyway
\showglyphs
\dorecurse{100}{test \im{\frac
file
extension."
current version: 2023.09.26 18:19
Code:
% SOT
\starttext
\startplacefigure
\externalfigure[https://placekitten.com/408/287][method=auto]
\stopplacefigure
\stoptext
% EOT
Expected: Cute kitten photo.
Actual: Error.
Is this a regression? Or has the syntax changed (stale
% \enablemathautofencing % more global
\enablemathautonumbers % more global
% \autofences % more local
\usemodule[ipsum]
\starttext
\ipsum
\stoptext
And I attach the two files to setup the font.
A. Christe
Le 3 déc. 2023 à 22:44 +0100, Hans Hagen , a écrit :
> On 12/3/2023 10:31 PM, Alexandre Christe wr
add width=fit, such as in:
\setuplayout[width=fit, leftmargin=6cm,rightmargin=10cm]
\showframe
\starttext
\ConTeXt\space\contextversion\blank
before the \type{\starttext}:\crlf
\type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf
make no difference in displayed frame
width=fit, leftmargin=6cm,rightmargin=10cm]
\showframe
\starttext
\ConTeXt\space\contextversion\blank
before the \type{\starttext}:\crlf
\type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf
make no difference in displayed frame
\showlayout
\stoptext
I wonder whether I might be missing
On 11/22/23 00:06, Bruce Horrocks wrote:
> [...]
> I changed your example to the following:
> \setupinteraction[state=start, page=name, focus=standard]
> \starttext
> \input knuth \par
> a\footnote{b} \par
> \dorecurse{7}{\input knuth \par}
> \stoptext
Many thanks for yo
hic{base}
> picture p[];
> path TheFrame ;
> TheFrame := fullsquare scaled 5in ;
> z1 = (60,40);
> z2 = (40,90);
> z3 = (10,70);
>
> p1:=image(
> label("Word 1", z1);
> );
>
> p2:=image(
> label("Mot 2", z2);
> );
>
> p3:=image(
(
label("Word 1", z1);
);
p2:=image(
label("Mot 2", z2);
);
p3:=image(
label("Parola 3", z3);
);
\stopuseMPgraphic
\starttext
\dorecurse{3}{ % Frame
\startMPpage[pagestate=start]
\includeMPgraphic{base}
currentime := #1 ;
% Just for learning :
draw TheFrame
ns
picture p[];
path TheFrame ;
TheFrame := fullsquare scaled 5in ;
z1 = (60,40);
z2 = (40,90);
z3 = (10,70);
p1:=image(
label(textext("Word 1"), z1);
);
p2:=image(
label(textext("Mot 2"), z2);
);
p3:=image(
label(textext("Parola 3"), z3);
);
\stopMPinclusi
artPoint = point 0 of A;
>> pair AEndPoint; AEndPoint = point 4 of A;
>> path B; B = z5..z6;
>> pair BStartPoint; BStartPoint = point 0 of B;
>> pair BEndPoint; BEndPoint = point 1 of B;
>> path C; C = AStartPoint..AEndPoint;
>>
>> p1:=image(
>> draw A w
=image(draw A; label(lmt_outline [
> text = "\JapaneseFont 日本語"
> ], AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\Korea
, AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2, BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\KoreanFont 한국어"
> ], AStartPoint););
>
> p5:=image(
> label(textext("bāng"), BEndPoint);
agella]
\setupbodyfont [mainface, 8.5pt]
\starttext
\math{V_y}
\bold{\math{V_y}}
\stoptext
Thank you for your replies.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
ma
[mainface, 8.5pt]
\starttext
\bold{\math{x_y}}
\stoptext
You get the same error with Latin Modern as soon as you use a non
predefined font size in combination with bold math.
begin example
% \starttypescript [math] [default] [size]
% \definebodyfont [8.5pt] [mm] [default
m] [math] [pagella]
\definetypeface generates the same error message if the font size is
changed:
\definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefontfamily [mainface] [ss] [TeX Gyre Heros]
\definetypeface [mainface] [mm] [math] [pagella]
%% 8pt works
\setupbodyfont [mainface, 8.5pt]
]
\setupbodyfont [mainface]
\definedescription [foo]
\starttext
%% works, no issues here
\math{x_y}
%% fails if TeX Gyre Pagella Math is used
\bold{\math{x_y}}
\stoptext
The error is:
tex error > tex error on line 14 in file /tmp/tex-xDj/xDj.mkvi: Math
error: parame
);
p4:=image(draw A; label(lmt_outline [
text = "\KoreanFont 한국어"
], AStartPoint););
p5:=image(
label(textext("bāng"), BEndPoint);
draw C withcolor green;
);
p6:=image(
draw B withcolor blue;
);
\stopMPinclusions
\starttext
\dorecurse{6}{ % Frame
\setupMPpage[background=colo
\\ier"
else
context(s)
end
end
}
\stopluacode
\def\ier{\highordinalstr{er}}
\mainlanguage[fr]
\defineconversion[frd][\FRdate]
\setuplanguage[fr][date={day:frd,\ ,month,\ ,year}]
\starttext
Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK
end
end
}
\stopluacode
\def\ier{\highordinalstr{er}}
\mainlanguage[fr]
\defineconversion[frd][\FRdate]
\setuplanguage[fr][date={day:frd,\ ,month,\ ,year}]
\starttext
Conversion: \convertnumber{frd}{1}, \convertnumber{frd}{2} (OK)\\
Dates: \date[d=1], \date[d=2] (not OK)
\stoptext
--8<
nce
\starttext
% We can put in the inclusions the material we will use at each page, to
declare things only one time.
\startMPinclusions
% the frame of the video ;
path TheFrame ;
TheFrame := fullsquare scaled 5in ;
randomseed := 53 ;
path TheBrownianMotion ;
pair Coordinate[];
Coordinat
[notonaskharabic] [rm] [serif] [notonaskharabic] [default]
\stoptypescript
\usetypescript[notonaskharabic]
\setupbodyfont [RomanFont]
\starttext
\startMPcode
picture p[];
path bb; %bounding box
z0 = (0,0);
z1 = (60,40);
z2 = (40,90);
z3 = (10,70);
z4 = (30,50);
z5 = (90,70);
z6 = (-10,70);
path
xtablebody[body]
\startxrow
\startxcell
\xmlflush{#1}
\stopxcell
\stopxrow
\stopxtablebody
\stopembeddedxtable
\stopplacetable
\blank
\stopxmlsetups
\xmlregistersetup{xml:demo}
\starttext
\xmlprocessbuffer{demo}{demo}{}
\stop
gt; According to my recent tests, a mathalignment environment does not seem to
> react (any more) to the values of the "align" option.
> The source code hab been rendered correctly a few years ago,
>
> Minimal example 1:
>
> \starttext
> \startformula
> \startmathal
,
Minimal example 1:
\starttext
\startformula
\startmathalignment[n=2,align={left, right}]
\NC always aligned to the right \NC = u + at, \NR
\NC d \NC = ut + \frac12 at^2. \NR
\stopmathalignment
\stopformula
\stoptext
Despite "align={left, right}", the first column is aligned to the rig
://context-on-web.eu/. The example employs the spy library within a TikZ
environment. Surprisingly, the same example runs without error on my local
LaTeX engine, indicating a potential compatibility issue between ConTeXt and
the spy library.
Here is the minimal example for your reference:
hin a TikZ
environment. Surprisingly, the same example runs without error on my local
LaTeX engine, indicating a potential compatibility issue between ConTeXt and
the spy library.
Here is the minimal example for your reference:
\starttext
\usemodule[tikz]
\usetikzlibrary {spy}
\starttikzpicture
,
width=fit,
distance=0.5em,
alternative=serried,
]
\margintext{\blackrule[color=black, height=0.25ex,
width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm]
\starttext
\margintext {1.1.1}
\starttheorem
The square on the hypotenuse is equal to the sum of the squares
;
>>
>> 2. What do you get in your log-file with the following example!
>>
>> \starttext
>> \show\expandeddetokenize
>> \stoptext
>>
>> On my system I can find the following line:
>>
&g
For me, it is the same:
This is LuaMetaTeX, Version 2.10.11
>
> 2. What do you get in your log-file with the following example!
>
> \starttext
> \show\expandeddetokenize
> \stoptext
>
> On my system I can find the following line:
>
>
Hans van der Meer schrieb am 22.11.2023 um 21:22:
The problem persists. Here the new logfile.
1. What is the version of your Luametatex binary?
luametatex --version
This is LuaMetaTeX, Version 2.10.11
2. What do you get in your log-file with the following example!
\starttext
is as simple as can be.The filename is test.jpeg, then this runs ok:\starttext\externalfigure[test.jpeg][]\stoptextBut this crashes, see the log:\starttext\externalfigure[test.jpg][]\stoptext
yours sincerelydr. Hans van der Meer
showlayout.log
Description: Binary data
\starttext
setuplayout: leftmargin=40mm, rightmargin=60mm, textwidth=110mm\crlf
abc\dotfill xyz\crlf
\stoptext
Alternative 1:
\setuplayout
[backspace=40mm,
width=110mm]
\showframe
\starttext
\page[empty]
\stoptext
Alternative 2:
\setuplayout
[backspace=40mm,
cutspace=60mm,
width
ection{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}}
> \stopxmlsetups
>
> \startxmlsetups xml:ss
> \subsection{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}}
> \stopxmlsetups
>
> \setuphead[chapter,section,subsection][before=,after=,]
> \starttext
> \xmlprocessbuffe
,
> distance=0.5em,
> headstyle=bold,
> titlestyle=normal,
> way=bytext,
> conversion=numbers]
> \defineenumeration
> [theorem]
> [text=Theorem,
> title=yes,
> style=italic,
> list=all,
> listtext={Theorem }]
> \starttext
> \margintext{
> On 20 Nov 2023, at 18:01, Pablo Rodriguez via ntg-context
> wrote:
>
> Dear list,
>
> sorry for insisting, but this is important for my documents.
>
> I have the following sample:
>
> \setupinteraction[state=start, page=name, focus=standard]
> \startt
width is larger in the lower rectangle).
>>
>> I attach the PDF created with your code.
>>
>> Best regards: Otared
>>
>>
>>
>> On 19 Nov 2023, at 18:56, Fabrice Couvreur
>> wrote:
>>
>> Hi,
>> I don't understand why the hatching
gt;
>>
>>> On 19 Nov 2023, at 18:56, Fabrice Couvreur >> <mailto:fabrice1.couvr...@gmail.com>> wrote:
>>>
>>> Hi,
>>> I don't understand why the hatching of the two rectangles is not the same
>>> color.
>>> Thanks for
the same
> color.
> Thanks for your help.
> Fabrice
>
> \starttext
> \setupbodyfont[8pt]
> \startMPcode
>path p, q, r, b ;
>
>z[0] = (2cm,0cm) ;
>z[1] = (2cm,2cm) ;
>z[2] = (0cm,2cm) ;
>
>
Dear list,
sorry for insisting, but this is important for my documents.
I have the following sample:
\setupinteraction[state=start, page=name, focus=standard]
\starttext
a\footnote{b}
\stoptext
If page is set to anything different than no in \setupinteractionscreen,
focus=standard
the title page
> (though I define sectionblocks for keeping different numbering systems
> for the table of contents and the document)
Section blocks are intended for that.
Just a comment, if your cover (or title) page involves a one and only
single page, you may use makeups, such as in
example.
\starttext
\heightofstring{x}
\the\exheight
\stoptext
To get one and a half line of interlinespace with ConTeXt you can set a
fixed value with the \setupinterlinespace command.
\setupinterlinespace[line=18pt]
\showgrid
\starttext
\samplefile{lorem}
\stoptext
Wolfgang
as in:
\setupbodyfont[termes]
\starttext
\the\exheight\\
\the\dimexpr3\exheight\\
\the\emwidth
\the\dimexpr1.5\emwidth\\
\stoptext
Just in case it might help,
Pablo
___
If your question is of interest t
list=all,
listtext={Theorem }]
\starttext
\margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal to the
sum of the squares on the other two sides. Ach is das schön, dass du da bist
\stoptheorem } \stoptext
I see also in this thread that you have sad "yes&quo
]
%%%
%%% NUMERACIÓN DE PÁGINAS, SETUP %
%%%
\setuppagenumbering[alternative=doublesided,location={footer,inmargin}]
\setupuserpagenumber[way=byblock]
\starttext
\startsectionblock[portada
document
On 19 Nov 2023, at 18:56, Fabrice Couvreur <fabrice1.couvr...@gmail.com> wrote:Hi,I don't understand why the hatching of the two rectangles is not the same color. Thanks for your help.Fabrice\starttext \setupbodyfont[8pt] \startMPcode path p, q
Hi,
I don't understand why the hatching of the two rectangles is not the same
color.
Thanks for your help.
Fabrice
\starttext
\setupbodyfont[8pt]
\startMPcode
path p, q, r, b ;
z[0] = (2cm,0cm) ;
z[1] = (2cm,2cm) ;
z[2] = (0cm,2cm
ium]
\starttext
\input knuth
\setuplayout[grid=yes]\page
\input knuth
\stoptext
> 1. Why are the lines printed one over the other when grid=no? how do
> profis then use context without grid?
As said, ConTeXt is \setuplayout[grid=no] by default.
As far as I can recall it, the defa
sincerelydr. Hans van der Meer
% test pagenumbering start-stop\setuppapersize[A5][A5]\starttext\setuppagenumbering[state=stop]\ConTeXt\space\contextversion\blankThis is page 1 without pagenumber.\crlf\page\setuppagenumbering[state=start]This should be a page with pagenumber 2.\crlfBut the pagenumber
em,
title=yes,
style=italic,
list=all,
listtext={Theorem }]
\starttext
\margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal
to the sum of the squares on the other two sides. Ach is das schön, dass du da
bist
\stoptheorem }
\stoptext
I see also in this thread that
,
]
\starttext
\startchapter [title={Oops!}]
\input knuth-gpt \par
\stopchapter
\stoptext
Replacing the textstyle /cap/ by any of /bold/, /slanted/, /smallcaps/,
and /italic/ results in a clean compilation but the indicated style is
not applied. Using a style
eration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.5em,
alternative=serried,
]
\starttext
\starttheorem
The square on the hypotenuse is equal to the sum of the squares on the
other two sides. Ach is das schön, dass du da bist
\stoptheorem
Dear list,
I have the following sample:
\setupinteraction[state=start, page=name, focus=standard]
\starttext
a\footnote{b}
\stoptext
In \setupinteraction, "focus=standard" is ignored when I use "page=name".
I mean, link destinations are to the full page and they
for something like this?
\defineenumeration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.5em,
alternative=serried,
]
\starttext
\starttheorem
The square on the hypotenuse is equal to the sum of the squares on the
other two sides. Ach is das schö
,
listtext={Theorem }]
\starttext
\margintext{2.1.1}{\starttheorem {The square on the hypotenuse is equal
to the sum of the squares on the other two sides. Ach is das schön, dass du da
bist}
\stoptheorem
\stoptext
Maybe someone can help me
=0.25ex, width=7cm]
\starttext
\margintext{2.1.1}\remark{Remark 1 Ach ist das schön, dass du da bist}
\stoptext
But Remark should be a number as you wrote in your example.
Thank you
Uschi
Von: Bruce Horrocks
Gesendet: Donnerstag, 16. November 2023 15:58:50
On Thu, 16 Nov 2023 21:40:08 +0100
vm via ntg-context wrote:
> Is there a command in context to force every word in a text to
> hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes"
Like this?
\starttext
\hyphenatedword{\samplefile{knuth}}
{1}{\n}}
\starttext
%% dots are vertically aligned
\dorecurse{6}{%%
Foo \PavelFiller Bar\par}
\hairline
%% dots are not aligned
\dorecurse{6}{%%
\oneword\PavelFiller\oneword\par}
\stoptext
Marco
LMTX 2023.09.04 19:15
Dear List:
I would like to have text next to the Remark Number
\setupindenting[yes,small,first]
\defineenumeration
[remark]
[location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]
\starttext
\remark
An enumeration (\tex{remark}, in this case
601 - 700 of 31909 matches
Mail list logo