Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 18:13, Alan BRASLAU mailto:alan.bras...@cea.fr>> wrote: Would it not be better to use ConTeXt alignment, rather than the TeX primitives \hfil and \hfill? \startframedtext[left][frame=on,offset=0pt,width=broad,align=flushleft] left \stopframedtext Could be of course. But the

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 16:17, Alan BRASLAU mailto:alan.bras...@cea.fr>> wrote: Remember that ConTeXt colors can be accessed in MP as \MPcolor{orange} Alan However with the snippet below I see the default black with MPcolor and the wanted red with \MPvar. Thus? Hans van der Meer \starttext \st

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
Thanks Wolfgang. It appears my memory did some "wishful thinking" in wanting \startuseMPgraphic{name}{key=value}. Although that would have been nice. Hans van der Meer On 11 Apr 2016, at 14:42, Wolfgang Schuster mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der&

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
> On 11 Apr 2016, at 12:28, Mari Voipio wrote: > > On Mon, Apr 11, 2016 at 1:08 PM, Meer, Hans van der > wrote: > >> \startframedtext[middle][frame=on,offset=0pt,width=broad] >> \hfil centered\hfil >> \stopframedtext >> \startframedtext[middle][fra

[NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
I am getting an unexpected results with framedtexts.Why is the second "centered" not centered? \starttext \startframedtext[left][frame=on,offset=0pt,width=broad] left\hfill \stopframedtext \startframedtext[middle][frame=on,offset=0pt,width=broad] \hfil centered\hfil \stopframedtext \startframedte

[NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
I seem to remember the following variations in \startuseMPgraphic. (1) \startuseMPgraphic{name}{comma separated list of variables} (2) \startuseMPgraphic{name}{comma separated list of key=value pairs} In the second case one is able to set a default value to that variable, possibly to be overridde

Re: [NTG-context] MPinstance

2016-04-07 Thread Meer, Hans van der
Alan Braslau wrote: For example, I work with a "3D" instance of MP: \defineMPinstance [three] [format=metafun, extensions=yes, initializations=yes, method=double] \startMPdefinitions{three} input three ; \stopMPdefinitions Where three.mp contains my 3D projection macros. Use is then

Re: [NTG-context] deprecated startMPenvironment

2016-04-04 Thread Meer, Hans van der
On 04 Apr 2016, at 00:12, Hans Hagen mailto:pra...@wxs.nl>> wrote: On 4/3/2016 4:07 PM, Meer, Hans van der wrote: Previously I could do the following \starttext \startMPenvironment[+]\switchtobodyfont[small]\stopMPenvironment \startMPpage % metafont code \stopMPpage \stoptext \endinput

[NTG-context] deprecated startMPenvironment

2016-04-03 Thread Meer, Hans van der
Previously I could do the following \starttext \startMPenvironment[+]\switchtobodyfont[small]\stopMPenvironment \startMPpage % metafont code \stopMPpage \stoptext \endinput This is called by context --run --once etc. producing the figure and in this case modifying the font to a smaller size. Not

Re: [NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
On 24 Feb 2016, at 13:37, Wolfgang Schuster mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 24. Februar 2016 um 13:25 Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in typesetting with

[NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it? I am asking because in typesetting with \setuptype[style=small]\type{something} I get another font and size than with \setuptyping[bodyfont=small]\starttyping ... \stoptyping whereas in both the same is wanted in orde

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-18 Thread Meer, Hans van der
On 18 Feb 2016, at 10:16, Hans Hagen mailto:pra...@wxs.nl>> wrote: also, DEK used a keyboard with some special characters (probably dating from those assembler like computer languages) which is why the plain tex format has: Could it have been a keyboard especially for the APL language? Just a

Re: [NTG-context] new error in Context-Metapost

2016-02-17 Thread Meer, Hans van der
Thanks for the quick answer. This error looks tricky indeed. I haven't the faintest illusion I could have found out by myself... Hans van der Meer On 17 Feb 2016, at 13:34, Hans Hagen mailto:pra...@wxs.nl>> wrote: That was a tricky one to nail down ... it related to the fact that have \{ and

[NTG-context] new error in Context-Metapost

2016-02-17 Thread Meer, Hans van der
Some code that worked ok but hasn't been used for some time, now gives an error: missing $. It is working fine in ConTeXt, but putting it inside an MPpage goes wrong. Here a minimal example, the output of the ConTeXt run and the error on the MPpage run. Has something changed I missed? Hans van

[NTG-context] box'es do not spread out

2016-02-05 Thread Meer, Hans van der
I am struggling with the following problem: Collect a number of boxes with: \global\setbox\placexcontent=\hbox{% \box\placexcontent % collection of previous boxes \box\placexbox % next box affixed to previous onse \hskip\placexdistanceskip % spearation, replacing by \hfill does not solve problem

Re: [NTG-context] interactive reference

2016-02-03 Thread Meer, Hans van der
#x27;s cunt. On 02/03/2016 10:10 AM, Meer, Hans van der wrote: In the ConTeXt reference manual in section 12.5 Cross references I find the following explanation: I would like to set (interactive) references as the black triangles pointing forward and backward, as displayed here. Although I trie

[NTG-context] interactive reference

2016-02-03 Thread Meer, Hans van der
In the ConTeXt reference manual in section 12.5 Cross references I find the following explanation: [cid:DD84C63C-7615-45C8-8BC0-DA1B83459B42@dynamic.ziggo.nl] I would like to set (interactive) references as the black triangles pointing forward and backward, as displayed here. Although I tried a

[NTG-context] Reprocessing part of input

2016-02-02 Thread Meer, Hans van der
How to do the following eludes me. Inside macro -processing read into a buffer the following part of the input \startmyinput ...\stopmyinput Analogous to input containing \startbuffer[mystoragebuffer] \startmyinput ... \stopmyinput \stopbuffer but now not execut

Re: [NTG-context] doifnextcharelse

2016-01-24 Thread Meer, Hans van der
Is it impossible to test on a blank with something alike \doifnextcharelse ? The implementation in the source skips blanks, but what if that is one doesn't want? For example to distinguish between "\abc \def" and \abc\def"? Hans van der Meer __

Re: [NTG-context] doifnextcharelse

2016-01-24 Thread Meer, Hans van der
Yes this works. But alas, the ultimate goal is to test against several characters and that seems impossible to do with standard ConTeXt api-macros.Let alone when these characters are . or . or ) etc. Hans van der Meer met vriendelijke groet Hans van der Meer > On 24 Jan 2016, at 15:13, Pabl

[NTG-context] citations

2016-01-20 Thread Meer, Hans van der
In this version: ConTeXt ver: 2015.12.22 10:50 MKIV beta fmt: 2015.12.27 int: english/english I was able to typeset my bibtex citations with \cite. But in the version of ConTeXt-beta I downloaded recently \cite results in blank. There might have been a mention about this recently, but that is

[NTG-context] oldstyle

2016-01-18 Thread Meer, Hans van der
I have the Lucida Bright otf fontset. What fontname to use in simplefonts \definefontfamily [mainface] [os] [Lucida Bright ??] in order to get {\os 123} in oldstyle? Hans van der Meer ___ If your question is of i

Re: [NTG-context] pagereferences

2016-01-17 Thread Meer, Hans van der
Thanks Wolfgang. I am experimenting with your code and there has arisen a problem. The book I am typesetting has some pages before the text on page-1 starts (cover and so on). Therefore the code \def\mypageref[#1]{\setpagestate[hvdm][#1]\color[red]{page=\pagenumber\ and pageref=\pagestaterea

Re: [NTG-context] pagereferences

2016-01-17 Thread Meer, Hans van der
{\at[#1]}, as does \expandafter\scratchcounter= The error is Missing number, treated as zero.. Do you have a hint how to proceed? Hans van der Meer On 17 Jan 2016, at 17:42, Wolfgang Schuster mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl>

[NTG-context] pagereferences

2016-01-17 Thread Meer, Hans van der
Defining \pagereference[xyz] en calling this some pages later with \atpage[xyz] I get as reference "at a previous page" (perhaps not exactly, the typesetting is done in dutch). This an unwanted result, that previous page is 7 pages before. How can I restrict this to either "on this page" or to

[NTG-context] hebrew

2016-01-16 Thread Meer, Hans van der
I need to typeset the letters of the hebrew alfabet. What font? What letters to type? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

[NTG-context] ddirectory search

2016-01-14 Thread Meer, Hans van der
With for example \setupexternalfigures ConTeXt will search figure files in the directories specified on this command. Is there a corresponding \setup-macro for searching files one wants to input? So that after \setup[direcory={..,..,..}] an "\input xyz" command (or anything alike) will find

[NTG-context] simplefonts question

2016-01-14 Thread Meer, Hans van der
How to set the calligraphic font in the simplefonts module? With the instructions in the Wiki: \usemodule[simplefonts] \definefontfamily[fallbackfont][serif][lucidaot] \definefontfamily[fallbackfont][sans][lucidaot] \definefontfamily[fallbackfont][mono][lucidaot] \definefontfamily[fallbackfont][ma

[NTG-context] what bib module?

2016-01-14 Thread Meer, Hans van der
Calling: \usemodule[bib] I get the log message: resolvers > modules > 'bibtex' is not found resolvers > modules > 'oldbibtex' is loaded My code is somewhat old, I must confess. What should I use now? Hans van der Meer _

Re: [NTG-context] \doiftext vs. \doifemtpy

2016-01-14 Thread Meer, Hans van der
Watch out. There is a pitfall here (yes, I have fallen in this trap). Try \type{\doifempty{\empty}{yes}} = <\doifempty{\empty}{yes}>\crlf and you will see that it is NOT empty despite the suggestive use of the \empty macro! Hans van der Meer On 14 Jan 2016, at 08:41, Marco Patzer mailto:li...@

Re: [NTG-context] suddenly run error

2016-01-12 Thread Meer, Hans van der
On 12 Jan 2016, at 20:11, luigi scarso mailto:luigi.sca...@gmail.com>> wrote: hard to say without an example. \loggingall can help, but it can generate a huge amount of data. Using \loggingall near the error is better, but of course it means that you know more or less where it happens. I hav

[NTG-context] file not found

2016-01-12 Thread Meer, Hans van der
The code below did work ok some version of ConTeXt ago, now an error and I cannot think of the cause. There is an unknown file ./t. Is it origin something with the jobname mysteriously being t? Or is it perhaps that modules now have names preceded by t- ? I am completely baffled. Help would be

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
On 27 Dec 2015, at 21:57, Wolfgang Schuster mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 27. Dezember 2015 um 21:47 One more observation on the strangeness of \setuppagenumber. Putting \setuppagenumber[number=4] before the call to \xmlp

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
located inside the \startxmlsetups. An error that does not occur when called at the \starttext document-level before the \xmlprocessbuffer. Could it be a matter of locality? On 27 Dec 2015, at 17:20, Meer, Hans van der mailto:h.vanderm...@uva.nl>> wrote: More information on this. Stat

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
pagenumber comes before typesetting the page. Why is the \setuppagenumber inside the xmlsetup ignored? Hans van der Meer On 27 Dec 2015, at 14:21, Meer, Hans van der mailto:h.vanderm...@uva.nl>> wrote: The command "\setuppagenumber[state=stop]" used to stop numbering the p

[NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
The command "\setuppagenumber[state=stop]" used to stop numbering the pages, now it doesn't. Has this been changed and did I miss that change? Hans van der Meer ___ If your question is of interest to others as

[NTG-context] goto

2015-10-18 Thread Meer, Hans van der
I would like to be able to go directly to a local document by an interaction statement. The \goto command seems to be meant for this. However, the descriptions in the command reference and the Wiki do not explain all of its parameters: In \goto{1}{2}[3] parameters 1 and 2 are marked CONTEXT and 3

[NTG-context] chapter numbering

2015-10-08 Thread Meer, Hans van der
The reference manual explains that one can set individual numbers on a chapter: \setuphead[subsection][ownnumber=yes] \subsection{399}{The old number} So I tried \setuphead[chapter][ownnumber=yes] but then I am in the dark how to use this. The reference manual (september 2013 -- latest?) was o

[NTG-context] table of contents

2015-09-28 Thread Meer, Hans van der
I would like to restrict the tableofcontents to chapters only, leaving the sections etc. out. \completecontent does not seem the right command here. I am sure it is simple, but I don't see it. How to accomplish? Hans van der Meer _

[NTG-context] formatting section and figure numbers

2015-09-25 Thread Meer, Hans van der
I do number my chapters with roman numerals with: \setuphead[chapter][conversion=Romannumerals] I would expect then that sections are numbered roman.arabic for example IX.1 This is not the case. While the chapter is numbered IX the sections are numbered 9.1 instead of IX.1. The numbering of floa

[NTG-context] suppress header-footers

2015-09-14 Thread Meer, Hans van der
With \noheaderandfooterlines one can suppress the header and footer lines on the current page. When using \setuplayout[location=doublesided] a blank page is generated if necessary. However this generated page does contain header/footer, notwhithstanding the use of \noheaderandfooterlines. Is it

<    1   2