=]
\definelabel[Qi][text={\hbox to 15pt}, alternative=inright]
\startbuffer[fn]
\Qi
\stopbuffer
\starttext
\Qi Between here\par
aaa\endnote{xxx\getbuffer[fn]}\Qi and here
\placenotes[endnote]
\stoptext
--
Rik
s are properly set,
and yet I get the same error:
\startbuffer[test]
Hello world
\stopbuffer
\startsetups my:test
\startxmlsetups xml:testsetups
\xmlsetsetup{#1}{document|p}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:testsetups}
\startxmlsetups xml:document
\xmlflus
you're
referring to? This seems to work, I may be able to use this for my real
file...
All best
Thomas
\startbuffer[test]
Hello world
\stopbuffer
%%% ONE
\startxmlsetups xml:firstsetups
\xmlsetsetup{one}{document|p}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:firsts
error:
\startbuffer[test]
Hello world
\stopbuffer
\startsetups my:test
\startxmlsetups xml:testsetups
\xmlsetsetup{#1}{document|p}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:testsetups}
\startxmlsetups xml:document
\xmlflush {#1}
\stopxmlsetups
\startxmlsetups xml:p
\color
ntered
> \scalarproduct
> \tochar{x:00B7}
> \tochar{u:middle dot}
> \tochar{u:midpoint}
>
> \usemodule[mathml]
> \startbuffer
> ·
> \stopbuffer
> \processxmlbuffer
>
> $\neg\neg\neg$
> \stop
t to work properly, there are quite a few alternatives:
\startTEXpage
·
\char"00B7
\cdot
\periodcentered
\scalarproduct
\tochar{x:00B7}
\tochar{u:middle dot}
\tochar{u:midpoint}
\usemodule[mathml]
lines
\getpoem
\stoppoemlines}}
\edef\poemhsize{\the\dimexpr(\hsize-\wd\scratchbox)/2\relax}
\setupnarrower[poemnarrower][left=\poemhsize]
\startpoemlines
\getpoem
\stoppoemlines
\stopsetups
\startbuffer[Wilhelmus]
\startlines
Wilhelmus van Nassouwe
ben ik, van Duitsen bloed,
d
Define the z[] values in the \startMPdefinitions block
> 2. Modified the drawing method in \startMPbuffer
>
> When I run it, it doesn’t recognize the z[] values defined already.
> I think that the z[] values are not delivered to \startbuffer.
> I tried \startMPinclusions, \startMPinitia
run it, it doesn’t recognize the z[] values defined already.
I think that the z[] values are not delivered to \startbuffer.
I tried \startMPinclusions, \startMPinitialization, but I couldn’t succeed.
1. How can I deliver the z[] values into the buffer?
2. What is wrong in the following code?
Thank
text-cache.tex
context --luatex --make
mtxrun --luatex --script fonts --reload
context --luatex context-cache.tex
where context-cache.tex is the following:
\starttext
\startbuffer[line]
\tf The quick brown fox jumps over the lazy dog. $\sqrt{x^2}
\mathbb{R
two distinct paragraphs).
To give you an idea, in XHTML it could be something like this:
---
This is a paragraph.
This is the next paragraph.
---
Here is a weekend solution ...
% Let's borrow some mwe as that was not provided:
\startbuffer[test]
eping
the original structure of the document (two distinct paragraphs).
To give you an idea, in XHTML it could be something like this:
---
This is a paragraph.
This is the next paragraph.
---
Here is a weekend solution ...
% Let's borrow some mwe as that was not provided:
\s
tfamily[Kurinto] [mm] [Latin Modern Math]
\setupbodyfont[Kurinto,12pt]
\startbuffer[line]
The quick brown fox jumps over
\stopbuffer
\startbuffer[sample]
\startTABLE
\NC \type{\normal}\NC \normal{\getbuffer[line]}\NC \NR
\NC \type{\italic}\NC \italic{\getbuffer[line]}\NC
ou're doing the
same as \def\A{...}. To avoud redefining existing commmands use a prefix
for your command names because unlike \def you can use special symbols
like : or _ within \setvalue.
begin example
\startbuffer[getvalue]
\starttabulate[|T||]
\NC Joel:A \EQ \getvalue{Joel:A} \NC\NR
}
\stoptexdefinition
\definesymbol [ordinal_symbol] [{\OrdinalDate{\currentitemnumber}}]
\setupitemize[symbol=ordinal_symbol]
\definestartstop[framedtextitem]
[before={\startitem\startframedtext},
after={\stopframedtext\stopitem}]
\startbuffer
This is a test. For the next sixty seconds, this stat
Hi,
the xml parser fails on attribute list settings in xml files.
begin example
\startbuffer[jmdict]
]>
\stopbuffer
\starttext
\startluacode
local jmdict = lxml.loadbuffer("","jmdict",false)
inspect(jmdict)
\stopluacode
\stoptext
%%%
Hello,
I'd like the URL to link to the webpage rather than what it currently
links to:
`hyphenatedurl#https://example.com/this-is-a-really-long-slug/for-example-purposes-only/`
Kind regards,
Riviera
Running LuaMetaTeX, Version 2.11.07 (Functionality : level 20250226)
MWE:
\startb
Am 03.04.2025 um 15:58 schrieb Pablo Rodriguez via ntg-context:
On 4/2/25 18:47, Bruce Horrocks wrote:
On 2 Apr 2025, at 15:21, Pablo Rodriguez via ntg-context wrote:
\startbuffer[x]
a
\stopbuffer
\starttext
\savebuffer[x][\jobname-temp.tex, prefix=no]
whatever
On 4/2/25 18:47, Bruce Horrocks wrote:
>> On 2 Apr 2025, at 15:21, Pablo Rodriguez via ntg-context wrote:
>>
>>\startbuffer[x]
>>a
>>\stopbuffer
>>\starttext
>>\savebuffer[x][\jobname-temp.tex, prefix=no]
>>whatever
>>
> On 2 Apr 2025, at 15:21, Pablo Rodriguez via ntg-context
> wrote:
>
>\startbuffer[x]
>a
>\stopbuffer
>\starttext
>\savebuffer[x][\jobname-temp.tex, prefix=no]
>whatever
>\stoptext
You're mixing up the syntax styles: if you wan
Dear list,
I have the following sample:
\startbuffer[x]
a
\stopbuffer
\starttext
\savebuffer[x][\jobname-temp.tex, prefix=no]
whatever
\stoptext
Compiling it with current latest (2025.04.01 12:45) LMTX, the saved file
name is "x".
With current latest MkIV,
Am 27.03.2025 um 23:11 schrieb Rik Kabel:
On 2025-03-27 13:03, Alan Caruanambo wrote:
\sc gets different results when changing the default font. See
attached PDF.
\starttext
\startbuffer
{\sc Use CaPs and SmAll caps (preserve casing)}
\stopbuffer
\getbuffer
\setupbodyfont[dejavu
On 2025-03-27 13:03, Alan Caruanambo wrote:
\sc gets different results when changing the default font. See
attached PDF.
\starttext
\startbuffer
{\sc Use CaPs and SmAll caps (preserve casing)}
\stopbuffer
\getbuffer
\setupbodyfont[dejavu] \getbuffer \crlf
\setupbodyfont[ibmplex,rm
\sc gets different results when changing the default font. See attached PDF.
\starttext
\startbuffer
{\sc Use CaPs and SmAll caps (preserve casing)}
\stopbuffer
\getbuffer
\setupbodyfont[dejavu] \getbuffer \crlf
\setupbodyfont[ibmplex,rm] \getbuffer
\stoptext
sc-test.pdf
Description
\footnote{1770 – the discovery\\
1778 – the invasion\\
1824 – the war of extermination\\
1901 – the Constitution}
\startbuffer
\startlines
1770 – the discovery
1778 – the invasion
1824 – the war of extermination
1901 – the Constitution
\stoplines
]
\starttext
\contextversion\\
\texenginename\\
\texengineversion\\
\texenginefunctionality
\footnote{1770 – the discovery\\
1778 – the invasion\\
1824 – the war of extermination\\
1901 – the Constitution}
\startbuffer
\startlines
1770 – the discovery
1778 – the invas
ntedspaces
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:num
\xmlflush{#1}
\stopxmlsetups
\startbuffer[test]
asdf
1
\stopbuffer
\starttext
\xmlprocessbuffer{test}{test}{}
nd(xml:loc)}
\stopparagraph
\stopxmlsetups
\startxmlsetups xml:term
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:loc
\removeunwantedspaces
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:num
\xmlflush{#1}
\stopxmlsetups
\startbuffer[test]
asdf
1
\
xml:index-entry
\startparagraph
\xmlfilter{#1}{/term/command(xml:term)}\qquad\xmlfilter{#1}{/loc/command(xml
:loc)}
\stopparagraph
\stopxmlsetups
\startxmlsetups xml:term
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:loc
\xmlflush{#1}
\stopxmlsetups
\s
mal sample here:
\startbuffer[demo]
first
second
third
First
Second
Third
\stopbuffer
\startxmlsetups xml:initialize
\xmlsetsetup{#1}
{root|div|p}
{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:
nsert(tfList, val)
-- context(#tfList)
end
if #a == 3 then
val = func(s,t) and "1" or "0"
context(val)
context.NC()
context.AR()
table.insert(tfList, val)
end
end
end
document.MakeF
wd, -(i+1)*ht)));
endfor;
for i=0 upto rlNum[1]-1:
subcode := substring (i*rlSkip[1],(i+1)*rlSkip[1]) of code[1];
label.top(textext(subcode), ((i+1)*wd,.3ht));
endfor;
setbounds currentpicture to boundingbox currentpicture enlarged 2mm;
draw boundingbox currentpicture;
enddef;
\st
reading.
Best regards,
Dalyoung
\startbuffer[styleOutline]
\startuseMPgraphic{outlineT}
draw lmt_outline [
text = \MPvar{tt},
kind = "both",
width = OverlayWidth,
align = "middle",
fillcolor = "gray&quo
ar]
\setupbodyfont[palatino]
\def\pgfcalendarmonthname#1{%
\translate{\ifcase#1\or Enero\or Febrero\or Marzo\or Abril\or
Mayo\or Junio\or Julio\or Agosto\or Septiembre\or Octubre\or
Noviembre\or Diciembre\fi}%
}
\starttext
\startbuffer
\setupheadertexts[\framed[frame=off, foregrounds
form.svg appears as background of icon.svg.
>>
>> Now I want to change the stroke color in the svg.
>>
>> It is very simple:
>>
>>
>>
>> http://www.w3.org/2000/svg";>
>>
>>> stroke-width="2"/>
a
> meaningful filename, but I would like to set the color in the context file.
>
> I tried to define the overlay pic with \includesvgbuffer but I can't get
> it to work.
>
> \startbuffer[svg]
> http://www.w3.org/2000/svg";>
>
> stroke-width="2&quo
y open it in inkscape set the color an save it under a
meaningful filename, but I would like to set the color in the context file.
I tried to define the overlay pic with \includesvgbuffer but I can't get
it to work.
\startbuffer[svg]
http://www.w3.org/2000/svg";>
page
fill fullcircle scaled 4cm withcolor "darkgreen";
\stopMPpage
\starttext
\startbuffer[samples]
@IMAGE {sample1,
title = "sample-1",
author = "My Self",
mpcode = {fill fullcircle scaled 4cm withcolor "darkblue";}
}
@
uals
\setupbodyfont[ss,14pt]
\setuplayout [margin=0pt, width=fit, header=2.8ex, footer=2.8ex]
\setupalign[middle,hilo]
\setuppagenumbering [alternative=doublesided,location=footer]
\setupheadertexts[\CONTEXT\ imposition test]
%\showframe
\setupbackgrounds [text][text][background=color,backgr
e solution is to use \shapecorrection which moves the slanted
glyphs closer the margins of the text block.
begin example
\setuppapersize[A5]
\startbuffer
H\crlf
{\it T}
\blank
H\crlf
{\shapecorrection[both]\it T}
\stopbuffer
\showframe
\starttext
\subject{Latin Modern}
\getbuffer
\set
factor = 1,
}
vectors.rik = table.merged (
vectors.quality,
{
[0x0054] = { 0.35, 0 }, -- T
})
\stopluacode
\definefontfeature
[default]
[default]
[protrusion=rik,expansion=quality]
\setupalign[hz,hanging]
\showmakeup[line]
\showglyphs
\startbuffer
Here is a line of text,
]
[default]
[protrusion=quality,expansion=quality]
\setupalign [hz,hanging]
\startbuffer
Here is a line of text, the first sentence in the demonstration.\\
{\em Then} the next sentence in the paragraph follows.\\
You can see that the italic
lue\symbol[electrond]}]
\stopmodule
\protect
\continueifinputfile{m-electrons.mkxl}
\usemodule[scite]
\starttext
\startTEXpage[offset=1cm,width=17cm]
\startbuffer[b]
Nitrogen: \electrons{b}{1s} \electrons{b}{2s} \electrons{uuu}{2p}
Nitrogen: \electrons{b}{} \electrons{B}{} \electrons{uDu}{}
\defin
ix=no]
\startbuffer[increment]
\incrementcounter[xxx]
\convertedcounter[xxx]
\stopbuffer
%\enablemode[reset]
\starttext
\dorecurse{2}{\getbuffer[increment]\blank}
\startchapter [title={Setting counter value after \tex{chapter}}]
\setupcounter[xxx][start=6]
\doifmode{reset}{\resetcounte
juh+ntg-cont...@mailbox.org schrieb am 08.10.2024 um 18:13:
Am 03.10.24 um 14:15 schrieb Wolfgang Schuster:
begin example
\setuplayout[tight]
\setuppapersize[A8,landscape]
\starttext
\startbuffer[cattle]
"Year","Cattle, total","Dairy cows"
"2009
Am 03.10.24 um 14:15 schrieb Wolfgang Schuster:
begin example
\setuplayout[tight]
\setuppapersize[A8,landscape]
\starttext
\startbuffer[cattle]
"Year","Cattle, total","Dairy cows"
"2009","3968","1489"
"2010","
bibliography contains additional URLs or DOIs
that link to external resources but are not highlighted since all surrounding
text is colored in the same way.
Here is a MWE:
```
\setupinteraction[state=start, color=red]
\startbuffer[testdata]
@Book{knuth1,
author = {Donald E. Knuth
{\type[compact=absolute]{\a.bc}}
>
> I mean, this is verbatim and in some cases it is essential to be able to
> display spaces as they are in the source.
You can also use:
\startbuffer
\a.bc
\stopbuffer
\footnote{\typebuffer}
Aditya
___
Thanks Wolfgang!
I wikified your answer, adding a line in «Counters».
I also slightly changed the page layout (replacing code examples with
links to the command pages).
Damien
My MWE:
\startbuffer
\startsection[title={foo}]
\input ward
\stopsection
\startsection[title={bar
example
\setuplayout[tight]
\setuppapersize[A8,landscape]
\starttext
\startbuffer[cattle]
"Year","Cattle, total","Dairy cows"
"2009","3968","1489"
"2010","3975","1479"
"2011","3885","1
?
I tried \resetcounter [section] but that is not the good way.
I read about \headnumber and \namedheadnumber but could'nt go further.
My MWE:
\startbuffer
\startsection[title={foo}]
\input ward
\stopsection
\startsection[title={bar}]
\input knuth
\stopsection
\stopbuffer
\star
read about \headnumber and \namedheadnumber but could'nt go further.
My MWE:
\startbuffer
\startsection[title={foo}]
\input ward
\stopsection
\startsection[title={bar}]
\input knuth
\stopsection
\stopbuffer
\starttext
\dorecurse{2}{
% how can I reset chapter number?
\getb
.
Citing multiple references in one \cite[] only 2 out of 3 righttexts appear.
When using
\setupbtx[apa:cite][sorttype=none]
all 3 righttexts appear but the characters after the year disappear.
Is there a way to fix that behaviour?
Thank you. Have a nice weekend.
Matthias
\startbuffer
feature can vastly for the fonts which provide it, take
the following two fonts as example.
begin example
\definefontfeature [discretionary-ligatures] [dlig=yes]
\starttext
\startbuffer[pagella]
\starttabulate[|||]
\NC \type{} \EQ \NC\NR
\NC \type{--} \EQ -- \NC\NR
\NC \type{
rkaround:
• place a section index after the content of the page
The cons:
• pagebreaking by sectioning manually the content of a page
\setuppapersize[A5]
\startbuffer[buf:dict:achilles]
He was a hero.
\stopbuffer
\startbuffer[buf:dict:divine]
Has something to do with gods and godess
On 8/25/2024 2:15 PM, Wolfgang Schuster wrote:
How differs "1" from "2"?
* em fs
\startbuffer[dimensions]
\starttabulate
\NC em \EQ \the\dimexpr1em\relax \NC\NR % \emwidth
\NC fs \EQ \the\dimexpr1fs\relax \NC\NR % \globalbodyfontsize
\stoptabulate
\stopbuffer
\s
differs "1" from "2"?
* em fs
\startbuffer[dimensions]
\starttabulate
\NC em \EQ \the\dimexpr1em\relax \NC\NR % \emwidth
\NC fs \EQ \the\dimexpr1fs\relax \NC\NR % \globalbodyfontsize
\stoptabulate
\stopbuffer
\starttext
\getbuffer[dimensions]
\setupbodyfont[14.4pt]
\
efigure and \stopplacefigure”, then there is no error,
but the figure is not centered.
Please tell me how to fix it.
Thank you for reading.
Best regards,
Dalyoung
\startbuffer[numbers]
path p,q;
p = unitsquare xyscaled(3,2) superellipsed .85 ;
q := p scaled 1cm;
draw q;
label.bot(textext("
tion and test itself should be done in a controlled
way because otherwise a page break can already have been decided
\starttext
\startbuffer[note:1]
\input{knuthmath}
\stopbuffer
\startbuffer[note:2]
\input{knuth}
\stopbuffer
\input knuthmath \footnote{\inlinebuffer[note:1]}
\input knuth
first one with footnote texts only (as buffers):
\startbuffer[fn-1]
\input knuth
\stopbuffer
\startbuffer[fn-2]
\input zapf
\stopbuffer
Your sample file may read:
\setuppapersize[A6]
\input footnotes.tex
\protected\def\bufffn[#1]%
{\footnote{\getbuffer[#1]}}
\star
ts
> a bibliography?
>
> \startchapter[title=Image Credits] \placelistofcredits
> \stopchapter
Here is one way to do it:
\startbuffer[dataset-1]
@Article{tag1,
author = {A Author},
title = {The title},
year = {2024},
}
\stopbuffer
\startbuffer[dataset-2]
@Article
> I know how to create custom lists and indexes, but not a bibliography list.
>
> How do I point the image references to go to a different list, but still its
> a bibliography?
>
> \startchapter[title=Image Credits] \placelistofcredits
> \stopchapter
Here
[default] [script=auto]
\definefontfeature[allsc][c2sc=yes, smcp=yes,
lowercasing=yes]
\setupbodyfont[stix]
\starttext
\startbuffer
{\language[ru]Моя любимая
{\feature[+][allsc]ОС}---{\feature[+][allsc]Линукс}.}\crlf
{\language[en]My favourite {\feature[+][allsc]OS} is
{\feature[
t; >>
> >> \starttext
> >>
> >> \definestacking[one]
> >> \definestacking[two]
> >>
> >> \startbuffer
> >> This is a test \stacking [one] {and a proof} of \stacking [two]
> >> {concept} indeed
> >> \stacking [one] {\bla
On 6/23/2024 2:35 PM, Gerion Entrup wrote:
Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context:
-- support for stacking at the tex end (maybe for presentations)
\starttext
\definestacking[one]
\definestacking[two]
\startbuffer
This is a test \stacking [one] {and a
king[one]
> > \definestacking[two]
> >
> > \startbuffer
> > This is a test \stacking [one] {and a proof} of \stacking [two]
> > {concept} indeed
> > \stacking [one] {\blackrule [width=4cm]} is it and the question is how
> > \stacking
> > [two] {\scale [s=2] {fa
\startstackingsteps[criterium={1,2,3}, alternative=normal] % or sequential
>
> for the current implementation
>
> and
>
>\startstackingsteps[criterium={1,2,3}, alternative=cumulative]
>
>for the cumulative option (1,{1,2},{1,2,3}...)
>
> 3
Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context:
> -- support for stacking at the tex end (maybe for presentations)
>
> \starttext
>
> \definestacking[one]
> \definestacking[two]
>
> \startbuffer
> This is a test \stacking [one] {and
rnative=cumulative]
for the cumulative option (1,{1,2},{1,2,3}...)
3. It will be nice to have a syntax to easily handle case 2 and 3.
As a bonus, I found that tex stacking plays nicely with metapost stacking!
\starttext
\definestacking[1]
\definestacking[2]
\definestacking[3]
\startbuffer
\s
Hi,
I uploaded a new version:
-- fix for hraban's svg image (one character patch)
-- more verbose link comments for pablo (for experimenting)
-- support for stacking at the tex end (maybe for presentations)
\starttext
\definestacking[one]
\definestacking[two]
\startbuffer
This is a
one source). I want
> to also specify the separator but did not get it to run.
>
> Here is a minimal example:
> ```
> \setupinteraction[state=start]
>
> \startbuffer[testdata]
> @Book{knuth1,
> author = {Donald E. Knuth},
> title = {TEX and METAFON
set
the entry title to the URL and not print the URL after it.
Here is a minimal:
\startbuffer[testdata]
@Article{wikipedia2024_depeche_mode_sounds_of_the_universe,
author= {{Wikipedia contributors}},
title = {Sounds of the Universe},
year = {2024
Hello list,
I am trying to get my references that have URLs to automatically set
the entry title to the URL and not print the URL after it.
Here is a minimal:
\startbuffer[testdata]
@Article{wikipedia2024_depeche_mode_sounds_of_the_universe,
author= {{Wikipedia contributors
ack to the original
issue, it still doesn't typeset correctly. I've managed to come up with
a minimal that displays the garbled reference:
\startbuffer[testdata]
@Book{cicero-tuscu2011,
author = {Cicéron, Marcus Tullius},
editor = {Fohlen, G.},
publisher = {Les B
e}\endcsname
>> %
>> %macro with argument
>> %
>> \else
>> \begincsname\xmlatt{#1}{name}\endcsname{\xmlatt{#1}{arg}}
>> \fi
>> }
>> {
>> \ERROR{macro \xmlatt{#1}{name} is not defined}
>> }
>> \stopxmlsetups
>
> I have no idea
\stopextract
> > \stopframed
> > \stoplocalheadsetup
> > \stopsetups
>
> The userdata environment uses the buffer mechanism of Context which has
> a few limitations where you can use it, e.g. putting the environment in
> the argum
nly one file:
\startbuffer[testdata]
@Book{cicero-tuscu2011,
author = {Cicéron, Marcus Tullius},
editor = {Fohlen, G.},
publisher = {Les Belles Lettres},
title = {Tusculanes},
year = {2011},
address= {Paris},
edition= {7e tirage},
isbn = {9
th the code for the quoted text, another way
is to put all content in a buffer and just load the buffer in the
setups-environment.
\startbuffer[my_chapter]
\startlocalheadsetup
\startframed[chapter_frame]
...
\stopframed
cover that case
(https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#search=xmldoifatt).
But I cannot make any of these conditionals work (I‘m afraid there may
be an issue with their definition).
\startbuffer[ifdefined]
\stopbuffer
\startxmlsetups xml:hvdm
\xmlsets
RROR{macro \xmlatt{#1}{name} is not defined}
}
\stopxmlsetups
I have no idea what's wrong in your code without a proper minimal
example. As the example below shows you can use \doifelsedefined in
combination with \xmlatt.
\startbuffer[ifdefined]
\stopbuffer
\startxmlsetups xml:docum
Dear list,
I have the following sample:
\startbuffer[demo]
text
\stopbuffer
\startxmlsetups xml:sample
\xmlsetsetup{#1}{text}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:sample}
\startxmlsetups xml:text
block: a \xmlverbatim{#1} b\\
inline: a
}.} {}
\removeunwantedspaces
\stopsetups
\startsetups btx:mybib:list:imagelink
\btxdoifelse {url} {\btxflush{url};\space} {}
\btxdoifelse {date} {abgerufen \btxflush{date}.} {}
\removeunwantedspaces
\stopsetups
\startbuffer[maindata]
@link{herbariumathome,
title={Herbarium At Home: A
Hi, I don’t find it hard to understand, but I don’t think it’s possible
within ConTeXt (while Hans keeps surprising me).
well, as one needs to do some work one can as well do this:
% oeps.tex
\startbuffer[test]
test
\stopbuffer
\startxmlsetups xml:mysetups
\xmlsetsetup
ur configure the selected elements with ConTeXt 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
a minimal example:
```
\setupinteraction[state=start]
\startbuffer[testdata]
@Book{knuth1,
author = {Donald E. Knuth},
title = {TEX and METAFONT. New directions in typesetting},
year = {1979},
publisher = {Addison-Wesley},
}
@Article{someother,
author = {Some
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
Hi Wolfgang,
powerful and elegant, as always! I think I have a solution with xml; I
will have to test it more extensively with my complex real file; but
here comes, also for Hraban (if it works in real life, I'll add it to
the wiki...).
Thanks a lot!
Thomas
\startbuffer
{#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}{test}{}
\sample
xml:poem
> \blank[line]
> \xmlflush{#1}
> \blank[back,line]
> \stopxmlsetups
>
> \startxmlsetups xml:stanza
> \xmlflush{#1}\blank[preference,line]
> \stopxmlsetups
>
> \startxmlsetups xml:line
> \xmlflush{#1}\blank[samepage,none]
> \stopxmlsetu
xml:stanza
\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}
\xmlprocessb
txmlsetups 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
I solved it, although it's kinda hacky. I'm pretty sure that
publications.citevariants.short is not meant to be called directly.
Do you know why `context.getdetail(dataset, tag, "author")` does not work in
render_cite?
It always returns nil.
```
\setupinteraction[state=
[state=start]
\startbuffer[testdata]
@Book{knuth1,
author = {Donald E. Knuth},
title = {TEX and METAFONT. New directions in typesetting},
year = {1979},
publisher = {Addison-Wesley},
}
@Article{someother,
author = {Some Person and Some Otherperson},
title
odule[publ-imp-sbl]
\startbuffer [bib]
@Article{na2006,
title={Volcanoes \word{of} New Mexico},
year={2006},
journal={New Mexico Earth Matters},
publisher={New Mexico Bureau \word{of} Geology \word{and} Mineral Resources},
volume={6},
number={1},
location={Socorro, New Mexico}
}
@Book{clark19
here a fix?
Here is a minimum working example:
\usemodule[publ-imp-sbl]
\startbuffer [bib]
@Article{na2006,
title={Volcanoes \word{of} New Mexico},
year={2006},
journal={New Mexico Earth Matters},
publisher={New Mexico Bureau \word{of} Geology \word{and} Mineral Resources},
volume={6},
number={1}
e exactly the short form). It is more less also
> > described here [1].
> > - Highlight publications of a certain author with an extra char (e.g.
> > '>')
> >
> > Here is a minimal example (lets assume, every occurrence of Knuth
> > should be highlighte
t; should be highlighted): ```
> \setupinteraction[state=start]
>
> \startbuffer[testdata]
> @Book{knuth1,
> author = {Donald E. Knuth},
> title = {TEX and METAFONT. New directions in typesetting},
> year = {1979},
> publisher = {Addison-Wesley},
> }
xactly the short form). It is more less also described here [1].
- Highlight publications of a certain author with an extra char (e.g. '>')
Here is a minimal example (lets assume, every occurrence of Knuth should be
highlighted):
```
\setupinteraction[state=start]
\startbuffer
't find an explanation in https://wiki.contextgarden.net/Command
For example, these two pages exist :
- https://wiki.contextgarden.net/Command/startbuffer
- https://wiki.contextgarden.net/Command/_startbuffer
If it is on purpose:
- What is the purpose, and which page should contain which
docum
den.net/Command
For example, these two pages exist :
- https://wiki.contextgarden.net/Command/startbuffer
- https://wiki.contextgarden.net/Command/_startbuffer
If it is on purpose:
- What is the purpose, and which page should contain which documentation?
The command pages which start with an
1 - 100 of 1053 matches
Mail list logo