[NTG-context] hbadness crippled?

2012-03-18 Thread Meer, H. van der
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 compi

[NTG-context] \startxmlsetups: extra parameters?

2012-03-18 Thread Meer, H. van der
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 _

[NTG-context] walking xmltree?

2012-03-18 Thread Meer, H. van der
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)} \xmlfilter{#1}{./*/*/co

[NTG-context] mathml question

2012-03-17 Thread Meer, H. van der
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 contro

[NTG-context] mathml

2012-03-17 Thread Meer, H. van der
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: x But is there something like this for f(x), that is an "f" properly typeset? Hans van der Meer ___

Re: [NTG-context] lucida ot

2012-03-16 Thread Meer, H. van der
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

[NTG-context] define macro from xml-attribute

2012-03-16 Thread Meer, H. van der
I would like to accomplish the following in xml processing. and then define the attribute value as a TeX macro. For example, to use this in font switching: Doing this in the following manner does not work: \startxmlsetups namespace \def\macro{\xmlattdef{#1}{macro}{\empty}} \stopxmlsetups

[NTG-context] xml tree extension?

2012-03-14 Thread Meer, H. van der
Is it possible to have the following order of actions? .. The file contains an xml-tree starting at .. At the moment I am processing the files with \xmlprocessfile{fileroot}{filename}{}, but this generate separate node-lists for and ; at least, that is my understanding of its workin

Re: [NTG-context] \attributedef not working?

2012-03-14 Thread Meer, H. van der
, 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}{defa

[NTG-context] \attributedef not working?

2012-03-14 Thread Meer, H. van der
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: ***

[NTG-context] ntg-style error

2012-03-13 Thread Meer, H. van der
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

[NTG-context] mathml

2012-03-12 Thread Meer, H. van der
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: 3 ab cd It doesn't result in a neat formula, bu

[NTG-context] overfull hbox on items

2012-03-02 Thread Meer, H. van der
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 wid

[NTG-context] math error in ConTeXt?

2012-01-25 Thread Meer, H. van der
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

[NTG-context] checking attributes

2012-01-20 Thread Meer, H. van der
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 ___

Re: [NTG-context] include file in xml processing

2012-01-20 Thread Meer, H. van der
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 does

[NTG-context] xmlverbatim api changes?

2012-01-18 Thread Meer, H. van der
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 \zerocou

Re: [NTG-context] placefigure shifting up?

2012-01-11 Thread Meer, H. van der
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 err

[NTG-context] placefigure shifting up?

2012-01-11 Thread Meer, H. van der
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, pictu

Re: [NTG-context] roman pagenumbers?

2012-01-11 Thread Meer, H. van der
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:

[NTG-context] roman pagenumbers?

2012-01-11 Thread Meer, H. van der
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 \setuppapersize[A6][A6

Re: [NTG-context] buffer broken?

2012-01-11 Thread Meer, H. van der
On 11 jan. 2012, at 11:33, luigi scarso wrote: On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer mailto: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: 2012.01.09 10:08 MKI

Re: [NTG-context] current beta fails install

2012-01-10 Thread Meer, H. van der
It seems the problem was caused by older user-base files repeairing some problems I had with older versions. I find the following problems: (1) \starthiding-\stophiding is not functioning. Minimal example: \starttext \starthiding CRY: \stophiding Hello world. \stoptext Error message: ! Too many

Re: [NTG-context] TeX inside XML

2012-01-06 Thread Meer, H. van der
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 find,

Re: [NTG-context] How to define a command...

2012-01-05 Thread Meer, H. van der
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 hvdm.ra

Re: [NTG-context] missing macro

2012-01-05 Thread Meer, H. van der
but I 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 tr

[NTG-context] missing macro

2012-01-05 Thread Meer, H. van der
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

Re: [NTG-context] framedtext in itemize

2012-01-04 Thread Meer, H. van der
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 beh

Re: [NTG-context] reprocessing xml

2012-01-02 Thread Meer, H. van der
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? > >

[NTG-context] reprocessing xml

2012-01-02 Thread Meer, H. van der
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 _

[NTG-context] \def undefined on xmlsetup

2012-01-02 Thread Meer, H. van der
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 {\xmltr

[NTG-context] strip space in xml

2012-01-01 Thread Meer, H. van der
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 node is the one intended to contribute to the typeset material, whereas is not.

[NTG-context] xml processing

2011-12-31 Thread Meer, H. van der
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 : ntg-co

[NTG-context] searching xml node tree

2011-12-31 Thread Meer, H. van der
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 t

Re: [NTG-context] new beta

2011-12-31 Thread Meer, H. van der
Has the following been found and corrected? >> \definetypeface [\typescriptone] [tt] [mono] [cursor] >> [default] \@tlstyle \@tlstyle \dousestyleparameter ...\currentstyleparameter {#1 }\ifx \curre

Re: [NTG-context] pdf arrange

2011-12-17 Thread Meer, H. van der
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 writes: > >> I think I saw in the recent past here something about rearranging the pa

Re: [NTG-context] crlf in textext?

2011-12-15 Thread Meer, H. van der
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)

[NTG-context] displaylines in textetxt?

2011-12-03 Thread Meer, H. van der
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. -- }

Re: [NTG-context] captions trouble

2011-11-26 Thread Meer, H. van der
1]{label with space}{\externalfigure[arrows.pdf]} > \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

[NTG-context] captions trouble

2011-11-26 Thread Meer, H. van der
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

Re: [NTG-context] interaction?

2011-11-25 Thread Meer, H. van der
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[in

[NTG-context] equation numbering

2011-11-21 Thread Meer, H. van der
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). W

Re: [NTG-context] setupinteraction kills dodoubleargument

2011-11-21 Thread Meer, H. van der
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 >> \dodoubleargu

Re: [NTG-context] referencing

2011-11-20 Thread Meer, H. van der
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 to

Re: [NTG-context] extra white after equation

2011-11-13 Thread Meer, H. van der
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] % \starttext \placenamedformula[one]{firs

Re: [NTG-context] terrible png placement

2011-11-11 Thread Meer, H. van der
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! Lat

[NTG-context] formula placement

2011-11-05 Thread Meer, H. van der
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 \set

Re: [NTG-context] Problem with mkiv under MacOSX 7 (Lion)

2011-11-05 Thread Meer, H. van der
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 ~/TeX/context/tex/texmf

[NTG-context] macro string in metapost

2011-11-01 Thread Meer, H. van der
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 oct"134" & char oct"173" & "Blue" & char oct"134" & char oct

[NTG-context] color and textext

2011-11-01 Thread Meer, H. van der
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 doe

Re: [NTG-context] metapost question

2011-10-21 Thread Meer, H. van der
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 a

Re: [NTG-context] metapost question

2011-10-21 Thread Meer, H. 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 : >

Re: [NTG-context] Problem with MPpage

2011-10-20 Thread Meer, H. van der
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

Re: [NTG-context] beta: Huge log files

2011-10-19 Thread Meer, H. van der
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

Re: [NTG-context] arguments on context call

2011-10-16 Thread Meer, H. van der
: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 >> >

Re: [NTG-context] arguments on context call

2011-10-16 Thread Meer, H. van der
t work. Hans van der Meer 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

[NTG-context] arguments on context call

2011-10-16 Thread Meer, H. van der
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 h

Re: [NTG-context] Lucida \colon, \lll, \ggg

2011-10-15 Thread Meer, H. van der
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 t

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread Meer, H. van der
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 >> reg

Re: [NTG-context] \startmode and \ignorespaces

2011-10-14 Thread 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 differs in that respect because \startmode[condition-true] has the extra space but \startmode[condition-false] has

[NTG-context] margin notes

2011-10-11 Thread Meer, H. van der
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.

[NTG-context] metapost not adding picture

2011-10-09 Thread Meer, H. van der
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: (picture)+(picture

[NTG-context] margin notes from inside combination

2011-10-08 Thread Meer, H. van der
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.

Re: [NTG-context] \doifmode and friends

2011-10-04 Thread Meer, H. van der
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 >>>

[NTG-context] \doifmode and friends

2011-10-04 Thread Meer, H. van der
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? Han

Re: [NTG-context] metapost to pdf on the fly

2011-10-03 Thread Meer, H. van der
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 M

Re: [NTG-context] metapost to pdf on the fly

2011-10-03 Thread Meer, H. van der
}\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 2

[NTG-context] no os numbers in lucida?

2011-09-30 Thread Meer, H. van der
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] \setupbodyfont[lucida]

Re: [NTG-context] readfile not understood

2011-09-29 Thread Meer, H. van der
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. >>

[NTG-context] readfile not understood

2011-09-29 Thread 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-setup} %(file with metapost inclusions) \starttext \startMPpage .. \stopMPpage \stoptext Replace the \readfile by: \input ../../../metapost-set

[NTG-context] metapost to pdf on the fly

2011-09-29 Thread Meer, H. van der
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 \

Re: [NTG-context] usepath?

2011-09-29 Thread Meer, H. van der
ster wrote: > > 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 >> s

[NTG-context] usepath?

2011-09-29 Thread 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. Sofar without success. In the wiki there is an item on proje

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Meer, H. van der
eer On 27 sep. 2011, at 15:07, Stefan Müller wrote: > On 27.09.2011 14:56, 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&

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Meer, H. van der
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. Hans van der Meer On 27 sep. 2011, at 13:33, Meer, H. van der wrote: >

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Meer, H. van der
> "" "\city" address do.out > format.pages > format.incoll.inproc.crossref > "" "\pubname" publisher do.out > "" "\organization" organization do.out > stop.entry > } > > > in cont-*.bst? I don't know

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Meer, H. van der
I'm not the only > one who's having trouble with that. > > I didn't know what I should expect when using "crossref", so I decided to not > mind the missing booktitle. But it would still be nice (as seen in your > example) if the actual citation style could

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Meer, H. van der
iously has been switched "out 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&

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Meer, H. van der
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

Re: [NTG-context] postion graphics

2011-09-26 Thread Meer, H. van der
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 MetaPo

[NTG-context] bibmodule acquired problem

2011-09-25 Thread Meer, H. van der
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 type. the macro setup: \usepublications[literature] \setuppublications

[NTG-context] colon in lucida math

2011-09-25 Thread Meer, H. van der
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 gen

Re: [NTG-context] setupfootnotes failing

2011-09-22 Thread Meer, H. van der
gt; Am 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 b

Re: [NTG-context] setupfootnotes failing

2011-09-21 Thread 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 dimension big medium small fixed flexible. Of these

Re: [NTG-context] metafun shared code

2011-09-19 Thread Meer, H. van der
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 graphi

Re: [NTG-context] sizing MPpage

2011-09-19 Thread Meer, H. van der
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 5X4c

[NTG-context] sizing MPpage

2011-09-19 Thread Meer, H. van der
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

[NTG-context] MetaPost visibly drawing at 0pt

2011-09-19 Thread Meer, H. van der
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 cha

[NTG-context] \startstaticMPfigure

2011-09-19 Thread Meer, H. van der
>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 b

<    1   2   3