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
Thomas Meyer schrieb am 23.05.2024 um 16:34:
Need Help!
I'm standing in front of the barn door ...
How can I suppress the pagenumber only on the first page?
\starttext
\noheaderandfooterlines
\dorecurse{10}{\samplefile{lorem}}
\stoptext
Wolfgang
seyal.zav...@gmail.com schrieb am 23.05.2024 um 14:13:
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR
\bTR \bTD One wer s dft
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.
tion
marks slightly into the margin area to have a better alignment of the
text alone.
begin example
\setupwhitespace[big]
\showframe[text][text]
\definefontfeature[default][default][expansion=quality,protrusion=quality]
\starttext
\type{alignment: default}
\samplefile{lorem}
\p
ot;#1"
replacespace = string.gsub(str," ","_")
context.letterhash()
context(replacespace)
}
}
}
\starttext
\Hashtag{hello}
\stoptext
i used hbox for making phrase unbreakable.
How can you put all the code in the one Lua function and
petext}}
}
%==
%\showboxes
\starttext
\MyPageBuilder{A}{}
\setuphead
[subsection]
[
before=,
after=,
style=,
command=\MySubSectionCommand,
alternative=text,
]
\MyPageBuilder{B}{}
\MyPageBuilder{C}{\strut Hi from here. \endgraf}
\st
ontfamily[cormora][rm][Cormorant]
\setupbodyfont[cormora]
\starttext
\input zapf\par
\switchtobodyfont[libertin]
\doloopoverlist{\rm,\ss,\tt}
{\recursestring\input zapf\par}
\stoptext
You may define font families (which are actually typeface families).
I think they may be easier to use than t
vm via ntg-context schrieb am 18.05.2024 um 11:45:
On 18/05/2024 11:17, Thomas Meyer wrote:
How can I write Łódź (on a Mac)?
Just as you wrote it in your mail message?
ConTeXt knows how to deal with utf-8
And in case you can't use the \with... commands.
\starttext
Łódź
%\Lslash\aacute
ist. Sorry if it not ok.
thanks
if you do something \switchtobodyfont without ever having loaded it
(before starttext) spaces can creep in depending on what files are
loaded for that font
also, in order to avoid grouping issues / side effects you can do this
before \starttext:
\usebodyfont[foo]
wh
ection] [command=\firstHeadings, indentnext=no]
\starttext
\startsection[title=a]
b
\stopsection
\startsection[title=a]
b
\stopsection
\startsection[title=a]
b
\stopsection
\stoptext
BTW, you inadvertely introduce the space here:
\define[2]\firstHeadings{%
\dontleav
{%
\dontleavehmode \switchtobodyfont[miCorm]
\FrameTitle#1%
\dontleavehmode \startFunnyText {\switchtobodyfont[miCorm,20.7pt] #2}
\stopFunnyText
}
\setuphead [section] [color=blue, command=\firstHeadings, indentnext=no]
\starttext
\noindentation
\dontleavehmode
\startsection[title=Aspectos generales
\starttext
This is some text.
This is some other text, it will appear in a new paragraph.
\blank
This is some text. \ignorepars % add space before \ignorepars
This is some other text, it will appear in a new paragraph.
\blank
This is some text. \GotoPar
This is some other text, it will appear
efont [useWarningFont] [name:arialbold*default at 22pt]
\starttext
This is the regular body text font but {\useWarningFont BE AWARE} that others
can be used.
\stoptext
—
Bruce Horrocks
Hampshire, UK
___
If your question is
Dear list,
I have the following sample:
\setupinteraction[state=start]
\setupattachments[method=hidden]
\protected\def\PDFfile[#1]%
{\cldcontext{file.addsuffix("#1", "pdf")}}
\starttext
\doifelsefile{\PDFfile[xml-mkiv]}
{yes}{no}
New] [features=none]
\definetypeface [windows] [mm] [math] [termes] % use \definetypeface
to load a math font
\setupbodyfont[windows]
\starttext
\showbodyfont
\stoptext
Wolfgang
___
If your question is of interest
\starttypescript[miCorm]
\definetypeface [miCorm] [rm] [serif] [cormorant] [default]
\stoptypescript
\setupbodyfont[miFuente, 12pt]
\starttext
\startsection[title=Aspectos generales]
Esta guía contiene toda la documentación necesaria para administrar la {\it
prueba unificada de certificación
}]
%==
\starttext
%==
{\sc\bfd Version A, without sectionning, pages 1\ampersand 2}
\startshapetext[mp1, mp1, mp1, mp1, mp1, mp1]
\setupalign[hz,hanging,verytolerant
ere’s none for {zm,pm,zc,zm,uc}
(upper like lower, ignore diacritics – basic default for German).
"""
\mainlanguage[de]
\setupregister[index][language=de]
\starttext
\index{Apfel}
\index{Äpfel}
\index{apfel}
\index{äpfel}
\index{aepfel}
\index{Aepfel}
\index{Ápfel}
\index{ápfel}
\page
ion up
withshadecolors (red,blue);
\stopMPcode
\stoptexdefinition
\starttext
\Mystyle{hello}
\stoptext
but what is the proper way if i want to use this style as simple as \tfb in
definition of this structures? such as:
\defineframed[Myframe][frame=off,style=\tfb\Mystyle,]
You can
picture tt ; tt:= lmt_outline [
kind = "path",
text = "\Myframe{#1}",
];
fill
for i within tt : pathpart i && endfor cycle
withshademethod "linear"
withshadedirection up
withshadecolors (red,blue);
\stopMPcode
\stopte
I have come across an error that halts processing with the latest
release. The following demonstrates this:
\setuppagenumbering [location=]
\starttext
\dorecurse{36}{\dorecurse{19}{abc }}
\startplacetable[location=split,title={Table}]
\starttabulate[|p|p|]
\HL
On 5/9/2024 10:38 PM, garu...@azules.eu wrote:
Hi,
trying to work with variable fonts, I am stuck at the very beginning.
I can't see any effect of weight parameter.
Using adobevariablefontprototypebold and adobevariablefontprototypelight is
working.
\starttext
\definefontfeature[whatever
Hi,
the first \vdots in the third row is not centered.
\starttext
\definemathmatrix[mymatrix][matrix:parentheses]
\startformula
\startmymatrix
\NC A_1\VL B_1\NR
\HL
\NC \vdots \VL \vdots \NR
\NC \vdots \NC \vdots \NR% there is probably something from here
\HL
\NC A_n\VL B_n
-
outlines-003.pdf
Description: Adobe PDF document
\continuewhenlmtxmode
\starttext
\startMPpage[offset=10pt]
draw lmt_outline [
text = "\mathematics{\sqrt{2}-1}"
] ;
draw lmt_outline [
text = "\mathema
Hi,
trying to work with variable fonts, I am stuck at the very beginning.
I can't see any effect of weight parameter.
Using adobevariablefontprototypebold and adobevariablefontprototypelight is
working.
\starttext
\definefontfeature[whatever][axis={weight:150}]%
\definedfont
> >
> this is my MWE:
> \definefontfeature [arabis]
> [mode=node,language=dflt,script=arab,
> init=yes,medi=yes,fina=yes,isol=yes,
> liga=yes,dlig=yes,rlig=yes,clig=yes,
> mark=yes,mkmk=yes,kern=yes,curs=yes]
> \definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt]
> \setupal
flt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt]
\setupalign[r2l]
\starttext
{\Ahang تَشْكِيل كَسْرَة}
\stoptext
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 1
rs=yes]
\definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt]
\setupalign[r2l]
\starttext
{\Ahang تَشْكِيل كَسْرَة}
\stoptext
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
but there is an issue with widths, ill send you a patch to test
The provided "*arabic" featurese
e.com/file/d/1hCcv6wqWjd-5GEKnaowh8E8YVbTgGqQr/view?usp=sharing>
this is my MWE:
\definefontfeature [arabis]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\definefont [Ahang] [file:Ahang-Regular.otf*ar
-Regular.otf*arabis at 18pt]
\setupalign[r2l]
\starttext
{\Ahang تَشْكِيل كَسْرَة}
\stoptext
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
but there is an issue with widths, ill send you a patch to test
Hans
this is my MWE:
\definefontfeature [arabis]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt]
\setupalign[r2l]
\starttext
{\Ahang
te counter with the third
(optional) argument.
\def\IndexPageCommand#1%
{#1\doifsomething
{\currentregisterpageuserdata{footnote}}
{\high{\currentregisterpageuserdata{footnote
\setupregister[index][pagecommand=\IndexPageCommand]
\starttext
\dorecurse{200}
{\samplefile{lorem
ligatures?
I’m interested in not disabling hz and hanging.
\typebuffer disables automatic \endash and \emdash with the
\nohyphencollapsing command
but the command isn't used for \typeinlinebuffer.
\starttext
\type{--} = --
\nohyphencollapsing
\type{--} = --
\dohyphencollapsing
\type
Dear list,
I have the following sample:
\definefontfamily[mainface][tt][TeX Gyre Termes]
\setupbodyfont[mainface]
\starttext
\startbuffer
context --purgeall
\stopbuffer
inline \typeinlinebuffer
block:
\typebuffer
\stoptext
As long as there is no defined font family for mono
fairly obvious format.
\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]
\starttext
%\showcolorcomponents [yellow]
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow}
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=wolley]{wolley}
\st
Mikael Sundqvist schrieb am 05.05.2024 um 16:45:
Hi
On Sun, May 5, 2024 at 4:40 PM Joel via ntg-context wrote:
\definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft,
alternative=hanging, width=broad, margin=1cm]
\starttext
\latexdesc{1540} some event happened
Hi
On Sun, May 5, 2024 at 4:40 PM Joel via ntg-context wrote:
>
>
> \definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft,
> alternative=hanging, width=broad, margin=1cm]
>
> \starttext
>
> \latexdesc{1540} some event happened
> \latex
\definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft,
alternative=hanging, width=broad, margin=1cm]
\starttext
\latexdesc{1540} some event happened
\latexdesc{1541} some other event happened
\latexdesc{1542} some event happened quite different
\stoptext
I
=Theorem,
style=italic,
headstyle=bold,
headcommand=\groupedcommand{}{.},
]
\starttext
Did you try:
text=,
stopper={ Theorem},
?
There are so many parameters in
https://wiki.contextgarden.net/Command/setupenumeration and
https://wiki.contextgarden.net/Command/setupcounter
…
Hraban
,
headcommand=\groupedcommand{}{.},
]
\starttext
\chapter{}
\section{}
\starttheorem
This is a theorem
\stoptheorem
\stoptext
Many thanks,
Jethro
___
If your question is of interest to others as well, please add an entry
]
\stopxmlsetups
\def\IndexPageCommand#1%
{#1\doifsomething
{\currentregisterpageuserdata{footnote}}
{\high{\currentregisterpageuserdata{footnote
\setupregister[index][pagecommand=\IndexPageCommand]
\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext
On 5/3/24 12:18, Wolfgang
the third
(optional) argument.
\def\IndexPageCommand#1%
{#1\doifsomething
{\currentregisterpageuserdata{footnote}}
{\high{\currentregisterpageuserdata{footnote
\setupregister[index][pagecommand=\IndexPageCommand]
\starttext
\dorecurse{200}
{\samplefile{lorem}\expanded{\setreg
unction Moduledata.jiazhu.main(head)
show_detail(head,"head")
return head, true
end
nodes.tasks.appendaction("processors", "after", "Moduledata.jiazhu.main")
\stopluacode
\starttext
\hbox{a b c}
% The result is as follows (without the I expect
[preference,line]
\stopxmlsetups
\startxmlsetups xml:line
\xmlflush{#1}\blank[samepage,none]
\stopxmlsetups
\startbuffer[test]
The
lines
are
there!
The
lines
are
there!
The
lines
are
there!
\stopbuffer
\starttext
\samplefile{lorem}
\xmlprocessbuffer{test}{test}{}
\samplefile{lorem
=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background={mybkgr}]
\starttext
\setlayerframed
[mybkgr]
[]
[background=color,
framecolor=forestgreen,
backgroundcolor=forestgreen,
foregroundcolor=white,
width=\paperwidth,
height=\dimexpr\topspace+\headerheight\relax
gt; \startbuffer[test]
>
>
>
>
> The
> lines
> are
> there!
>
>
> The
> lines
> are
> there!
>
>
> The
> lines
> are
> there!
>
>
>
> \stopbuffer
>
> \starttext
>
> \samplefile{lorem}
>
> \xmlproces
?
Best,
Denis
%
% Original MWE
\define[2]\mytitle{%
\switchtobodyfont[chorus]%
#2
}
\define[2]\mysubject{%
\switchtobodyfont[chorus]%
#2
}
\setuphead[title][command=\mytitle]
\setuphead[subject][command=\mysubject]
\starttext
\title{In Zapf Chancery
\defineframedtext [sidebartext]
[width=.4\textwidth,bodyfont=small,corner=round,background=color,backgroundcolor=lightgray,align=flushleft]
\starttext
This is a bit of text
\placefloat[sidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]{}{
1. You're again passing assi
Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22:
Dear list,
I have the following sample:
\starttext
\startluacode
function document.test(str)
context(str)
end
interfaces.definecommand {
name = "testing",
protected = false,
Dear list,
I have the following sample:
\starttext
\startluacode
function document.test(str)
context(str)
end
interfaces.definecommand {
name = "testing",
protected = false,
macro = document.test,
}
\stopluacode
\meaningfull\testing
"/usr/local/Cellar/zint/2.13.0/lib/libzint.dylib"
3) Running the wiki example:
\usemodule[m-zint]
\starttext
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\barcode[alternative=qrcode, text={https://wiki.contextgarden.net},
width=3cm]
\bar
So, I hardcoded libfile in libs-impzint.lmt to
local libfile = "/usr/local/Cellar/zint/2.13.0/lib/libzint.dylib"
3) Running the wiki example:
\usemodule[m-zint]
\starttext
\barcode[alternative=isbnx, text=9783865419026, width=4cm]
\barcode[alternative=qrc
]
defineframedtext [sidebartext]
[width=.4textwidth,bodyfont=small,corner=round,background=color,backgroundcolor=lightgray,align=flushleft]
starttext
This is a bit of text
placefloat[newsidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]{}{
startsidebartext
This is a short
framedtext [sidebartext]
[width=.4\textwidth,bodyfont=small,corner=round,background=color,backgroundcolor=lightgray,align=flushleft]
\starttext
This is a bit of text
\placefloat[sidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]{}{
\startsidebartext
This is a sho
,bodyfont=small,corner=round,background=color,backgroundcolor=lightgray,align=flushleft]
starttext
This is a bit of text
placefloat[sidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]{}{
startsidebartext
This is a short sidebar
stopsidebartext
}
And something to follow.
A bit
Thank you! --Joel
On Saturday, April 27, 2024 at 12:08:13 PM MDT, Wolfgang Schuster
wrote:
Joel via ntg-context schrieb am 27.04.2024 um 19:16:
> \starttext
> test\high{1}test\footnote{some text}
> \stoptext
>
> How can I create a superscript number that has e
Joel via ntg-context schrieb am 27.04.2024 um 19:16:
\starttext
test\high{1}test\footnote{some text}
\stoptext
How can I create a superscript number that has exactly the same
formatting as a footnote, but which won't create a footnote. I tried
\high{}, which I believe should be the way
\starttext
test\high{1}test\footnote{some text}
\stoptext
How can I create a superscript number that has exactly the same formatting as a
footnote, but which won't create a footnote. I tried \high{}, which I believe
should be the way to superscript text, but if you compile this, you can see
zed with the
setups of the new namespace.
begin example
\unprotect
\installnamespace {sidenote}
\installframedcommandhandler \sidenote {sidenote} \sidenote
\protect
\starttext
\inheritedsidenoteframed{Text in a frame!}
\setupsidenote[framecolor=red,
\xmlflush{#1}\blank[preference,line]
\stopxmlsetups
\startxmlsetups xml:line
\xmlflush{#1}\blank[samepage,none]
\stopxmlsetups
\startbuffer[test]
The
lines
are
there!
The
lines
are
there!
The
lines
are
there!
\stopbuffer
\starttext
\samplefile{lorem}
\xmlprocessbuffer{test
en you add a \par you just end the current line/paragraph and it
>> doesn't matter how many \par's you use because TeX just ignores them.
>
> I see. But there's no command that could be used to simulate an empty line?
Crappy code:
\starttext
a\dorecurse{25}{\par}b
a\dorecurse
On 4/26/24 19:50, Wolfgang Schuster wrote:
> Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04:
>> I tried this approach (I hope it isn’t wrong):
>>
>>\starttext
>>\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
>
> The \expanded mod
...groupempty commands. To have more control about this
behavior use the \tolerant modifier for \def to change it.
Many thanks for your reply, Wolfgang.
I tried this approach (I hope it isn’t wrong):
\starttext
\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
\doiftextelse{#4
more control about this
> behavior use the \tolerant modifier for \def to change it.
Many thanks for your reply, Wolfgang.
I tried this approach (I hope it isn’t wrong):
\starttext
\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
\doiftextelse{#4}%
{#4}
{\doiftextelse{#3}
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29:
Dear list,
I have the following sample:
\starttext
\def\MyCommand{\doquadruplegroupempty\doMyCommand}
\def\doMyCommand#1#2#3#4{%
\iffourthargument
#4%
\orelse\ifthirdargument
#3%
\else
Dear list,
I have the following sample:
\starttext
\def\MyCommand{\doquadruplegroupempty\doMyCommand}
\def\doMyCommand#1#2#3#4{%
\iffourthargument
#4%
\orelse\ifthirdargument
#3%
\else
#2%
\fi}
\MyCommand{}{second}{third}{fourth},\\
\MyCommand
xml:stanza
\xmlflushlinewise{#1}\par %this has no effect
\stopxmlsetups
\startxmlsetups xml:line
\xmlflush{#1}
\stopxmlsetups
\startbuffer[test]
The
lines
are
there!
The
lines
are
there!
\stopbuffer
\starttext
This works:
\startlines
The
lines
are
there!
The
lines
On 4/26/2024 9:54 AM, Thomas A. Schmitz wrote:
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote:
And here I am again! Both in mkiv and in mkxl, start/stopregister does
not work when there is already an index entry before. Example below!
All best
Thomas
\setuppapersize [A6]
\starttext
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote:
And here I am again! Both in mkiv and in mkxl, start/stopregister does
not work when there is already an index entry before. Example below!
All best
Thomas
\setuppapersize [A6]
\starttext
A\index{A} B \page
A\startregister [index] {A} B
there is already an index entry before. Example below!
All best
Thomas
\setuppapersize [A6]
\starttext
A\index{A} B \page
A\startregister [index] {A} B\startregister [index] [B] {B}
\dorecurse {10} {\input tufte}
A\stopregister [index] {A} B\stopregister [index] [B]
\page
nt = "short", righttext = righttext})
context("]")
end
\stopluacode
\startsetups btx:aps:cite:special
\btxcitereference
\ctxlua{render_cite([==[\currentbtxdataset]==], [==[\currentbtxtag]==],
[==[\currentbtxrighttext]==])}
\stopsetups
\setupbtx[aps:cite][al
but not in mkxl.
All best
Thomas
\setuppapersize [A6]
\starttext
A\index{A} B\startregister [index] [B] {B}
\dorecurse {10} {\input tufte}
A\index{A} B\stopregister [index] [B]
\page
\placeregister[index]
\stoptext
I’m using it like
\startregister[index][bibliografie]{Bibliografie
]
\starttext
A\index{A} B\startregister [index] [B] {B}
\dorecurse {10} {\input tufte}
A\index{A} B\stopregister [index] [B]
\page
\placeregister[index]
\stoptext
___
If your question is of interest
{\SMsidenoteconversion}% mark in text
\SidenoteContent[#1]{\setscript[hanzi]\setup[\SMsidenotealign]%
\convertsidenotemark{\SMsidenoteconversion}% mark with
note
#2
}}
\protect
\starttext
天地玄黄,宇宙洪荒。日月盈昃,辰宿列张。寒来暑往,秋收冬\sidenote[align=flushleft] {天地玄黄,宇宙洪荒。}
\stoptext
fullsquare xscaled r yscaled e shifted (r/2, h/2) withcolor darkred;
\stopuseMPgraphic
\defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}]
\setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}]
\starttext
\dorecurse{10}{\input tufte\page}
\stoptext
Any clue is warmly
On 4/24/24 02:15, Joel via ntg-context wrote:
> [...] Any idea how I can get current footnote value?
Hi Joel,
current footnote value can be accessed with \rawcountervalue[footnote],
such as in:
\starttext
\dorecurse{25}
{\ \footnote{Footnote \recurselevel}:
\rawcounterva
2, 2024 at 07:22:24 AM MDT, vm via ntg-context
wrote:
On 22/04/2024 14:38, Joel via ntg-context wrote:
> Is this the correct way to be using the \startpostponing code (see
> example below)?
>
> \starttext
> \input knuth
> \startpostponing
>
l you want.
\setuplabeltext
[en]
[chapter=Chapter ,
appendix=Appendix ,
hraban=Hraban ]
%\setuplist[chapter][label=hraban,width=3cm]
\setuplist[chapter][label=yes,width=3cm]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{First chapter}
\chapter{Seco
[bibrendering][aps][dataset=main, numbering=short]
\setupbtxlist[aps][
alternative=b,
distance=.5em,
]
\setupbtx[aps:cite][alternative=short]
\starttext
Knuth developed \TeX \cite[knuth1]
Several persons said something \cite[someother].
\placelistofpublications[bibrendering]
\stoptext
]
\setupnote[footnote][location=none]
\starttext
\input knuth
\cite[clark1989]
\placenotes[footnote]
\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter
\stoptext
--Joel
iography part doesn’t work for me at all.
>
> But notes may be placed as their location is text (and you add a real
> footnote).
>
> This works fine:
>
> \setupnote[footnote][location=text]
>
> \starttext
> \input knuth
> \footnote{Footnote}
>
nds up being empty.
>
> Why is it appearing empty? Is there a fix?
Hi Joel,
the bibliography part doesn’t work for me at all.
But notes may be placed as their location is text (and you add a real
footnote).
This works fine:
\setupnote[footnote][location=text]
\starttext
\input kn
[dataset=default]
\usebtxdefinitions[sbl]
\setupbtx[sbl]
\setupnote[footnote][location=none]
\starttext
\input knuth
\cite[clark1989]
\placenotes[footnote]
\startchapter[title=Bibliography]
\placelistofpublications
\stopchapter
\stoptext
--Joel
On 22/04/2024 14:38, Joel via ntg-context wrote:
Is this the correct way to be using the \startpostponing code (see
example below)?
\starttext
\input knuth
\startpostponing
\placefigure{Caption\footnote{message
A}}{\externalfigure[cow][width=\textwidth]}
\stoppostponing
I've managed to get a minimum working example. If you check, you'll see the
5th footnote inside a placefigure doesn't render anywhere:
\starttext
\input knuth
\placefigure{Caption\footnote{message
A}}{\externalfigure[cow][width=\textwidth]}
\input knuth
\placefigure{Caption
%%%
\setupexternalfigures
[location={local,global,default}]
\setupfloats[compress=no]
\setupfloat[figure][default=top]
\starttext
\input knuth
\placefigure{Cow 1}{\externalfigure[cow][
width=.5\textwidth,
]}
\placefigure{Cow 2}{\externalfigure[cow
t?
> > I love kpfonts.
>
> \setupbodyfont[kpfonts]
>
> \starttext
> \samplefile{lorem}
> \stoptext
>
> Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
mail
darkred;
\stopuseMPgraphic
\defineoverlay [MonGraphisme_OL] [\useMPgraphic{MonGraphisme_MP}]
\setupbackgrounds [footer] [rightmargin] [background={MonGraphisme_OL}]
\starttext
\dorecurse{10}{\input tufte\page}
\stoptext
Any clue is warmly welcome
Xavier B. schrieb am 20.04.2024 um 13:51:
Hi,
Just a courious: is there kpfonts available for context?
I love kpfonts.
\setupbodyfont[kpfonts]
\starttext
\samplefile{lorem}
\stoptext
Wolfgang
___
If your
not work
==
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf
1 - 100 of 31718 matches
Mail list logo