From the Wiki I learn about \startstaticMPfigure that it creates a separate
pdf file containing the graphic. But when I exercise the example given I do
not see those staticMPfigure's in sepaarte pdf's. What am I missing? I thought
to use this for generating a series of separate pdf's, to be
I used to put an invisible frame around figures in MetaPost by setting a pen
scaled at 0pt. That left no trace, but defined the area.
However I (now) see a thin line drawn by code:
pickup pencircle scaled 0pt;
draw origin--(w,h);
Did I always mis this or has something
How can one set the size of a \startMPpage..\stopMPpage generated picture. For
example forcing its dimensions to 5X4cm. Or better still, derived from
variables in the code.
Hans van der Meer
___
If your question is
Thanks,
This does the trick for me.
Hans van der Meer
On 19 sep. 2011, at 15:49, Aditya Mahajan wrote:
On Mon, 19 Sep 2011, Meer, H. van der wrote:
How can one set the size of a \startMPpage..\stopMPpage generated picture.
For example forcing its dimensions to 5X4cm. Or better still
I am using code between \startMPinclusions .. \stopMPinclusions while later
additions can be accumulated with \startMPinclusions[+] .. \stopMPinclusions
Hans van der Meer
On 19 sep. 2011, at 17:01, Marcin Borkowski wrote:
Hi all,
I'd like to have some MP code shared between unique graphics
Here is your minimal example.
\starttext
\setupblank[line]
\setupfootnotes[way=bychapter,rule=off,split=verystrict]
Hello\crlf
\stoptext
The error is triggered by \setupblank[normal].
The manual lists as possibilities: normal, standard, line dimension big medium
small fixed flexible.
Of
22.09.2011 um 08:13 schrieb Meer, H. van der:
Here is your minimal example.
\starttext
\setupblank[line]
\setupfootnotes[way=bychapter,rule=off,split=verystrict]
Hello\crlf
\stoptext
The error is triggered by \setupblank[normal].
The manual lists as possibilities: normal, standard, line
I get the impression there is something wrong with typesetting math with the
lucida setup in ConTeXt. I find that the \colon is not printed. Below is a
minimal example. See the colon in the first formula that is absent in the
second.
Perhaps someone is willing to check if this is ConTeXt in
I used the following macro for typsetting literature references in footnotes.
It worked without problems until now, but then I didn't use the bib module for
some time.
It looks like a problem has crept in with the inproceedings type.
the macro setup:
\usepublications[literature]
Thanks. But after having a closer look I decided to abandon the mechanism. It
looks fairly sophisticated: finding positions in the TeX-result and producing
overlays for them. Because I used it solely inside table-like structures for
pointing from one cell to another, I can replace them by
An addtionial remark here: in the .bib file this is caused by a missing book
title.
On 27 sep. 2011, at 10:03, Hans van der Meer wrote:
Recently I reported the following problem:
On 25 sep. 2011, at 19:58, H. van der Meer wrote:
I used the following macro for typsetting literature
of the loop?
Is there another way to force these crossref's to be carried out?
Hans van der Meer
On 27 sep. 2011, at 10:07, Meer, H. van der wrote:
An addtionial remark here: in the .bib file this is caused by a missing book
title.
On 27 sep. 2011, at 10:03, Hans van der Meer wrote
whether or not to use
booktitle aka title.
HTH,
Stefan.
[1] http://archive.contextgarden.net/message/20110926.093110.8bc078f6.en.html
On 27.09.2011 10:41, Meer, H. van der wrote:
Step by step I am able to dig deeper in the problem. The fact that it used
to work but now doesn't may
trouble...
Stefan
On 27.09.2011 12:35, Meer, H. van der wrote:
Yes, we are having the two faces same problem, I guess.
The fact is that \booktitle in the crossref'ed publication should be
processed as a \title item in the citatation crossreff'd. The error in my
case boils down to the fact
, Taco Hoekwater wrote:
On 09/27/2011 02:51 PM, Meer, H. van der wrote:
My best guess now is the description of the
FUNCTION {format.crossref}
{ \crossref crossref do.out
}
entry on the .bst file. Probably this generates the bad code leading
to a missing \endcsname.
I do not have time
What are \usepath and \usesubpath supposed to do? I looked into the mkiv-code
but could not find an explanation.
I have a problem finding files from within a project-product-component
structure and I hoped to solve through these macros. Sofar without success.
In the wiki there is an item on
:
Am 29.09.2011 um 17:18 schrieb Meer, H. van der:
What are \usepath and \usesubpath supposed to do? I looked into the
mkiv-code but could not find an explanation.
I have a problem finding files from within a project-product-component
structure and I hoped to solve through these macros
I would like to generate metapost figures in separate pdf-files (in some
convenient directory, they are reused elsewhere). This as part of a project
structure. I know that on a separate run such a pdf can be generated with:
context figurefile running on input
\input some-metapost-inclusions
I do not understand while \readfile behaves differently from \input with regard
to TeX-code processing.
I have the following code:
\readfile{metapost-setup} %(file with metapost inclusions)
\starttext
\startMPpage
..
\stopMPpage
\stoptext
Replace the \readfile by:
\input
the definitions missing.
Hans van der Meer
On 29 sep. 2011, at 21:05, Wolfgang Schuster wrote:
Am 29.09.2011 um 20:57 schrieb Meer, H. van der:
I do not understand while \readfile behaves differently from \input with
regard to TeX-code processing.
I have the following code:
\readfile{metapost
I am fairly sure the Lucida font has oldstyle numbers. But I don't get them
with the \os macro. Here two minimal examples. The one with lmodern does the
oldstyle numbers, the one with lucida not. I would be obliged for a solution.
Hans van der Meer
\setuppapersize[A6][A6]
)}
}\egroup \placeMPgraphic \...
\doprocessMPbuffer ...(\currentMPgraphicname )}}
\endMPgraphicgroup
l.8 \processMPbuffer[fig-1]
Hans van der Meer
On 29 sep. 2011, at 21:21, Aditya Mahajan wrote:
On Thu, 29 Sep 2011, Meer, H. van der wrote:
I
Thanks, this works indeed. But I hoped to be able to produce in this manner at
one stroke a series of separate figures, each in its own pdf file. Or is this
an impossible action?
Hans van der Meer
On 3 okt. 2011, at 09:09, Wolfgang Schuster wrote:
Am 03.10.2011 um 09:05 schrieb Meer, H
I find that abc \doifmode{mode}{text} more text can introduce extra
whitespace. I conclude therefore that there is no \ignorespaces at work here.
As a consequence the \doifmode does not completely disappear if mode is not
satisfied.
Is this intentional or should this behaviour be changed?
Hans
On 4 okt. 2011, at 20:44, Wolfgang Schuster wrote:
Am 04.10.2011 um 20:37 schrieb Aditya Mahajan:
On Tue, 4 Oct 2011, Meer, H. van der wrote:
I find that abc \doifmode{mode}{text} more text can introduce extra
whitespace. I conclude therefore that there is no \ignorespaces at work
It seems that margin notes when called from inside
\startcombination..\stopcombination do not reach the margin of the paper.
Instead they use a margin inside the combination.
Is that as intended or unavoidable?
It was my objective to have them at the edge of the paper.
See minimal example below.
I have this question on the implementation of metapost.
The following program ends in an error:
\startMPpage
picture v;
draw origin--(1cm,1cm);
v = currentpicture;
clearit;
draw (1cm,0)--(0,1cm);
currentpicture := currentpicture + v;
\stopMPpage
The error is: ! Not implemented:
It seems that margin notes when called from inside
\startcombination..\stopcombination do not reach the margin of the paper.
Instead they use a margin inside the combination.
Is that as intended or unavoidable?
It was my objective to have them at the edge of the paper.
See minimal example below.
I made an example of the effect of this on \doifmode and \startmode. The
example shows that the appearance of extra space in \doifmode follows a regular
pattern. The startmode case differs in that respect because
\startmode[condition-true] has the extra space but \startmode[condition-false]
On 14 okt. 2011, at 11:26, Wolfgang Schuster wrote:
Am 14.10.2011 um 10:38 schrieb Meer, H. van der:
I made an example of the effect of this on \doifmode and \startmode. The
example shows that the appearance of extra space in \doifmode follows a
regular pattern. The startmode case
Changing to the [mathtimes] font did help with the \lll and \ggg math symbols,
present in mathtimes but not in lucida.
But now the \oplus is absent in mathtimes whereas it is present in lucida.
I am thus stuck with having two fonts missing different math symbols. Is Math
Times suffering from
The context --help shows the following option:
--arguments=list set variables that can be consulted during a run
(key/value pairs)
It looks like something I need at the moment. There seems to be no further
information on it, at least not be searching the wiki with context arguments.
I have
On 16 okt. 2011, at 18:02, Thomas A. Schmitz wrote:
On 10/16/11 5:35 PM, Meer, H. van der wrote:
The context --help shows the following option:
--arguments=list set variables that can be consulted during a run
(key/value pairs)
It looks like something I need at the moment. There seems
:32, Wolfgang Schuster wrote:
Am 16.10.2011 um 19:14 schrieb Meer, H. van der:
Thanks, but I am afraid I do not understand the mechanism well enough.
I did the follwoing call in the shell:
context --fontchoice=my font choice test
And in the test.tex file:
variable mykey = \getvariable
syst-ini.mkiv line 626: \tracingstats\plusone
The only one I find, but I skipped yhe mkii files.
Hans van der Meer
On 19 okt. 2011, at 11:46, Hans Hagen wrote:
On 19-10-2011 10:03, luigi scarso wrote:
Any ideas what's going wrong here?
Thanks in advance!
it seems that there is a
Does your result differ from mine here?
The endpoints on the line suggest it was fully drawn and thus metapost behaves
correctly.
This was with ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.19 int:
english/english on a Macintosh.
standalone.pdf
Description: standalone.pdf
Hans van der
On 21 okt. 2011, at 17:13, Peter Rolf wrote:
Am 21.10.2011 15:05, schrieb Hans van der Meer:
I cannot find the answer to the following question in Knuth's Metafont book.
The following definition with a trailing text argument:
def mydef (expr a, b, c) text modifier =
if modifier =
Peter,
Thanks for trying to help. Because I solved the problem in another way you
might be interested or even benefit from it.
The underlying problem was drawing a border around a picture of given
dimensions. The border being either colored or left uncolored. The border color
should come from
After some struggling with text colouring in metafun I finally encountered on
the wiki:
Another difference is the way text is handled in mkiv. In particular, color
(withcolor) is not applied to metapost text. For example,
draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ;
currently
The goal is to make the following string in metapost:
string s; where s must become \MPcolor{Blue}.
and ultimately execute this at the right moment with: scantokens s;
The following makes s = MPcolor{Blue}:
s := MPcolor char oct134 char oct173 Blue char oct134
char oct175;
But I seem
Works here too, MacOSX 10.7.2.
That is, I installed the latest context beta.
If it might help: I have a directory ~/TeX/context containing the following two
files:
contextbeta
Description: contextbeta
first-setup.sh
Description: first-setup.sh
and in the directory
I find I get a fairly large whitespace after the formulas placed with:
\placeformula\startformula \stopformula
How can I reduce this? The wiki does not give a parameter description for
\setupformulas. In the code I can only find some [distance=] parameter. But
using it with for example
Sofar I received 2 reactions.
(1)
Can't reproduce here; I get a 70KB pdf with your file and image.
ConTeXt standalone, 32-bit Linux, mkiv, version 2011.10.01 10:48.
(2)
I've encountered the same problem. The PDF is 1.8MB big. Compressed with qpdf
(qpdf --stream-data=compress) its only 60KB!
I guess I have found the culprit in the bad placement of formulas without an
equationnumber.
The minimal example I used is that found in strc-mat.mkiv, added a [-] in the
middle one.
\setuppapersize[A6][A6]
\setupformulae[spacebefore=0pt,spaceafter=0pt]
% HERE REDEFINED \dododoformulanumber
Thanks Wolfgang for the code.
Just in case it is of use I concocted my variation on this theme. Now this
simply replaces the \in, \at and \about macro's with one that does not show on
the page where the link originates, but behaves as of old everywhere else. I
introduced the unskip in order
On 21 nov. 2011, at 14:55, Wolfgang Schuster wrote:
Am 21.11.2011 um 14:25 schrieb Hans van der Meer:
In my documents I use a macro in footnotes, which is defined though
\dodoubleargument.
However, enabling interactions (which must be done too) plays havoc with
\dodoubleargument,
ConTeXt still has some mysteries for me ;-)
This time it is the equationnumbering.
Doing \placeformula\startformula..\stopformula gives the equation a certain
number, lets say (1.5).
Now I change the call to \placeformula[equ:thisfml]\startformula..\stopformula
and the number changes to (1.6).
On 25 nov. 2011, at 17:33, Wolfgang Schuster wrote:
Am 25.11.2011 um 17:26 schrieb Hans van der Meer:
I have troubles with interaction in a screen document.
(1) I took the example from the wiki:
\setuppapersize[A6][A6]
\setupinteraction[state=start]
\setupreferencing[interaction=all]
Something seems amiss in the code below. The idea is having in general figures
with numbered labels, but now and then a figure without. First I thought to use
[location=none] on the placement, but then the numbering is not interrupted:
label-1 (label-2 invisible), label-3. That is disturbing to
]}
\setupcaptions[number=no]
\placefigure{}{\externalfigure[arrows.pdf]}
\setupcaptions[number=yes, suffix=\hskip5mm]
\placefigure[][fig:3]{label without space}{\externalfigure[arrows.pdf]}
\stoptext
Dne 26.11.2011 12:29, Meer, H. van der napsal(a):
\setuppapersize[A6][A6]
\starttext
Is it impossible to typeset displaylines in textext called inside metapost?
The gives an error:
\starttext
\startMPpage
label(textext($$\displaylines{a=b\cr}$$\strut),origin);
\stopMPpage
\stoptext
metapost/context/base/metafun.mpiv
! Missing } inserted.
--
inserted text
}
to be
Thanks. That solves the problem.
I obviously missed the fact that textext is an \hbox, a fact that explains its
behaviour.
Hans van der Meer
On 15 dec. 2011, at 16:06, Aditya Mahajan wrote:
On Thu, 15 Dec 2011, Hans van der Meer wrote:
Is it correct that the use of textext(label,pos) in
I am afraid I did not phrase my question clear enough. The problem is producing
a rearranged pdf from an existing one.
Hans van der Meer
On 17 dec. 2011, at 17:50, Marco Pessotto wrote:
Hans van der Meer havdm...@xs4all.nl writes:
I think I saw in the recent past here something about
Has the following been found and corrected?
\definetypeface [\typescriptone] [tt] [mono] [cursor]
[default]argument \@tlstyle
argument \@tlstyle
\dousestyleparameter ...\currentstyleparameter {#1
In the processing of xml data path expressions like a/(b|c)/*/d etc. can be
used.
However, I have a node that can be present inside every node of the tree.
One method to collect these all together is bij successive calls:
\xmlall{#1}{/node}, \xmlall{#1}{/*/node}, \xmlall{#1}{/*/*/node}, etc.
But
Is there a macro to retrieve the name of the file when inside a call to
\xmlprocessfile?
Hans van der Meer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
I have the following problem with xml processing. Spurious space is typeset,
annoyingly visible when nearly equivalent structures are typeset one under
another.
Take the following node structure where the text node is the one intended to
contribute to the typeset material, whereas anothernode
The following setup gives an error.
\startxmlsetups xam:parameter
\edef\parameter{\xmltrim{#1}}
\stopxmlsetups
system tex error on line 7 in file xam-test.tex: Undefined control
sequence ...
\@@su:xam:parameter #1-\edef \parameter
{\xmltrim
The macro \xmlstripped{node}{lpath} gives me the xml resulting from the strip.
after some operations on this result I would like to reprocess this in order to
typeset.
How do I accomplish this?
Hans van der Meer
van der Meer
On 2 jan. 2012, at 20:04, Meer, H. van der wrote:
The macro \xmlstripped{node}{lpath} gives me the xml resulting from the
strip. after some operations on this result I would like to reprocess this in
order to typeset.
How do I accomplish this?
Hans van der Meer
That is it! Thanks.
Hans van der Meer
On 4 jan. 2012, at 17:09, Wolfgang Schuster wrote:
Am 04.01.2012 um 16:25 schrieb Hans van der Meer:
Why does framedtext extends to the right in \itemize? Shouldn't the width be
reduced by the extend of the item-shift? Isn't that the idea behind
The macro \expandoneargafter seems to have been disappeared. Is that true?
I need it for repairing an appearent failure in the \Word macro to capitalize
the first letter in some case.
Hans van der Meer
___
If your
keep my fingers crossed ;-)
No cause for calling bug therefore.
Hans van der Meer
On 5 jan. 2012, at 20:10, Wolfgang Schuster wrote:
Am 05.01.2012 um 19:51 schrieb Meer, H. van der:
The macro \expandoneargafter seems to have been disappeared. Is that true?
I need it for repairing
Reccently I did something random in ctxlua. I post it in the hope it will be
useful.
Hans van der Meer
\startluacode
-- Define our namespace as hvdm
hvdm = hvdm or {}
-- Return random series of numbers 1..n depending on the number of
arguments
function
Allthough typesetting through xmlcontext crashed, while direct typesetting did
not, the culprit does not seem to be in the different routes. After one day
ploughing through \halign and friends, I think I can nail it to a specific
\omit in my code. Not that all problems are solved with that
On 11 jan. 2012, at 11:33, luigi scarso wrote:
On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer
havdm...@xs4all.nlmailto:havdm...@xs4all.nl wrote:
Something must have been changed with buffers between the versions:
ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31
and
ConTeXt ver:
Trying to use roman numerals as pagenumbers failed. What am I doing wrong or
has some other thing changed?
A minimal example follows. Changing romannumerals into characters doesn't make
a difference.
This is ConTeXt ver: 2012.01.09 10:08 MKIV
% test pagenumber conversion
Thanks. I couldn't find out myself.
I examined the wiki's referencepage before asking, but \setuppagenumbering and
\setuppagenumber didn't mention this.
Hans van der Meer
On 11 jan. 2012, at 17:06, Wolfgang Schuster wrote:
Am 11.01.2012 um 16:58 schrieb Meer, H. van der:
Trying to use
In my document I have a number of \placefigures, some pdf's, some jpg's etc.
Mostly the figure are placed correct with respect to, the caption but sometimes
for no apparent reason I can spot, the picture is shifted up. In the first
illustration taken from the document this is clearly seen,
I think I can nail the responsible one.
As far as I can see the problem is tightly coupled with the following structure:
\placefigure[][]{caption}{\startcombination[]{contents}{}{contents}{}\stopcombination}
The other figures I have seem to placed well enough, the above structures
behaving
Did I miss in the recent past some changes in the xmlverbatim API?
Exercising from the manual the macros
\xmldisplayverbatim{#1}{.} and \xmlinlineverbatim{#1}{.}
I get as an error:
! Undefined control sequence.
\startxmlinlineverbatim ... \doinitializeverbatim
l.4 ]
\ctxlxml #1-\directlua
I have seen that I can load a file (containing ConTeXt code) with
\startxmlsetups xmlcommon:texinclude
\writestatus{TEST HVDM}{file: \xmlatt{#1}{file}}
\xmlload{#1}{\xmlatt{#1}{file}}
\stopxmlsetups
But how to use these loaded data? I want them included in ConTeXt-processing
like this but it
Is the following impossible? The aim is checking the value of an attribute on a
node:
\xmlfilter{#1}{/content[@type ==\whatever]/command(xmlcommon:content)}
It seems the \whatever macro is not expanded.
How to?
Hans van der Meer
Of these two variants the second works.
The first gives as error an old enemy: the \Umathquad error
% gives an error:
\startsetups[test]
$\displaystyle
a=1
$
\stopsetups
\setup[test]
\stoptext
% works:
\starttext
$$\displaylines{a=1\cr b+c+d=3\cr}$$
\stoptext
ConTeXt ver: 2012.01.16 18:33 MKIV
This setting gives an overfull hbox of exactly 3 points:
\setupitemgroup[itemize][each]
[joinedup,packed]
[symbol=n,distance=3pt,
align=right,itemalign=flushright,
stopper={.\,}
]
In the logfile: Overfull \hbox (3.0pt too wide) detected at line 7
Changing to distance=4pt makes the hbox 4pt too
I ventured a first try of mathml in my code, but clearly I am doing something
wrong.
One of the examples in the XML-publication is:
math
applyroot/
cn3/cn
applytimes/
applyplus/cia/cicib/ci/apply
Using the NTG-style to reprocess an older article I get the following error:
ConTeXt ver: 2012.03.10 13:15 MKIV
...
! Undefined control sequence.
...
system tex error on line 358 in file exammaps2.tex: Undefined
control sequence ...
\setupfootnotedefinition -\setupnotedefinition
Processing xml I get with:
\writestatus{}{\xmlattributedef{#1}{.}{default}{???}}
output: ???
and \writestatus{}{\xmlattribute{#1}{.}{default}} has no attribute
output
but with: \writestatus{}{\xmlattdef{#1}{default}{???}}
output:
, Meer, H. van der wrote:
Processing xml I get with:
\writestatus{}{\xmlattributedef{#1}{.}{default}{???}}
output: ???
and \writestatus{}{\xmlattribute{#1}{.}{default}} has no attribute
output
but with: \writestatus{}{\xmlattdef{#1}{default
Is it possible to have the following order of actions?
root
file name=filename1
file name=filename2
..
/root
The file contains an xml-tree starting at fileroot..
At the moment I am processing the files with
\xmlprocessfile{fileroot}{filename}{}, but this generate separate node-lists
for
I would like to accomplish the following in xml processing.
node macro=various macro calls and then define the attribute value as a TeX
macro.
For example, to use this in font switching: node
macro=\switchtobodyfont[helvetica]
Doing this in the following manner does not work:
\startxmlsetups
Where to order? Is there special pricing for NTG members? Or else what does it
cost?
Hans van der Meer
On 16 mrt. 2012, at 21:50, Hans Hagen wrote:
Hi,
It's now possible to order the new lucida open type (+math) fonts.
Pretty cheap for user group members,
Hans
I have a mathml question: how to typeset properly a function with an argument:
f(x)?
In the ConTeXt examples for mathml I see for one:
lambda
bvar ci x /ci /bvar
/lambda
But is there something like this for f(x), that is an f properly typeset?
Hans van der Meer
There is something in the processing of mathml I do not understand.
I keep the xml-node in a
\startxmlsetups my:setup
\def\mynode{#1}
\stopxmlsetups
Doing \xmlflush{\mynode} does typeset the contents of mynode, but not when
mynode contains a mathml tree! Then the error is:
Undefined
Is there a single macro/setup that walks the xml-tree, visiting each node?
Either in preorder, inorder or postorder?
Thus instead of:
\xmlfilter{#1}{./command(xml:thecommand)}
\xmlfilter{#1}{./*/command(xml:thecommand)}
\xmlfilter{#1}{./*/*/command(xml:thecommand)}
The \startxmlsetups definition has under #1 the current xml node available.
Is it possible to add one or more parameters?
Such that for example \xmlcommand{node}{lpath}{command {#1}{#2}…? } can be
called with extra parameters?
Hans van der Meer
Setting the distance parameter for item list to something greater than zero:
\setupitemgroup[itemize][each][joinedup,packed][distance=3pt]
generates in item lists overfull boxes: Overfull \hbox (3.0pt too wide).
(1) At the time I teached programming we always learned students Silence the
I just bought the new Lucida font from TUG and installed it in my local texmf
under fonts/opentype/bh/lucidaot/
Then I did:
mtxrun --generate
mtxrun --script font --reload
to be sure the new install will be picked up by ConTeXt mkiv.
I think I did read somewhere that mkiv will prefer otf
On 19 mrt. 2012, at 10:01, Wolfgang Schuster wrote:
The new version of the lucida fonts use different names for the typescript, we
have now:
- “lucida” for the old type1 version,
- “lucidaot” for the new opentype version and
- “lucidanova” as alternative name for the opentype version.
The
Can someone tell me what \xmlinclude is supposed to do? I have experimented a
lot but didn't come further to an understanding.
I have called it through:
\startxmlsetups xam:include
\xmlinclude{#1}{include}{file}
\stopxmlsetups
from a node include in:
probleminclude
In the processing of incoming xml-data this is typeset as is, not as processed
text.
Thus for example: with \xmlflush{#1} the incoming data:
textits_content/text is not typeset as: its_content, but as:
textits_content/text.
Substitution of \xmlcontext{#1}{.} for \xmlflush{#1} makes everything
I made a minimal example showing that load'ed xml is not typeset. In contrast
to the first text-node the second comes out as xml and not as typeset text.
What has to be done to change that?
Thanks in advance.
Hans van der Meer
\startbuffer[load-1]
?xml version=1.0 encoding=UTF-8?
myroot
I found something that might be an error in the current xml-processing.
In the following minimal example een Undefined control sequence error occurs
for the \xmldisplayverbatim and \xmlinlineverbatims. The \xmlverbatim doesn't.
\startxmldisplayverbatim ...\doinitializeverbatim
lxml-ini.mkiv defines:
\unexpanded\def\xmlregisteredsetups
{\xmlstarttiming
\xmlflushsetups
\xmldefaulttotext\xmldocument % after include
\xmlstoptiming}
but \xmlflushsetups can be found here only, nowhere else in the ConTeXt
base-files does a search for it match. Calling
I am reporting a typo in the MKIV XML-manual. It can put one on the wrong track.
Section 3.7 Setups:
\xmlsetup{name}{node} expands setup name and pass node as argument
Note that name and node in the parameters are interchanged.
It should read:
\xmlsetup{node}{name} expands setup name and pass
der Meer
On 21 mrt. 2012, at 10:29, Meer, H. van der wrote:
The output was missing in my previous post. Sorry. Here it is.
Hans van der Meer
On 21 mrt. 2012, at 10:27, H. van der Meer wrote:
I made a minimal example showing that load'ed xml is not typeset. In contrast
to the first text
I do not get lowercase greek letters on the itemize as should happen with
symbol setup g.
A minimal example, showing the demise of lowercase greek against succes for
uppercase.
\starttext
\startitemize[g]
\startitem nr 1\stopitem
\startitem nr 2\stopitem
\startitem nr 3\stopitem
\startitem nr
On 8 mei 2012, at 22:25, Wolfgang Schuster wrote:
Am 08.05.2012 um 19:32 schrieb Meer, H. van der:
I do not get lowercase greek letters on the itemize as should happen with
symbol setup g.
A minimal example, showing the demise of lowercase greek against succes for
uppercase.
It’s a font
On 9 mei 2012, at 11:15, Hans Hagen wrote:
On 9-5-2012 09:31, Meer, H. van der wrote:
On 8 mei 2012, at 22:25, Wolfgang Schuster wrote:
Am 08.05.2012 um 19:32 schrieb Meer, H. van der:
I do not get lowercase greek letters on the itemize as should happen with
symbol setup g.
A minimal
Loaded xml with: xmlinclude{problem}{include}{file}
Then called up parts of its contents through a setup:
\startxmlsetups xam:define:get
% The definition is the one with content.
\xmldoiftext{#1}{.}{
\foundtrue
\xmlflush{#1}
\xmlcontext{#1}{.}
}
\stopxmlsetups
The strange thing is that the
1 - 100 of 284 matches
Mail list logo