[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

[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

[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

[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

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 <h.vanderm...@uva.nl<mailto:h.vanderm...@uva.nl>> wrote: The command "\setuppagenumber[state=stop]"

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
On 27 Dec 2015, at 21:57, Wolfgang Schuster <schuster.wolfg...@gmail.com<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 \setuppagenumbe

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 <h.vanderm...@uva.nl<mailto:h.vanderm...@uva.nl>> wrote: More

[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] 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] suddenly run error

2016-01-12 Thread Meer, Hans van der
On 12 Jan 2016, at 20:11, luigi scarso > 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

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

[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

[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]

[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

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

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 <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer,

[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-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] 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] 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
r dead great-grandmother'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 di

[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

[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

Re: [NTG-context] size in setuptype

2016-02-24 Thread Meer, Hans van der
On 24 Feb 2016, at 13:37, Wolfgang Schuster <schuster.wolfg...@gmail.com<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

[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

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,

[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

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

[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

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 > wrote: That was a tricky one to nail down ... it related to the fact

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

2016-02-18 Thread Meer, Hans van der
On 18 Feb 2016, at 10:16, Hans Hagen > 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

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] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 16:17, Alan BRASLAU > 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

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
m>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 11. April 2016 um 10:35 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

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 18:13, Alan BRASLAU > 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

[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

[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

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
Wolfgang, Hans, Thanks for your explanations. Hans van der Meer On 11 Apr 2016, at 19:10, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 11. April 2016 um 18:49 Could be of course

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
But why should typing \MPcolor{\MPvar{color}}be necessary or useful when \MPvar(color) obviously is sufficient? Or is there a special reason for the nested macros? > On 11 Apr 2016, at 19:16, Aditya Mahajan <adit...@umich.edu> wrote: > > On Mon, 11 Apr 2016, Meer, Han

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
> On 11 Apr 2016, at 12:28, Mari Voipio <mari.voi...@iki.fi> wrote: > > On Mon, Apr 11, 2016 at 1:08 PM, Meer, Hans van der <h.vanderm...@uva.nl> > wrote: > >> \startframedtext[middle][frame=on,offset=0pt,width=broad] >> \hfil centered\hfil >> \sto

[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.

Re: [NTG-context] deprecated startMPenvironment

2016-04-04 Thread Meer, Hans van der
On 04 Apr 2016, at 00:12, Hans Hagen <pra...@wxs.nl<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 \stopMPpa

[NTG-context] xml input

2016-04-13 Thread Meer, Hans van der
I would like to process several input sources as one xml tree. Like this: with the sources having the structure ... ... and the code for containing: read from all sources given on -notes afterwards process all content at once Thus the content of the various source should be read into

Re: [NTG-context] xml input

2016-04-13 Thread Meer, Hans van der
Just a thought. \xmlprocessbuffer and \xmlprocessfile{id}... register the tree they read under id. Is there a way to merge several id's to one tree? Hans van der Meer On 13 Apr 2016, at 16:21, Meer, Hans van der <h.vanderm...@uva.nl<mailto:h.vanderm...@uva.nl>> wrote: I would lik

Re: [NTG-context] typebuffer different from typefile

2016-04-24 Thread Meer, Hans van der
The point is not that I am without options for a practical solution here. My point is that the difference between \typebuffer and \typefile breaks the strict and so much appreciated congruence between like macro calls. Therefore my post must rather be seen as a plea to the maintainer(s) of these

Re: [NTG-context] useMPgraphic scaling

2016-04-25 Thread Meer, Hans van der
]{% \useMPgraphic{\xmlatt{#1}{name}}{\xmlatt{#1}{parameters% On 25 Apr 2016, at 13:22, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 4/25/2016 1:11 PM, Meer, Hans van der wrote: With images one can scale them on placement, for example \externalfigure[][scale=250,he

Re: [NTG-context] xml input

2016-04-22 Thread Meer, Hans van der
On 21 Apr 2016, at 10:41, Hans Hagen > wrote: your \xmlsetsetup{#1}{*}{-} makex takenotes into a nothing ... (comment that line if needed to see effects in your code) I got that line from your first demo program in "Dealing with XML in ConTeXt Mkiv":

Re: [NTG-context] xml expression error

2016-04-29 Thread Meer, Hans van der
On 28 Apr 2016, at 22:13, Pablo Rodriguez > wrote: On 04/28/2016 05:06 PM, dr. Hans van der Meer wrote: Why is there anexpression error here? I would expect that the expression number(-1101) evaluates to a negative number taking part in the comparsion. It

[NTG-context] evaluation of != and ~=

2016-04-29 Thread Meer, Hans van der
This one took the better part of an afternoon from me, but I finally found the (unexpected) culprit. In the xml documentation on page 31 it is said: The given expression between [] is converted to a LUA expression so you can use the use operators: == ~= <= >= < > not and or () In addition, =

Re: [NTG-context] Updating ConTeXt standalone problem on Mac OS X

2016-04-26 Thread Meer, Hans van der
I am running the same OSX El Capitan (from a non-administrator account) and I have no problems installing the ConTeXt-beta with the following script executed inside a fresk and empty directory: #!/bin/bash rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . chmod a+x

Re: [NTG-context] xml input

2016-04-23 Thread Meer, Hans van der
For those still interested in the inclusion of nodes into the root of the xml-tree. With the help of a hint by Hans Hagen, the following is the best I am able to produce. The code below includes the contents of the file twice as can be seen in the pdf. \startbuffer[test] \stopbuffer

[NTG-context] useMPgraphic scaling

2016-04-25 Thread Meer, Hans van der
With images one can scale them on placement, for example \externalfigure[][scale=250,height=..] etc. Is such a scaling or separate height,width setting also possible with the placement of useMPgraphic? Or needs all scaling of thesebe done within the metapost/metafun code? Hans van der Meer

[NTG-context] typesetting content of attribute

2016-04-30 Thread Meer, Hans van der
The aim is to typeset a TeX-command given in an attribute on an xml node. Example ... \xmlatt{#1}{style} ... where the node has The problem is that this produces the macrotext \bf and does not execute the \bf. I guess that the catcoderegime is not that of TeX here. With what (magical)

Re: [NTG-context] typesetting content of attribute

2016-04-30 Thread Meer, Hans van der
On 30 Apr 2016, at 19:08, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 4/30/2016 3:28 PM, Meer, Hans van der wrote: The aim is to typeset a TeX-command given in an attribute on an xml node. Example ... \xmlatt{#1}{style} ... where the node has The problem is that t

Re: [NTG-context] xml expression error

2016-04-28 Thread Meer, Hans van der
> On 28 Apr 2016, at 22:13, Pablo Rodriguez wrote: > > On 04/28/2016 05:06 PM, dr. Hans van der Meer wrote: >> Why is there anexpression error here? I would expect that the expression >> number(-1101) evaluates to a negative number taking part in the >> comparsion. It looks as

Re: [NTG-context] useMPgraphic scaling

2016-04-26 Thread Meer, Hans van der
On 25 Apr 2016, at 16:34, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 4/25/2016 3:46 PM, Meer, Hans van der wrote: Thanks, Your reply popped up here exactly the moment I saw the light! Must be something Messed up the order things: Was: \scale[\scalesetting]{%

[NTG-context] transparent colors

2016-05-19 Thread Meer, Hans van der
With \definecolor[colorname][r=,g=,b=] one defines a color of name "colorname" for use in ConTeXt and in Metapost. A transparentcolor comes with \definecolor[transparentcolorname][r=,g=,b=,a=,t=] Problem: how to define a transparent color with \definetransparentcolor[#1][#2][#3]{...}. To be

[NTG-context] MacOsX OSFONTDIR environment variable

2016-05-19 Thread Meer, Hans van der
> On 25 Oct 2013, at 00:13, Hans Hagen wrote (in a discussion on the OSFONTDIR environment variable in MacOSX) > anyway, in a next beta you can set this in texmf.cnf.lua: > > return { >content = { >directives = { >["fonts.usesystemfonts"] = false, >

Re: [NTG-context] command reference not searchable

2016-05-20 Thread Meer, Hans van der
Remembered that Hans Hagen recently told me (and Jean-Pierre reminded me of this) that the document can be generated with: context --extra=setups --overview i-context.xml I did this and the resultant document now has in the document properties: PDF Producer: LuaTeX-0.95.0 PDF Version : 1.7

[NTG-context] command reference not searchable

2016-05-19 Thread Meer, Hans van der
The command reference in file i-context.pdf is highly useful, but that document is not searchable, neither with Preview nor Adobe Reader. Files luatex.pdf, xml-mkiv.pdf for example are searchable. It would be nice if the command reference can be searched too, because for now looking up a

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Meer, Hans van der
; >> On 19 May 2016, at 17:00, Meer, Hans van der <h.vanderm...@uva.nl> wrote: >> >> The command reference in file i-context.pdf is highly useful, but that >> document is not searchable, neither with Preview nor Adobe Reader. > > Sear

Re: [NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 16:32, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/22/2016 2:32 PM, Meer, Hans van der wrote: >> According to the description of \page in the contextgarden: >> "header - set header off temporarily" >> >> But although thi

Re: [NTG-context] smaller size for particular style

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 18:08, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Meer, Hans van der 22. Mai 2016 um 10:33 >> As usual I do a setup for the font with for example: \setupbodyfont[cambria]. >> For most style variants this is fine, bu

Re: [NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 17:44, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Meer, Hans van der 22. Mai 2016 um 17:40 >> >> It is not clear as yet. >> \starttext >> \input knuth >> \page[header,yes] >> \input knuth >&g

Re: [NTG-context] smaller size for particular style

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 20:01, Meer, Hans van der <h.vanderm...@uva.nl> wrote: > > >> On 22 May 2016, at 18:08, Wolfgang Schuster <schuster.wolfg...@gmail.com> >> wrote: >> >>> Meer, Hans van der 22. Mai 2016 um 10:33 >>> As usual I do a

[NTG-context] flushleft and startplacefigure

2016-05-22 Thread Meer, Hans van der
\startplacefigure inherits a lot of location settings but among these flushleft and flushright are missing. Thus the \setupfloat in the example cannot be omitted. Wouldn't it be a logical step to make possible also: \startplacefigure[location=flushleft] dito for flushright? \starttext %

Re: [NTG-context] new features

2016-05-22 Thread Meer, Hans van der
On 22 May 2016, at 15:11, Hans Hagen > wrote: Finally, when \definemode makes testing a lot faster why than not implement this always? That is, using \enablemode or \disablemode the first time implies a \definemode for that mode. Doing so avoids another

[NTG-context] name current font

2016-05-22 Thread Meer, Hans van der
How do I get the name of the currently set font? macro \currentfont does not exist. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] \page[header]

2016-05-22 Thread Meer, Hans van der
According to the description of \page in the contextgarden: "header - set header off temporarily" But although this gives two pages numbered 1 and 2: \starttext \input knuth \page \input knuth \stoptext This one does not honour the new page but typesets everything on page 1: \starttext \input

Re: [NTG-context] name current font

2016-05-22 Thread Meer, Hans van der
> On 22 May 2016, at 17:32, Aditya Mahajan <adit...@umich.edu> wrote: > > On Sun, 22 May 2016, Meer, Hans van der wrote: > >> How do I get the name of the currently set font? >> macro \currentfont does not exist. > > \fontclass? > > Also see:

Re: [NTG-context] smaller size for particular style

2016-05-22 Thread Meer, Hans van der
series of fontsizes for one style (tt) only. > > I hope that helps. > > Greetings, Seba > > Am 22.05.2016 um 10:33 schrieb Meer, Hans van der: >> As usual I do a setup for the font with for example: \setupbodyfont[cambria]. >> For most style variants this is fine, b

Re: [NTG-context] Bugs with minimals 2015.05.24 12:42

2016-05-24 Thread Meer, Hans van der
> On 02 Jun 2015, at 14:51, Hans Hagen wrote: > > If you install extra fonts and files, you should put them in > > tex/texmf-fonts > tex/texmf-project > > as these are left untouched. That has always been the recommendation. The > other trees will be synchronized in an update

[NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der
Can someone explain to me the changes in fontsize in the following example? Enclosing the fontswitches in a group did not change the behaviour. \setupbodyfont[dejavu,12pt] \def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red Master\egroup}}

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der
> On 24 May 2016, at 15:57, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Meer, Hans van der 24. Mai 2016 um 15:04 >> >> Can someone explain to me the changes in fontsize in the following example? >> Enclosing the fontswitches

Re: [NTG-context] fontsize changes not understood

2016-05-24 Thread Meer, Hans van der
On 24 May 2016, at 17:00, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 24. Mai 2016 um 16:28 Thanks, I really didn't know that, it could not spot it in my copy of "Fonts in

Re: [NTG-context] new features

2016-05-22 Thread Meer, Hans van der
> On 26 Jun 2014, at 12:08, Hans Hagen wrote: > > Another addition is that > > \definemode[something][keep] > > define an undefined mode; the keep makes sure that the already set value is > kept (another option is 'yes'). > > Using defined modes (that is, set with:

Re: [NTG-context] bibliography tool

2016-05-22 Thread Meer, Hans van der
> On 30 Jun 2014, at 17:33, Wolfgang Schuster > wrote: > > > Am 30.06.2014 um 17:29 schrieb Gour : > >> Hans Hagen writes: >> >>> beware: the mkii derived bibliograpic support for mkiv is replaced so >>> that page is kind of

[NTG-context] smaller size for particular style

2016-05-22 Thread Meer, Hans van der
As usual I do a setup for the font with for example: \setupbodyfont[cambria]. For most style variants this is fine, but for \tt I find the size too big. Thus I would like to keep the sizes as setup by the \setupbodyfont for everything except for \tt: there all variants (like \tt, \ttx, \ttxx)

Re: [NTG-context] Support for Optional Content Groups

2016-05-22 Thread Meer, Hans van der
> On 03 Jul 2014, at 19:54, Hans Hagen wrote: > > I tried this in acrobat: > > \defineviewerlayer[visibleandprint] [printable=yes,state=start] > \defineviewerlayer[visibleandnotprint] [printable=no, state=start] > \defineviewerlayer[notvisibleandprint]

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Meer, Hans van der
earch this document using any and all pdf tools to which I have > access on my system. > > Alan > > On Thu, 19 May 2016 16:49:31 + > "Meer, Hans van der" <h.vanderm...@uva.nl> wrote: > >> Checked again also on a MacBook, definitely not searchable

Re: [NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
On 16 May 2016, at 16:41, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 16. Mai 2016 um 16:31 Thanks. I redid the examples with the autostrut parameter set to respectively yes and

Re: [NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
, at 16:03, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 16. Mai 2016 um 15:50 Sifting through my TeX-mailbox, I came along this post of Wolfgang Schuster and decided to try al

[NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
Sifting through my TeX-mailbox, I came along this post of Wolfgang Schuster and decided to try all variations given to the align parameter on \framed. Curious in which cases the \hbox and in which the \vbox is chosen, not unimportant of course. I did this by typesetting \hbox{abc}\hbox{xyz}

[NTG-context] definebodyfontenvironment

2016-05-14 Thread Meer, Hans van der
I like to execute this statement \definebodyfontenvironment[somevalue] in order to avoid lots of error messages as such: fonts > bodyfont '8.0pt' is defined (can better be done global Is this definebodyfontenvironment macro fully executed each time it is called or does ConTeXt remember and

Re: [NTG-context] definebodyfontenvironment

2016-05-14 Thread Meer, Hans van der
size. But at least I would like to give it a try. Hans van der Meer On 14 May 2016, at 20:00, Wolfgang Schuster <schuster.wolfg...@gmail.com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 14. Mai 2016 um 17:55 I like to exec

Re: [NTG-context] ConTeXt commands

2016-05-18 Thread Meer, Hans van der
> On 18 May 2016, at 14:39, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/18/2016 2:09 PM, Meer, Hans van der wrote: >> What is the latest edition of "ConTeXt commands"? The one I have here is >> dated July 1,2015. It is missing some commands however: \setupn

[NTG-context] ConTeXt commands

2016-05-18 Thread Meer, Hans van der
What is the latest edition of "ConTeXt commands"? The one I have here is dated July 1,2015. It is missing some commands however: \setupnotes to name an example. I find it a very handy document, but alas it is not standard in the contextbeta distribution as for example the LuaTeX manual in

Re: [NTG-context] ConTeXt commands

2016-05-18 Thread Meer, Hans van der
On 18 May 2016, at 15:41, Hans Hagen > wrote: the setups have always been there but i never really kept them in sync with the latest additions but ... recently they have been upgraded to describe nearly all commands (also low level ones) .. a pretty

Re: [NTG-context] Overlays as background in textbackground

2016-05-18 Thread Meer, Hans van der
This code from three years back ia a reply to a question of placing an overlay background. Because the cow is very black I am curious if the \externalfigure can have a paramter to change the alpha of the cow, making it more transparent. By the way, it is not out of curiosity only. If possible

Re: [NTG-context] xml expression error

2016-05-12 Thread Meer, Hans van der
234 in the arithmetic expression to number("-1234") (mind the quotes) does give a correctly evaluated expression. Still, I am baffled by the fact that in arithmetic expressions positive and negative numbers are treated differently in the filtering operation. Hans van der Meer On 29 Apr 2016, at 15:0

Re: [NTG-context] xml input

2016-04-14 Thread Meer, Hans van der
My fault, wholly my fault! Just didn't look precise enough in replying. Thought to answer Hans Hagen in private but was a little offguard. No offense taken. Hans van der Meer > On 14 Apr 2016, at 22:56, Pablo Rodriguez wrote: > > Hans, > > > My apologies for the comment, if

[NTG-context] convert old dvi files

2016-04-19 Thread Meer, Hans van der
I need to convert some old dvi files into pdf. One of the routes seems dvi --(dvips) ->- ps --> pdf But dvips (taken from the ConTeXt-beta distribution) complains "Couldn't find header file: tex.pro" Where can I find it? It doesn't seem present in the above mentioned distribution. Or is there a

Re: [NTG-context] xml input

2016-04-14 Thread Meer, Hans van der
On 14 Apr 2016, at 10:45, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 4/13/2016 4:21 PM, Meer, Hans van der wrote: I would like to process several input sources as one xml tree. Like this: with the sources having the structure ... ... and the code for cont

Re: [NTG-context] xml input

2016-04-21 Thread Meer, Hans van der
A week ago I posted here by accident part of a private conversation (in Dutch) with Hans Hagen. I already apologized for this. On 15 Apr 2016, at 00:47, Mica Semrick > wrote: I'm interested in this thread too... But I'm american, so

Re: [NTG-context] Adjusting Kerning/Spacing between Letter

2016-05-25 Thread Meer, Hans van der
> On 02 Jan 2015, at 11:42, Hans Hagen wrote: > > On 1/2/2015 12:56 AM, Malte Stien wrote: >> Hi, >> >> I am trying to typeset some strings in {\tt ...}, but they turn out to be >> pretty wide. So, I would like to compress those bits of text a little. Any >> hints on how I

Re: [NTG-context] next beta

2016-06-27 Thread Meer, Hans van der
> On 27 Jun 2016, at 10:38, Hans Hagen wrote: > > The next beta will support this (for mp lovers) > > \definecolor[maincolor] [r=.5] > \startMPpage >fill fullcircle scaled 10cm withcolor "maincolor" ; >... > \stopMPpage > > So, in many cases you can use strings

Re: [NTG-context] smallcaps

2016-06-29 Thread Meer, Hans van der
Thanks. For those who are curious as to how I became confused about the uppercase-lowercase for smallcaps: look at session "803 Typography and Fonts" in Apple's WWDC2016 conference, just after 23 minutes and you will understand. Hans van der Meer On 29 Jun 2016, at 11:00, Wolfgang Schuster

Re: [NTG-context] \mainlanguage[pe]

2016-07-08 Thread Meer, Hans van der
When naming these macros I would recommend to not use abbreviations like \jday, \jdate but rather using more explicite names like for example \jalaliday. Otherwise confusion with \jdate as a date in the Julian calendar easily could result. Hans van der Meer > On 07 Jul 2016, at 23:28, Hans

[NTG-context] typeset page in page

2016-10-10 Thread Meer, Hans van der
I would like to typeset a page in small format (for example A5) and immediately put the result on the current page (for example in A4 format). In this way I can demo the result of some operations like variations in footnote parameters in a running text, etc. If this can be accomplished, how?

  1   2   >