[NTG-context] jump to document

2015-09-07 Thread Meer, H. van der
I want to jump from the generated pdf to an external document. For example to something like file:///Volumes/MYDISK/users/me/Documents/thisone.jpg. Especially when writing a document that refers to many external documents this makes referencing back to sources a lot easier. I tried to find how

[NTG-context] chapterhead

2015-09-07 Thread Meer, H. van der
I am using sectionstopper to put something between the chapter number and the chapter title: \setuphead[chapter][sectionstopper={something}] However, this "something" also appears in the table of contents between the chapter number and its title. Is it possible to suppress this sectionstopper

Re: [NTG-context] footnote coloring

2015-09-06 Thread Meer, H. van der
Indeed, this helped. Thanks. For the record: in order to keep the position of the number in the footnote high, one has to use: \def\redfootnotenumber#1{\color[red]{\high{#1}}} \setupnotation[footnote][numbercommand=\redfootnotenumber] Hans van der Meer On 06 Sep 2015, at 12:29, Pablo

Re: [NTG-context] footnote coloring

2015-09-06 Thread Meer, H. van der
][textcolor=red] necessary to color the footnotemark in the running text? Or is there a key for it in \setupnotation[footnote] too? Hans van der Meer On 06 Sep 2015, at 18:25, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer

[NTG-context] float in columns

2015-09-01 Thread Meer, H. van der
I seem to remember that it was possible to place a figure over the whole width of the page inside columns as for example \startsimplecolumns[n=2] text in 2 columns placefigure-over-fullwidth further text in 2 columns \stopsimplecolumns However, I cannot find with what command this was

[NTG-context] xmlconcat

2015-08-22 Thread Meer, H. van der
There is a behaviour of xmlconcat that I do not understand. Calling as \xmlconcat{#1}{test}{xxx} correctly interjects the xxx between the successive members, in according with the documentation. But using the command version for calling: \xmlconcat{#1}{test/command(xmltest:test)}{yyy}

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Meer, H. van der
Indeed, the combination Amsterdam-Buitenveldert is the culprit. The solution therefore is to use (it is ConTeXt afterall) Amsterdam|-|Buitenveldert, then the word Amsterdam doesn't even needs an exception. Thanks for the help. Hans van der Meer On 07 Jul 2015, at 18:00, Pablo Rodriguez

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Meer, H. van der
The \hyphenatedword works here too. But it does not work out when the word Amsterdam occurs in the text. See tthe two examples. In the first Amsterdam is not broken according to the \hyphenation{Am-ster-dam}-rule. In the second example the linebreak is forced by the explicit use of

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to work) and you have to use a combination of \removeunwantedspaces and \ignorespaces

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 24.05.2015 um 21:33 schrieb Meer, H. van der h.vanderm...@uva.nl: In this case you have to provide a working minimal example. Wolfgang Here an example as minimal as I could construct. The spaces

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: The spaces in the output are produced by the spaces between the tags (\xmlstrip doesn’t seem to work) and you have to use a combination of \removeunwantedspaces and \ignorespaces

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 24 May 2015, at 22:53, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 24.05.2015 um 21:33 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: Here an example as minimal as I could construct. The spaces in the output

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
On 25 May 2015, at 13:05, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The following example shows where you have to take care of extra space and you don’t need them when you put the whole table in a \vbox (you can test by commenting all \ignorespaces and \removeunwantedspaces

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
of the B. A sketch of what happens: A space of tablewidth Btable starts here extending to the right Definitely something with embeddedxtable placement, I might guess. Some unwanted spaces in the code perhaps? Hans van der Meer On 24 May 2015, at 12:18, Meer, H. van der h.vanderm

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
of the embeddedxtable in the middle of the page. Something changed between these two versions. But clearly not enough. Hans van der Meer On 24 May 2015, at 12:36, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: When typesetting inside a \midaligned a version with markers around

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
}{.} \bgroup \setupxtableparameters{#1} \startxrow X\xmlflush{#1} \stopxrow \egroup \stopxmlsetups Hans van der Meer [cid:723DA497-86EF-4142-A951-D70FD92D5104] On 24 May 2015, at 13:49, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: Further experimenting with different

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
}{colspan}{1},nr=\xmlattdef{#1}{rowspan}{1}] \xmlflush{#1} \stopxcell \egroup \stopxmlsetups Hans van der Meer On 24 May 2015, at 15:06, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: Here can be seen how every row adds space before the table. I.e. spaces are added and after

[NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
With the construct \startembeddedxtable\xmlflush{#1}\stopembeddedxtable placed inside a \midaligned I used to get a neatly centered content. But now the material is shifted to the right, even sticking out of the page. Has something changed in the embeddedxtable alignment handling since

[NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
Trying to put 2 pages in A5 format besides one another on an A4 page like this: -- | | | | | | | | | |1| 2 | | | | | | | -- but using:

Re: [NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
arranging-up-or-side.tex Best regards: OK On 24 May 2015, at 11:24, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: Trying to put 2 pages in A5 format besides one another on an A4 page like

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
In this case you have to provide a working minimal example. Wolfgang Here an example as minimal as I could construct. Hans van der Meer The following example outputs show what happens with and without the \unskip's in the code. [cid:E7DC008D-E8CB-4F0A-BC45-9E8E4969C8DB]

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: I can get rid of the unwanted spaces before the table by inserting a whole bunch of \unskip's in my code. All the \unskip's in the following code are necessary. I guess this observation will be enough to repair the ConText code. Or do I

[NTG-context] typeset chapter elements

2014-11-11 Thread Meer, H. van der
I would like to vary the typesetting of chapter titles by formatting the elements chapternumber, title and the word 'chapter' myself. However, the style values of the parameter setup from \setuphead[chapter][] should be used. Needed for this is access to and/or the naming scheme of the

[NTG-context] setuphead bug?

2014-10-07 Thread Meer, H. van der
There seems to be a problem in \setuphead, it produces a spurious else from the alternative=middle. In the reference manual I see the possibilities: alternative = normal inmargin middle TEXT. Of these middle is the only one giving the else. minimal example:

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Meer, H. van der
: Don’t you mean rather \setuphead[chapter][align=middle] instead of « alternative »? Best regards: OK On 07 Oct 2014, at 17:28, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: There seems to be a problem in \setuphead, it produces a spurious else from the alternative

[NTG-context] framedtext and itemize

2014-07-22 Thread Meer, H. van der
I have a question regarding the interplay between framedtext and itemize. Example \startitemize[n]\startitem \startframedtext[left][width=0.5\textwidth]\leavevmode some text \stopframedtext \stopitem\stopitemize The framedtext is put on the next line instead of on the first of the item.

[NTG-context] aligning framedtexts inside framed

2014-07-22 Thread Meer, H. van der
In search of a nice presentation of two passages of text I am trying to put two \framedtext's inside a \framed with their top at the same level. However, I have not been able to accomplish this. Instead they align their bottom. Example with its result: \framed[location=top]\bgroup

Re: [NTG-context] pagenumber suppression howto?

2014-07-21 Thread Meer, H. van der
schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: On 20 Jul 2014, at 21:51, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 20.07.2014 um 21:35 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: Thanks. Please

[NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
My goal is pages without header info at the top and text plus a pagenumber on the bottom. This can be accomplished by: \setupheader[state=stop] \setupfooter[text][before=\hairline,style=small,location=left,strut=yes] \setupfootertexts[some text][pagenumber] I want the first page without that

Re: [NTG-context] pagenumber suppression howto?

2014-07-20 Thread Meer, H. van der
On 20 Jul 2014, at 21:51, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 20.07.2014 um 21:35 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: Thanks. Please let us know if this addition of location=none will be taken up

[NTG-context] running PlainTeX from beta

2014-07-11 Thread Meer, H. van der
I have some plaintex code to run from the ConTeXt beta-distribution, because I didn't install the complete TeXp-distribution (and if possible prefer to keep it that way). I did not fare well with running texexec --make plain and mtxrun --script plain myfile.tex The first command does not give

Re: [NTG-context] reading modules broken?

2014-06-07 Thread Meer, H. van der
as mentioned in the Wiki. Hans van der Meer On 06 Jun 2014, at 22:52, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: On 6/6/2014 9:35 PM, Meer, H. van der wrote: My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older

Re: [NTG-context] reading modules broken?

2014-06-07 Thread Meer, H. van der
I have my modules renamed. With x-oldname for xml-processors and t-oldname for the others. After that everything seems to work fine. No need therefore to change \usemodule calls inside the code. Hans van der Meer On 07 Jun 2014, at 14:40, Andreas Schneider ak...@gmx.demailto:ak...@gmx.de

[NTG-context] reading modules broken?

2014-06-06 Thread Meer, H. van der
My modules are not read anymore, allthough Context thinks it does. This must have been the case for some time. I ran a test with an older version which demonstrates that the change in behaviour must have occurred after january second. Minimal example follows. Hans van der Meer Module code in

[NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Meer, H. van der
Does the MathML in ConText conforms to the MathML3 specification? (see http://www.w3.org/TR/MathML3/chapter5.html) I find that with \usemodule[mathml] (1) semanticsannotation encoding=application/x-texTeX-code/annotation/semantics does not typesets, but (2) semanticsannotation

Re: [NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Meer, H. van der
Examples below, the two examples change between tex and application/x-tex in the annotation. Hans van der Meer On 21 May 2014, at 22:14, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: On 5/21/2014 8:09 PM, Meer, H. van der wrote: Does the MathML in ConText conforms to the MathML3

Re: [NTG-context] MathML in ConTeXt conforming to MathML3?

2014-05-21 Thread Meer, H. van der
Thanks. And added to some future beta? I would be obliged. Hans van der Meer you can patch x-math.mkiv: \xmldoifelse {#1} {.[oneof(@encoding,'TeX','tex','application/x-tex','TEX','ConTeXt','context','CONTEXT','ctx')]} { as that seems to work okay

Re: [NTG-context] mathml mtext behaviour

2014-05-18 Thread Meer, H. van der
On 18 mei 2014, at 17:26, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: On 5/18/2014 10:05 AM, H. van der Meer wrote: Sorry if this question reaches you twice, but the first time I used an email address not registered with this newsgroup. The short example below typeset with

Re: [NTG-context] MacOsX Mavericks and Luatex

2013-10-25 Thread Meer, H. van der
On 25 okt. 2013, at 00:13, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: anyway, in a next beta you can set this in texmf.cnf.lua: return { content = { directives = { [fonts.usesystemfonts] = false, }, }, } Best do that in texmf-local as a next update will

Re: [NTG-context] repost add bib category?

2013-09-10 Thread Meer, H. van der
I am reposting this, because I did not see someone reply. Is there anyone who can help me out? Thanks in advance. Hans van der Meer On 6 sep. 2013, at 09:36, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: I am in need of a reference to a bachelor thesis but the file

[NTG-context] extra - in reference

2013-09-10 Thread Meer, H. van der
Doing \in{Figure}[fig:figname] neatly typesets for example: figure 1.4 Defined as: \startplacefigure[title=figure-title,reference=fig:figname] But if I define:\startchapter[title=chapter-title,reference=chap:chapname] Then \in{Chapter}[chap:chapname] produces: chapter 6 - Thus an extra space +

Re: [NTG-context] extra - in reference

2013-09-10 Thread Meer, H. van der
of the reference, will this be changed in an upcoming beta? Hans van der Meer On 10 sep. 2013, at 11:16, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 10.09.2013 um 10:51 schrieb Meer, H. van der h.vanderm...@uva.nl: Doing \in{Figure}[fig:figname] neatly typesets for example: figure

[NTG-context] add bib category

2013-09-06 Thread Meer, H. van der
I am in need of a reference to a bachelor thesis but the file bxml-apa.mkiv only provides phdthesis as a possibility. Adding the following code to bxml-apa.mkiv doesn't work or is not enough to add the bachelorthesis as an extra. I did search for phdthesis in the ConTeXt base files and was

[NTG-context] textext sync problem?

2013-08-28 Thread Meer, H. van der
I am using textext to draw text from inside a metapost program. The drawoptions macro is used by metapost to set drawing options such as color. As I understand, the textext call is handled by the tex-side of the metapost-context system, initiated of course from the metapost side. My impression

Re: [NTG-context] textext sync problem?

2013-08-28 Thread Meer, H. van der
understanding of the functioning of textext in relation to metapost. It seems that as yet I do not have a clear enough picture of that process. Hans van der Meer On 28 aug. 2013, at 21:20, Aditya Mahajan adit...@umich.edu wrote: On 2013-08-28, at 1:40 PM, Meer, H. van der h.vanderm

[NTG-context] nasty crash

2013-07-03 Thread Meer, H. van der
A nasty crash occurs with no helpful output in the log. It seems likely to arise from a complicated hbox, because the log ends abruptly in: \hbox(80.33+74.07002)x426.78 The output on the console isn't helpful either, I merely get: pagesflushing realpage 12, userpage 8

[NTG-context] context command behaviour

2013-06-26 Thread Meer, H. van der
The help (command context) tells me: mtx-context | --noconsoledisable logging to the console (logfile only) mtx-context | --batchmoderun without stopping and do not show messages on the console However, neither lives up to its promise. See the two sample runs

[NTG-context] mpgraphics confusion

2013-05-09 Thread Meer, H. van der
I am a bit confused about the metafum graphis. In the manual (2012) I read (screen version after page 203 section 3.3) the following. \startuseMPgraphic-\useMPgraphic this graphic is calculated each time it is placed. \startreusableMPgraphic-\reuseMPgraphic for graphics that don't change.

Re: [NTG-context] fontsize drawing in metapost

2013-05-07 Thread Meer, H. van der
The reason behind starting this thread was the fact that I want my \useMPgraphic's arbitrarily (and perfectly) scaled. In Metapost/Metafun that is easily done through a \MPvar{scale} variable, applied to the main dimensions on which all measures in my figures depend. But for the fontsizes this

Re: [NTG-context] fontsize drawing in metapost

2013-05-07 Thread Meer, H. van der
–07 Meer, H. van der wrote: Perhaps a better and possibly more elegant way seems the following route. When I turn Metapost figures into external pdf-files, these can be placed with \useexternalfigure and the scaled as a whole, drawing and text alike. My question is: can this be done without

[NTG-context] parameters to \startxmlsetups

2013-05-07 Thread Meer, H. van der
\startxmlsetups takes one (implicit) parameter #1, the current node. The setup can be called with \setup{node}{command}. My question: Can there be another parameter transferred to the \startxmlsetups from the \setup call? What I would like to do is having a variant \startxmlsetups and

[NTG-context] inclusion of tex code in xml context

2013-05-07 Thread Meer, H. van der
I have some difficulties understanding the intake of ConTeXt-code in an XML processing environment. The setup is as follows. \startbuffer[buffername] \startuseMPgraphic{graphicname}{} .. \stopuseMPgraphic \stopbuffer Processing inside xmlsetup: \startxmlsetups xmlcommon:mpgraphic Here I want

[NTG-context] makeing xml-node

2013-05-07 Thread Meer, H. van der
With \xmlload{myroot}{file} I can load an xml file and the execute on its nodes. However what to do if the file is not of the form rootfile-contents/root? In that case it would help if I could contruct a node with with some actions like: root\input{fileconytents/root and then operate with xml

Re: [NTG-context] makeing xml-node

2013-05-07 Thread Meer, H. van der
. Hans van der Meer On 7 May 2013, at 7:39 PM, Hans Hagen pra...@wxs.nlmailto:pra...@wxs.nl wrote: On 5/7/2013 5:30 PM, Meer, H. van der wrote: With \xmlload{myroot}{file} I can load an xml file and the execute on its nodes. However what to do if the file is not of the form rootfile-contents

[NTG-context] xml attribute trickery possible?

2013-05-06 Thread Meer, H. van der
In the xml setup one may call a command on the current node like: \startxmlsetups xam:define:get \xmlcommand{#1}{}{xmlcommon:whatever} \stopxmlsetups The current node will have attributes and these can be used in the execution of the command xmlcommon:whatever. The question is the following:

Re: [NTG-context] fontsize drawing in metapost

2013-05-06 Thread Meer, H. van der
possible things cannot be done other than by putting a fontchange inside each label. Hans van der Meer On 6 May 2013, at 6:04 PM, Marco Patzer home...@lavabit.com wrote: On 2013–05–06 Meer, H. van der wrote: What is the simplest way to change the size of fonts in labels drawn

Re: [NTG-context] fontsize drawing in metapost

2013-05-06 Thread Meer, H. van der
'30.0pt' is defined (can better be done global) fontsbodyfont '30.0pt' is not defined On 6 May 2013, at 8:57 PM, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: This is but a partial solution in my case, for two reasons: 1. \textstyle=\small gives few control, I

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Meer, H. van der
On 4 May 2013, at 9:21 AM, Aditya Mahajan adit...@umich.edu wrote: On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
Meer On 2 May 2013, at 11:17 PM, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 02.05.2013 um 12:40 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: A call to \switchtobodyfont introduces extra vertical spacing as can be seen

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
: Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: \def

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
On 3 May 2013, at 12:28 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Do you mean the missing % after \doifsomething etc.? These lines don’t need a % because TeX gobbles the spaces between the arguments. I wasn't aware of that, but will remember. Any idea how further? More from

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
--1' By the way. Is it correct that alone \definetypeface, \definefontsynonym, \starttypescriptcollection must be closed by ]% while for example \starttypescript[] seems to do no harm? Hans van der Meer On 3 May 2013, at 1:06 PM, Meer, H. van der h.vanderm

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at the end of the line - empty lines have been removed for clarity - all files now have \endinput at the end. The files changed fit in a 54KB

Re: [NTG-context] font weirdness

2013-05-02 Thread Meer, H. van der
I want to, I may add). Hans van der Meer On 1 May 2013, at 10:25 PM, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 01.05.2013 um 20:08 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: From one moment to the next typesetting

[NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer \setuppapersize[A6][A6] \setupbodyfont[lucidaot] \starttext First line.\crlf \start

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer Sorry, flew accidentally to early away. Here the attached output. \setuppapersize[A6][A6]

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
will look into the matter too. Hans van der Meer On 2 May 2013, at 12:48 PM, Marco Patzer home...@lavabit.com wrote: On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
- coding mistakes. Hans van der Meer On 2 May 2013, at 12:48 PM, Marco Patzer home...@lavabit.com wrote: On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing

[NTG-context] log reporting?

2013-05-02 Thread Meer, H. van der
How do I enable the output of for example: report_typescripts(unknown library %a or %a,name_one,name_two) defined by local report_typescripts = logs.reporter(fonts,typescripts) Hans van der Meer ___ If your

Re: [NTG-context] square in Cambria font

2013-05-01 Thread Meer, H. van der
Thanks, this indeed produces a square more akin to boxtimes in Cambria. But the situation seems even worse than I thought. Under the 40pt fontsize it is apparent that lucidaot's square has a thinner outline then boxtimes. Of the three fonts I tried (cambria, lmodern, lucidaot) it seems lmodern

[NTG-context] parameters in startuseMPgraphic

2013-05-01 Thread Meer, H. van der
I used to pass (color) parameters to \startuseMPgraphic with: \startuseMPgraphic{square}{acolor} draw unitsquare withcolor \MPvar{acolor}; % or \MPcolor{acolor} In both cases I get the following error: metapost initializing instance 'metafun' using format 'metafun' metapost

[NTG-context] \showmathfontcharacters ?

2013-05-01 Thread Meer, H. van der
Why do I get an error on \starttext \showmathfontcharacters \stoptext When that macro is defined in s-mat-10.mkiv as \unexpanded\def\showmathfontcharacters {\dodoubleempty\doshowmathfontcharacters} ConTeXt ver: 2013.04.16 12:08 MKIV beta fmt: 2013.4.19 int: english/english ! Undefined

[NTG-context] font arial?

2013-05-01 Thread Meer, H. van der
Can someone tell me why \showfont[arial] does embed arial characters in the pdf, but \setupbodyfont[arial] has lmodern only? Hans van der Meer ___ If your question is of interest to others as well, please add an

[NTG-context] font weirdness

2013-05-01 Thread Meer, H. van der
From one moment to the next typesetting in Cambria suddenly gets sour: ! Math error: parameter \Umathquad\displaystyle is not set. Doing mtxrun --script fonts --reload did not help. Any idea what can have cause the trouble? The fact that I have used \showfont a few times, perhaps? I am

[NTG-context] opentype font catalogue?

2013-05-01 Thread Meer, H. van der
Is there a script/command to generate a catalogue of all glyphs in an opentype font? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] xml path

2013-04-21 Thread Meer, H. van der
Having for example xml-structure: rootnode node1subnode1../subnode1/node1 node2/ /node3/ /rootnode With the path expression \xmlall{#1}{!node1} the node1 should be suppressed, as happens in case. However, nodes under node1 like subnode1 should be suppressed because

[NTG-context] csname not applicable?

2013-04-21 Thread Meer, H. van der
Why doesn't it seem possible to have the following macro \def\docall#1{\csname xmlprocess#1\encsname{}{}} and use it with \docall{buffer}? How then accomplish this? Runaway argument? \def \sourcenode {exam::15}\edef \currentsource {\xmlattdef {exam::15\ETC. ! File ended while scanning use of

[NTG-context] select setups

2013-04-21 Thread Meer, H. van der
If I have various setups like: \startxmlsetups xam:setups \xmlsetsetup{\xmldocument}{..{xam:*} \stopxmlsetups \xmlregistersetup{xam:setups} \startxmlsetups xbm:setups \xmlsetsetup{\xmldocument}{..{xbm:*} \stopxmlsetups \xmlregistersetup{xbm:setups} Is it then possible to have

[NTG-context] halign broken

2013-04-18 Thread Meer, H. van der
There seems something very much amiss with \halign in later ConTeXt versions. This typesets fine in PlainTeX and is an example taken from a textbook. \tabskip=1em\halign{% \hfil\it#\hfil\hfil#\hfil#\hfil#\crABCD\cr} Also in contextversion 2012.05.30 (from a TeXlive distribution). But it

Re: [NTG-context] halign broken

2013-04-18 Thread Meer, H. van der
with these little deviations from the orginal TeX. Hans van der Meer On 18 Apr 2013, at 3:03 PM, Wolfgang Schuster schuster.wolfg...@gmail.commailto:schuster.wolfg...@gmail.com wrote: Am 18.04.2013 um 14:55 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: There seems

Re: [NTG-context] halign broken

2013-04-18 Thread Meer, H. van der
14:55 schrieb Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl: There seems something very much amiss with \halign in later ConTeXt versions. This typesets fine in PlainTeX and is an example taken from a textbook. \tabskip=1em\halign{% \hfil\it#\hfil\hfil#\hfil#\hfil#\crABCD\cr

Re: [NTG-context] halign broken

2013-04-18 Thread Meer, H. van der
Why does the [align=middle] makess such a difference? Hans van der Meer On 18 Apr 2013, at 3:34 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.04.2013 um 15:26 schrieb Meer, H. van der h.vanderm...@uva.nl: There seems to be more to it: This works: \unprotect\halign

[NTG-context] bodyfont size in margin?

2013-04-17 Thread Meer, H. van der
I would like to have the same font and especially the same size for inmargin texts. Why is the following program not honouring the size setting? % Font in margin text \def\MarkMaster{\inmargin[location=left]{{\switchtobodyfont[sans,8pt]\red MASTER SECTION}}} \starttext

[NTG-context] footnoterule

2013-04-17 Thread Meer, H. van der
Is there a reason why the first does switches off the rule above the footnote \setupfootnotes[rule=off] but this doesn't? \setupnotation[footnote][rule=off]] Just try with \setupnotation[footnote][rule=off] % either this or the next one %\setupfootnotes[rule=off] \starttext Some

[NTG-context] endnotemarkers

2013-04-17 Thread Meer, H. van der
With the following setup my endnotes show up in the list with [number], as I would like to have it. But in the text they do not appear as [number] but just as plain numbers. Why does textcommand has not this effect, whereas numbercommand does? The manual strongly suggest this to me.

Re: [NTG-context] footnoterule

2013-04-17 Thread Meer, H. van der
, the \setupnotation does not handle the textcommand. I find this split in behaviour difficult to understand. May I plead for a unification here? Hans van der Meer On 17 Apr 2013, at 8:14 PM, Marco Patzer home...@lavabit.commailto:home...@lavabit.com wrote: On 2013–04–17 Meer, H. van der wrote

Re: [NTG-context] typesetting TOC

2013-04-17 Thread Meer, H. van der
with: \setupcombinedlist[list={chapter,section}] etcetera. Hans van der Meer On 16 Apr 2013, at 10:17 PM, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: I am very sorry, but I still cannot understand how to get the TOC as I would like it. The following does typeset

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Meer, H. van der
wrote: Am 17.04.2013 um 20:23 schrieb Meer, H. van der h.vanderm...@uva.nl: With the following setup my endnotes show up in the list with [number], as I would like to have it. But in the text they do not appear as [number] but just as plain numbers. Why does textcommand has not this effect

[NTG-context] header variations how?

2013-04-16 Thread Meer, H. van der
I tried to put the sectionnumbers in the margin, but it didn't work. The I looked at the example in the ConTeXt Reference Manual and this didn't work either. Why? See the minimal example below where the manual is contrasted with the actual output. Hans van der Meer \setuppapersize[A5][A5]

Re: [NTG-context] header variations how?

2013-04-16 Thread Meer, H. van der
in \chapter{} as in \startchapter[title={}] form. What can be hapening here? Hans van der Meer On 16 Apr 2013, at 10:08 AM, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: I tried to put the sectionnumbers in the margin, but it didn't work. The I looked at the example

[NTG-context] select TOC elements

2013-04-16 Thread Meer, H. van der
With \placecontents I am able to put the TOC for a chapter right after the chapter heading. So far so good. But now I would like to suppress in the overall TOC all elements below the chapters. How to? At the moment I am using \completecontent for calling up the TOC. I looked in the

[NTG-context] where is completecontent defined?

2013-04-16 Thread Meer, H. van der
I tried to find the definition of \completecontent in the source, but searching for it doesn't turn up its occurence. Where do I have to look? Hans van der Meer ___ If your question is of interest to others as

[NTG-context] tekst before \starttext?

2013-04-16 Thread Meer, H. van der
I thought that typesetting should start after \startext and that anything before it should be ignored. That is indeed the case with the following input: ABC \starttext CONTENT \stoptext But add a \setupbodyfont and suddenly the ABC appears: \setupbodyfont[lmodern] ABC \starttext CONTENT

Re: [NTG-context] where is completecontent defined?

2013-04-16 Thread Meer, H. van der
mkii files in order not to mix things up between mkii and mkiv. Hans van der Meer On 16 Apr 2013, at 5:57 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 16.04.2013 um 17:51 schrieb Meer, H. van der h.vanderm...@uva.nl: I tried to find the definition of \completecontent

[NTG-context] typesetting TOC

2013-04-16 Thread Meer, H. van der
I am very sorry, but I still cannot understand how to get the TOC as I would like it. The following does typeset the Content header but is empty otherwise. \startfrontmatter \completelist[content][criterium=chapter] \stopfrontmatter I tried various possibilities from the reference

[NTG-context] flushfootnotes

2013-04-11 Thread Meer H. van der
The contextgarden mentions a command flushfootnotes, however \starttext \flushfootnotes \stoptext results in an error: ! Undefined control sequence. log system tex error on line 2 in file sectioning.tex: Undefined control sequence ... l.2 \flushfootnotes ConTeXt ver: 2013.03.20

[NTG-context] endnotes not placed

2013-04-11 Thread Meer H. van der
The contextgarden tells me under Command/placefootnotesPlace unplaced footnotes. Has no visible effect if location=page, but can be used to place footnotes (or endnotes) made when location=text was in effect.However nothing happens for an \endnote, but it works for a \footnote. See minimal

Re: [NTG-context] endnotes not placed

2013-04-11 Thread Meer H. van der
Thanks. I checked again in the contextgarden, fearing I might have overlooked the obvious, but \placenotes is not among the commands described. Hans van der Meer On 11 apr. 2013, at 22:54, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 11.04.2013 um 14:51 schrieb Meer H. van

[NTG-context] manual

2013-04-03 Thread Meer H. van der
The latest downloaded ConTeXt manual to be found on my system is: ConTeXt reference manual Hans Hagen, Taco Hoekwater June 1,2011 Is there a more recent one? I searched the Pragma site, expecting to find it there. Did I look in the wrong place? Hans van der Meer

[NTG-context] widowpenalty

2013-03-22 Thread Meer H. van der
Is the \widowpenalty for avoiding short single lines at the top of the page functional in ConTeXt? Or is there another setup to be done? I find a situation where \widowpenalty=1 doesn't make a difference. But it is not easily decided if the TeX-engine could have done nothing in this special

  1   2   3   >