arguments = "string",
actions = function(key)
context(engine:makeCitationCluster { { id = key } })
end
}
interfaces.implement {
name = "cslbibliography",
public = true,
actions = functi
Also you can use this:
assuming that you have a fixed size figure such as a pdf page:
\definesymbol[Bsymbol][{\scale[width=1.6ex]{\externalfigure[myfile.pdf][page=1]}}]
\define\mysym{\kern 0.2em \symbol[Bsymbol] \kern 0.3em}
\starttext
this is a sample\mysym text.
\tfa{this is a sample\mysym
On 6/10/2024 1:16 PM, Gerion Entrup wrote:
Hi,
I'd like to scale something (actually a symbol drawn in TikZ) to the exact
high of the char 'M'. I found the scale environment for it but struggle to
measure the correct font height. I found the "definemeasure/measure/measured"
has same style all over the document.
but i want it to have style base on current font
and if the font changes, the style should change, while maintaining the
ratio of sizes(i.e., at the half of current font).
i attached the resulted pdf
1. You can use the \offset command to raise the footnote
On 6/8/24 10:49, vm via ntg-context wrote:
> in the document
> https://wiki.contextgarden.net/images/8/8c/xhtml.pdf
>
> near the end an essential line got truncated:
> [...]
> how should this line continue ?
> {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("
On 6/8/24 10:49, vm via ntg-context wrote:
in the document
https://wiki.contextgarden.net/images/8/8c/xhtml.pdf
near the end an essential line got truncated:
\startxmlsetups xml:img
\placefigure[here]
[\xmlatt{#1}{src}]
{\xmlatt{#1}{alt}}
{\externalfigure[\xmlatt{#1}{src}][width=\ctxlua
in the document
https://wiki.contextgarden.net/images/8/8c/xhtml.pdf
near the end an essential line got truncated:
\startxmlsetups xml:img
\placefigure[here]
[\xmlatt{#1}{src}]
{\xmlatt{#1}{alt}}
{\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("\xmla
\stopxmlsetups
how s
correctly do not add spaces.
1. \setcharacterspacing[frenchpunctuation] takes care about the space
before/after quotation marks when you use manual quotes in a document.
It doesn't matter whether you use or don't use space between the
quotations marks and the quoted text.
begin example
; (\framed is working as expected). Here is a MWE:
>
> 1. \starttextbackground isn't based on \framed and has a mp-key to assign a
> metapost graphic.
Thanks. I had forgotten that.
> 2. \startbackground needs to be fixed but it's simple, replace \defcsname
> with \edefcsname in pac
Aditya Mahajan schrieb am 06.06.2024 um 14:48:
Hi,
I am testing some of my old styles on latest context and find that the
background key of \startbackground and \starttextbackground doesn't work
(\framed is working as expected). Here is a MWE:
1. \starttextbackground isn't based on \framed
t; Hi all,
>> I can't get Kerning working with Noto Serif.
>> My minimal file is:
>>
>> \definefontfeature[oldstylenumber][onum=yes]
>> \definefont[testnoto][file:NotoSerif-Regular*default at 12pt]
>> \starttext
>> Line 1: {VAVAVAVAVAVA 12345}\par
>&g
Am Montag, 3. Juni 2024, 15:13:20 MESZ schrieb Hans Hagen via ntg-context:
> On 6/3/2024 1:36 PM, Gerion Entrup wrote:
> > Thank you. I think that I understand command vs alternative now.
> > With try and error, I experienced, that the font/style of the `style`
> >
Am 06.06.24 um 09:41 schrieb Lutz Haseloff:
Hi all,
I can't get Kerning working with Noto Serif.
My minimal file is:
\definefontfeature[oldstylenumber][onum=yes]
\definefont[testnoto][file:NotoSerif-Regular*default at 12pt]
\starttext
Line 1: {VAVAVAVAVAVA 12345}\par
Line 2: {\setff
Hi all,
I can't get Kerning working with Noto Serif.
My minimal file is:
\definefontfeature[oldstylenumber][onum=yes]
\definefont[testnoto][file:NotoSerif-Regular*default at 12pt]
\starttext
Line 1: {VAVAVAVAVAVA 12345}\par
Line 2: {\setff{oldstylenumber}VAVAVAVAVAVA 12345}\par
Line 3: {\addff
{\xmldocument}{*}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:mysetups}
\startxmlsetups xml:something
\tex{StartSomething}\par
\xmlflush{#1}\par
\tex{StopSomething}\par
\stopxmlsetups
\startxmlsetups xml:what
\tex{StartWhat}\par
\xmlflush{#1}\par
\tex{StopWhat}\par
t commands.
Here is a sample (using a buffer instead of an external file):
\startbuffer[demo]
line 1
line 2
line 3
\stopbuffer
\starttext
\startxmlsetups abc:def
\xmlsetsetup{#1}{foo|bar}{xyz:*}
\stopxmlsetups
\xmlregistersetup{abc:def}
\startxml
ai2472206...@yeah.net schrieb am 05.06.2024 um 16:03:
As described, here is example:
%
\def\cmd#1{{\tt\textslash #1}}
\def\cmdii#1{\tt #1}
\def\cmdiii#1{\rm #1}
You can use \definehighlight to create a custom command for a style.
The case where you want a slash before the text you have
Am 05.06.24 um 16:03 schrieb ai2472206...@yeah.net:
As described, here is example:
%
\def\cmd#1{{\tt\textslash #1}}
\def\cmdii#1{\tt #1}
\def\cmdiii#1{\rm #1}
\starttext
\placecontent% if i dont place toc command , ConText can render it.
\chapter{anything else}
\section{\cmdi
As described, here is example:
%
\def\cmd#1{{\tt\textslash #1}}
\def\cmdii#1{\tt #1}
\def\cmdiii#1{\rm #1}
\starttext
\placecontent% if i dont place toc command , ConText can render it.
\chapter{anything else}
\section{\cmdi{with command} section}
\section{\cmdii{with command} section
of me.
And now to my initial question, which I didn't specify precisely enough.
I have the following workflow in mind:
1. I have an XML file (TEI-XML),
2. then, following your brilliant suggestion, I will create an
xml-analyze-template.tex file and customise it.
3. As you suggest, now one would
> On 4 Jun 2024, at 19:00, Kip Warner wrote:
>
> On Tue, 2024-06-04 at 18:19 +0100, Bruce Horrocks wrote:
>> 1) I installed Ubuntu 14.04 It comes with context pre-installed but
>> it's broken.
>
> Hey Bruce. Just an FYI, but Trusty Tahr (14.04) is over a deca
precisely enough.
I have the following workflow in mind:
1. I have an XML file (TEI-XML),
2. then, following your brilliant suggestion, I will create an
xml-analyze-template.tex file and customise it.
3. As you suggest, now one would actually use
context --environment xml-analyze-template.tex
in mind:
1. I have an XML file (TEI-XML),
2. then, following your brilliant suggestion, I will create an
xml-analyze-template.tex file and customise it.
3. As you suggest, now one would actually use
context --environment xml-analyze-template.tex file.xml
to typeset in a pdf file.
But I would
On Tue, 2024-06-04 at 18:19 +0100, Bruce Horrocks wrote:
> 1) I installed Ubuntu 14.04 It comes with context pre-installed but
> it's broken.
Hey Bruce. Just an FYI, but Trusty Tahr (14.04) is over a decade old.
--
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.theverti
On Tue, Jun 4, 2024 at 19:30 (+0200), Wolfgang Schuster wrote:
> Jim schrieb am 04.06.2024 um 18:01:
>> Hi,
>> When I run Example 1 given there, I get three bullet symbols, but no
>> "column N ..."
>> text.
>> Note that the
>>
Jim schrieb am 04.06.2024 um 18:01:
Hi,
When I run Example 1 given there, I get three bullet symbols, but no
"column N ..."
text.
Note that the
\starttext
is *after* the \startitemize ... \stopitemize
Q1: Is my ConTeXt installation broken, or is the wiki page show
> On 1 Jun 2024, at 01:48, Bruce Horrocks wrote:
>
> I'm not sure there is a need to do any more than Adam Reviczky is already
> doing. When I find a bit of time I'll install a Ubuntu 24.04 into a VM and
> see what version of Context is installed, likewise Debian.
TL;DR:
Hi,
When I run Example 1 given there, I get three bullet symbols, but no
"column N ..."
text.
Note that the
\starttext
is *after* the \startitemize ... \stopitemize
Q1: Is my ConTeXt installation broken, or is the wiki page showing output
that does not
%%%
> > \defineframed [marginframe]
> > [width=max, height=max,
> > style=\ss,
> > corner=08, location=lohi,
> > frame=off]
> > \setuptext [style={\ss}]
> > \setuptexttexts [margi
style=\ss,
corner=08, location=lohi,frame=off]
\setuptext [style={\ss}]
\setuptexttexts [margin] []
[\marginframe{\hbox orientation 1 {DRAFT}}]
[\marginframe{\hbox orientation 1 {DRAFT}}]
There is no need for low level optio
PDF document.
But Acrobat cannot find (or display) any signature in that PDF document.
pdfsig (from poppler-utils-24.02.0) complains about digest mismatch:
$ pdfsig a.pdf
Digital Signature Info of: a.pdf
Signature #1:
- Signature Field Name: signature
- Signer Certificate Common
On 6/3/2024 1:36 PM, Gerion Entrup wrote:
Thank you. I think that I understand command vs alternative now.
With try and error, I experienced, that the font/style of the `style`
parameter interleave in a strange way. Therefore I see it as related.
What i mean is:
style: outer level, also sets
Am Montag, 3. Juni 2024, 00:05:22 MESZ schrieb Wolfgang Schuster:
> Gerion Entrup schrieb am 01.06.2024 um 16:34:
> > Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster:
> >> Gerion Entrup schrieb am 31.05.2024 um 00:37:
> >>> What, if I define m
frame=off]
\setuptext [style={\ss}]
\setuptexttexts [margin] []
[\marginframe{\hbox orientation 1 {DRAFT}}]
[\marginframe{\hbox orientation 1 {DRAFT}}]
[]
\starttext
\chapter{C:Some Word}
\dorecurse{5}{
\section{S:Some Wo
Gerion Entrup schrieb am 01.06.2024 um 16:34:
Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster:
Gerion Entrup schrieb am 31.05.2024 um 00:37:
What, if I define multiple of them? Is the system not made for this?
Multiple of what?
When I define `alternative=` _and_ `command
Am Samstag, 1. Juni 2024, 09:53:46 MESZ schrieb Wolfgang Schuster:
> Gerion Entrup schrieb am 31.05.2024 um 00:37:
> > What, if I define multiple of them? Is the system not made for this?
>
> Multiple of what?
When I define `alternative=` _and_ `command=` in the s
example
[...]
end example
Thank you very much! That looks really clean. I will add it to the wiki.
Can you bring some clarification regarding "style=", "command=" and
"alternative="?
1. Alternatives are the different styles/layouts for the section titles.
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-lmt.zip
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
> On 30 May 2024, at 23:25, Gerion Entrup wrote:
>
> Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks:
>>
>>> On 30 May 2024, at 15:15, Gerion Entrup wrote:
>>>
>>> Let's begin with a minimal example:
>>> ```
>>&
Am Donnerstag, 30. Mai 2024, 18:49:08 MESZ schrieb Bruce Horrocks:
>
> > On 30 May 2024, at 15:15, Gerion Entrup wrote:
> >
> > Let's begin with a minimal example:
> > ```
> > \define[2]\MyChapter{%
> > #1 #2: \structureuservariable{subtitle} (\struct
uacode
-- from https://wiki.contextgarden.net/Command/defineconversion:
interfaces.implement {
name = "FRdate",
public= true,
arguments = "string",
actions =
function(s)
local n = tonumber(s)
if n == 1 then
t/Command/defineconversion:
interfaces.implement {
name = "FRdate",
public= true,
arguments = "string",
actions =
function(s)
local n = tonumber(s)
if n == 1 then
context"1\\ier"
Peter Münster schrieb am 30.05.2024 um 13:59:
Hi,
It seems, that you cannot use self defined conversions in \date:
\defineconversion[mytest][X-\romannumerals]
\starttext
Self defined conversion: \convertnumber{mytest}{1} (OK)\\
Predefined conversion in date: \date[d=1][day:a] (OK)\\
Self
> On 30 May 2024, at 15:15, Gerion Entrup wrote:
>
> Let's begin with a minimal example:
> ```
> \define[2]\MyChapter{%
> #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro})
> }
Stop there!
Use \definehead to create your own variation of a headi
]
\starttext
\utfchar{0x02460}
\stoptext
The above just prints the vanilla character '1'. That might be because
the online editor doesn't have access to the font. So I tried compiling
the above locally with the Symbola.otf file in the same directory and
same problem.
My example
ead [chapter] [style=\tf]
>
> \setuphead [chapter] [style=\bf]
So this sentence of the wiki [1] is wrong (documentation of the command
argument)?:
> Command to use for typesetting the title; overrules all other styling. First
> argument is the number, second the title text.
If I
MyChapter{%
\framedtext{%
#1 #2:\\
\structureuservariable{subtitle}\\
(\structureuservariable{intro})
}
}
> I also want to set everything except of the intro in a flushright environment
> but do not know how. I tried:
As above:
\framedtext[align=flushright]{%
T
ot quite sure about it's internals.
>
> Let's begin with a minimal example:
> ```
> \define[2]\MyChapter{%
> #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro})
> }
>
> \setuphead[title, chapter][command=\MyChapter]
>
> \setupbodyfont[11pt
; argument in setuphead for that.
However, I'm not quite sure about it's internals.
Let's begin with a minimal example:
```
\define[2]\MyChapter{%
#1 #2: \structureuservariable{subtitle} (\structureuservariable{intro})
}
\setuphead[title, chapter][command=\MyChapter]
\setupbodyfont[11pt]
Hi,
It seems, that you cannot use self defined conversions in \date:
\defineconversion[mytest][X-\romannumerals]
\starttext
Self defined conversion: \convertnumber{mytest}{1} (OK)\\
Predefined conversion in date: \date[d=1][day:a] (OK)\\
Self defined conversion in date: \date[d=1][day:mytest
and also no caption, I wouldn’t use floats
> (\placefigure) at all, but just plain \externalfigure.
>
> Hraban
***
CHARLES DOHERTY
13 BANCROFT ROAD
TALLAGHT
DUBLIN
D24 YH2V
home: +353 1 2447483
Mobile: +353 863868629
charles.
On Wed, 2024-05-29 at 06:49 -0600, Alan Braslau wrote:
> 1) You appear to be using the long-frozen mkii bibliography code.
I think you are right! I just realized that. I'm using in my
Environment file...
% \BIBTEX macro...
\usemodule[abr-02]
% Setup bibliogra
tart, offset=1em]
> \startluacode
> local pat = (lpeg.Cmt(lpeg.P("this") + lpeg.P("that"),
> function(str,_,s)
> context(s)
> return #str
> end) + lpeg.P(1))^1
> lpeg.match
]
\setdataset[myset] [foo=1,boo=4]
\newcount\tempa
\datasetvariable{myset}{1}{boo} % definitely get 4
%\tempa=\datasetvariable{myset}{1}{boo} % why i cannt pass 4 to tempa?
%\number\tempa
\stoptext
%
If anyone can fix it, thanka very much
You have to add a check to ensure there is a value
ConTeXt LMTX version: 2024.05.27 18:16
Sample tex file:
\setupbackend[export=yes]
\starttext
x
\startsectionlevel
\startitemize
\item
\startitemize
\item
\startitemize
\item
\stopitemize
\stopitemize
\stopitemize
\stopsectionlevel
\stoptext
Error log:
tex error > tex error on lin
exactly.
>
> I see. The first few lines of my BibTeX file just contains a copyright
> notice that is commented out with the % character. If that is not a
> valid comment character, is there no way to write a comment in the
> file?
>
1) You appear to be using the long-frozen mki
>
> \starttext
> \definedataset [myset]
> \setdataset[myset] [foo=1,boo=4]
> \newcount\tempa
> \datasetvariable{myset}{1}{boo} % definitely get 4
> %\tempa=\datasetvariable{myset}{1}{boo} % why i cannt pass 4 to tempa?
> %\number\tempa
> \stoptext
Works for me
I'm defining a command to generate options for multiple choice questions,
but at the moment I'm stuck at this step.
I want to get a number and assign a value to the counter, but why can't I get
it?
\starttext
\definedataset [myset]
\setdataset[myset] [foo=1,boo=4]
\newcount\tempa
local pat = (lpeg.Cmt(lpeg.P("this") + lpeg.P("that"),
function(str,_,s)
context(s)
return #str
end) + lpeg.P(1))^1
lpeg.match(pat,"how about this being that")
local pat = (lpeg.Cmt(lpeg.oneof(
...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75:
> > in function
> <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:66>
> > (...tail calls...)
> can you test with the attached ... (remake the format)
>
> \st
ev.lua:75: attempt
> > to index a nil value (field '?')
> > stack traceback:
> > ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:75:
> > in function
> <...mtx/tex/texmf-context/tex/context/base/mkiv/strc-lev.lua:66>
> >
> [textcircled]
> [width=1.4em,
> height=1.4em,
> frame=off,
> background=textcircle,
> framecolor=colour_text,
> location=low,
> offset=none]
>
> \starttext
> Here are the numbers \textcircled{1}, \textcircle
hat uses as its
background
% the above overlay...
\defineframed
[textcircled]
[width=1.4em,
height=1.4em,
frame=off,
background=textcircle,
framecolor=colour_text,
location=low,
offset=none]
\starttext
Here are the numbers
; > U+2469.
> > > They mean circled digits and are available in many fonts.
> >
> > Thanks Ryszard. Those would be perfect, except I can't get them to
> > work
> > in ConTeXt. I tried using the \utfchar{0x2460} but it just displays
> > the
> > n
("this") + lpeg.P("that"),
function(str,_,s)
context(s)
return #str
end) + lpeg.P(1))^1
lpeg.match(pat,"how about this being that")
local pat = (lpeg.Cmt(lpeg.oneof({ "this", "that"
=textcircle,
location=low,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
Thank you again Wolfgang. This is very helpful and works well.
One question I have for you is how to set the colour of the circle to
match the other text on my page
them to work
in ConTeXt. I tried using the \utfchar{0x2460} but it just displays the
number 1.
I am assuming it needs a font that supports it, but I'm not sure how to
switch to a supporting font just to typeset that character and then
revert back. Is there some way to define a macro?
You could just
file: Secret_Sauce.aux
The style file: cont-au.bst
Database file #1: ./References.bib
I was expecting a `{' or a `('---line 2 of file ./References.bib
:
: % See the file Copying for details on copying conditions.
(Error may have been on previous line)
I'm skipping
,
> frame=off,
> background=textcircle,
> location=low,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thank you again Wolfgang. This is very helpful and works well.
One question I have for you i
-au.bst
Database file #1: ./References.bib
I was expecting a `{' or a `('---line 2 of file ./References.bib
:
: % See the file Copying for details on copying conditions.
(Error may have been on previous line)
I'm skipping whatever remains of this entry
(There was 1 error
]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
___
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
erlayWidth,
y = OverlayHeight/2, ] ;
\stopuniqueMPgraphic
\defineoverlay
[svgback]
[\useMPgraphic{centered_svg}]
\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]
\starttext
this is a sample \Sback{1} text
\stoptext
Hello Seyal,
This does work but
us=.5fw,
> radius=\dimexpr\framedwidth/2\relax,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thank you kindly, Wolfgang. That worked perfectly.
--
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.theverti
,
radius=.5fw,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it
failed:
Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc,
bp, dk, or54sp; but yours
> y = OverlayHeight/2, ] ;
> \stopuniqueMPgraphic
>
> \defineoverlay
> [svgback]
> [\useMPgraphic{centered_svg}]
>
> \defineframed[Sback][location=low,background=svgback,frame=off,offset
> =8pt]
>
> \starttext
> this is a sample \Sback{1} text
>
tried using the \utfchar{0x2460} but it just displays the
number 1.
I am assuming it needs a font that supports it, but I'm not sure how to
switch to a supporting font just to typeset that character and then
revert back. Is there some way to define a macro?
--
Kip Warner
OpenPGP signed/en
radius=.5fw,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it
failed:
Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc,
bp, dk
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-lmt.zip
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
these commands. Any help appreciated.
I can't provide a circle but I can give you a box with rounded corners.
\defineframed
[textcircled]
[ width=1.5em,
height=1.5em,
location=low,
corner=round,
radius=.5fw,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1
eMPgraphic{centered_svg}]
\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]
\starttext
this is a sample \Sback{1} text
\stoptext
On Mon, May 27, 2024 at 12:38 AM Kip Warner wrote:
> Hello list,
>
> I would like to typeset a number in a circle. Nothing fancy. N
[{\getmarking[chapter]}][pagenumber]
Please send a complete working example next time.
Can anyone show me code to achieve this?
1. You use \setupheadertexts to set the header for all pages.
2. You use \definetext to create a custom header for the chapter page
and apply it with the header-key
Thanks so much
i also could define poem structure like this:
Using table method:
\protected\def\PoemStart#1\PoemStop
{\bTABLE[setups=tablepoem]#1\eTABLE}
\protected\def\Beyt#1
{\bTR #1 \eTR}
\protected\def\Misra#1
{\bTD #1 \eTD}
\starttext
\PoemStart
\Beyt{\Misra{the first sentence
.
If anyone can give advice, appreciate it
1. It is better to add new languages to Context itself and not just in
your document.
2. Chinese doesn't use hyphenation pattern but has rules where to break
which is enabled with the \setscript command.
3. We should use agree upon a name which
uot; --all (indicate
actual font name)
Don't forget the following commands to purge the font cache and restore
the database:
1. mtxrun --script cache --erase && mtxrun --generate
2. mtxrun --script fonts --reload
Then : 3. mtxrun --script fonts --list --pattern="Chinese Font"
of your new delimited command is then passed to the normal
commands for the table cell.
begin example
\starttext
\protected\def\StartTableCell#1\StopTableCell
{\bTD#1\eTD}
% New method to create delimited arguments with #L and #R in Luametatex
%
% \protected\def\StartTableCell#L
omFontSelection]
[default] [rscale=0.97]
\stoptypescript
\stoptypescriptcollection
\setupbodyfont[CustomFontSelection]
\starttext
We use $X$, $Y$, $Z$ and $n$, $m$, etc. $\sin(x) \to \limsup x_n$ whatever.
\mathematics{%
\delta_{ij} =
\startmathcases
\NC 1 \NC \text{if } i = j \NR
criptcollection
\setupbodyfont[CustomFontSelection]
\starttext
We use $X$, $Y$, $Z$ and $n$, $m$, etc. $\sin(x) \to \limsup x_n$ whatever.
\mathematics{%
\delta_{ij} =
\startmathcases
\NC 1 \NC \text{if } i = j \NR
\NC 0 \NC \text{otherwise} \NR
\stopmathcases
}
We use
?
>> I did, but as far as I know they place the text on the margin next to
>> the \inmargin invocation in the text, so they may overlap, which is what
>> I want to avoid.
>
> \setupmarginblocks[inbetween=]
>
> \starttext
>
> \dorecurse{100}
>{\bold{#1:}
vm via ntg-context schrieb am 21.05.2024 um 16:07:
On 21/05/2024 15:54, Wolfgang Schuster wrote:
\setupmarginblocks[inbetween=]
\starttext
\dorecurse{100}
{\bold{#1:} \samplefile{ward}%
\startmarginblock Note #1\stopmarginblock
\par}
\stoptext
when I compile this, i get per
just noticed that if the notes need more margin space then are pages
available by the text, they get lost. e.g. this mwe generates 10 pages
with 100 par but only 80 notes will show up.
\setupmarginblocks[inbetween=]
\starttext
\dorecurse{100}
{\bold{#1:} \samplefile{ward
On 21/05/2024 15:54, Wolfgang Schuster wrote:
\setupmarginblocks[inbetween=]
\starttext
\dorecurse{100}
{\bold{#1:} \samplefile{ward}%
\startmarginblock Note #1\stopmarginblock
\par}
\stoptext
when I compile this, i get per page with
\par 1..10 -> the notes 1..11
\par 11.
to
the \inmargin invocation in the text, so they may overlap, which is what
I want to avoid.
\setupmarginblocks[inbetween=]
\starttext
\dorecurse{100}
{\bold{#1:} \samplefile{ward}%
\startmarginblock Note #1\stopmarginblock
\par}
\stoptext
Wolfgang
\Hashtag#1{
\hbox{\tfa\ctxlua{
str = "#1"
replacespace = string.gsub(str," ","_")
context.letterhash()
context(replacespace)
}
}
}
\starttext
\Hashtag{hello}
\stoptext
i used hbox for making phrase unbreakable.
\Hashtag#1{
\hbox{\tfa\ctxlua{
str = "#1"
replacespace = string.gsub(str," ","_")
context.letterhash()
context(replacespace)
}
}
}
\starttext
\Hashtag{hello}
\stoptext
i used hbox for making phrase unbreakable.
Thanks.
What if we want the text to be copied when it is clicked?
I found these link on the stack site for this
https://tex.stackexchange.com/questions/174637/copy-to-clipboard-feature-in-pdf-output/545107#545107
also i defined this:
\def\Hashtag#1{
\hbox{\tfa\ctxlua{
str = &qu
on the circumstances, so
here is one.
\setupbodyfont[11pt]
\definemeasure [mywidth] [7cm]
\definemeasure [mywidtha] [5cm]
\definemeasure [myheight]
[{\the\dimexpr\baselineskip*37+\lineskip\relax}]
\definemeasure [myheighta]
[{\the\dimexpr\baselineskip*18+\lineskip*1\relax
]
%--
\usecolors[svg]
\definemeasure [mywidth] [7cm]
\definemeasure [mywidtha] [5cm]
\definemeasure [myheight] [{\the\dimexpr\baselineskip*37+\lineskip\relax}]
\definemeasure [myheighta][{\the\dimexpr\baselineskip*18+\lineskip*1\relax}]
\definemeasure
s to all of you for your hints and comments!
> I thought \l does work, why \L does not.
> To type \L is faster than changing the keyboard language when I write in
> German normally.
>
>
> 1. Hans made a while ago the decision to reduce the number of commands to
> output certain chara
Thomas Meyer schrieb am 18.05.2024 um 14:53:
Thanks to all of you for your hints and comments!
I thought \l does work, why \L does not.
To type \L is faster than changing the keyboard language when I write
in German normally.
1. Hans made a while ago the decision to reduce the number
> various sources of documentation :
> In one small table he/she has an overview of the documentation for a given
> topic, :
> - the few key tutorials
> - link to one "main wiki page" about the topic
> - the few key manuals
> - the reference for commands
The fonts p
1 - 100 of 33732 matches
Mail list logo