which then
might be an empty string.
Summarizing: the fact that \xmlrefatt tries to do two different things at the
same time (signalling presence/absence) and returning an attribute, in a
certain sense cripples its use.
dr. Hans van der Meer
Maybe this script could help a bit too.
mpone
Description: Binary data
Use with following code scheme in ConTeXt:\starttext\startMPpage% Your Metapost/metafun code here\stopMPpage\stoptextIt will produce a standalone image in a pdf.
dr. Hans van der Meer
On 5 Apr 2018, at 18:45, Keith McKay
The last two do not output a substituted entity. Why is this not working? What
I am doing wrong?
dr. Hans van der Meer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
mai
How do I define an xml entity like ä?
Is there an \xml-operation for defining an entity?
Such that I can say \xml{ABC}{an alphabet} for using &ABC; so that it produces
“an alphabet”, for example.
dr. Hans van der
I would like to put a (rotated) text on every page in the margin.
Please, how do I accomplish this?
Hans van der Meer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
With \setbuffer[ABUFFER] .. \endbuffer I can program a macro to put something
in this buffer.
But is it possible to add something at the end of this buffer at a later moment?
Hans van der Meer
___
If your question i
I did load an xml data file containing
...
with:
\xmlload{Data}{data.xml}
Then correctly find the number of data from \xmlcount{Data}{subnode}
however \xmlflush{Data} is not giving me the processed nodes from
\startxmlsetups do:subnode
doing something with xmlflysh{#1}
\stopxmlsetups
b
In the xml-mkiv.pdf manual is written on page 18:
> \xmlloadfile {...} {...} {...}
>
> loads the file FILE and registers it under NAME and applies either given or
> standard XMLSETUP (alias: \xmlload)
>
However, \xmlloadfile gives an undefined macro TeX-error, allthough the given
alias \xmllo
> On 29 Jun 2016, at 10:05, dr. Hans van der Meer wrote:
>
> I do not understand the behaviour of the \sc macro. I thought smallcaps would
> turn out to be smaller than capitals. But I see no difference between them
> except a subtle difference in letterspacing. Am I doing
I do not understand the behaviour of the \sc macro. I thought smallcaps would
turn out to be smaller than capitals. But I see no difference between them
except a subtle difference in letterspacing. Am I doing something wrong here?
Hans van der Meer
Minimal example and output:
\setuppapersize[A
Why is there anexpression error here? I would expect that the expression
number(-1101) evaluates to a negative number taking part in the comparsion.
It looks as if the minus sign is not seen as an unary minus, while -1101
should have be evaluated by Lua's tonumber(-1101).
relevant c
Why is there a difference in syntax between typing buffers and typing files?
For files enclosure in {} for buffers in [], for files optional parameters, for
buffers not.
Is it possible to make the syntax of these two the same, because their usage
parallels each other?
Example code:
\startbuffer
I do not understand the info in the ConTeXt wiki on setupMPinstance.
The syntax is specified as \setupMPinstance[...][...,...=...,...0
[...] name
format metafun mpost
etc.
I read this as:
in the first argument one can specify a name presumably a name specified on
\defineMPinstance.
in the second
The following problem in the numbering of equations, figures, tables has arisen.
For the subdivison of the document is wanted the numbering scheme
chapter (numbered)
section (numbered)
subsection (numbered}
subsubsection (not numbered)
Doing this with \setuph
I would like to differentiate on the following character being one of X or not
X.
But cannot get it right in \doifnextcharelse.
For example
\def\mynextchar{\doifnextcharelse{X}{\def\Next{Y}}{\def\Next{Z}}\Next}
delivers: ZX ZQ
then input: \mynextchar X \mynextchar Q
I hoped for YX ZQ, but it l
Some fonts as for example Lucida have a calligraphic style called up with \cg.
If it is not present a default is taken.
However, I would like to take other action in that case, for example switching
to another font.
Thus, how to test on the presence of that calligraphic style in the current
font
I want to display the name of the current (body)font.
\fontname{#1} should do the trick but what parameter to use?
\currentfont
\bodyfont
\currentbodyfont
are all wrong.
Eevn the book "fonts in context" didn't help me out.
What to use?
Hans van der Meer
_
Earlier I posted the following error:
A document that runs fine under
ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.10.11 int:
english/english
suddenly doesn't under
ConTeXt ver: 2015.12.22 10:50 MKIV beta fmt: 2015.12.27 int:
english/english
mtx-context | fatal error: no retu
error. Making a minimal example
proved impossible, alas.
Hans van der meer
> On 27 Dec 2015, at 13:19, dr. Hans van der Meer wrote:
>
> A document that runs fine under
>ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.10.11 int:
> english/english
> suddenly doesn
A document that runs fine under
ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt: 2015.10.11 int:
english/english
suddenly doesn't under
ConTeXt ver: 2015.12.22 10:50 MKIV beta fmt: 2015.12.27 int:
english/english
mtx-context | fatal error: no return code, message: luatex: execution
in
I want to typeset a series of items in the itemize-list structure. But not
numbered 1. 2. etc, but each item a separate indication, in fact in this case
years. In \startitemize \startitem .. \stopitem .. \stopitemize I am not able
to realize this and the ConTeXt Wiki on these commands didn't hel
I tried to reproduce a framed example from the context-reference:
Input taken from this example by copying the lines from the reference document:
\starttext
\framed
[width=.2\hsize,height=3cm]
{\cbox to 2.5cm{\hsize2.5cm just\\in the\\middle}}
\stoptext
result is wrong in comparison with the mi
I want to color all elements of a footnote, but I cannot find how to do this.Minimal example:\def\rednumber#1{\color[red]{#1}}\starttext\setupfootnotes[textcolor=red,numbercommand=\rednumber,foregroundcolor=red]This text\footnote{the footnote} contains a footnote.\stoptextThe footnotenumber in the
In \boxedcolumns text a framed test gets extra (unwanted) depth (first example). This does not happen in \simplecolumns (second example). See the ABCD-boxes in the minimal example.Downloaded the latest beta: ConTeXt ver: 2015.08.24 10:53 MKIV beta fmt: 2015.8.24 int: english/english\starttext\st
Has something happened to hyphenation?
The following does not work
\language[nl]
\startexceptions[nl]
Am-ster-dam
\stopexceptions
Neither does \hyphenation{Am-ster-dam}
Only in the context-source Am\-ster\-dam is working.
How to load a series of hyphenation exceptions instead of explicitely spe
Neither of these suggestions makes any difference. Not the solution therefore.
Hans van der Meer
> On 24 May 2015, at 12:07, Otared Kavian wrote:
>
> Hi,
>
> Maybe you need to say also:
>
> \setuppagenumbering[alternative={singlesided,doublesided}]
>
> or just
> \setuppagenum
On 30-jun-04, at 09:01, Hans Hagen wrote:
Hi,
If you think that in the current version layers are using too many
resources, you're right and may patch:
\def\checkproperty[#1]%
{\bgroup
\def\currentproperty{#1}%
\csname\??py\s!check\currentproperty\endcsname
\egroup}
Hans
Hans,
I tested thi
Trying to findout how ConTeXt's font mechanism works, I come to
following question:
From the brochure "Fonts in Context" (mfonts.pdf) I have picked up the
notion that exercising a call to \definetypeface gets fonts in working
order (see the examples there on font specifiers "funny" and "whow",
There is something I don't understand about the typescript business (using ConText version june 30, 2004):
By calling \setupbodyfont[lbr] the following script (referred to als typescript number-1) in type-buy.tex (lines 161-170) is executed:
\starttypescript [lbr]
\usetypescript [serif,sans,mono,
Hi Hans,
I get the impression that in math-lbr.tex the codes for
blacktriangleleft and -right are interchanged. Having F0 where it
should be F1 and vice versa. Imho it should be left = F0 and right =
F1.
Hans van der Meer
___
ntg-context mailing list
I have the YandY MathTimes fonts and would like to use them in ConTeXt
but do not know how to get them into action. In the source there are
some references to MathTimes but nothing I try does something simple
like for the lucida fonts:
\setupbodyfont[lbr]
Maybe I missed the magic invocation
On 26-jun-04, at 20:13, Hans Hagen Outside wrote:
dr. Hans van der Meer wrote:
Hans,
I definitely see problems with the
\starttextbackground[]-\stoptextbackground environment (discussed in
the "displays"-brochure).
When the textbackground falls at a page crossing -- i.e. starts at
Hans,
I definitely see problems with the
\starttextbackground[]-\stoptextbackground environment (discussed in
the "displays"-brochure).
When the textbackground falls at a page crossing -- i.e. starts at the
top of a page -- the coloring extends backwards on the page just left.
It can be remedi
re: might be an error in ConTeXt file prop-mis.tex
I had some difficulty with typesetting backgrounds.
It seems there is an error in file prop-mis.tex (version 2004-06-21):
token "\popsplitnegativeproperty" is never defined but
"\popsplitoverprintproperty" is twice.
I think the second one should
On 22-jun-04, at 11:05, Hans Hagen wrote:
dr. Hans van der Meer wrote:
I found a typo in the recent version (16-06-2004) of ConTeXt.
In file type-buy.tex in line 143 one finds:
\definefontsynonym f[LucidaSans-DemiItalic] ...
The f before the [ is a spurious character and should be removed
Does someone knows where there is information on the table environment
in ConTeXt?
I have read the intro on ConTeXt and the pamphlets from the Pragma-site
on tabulate and btable, but there seem to be a lot more options than
can be found in these; I encountered something like \AR etc. whose
effe
On 20-jun-04, at 21:45, Hans Hagen Outside wrote:
dr. Hans van der Meer wrote:
In the ConTeXt manual (cont-eni.pdf) it says in the chapter on
references by way of example:
can you try the version i uploaded yesterday?
(i introduced a feature and therefore bug but don't know yet why it
fai
I found a typo in the recent version (16-06-2004) of ConTeXt.
In file type-buy.tex in line 143 one finds:
\definefontsynonym f[LucidaSans-DemiItalic] ...
The f before the [ is a spurious character and should be removed.
Hans van der Meer
___
ntg-c
In the ConTeXt manual (cont-eni.pdf) it says in the chapter on references by way of example:
In this chapter, we can safely use references, without the danger of clashing with references in other chapters. If we have a figure:
\placefigure[here][fig:worldmap]{A map of the \TeX\ world}{...}
In th
39 matches
Mail list logo