Re: [NTG-context] Expandable \doifelse tests

2017-09-08 Thread Meer, Hans van der
While going through the posts I had stowed away because I found them interesting, I came along this one. There is not a problem here, just a tiny observation. In order to work \doifelse{a}{\doifelse{x}{x}{a}{b}}{yes}{no} properly it is sufficient that the inner \doifelse is of the expandable

Re: [NTG-context] Background with rounded corners (Metafun)

2017-09-08 Thread Meer, Hans van der
> \defineornament >[FrameTitle] >[preset=lefttop] I tried this example and I wonder what the [preset=lefttop] does. Because whatever I fill in for lefttop, the ornament appears always in the topleft corner and nowhere else. Hans van der Meer > On 23 Aug 2017, at 00:50, Aditya

Re: [NTG-context] about "unknown script 'context.lus' or 'max-context.lua'"

2017-09-01 Thread Meer, Hans van der
Allthough I am working with the ConTeXt beta version, I hope you will get things running in TeXShop by analogy as it does for me. On OSX there are directories used by TeXShop one of which is ~/Library/Engines. The text files there contain scripts that callup a tex run. In my case I have a

Re: [NTG-context] footnote placement

2017-07-21 Thread Meer, Hans van der
> On 21 Jul 2017, at 07:00, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 07/20/2017 10:06 PM, Meer, Hans van der wrote: >> I did use: \setupnotes[footnote][split=verystrict,scope=page] so I guess >> there is not much hope here. >> >> A related questi

Re: [NTG-context] footnote placement

2017-07-20 Thread Meer, Hans van der
=text] but without success. Hans van der Meer On 20 Jul 2017, at 21:33, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 7/20/2017 9:14 PM, Meer, Hans van der wrote: Pablo, [scope=page] does not help. I did a few experiments with the following result. If the footn

Re: [NTG-context] footnote placement

2017-07-20 Thread Meer, Hans van der
will not be afraid of some trickery:-) Hans van der Meer > On 20 Jul 2017, at 20:28, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 07/20/2017 11:16 AM, Meer, Hans van der wrote: >> It happens that a footnote generated on a certain page is typeset on >> the page preced

[NTG-context] footnote placement

2017-07-20 Thread Meer, Hans van der
It happens that a footnote generated on a certain page is typeset on the page preceding it. Rather than that, I would like to force a footnote to appear either on the page where it is defined or on the following page. Can such behaviour be enforced? Currently this is my footnote setup:

Re: [NTG-context] whitespace between endnotes

2017-07-14 Thread Meer, Hans van der
Exactly what I was looking for. Thanks! Hans van der Meer > On 14 Jul 2017, at 17:07, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 07/14/2017 02:44 PM, Meer, Hans van der wrote: >> \placenotes[endnote] puts a list of endnotes spaced out with the >>

[NTG-context] whitespace between endnotes

2017-07-14 Thread Meer, Hans van der
\placenotes[endnote] puts a list of endnotes spaced out with the setting of \setupwhitespace. Is there a means to keep \setupwhitespace undisturbed but changing this for the endnotes alone? Some parameter to be specified in \setupnote, \setupnotation or one of its friends perhaps?

[NTG-context] test on front/body/backmatter

2017-07-14 Thread Meer, Hans van der
Is there a test usable in a macro to determine if one is inside frontmatter, bodymatter, backmatter? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] nested \xmlprocessfile calls

2017-06-13 Thread Meer, Hans van der
In a document a series of xml files is processed. The nodes processed are as usual defined in \xmlsetsetup{#1}\writestatus{}{MARKER}{node1|node2|..}{name:*}\stopxmlsetups \xmlregistersetup{name:setups} The root is called with \xmlprocessfile{root}{filename}{} and has a setup as follows:

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Meer, Hans van der
> On 7 Jun 2017, at 17:45, Alan BRASLAU wrote: > > On Wed, 7 Jun 2017 17:12:44 +0200 > Otared Kavian wrote: > >> The results are correct using \over in both cases, while the first >> one is weird when using \frac and > > I have been massacred on this

Re: [NTG-context] eqalignno failin

2017-04-27 Thread Meer, Hans van der
I had this code: 99 \placeformula\startformula 100 \eqalignno{ 101 >> H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 102 W(I,J) &= H(J) - H(J|I)\qquad&\hbox{\ineq[eq:wedinfo]}\cr 103 } 104 \stopformula On 26 Apr 2017, at 16:38, Otared Kavian

[NTG-context] eqalignno failing

2017-04-26 Thread Meer, Hans van der
This code now fails where before contextbeta had no problems: tex error > tex error on line 101 in file Info/waarneming.tex: ! Misplaced alignment tab character & & l.101 H(I,J) & = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 99 \placeformula\startformula 100

Re: [NTG-context] location of command reference

2017-04-16 Thread Meer, Hans van der
wing path: > tex/texmf-context/doc/context/documents/general/qrcs > > On 15 Apr 2017, at 11:10, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 04/14/2017 03:09 PM, Meer, Hans van der wrote: >> Where is the handy Command Reference to be found in the beta distribution? >&

Re: [NTG-context] Finding OSX fonts

2017-04-14 Thread Meer, Hans van der
> On 14 Apr 2017, at 20:04, Henning Hraban Ramm <te...@fiee.net> wrote: > > Am 2017-04-14 um 14:43 schrieb Meer, Hans van der <h.vanderm...@uva.nl>: > >> OK, --pattern instead of pattern. But then still nothing: >> >> 122 texmf: mtxrun --sc

[NTG-context] location of command reference

2017-04-14 Thread Meer, Hans van der
Where is the handy Command Reference to be found in the beta distribution? I do not see it in ./tex/texmf-context/doc/context/documents/general/manuals and could not spot it elsewhere. This is but an old one [cid:DC85F3AF-C98C-4991-8D72-D1B7A5E32800] . Hans van der Meer

Re: [NTG-context] Finding OSX fonts

2017-04-14 Thread Meer, Hans van der
On 14 Apr 2017, at 12:31, Henning Hraban Ramm <te...@fiee.net<mailto:te...@fiee.net>> wrote: Am 2017-04-14 um 11:38 schrieb Meer, Hans van der <h.vanderm...@uva.nl<mailto:h.vanderm...@uva.nl>>: mtxrun --script fonts --list pattern="Comic*" --all it’s --pattern

Re: [NTG-context] Inline stacking of text

2017-04-14 Thread Meer, Hans van der
The following was in answer to 3/11/2017 4:52 PM, Pavneet Arora: On 13 Mar 2017, at 00:27, Hans Hagen > wrote: \starttext \start \definefont[whatever][Sans at 50pt] \dontleavehmode\inframed [foregroundstyle=whatever,

[NTG-context] Finding OSX fonts

2017-04-14 Thread Meer, Hans van der
I tried in vain to list the MacOSX fonts in mtxrun. In my .bashrc set: OSFONTDIR=$HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts export OSFONTDIR Then issuing the following commands: source ~/.bashrc echo $OSFONTDIR /Users/hansm/Library/Fonts:/Library/Fonts:/System/Library/Fonts mtxrun

Re: [NTG-context] XML inclusion

2017-04-12 Thread Meer, Hans van der
On 9 Apr 2017, at 16:42, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 4/7/2017 1:42 PM, Meer, Hans van der wrote: The command \xmlinclude{}{}{} includes the file specified by attribute IDENTIFIER of the element located by LPATH at NODE. What I would like to do

[NTG-context] XML inclusion

2017-04-07 Thread Meer, Hans van der
The command \xmlinclude{}{}{} includes the file specified by attribute IDENTIFIER of the element located by LPATH at NODE. What I would like to do is including a bunch of .xml files where the directory to load from is given. Is this a possibility or could this be a feature added to the ConTeXt

Re: [NTG-context] directlua in xml-environment

2016-11-14 Thread Meer, Hans van der
> On 13 Nov 2016, at 18:23, Hans Hagen <pra...@wxs.nl> wrote: > > On 11/13/2016 2:56 PM, Meer, Hans van der wrote: >> Here is something I do not understand. Possibly I am doing something wrong. >> >> The following code is fine, within <<>> the curre

[NTG-context] directlua in xml-environment

2016-11-13 Thread Meer, Hans van der
Here is something I do not understand. Possibly I am doing something wrong. The following code is fine, within <<>> the current contextversion is printed. \def\mymacro{\directlua{tex.print("\\contextversion")}} \starttext calling mymacro <<\mymacro>>\par \stoptext However calling

[NTG-context] \xmlchainatt behaviour

2016-11-11 Thread Meer, Hans van der
I might be doing wrong, but for now I have the strong impression that \xmlchainatt is at fault. It does not break the callchain as soon as a match is found. Also according the manual xml-mkiv, \xmlchainatt{#1}{testx}{no-test} should return "no-test" but returns nothing. I would very much helped

[NTG-context] indenting and whitespace in framedtext

2016-11-09 Thread Meer, Hans van der
Quoting from the command reference: \startframedtext inherits \setupframedtext and \setupframedtext ... indenting = inherits \setupindenting I interprete this as \setupindenting is carried to the inside of the framedtext but this thus not happen. Instead one explicitely sets it on the call of

Re: [NTG-context] indenting

2016-11-09 Thread Meer, Hans van der
Indeed! But it is a bit surprising that the default space for turning on indenting is identing by zero. Hans van der Meer On 9 Nov 2016, at 11:38, Mikael P. Sundqvist <mic...@gmail.com<mailto:mic...@gmail.com>> wrote: On Wed, Nov 9, 2016 at 11:12 AM, Meer, Hans van der <h.va

[NTG-context] indenting

2016-11-09 Thread Meer, Hans van der
I do not understand why this is not indented by the latest ConTeXt beta. Neither do options [yes] or [first] on \setupindenting. Hans van der Meer \setupindenting[always] \setupwhitespace[big] \starttext \ConTeXt version = \contextversion Text fot testing indenting of praragraphs. A lot of

Re: [NTG-context] context xml manual

2016-10-12 Thread Meer, Hans van der
be better (iff I do understand correctly) \xmlprocessbuffer{NAME}{BUFFER}{XMLSETUP} Hans van der Meer > On 12 Oct 2016, at 16:54, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Meer, Hans van der 12. Oktober 2016 um 16:49 >> Did a small disaster ha

[NTG-context] context xml manual

2016-10-12 Thread Meer, Hans van der
Did a small disaster happen in typesetting the XML manual? I find "MISSING SETUP"s all over the place. See the sample page. This is ConTeXt ver: 2016.10.08 00:11 MKIV beta Hans van der Meer xml-mkiv-page.pdf Description: xml-mkiv-page.pdf

[NTG-context] loading and executing xml-buffer

2016-10-12 Thread Meer, Hans van der
I did not succeed in on-the-fly loading data from an xml-buffer and subsequently executing its content. The accompanying minimal example of a shows what I strive to accomplish. The node contains the buffered data (abc meant to be set in bold) and node executing the typesetting. As can be

[NTG-context] buffering inside xmlsetups

2016-10-11 Thread Meer, Hans van der
A problem I am obviously not able to solve. It can be described as follows. I have an xmlsetup .. that typesets texcode embedded in an xml document. Now it is needed to embed initializing a buffer and typesetting lateron with \getbuffer. Alas, doing the following does not woek:

Re: [NTG-context] \showmathfontcharacters ?

2016-10-10 Thread Meer, Hans van der
> On 10 Oct 2016, at 18:18, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Meer, Hans van der 10. Oktober 2016 um 18:07 >> Put at front of the test document >> \usemodule[math-repertoire] >> \setupbodyfont[modern,12pt] Already d

Re: [NTG-context] \showmathfontcharacters ?

2016-10-10 Thread Meer, Hans van der
"Too many }'s"? (3) \showmathfontrepertoire 2067 pages output, one character a page So about (1) and (2) I do not understand what happens. Hans van der Meer > On 10 Oct 2016, at 14:44, Hans Hagen <pra...@wxs.nl> wrote: > > On 10/10/2016 12:55 PM,

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

Re: [NTG-context] \showmathfontcharacters ?

2016-10-10 Thread Meer, Hans van der
On 09 Oct 2016, at 15:51, Hans Hagen <pra...@wxs.nl<mailto:pra...@wxs.nl>> wrote: On 10/9/2016 1:07 PM, Meer, Hans van der wrote: Not more than 3 years ago the addition of \usemodule[math-10] solved the Undefined control sequence error for \showmathfontcharacters. But at least in

Re: [NTG-context] MKIV caption separator, revisited

2016-10-10 Thread Meer, Hans van der
Thanks I did not know the correct designations for the various parts of the captionlabel: the prefixconnector and the numberstopper. It is clear now. Hans van der Meer On 10 Oct 2016, at 10:40, Wolfgang Schuster > wrote:

Re: [NTG-context] Last version standalone ConTeXt issue.

2016-10-10 Thread Meer, Hans van der
This is an interesting feature for handling a call to an undefined macro (as might result from \csnam#1\endcsname, for example. > > \starttext > > \startluacode > > function interfaces.defined(name) >return token.get_cmdname(token.create(name)) ~= "undefined_cs" > end > > if

Re: [NTG-context] MKIV caption separator, revisited

2016-10-10 Thread Meer, Hans van der
com<mailto:schuster.wolfg...@gmail.com>> wrote: Meer, Hans van der<mailto:h.vanderm...@uva.nl> 9. Oktober 2016 um 14:36 Is this still valid? Using \setupcaptions[prefixconnector=-] doesn't seem to make a difference for \startplacefigure. Do you have a

Re: [NTG-context] Slides/material from the Context User Meeting

2016-10-09 Thread Meer, Hans van der
Is there a list of the recently new and updated ones? Because to download all of the files on the overview page might be a massive overkill for me. Alas, the entries in the list do not have a production date attached. Hans van der Meer On 09 Oct 2016, at 17:19, Mohammad Hossein Bateni

Re: [NTG-context] MKIV caption separator, revisited

2016-10-09 Thread Meer, Hans van der
Is this still valid? Using \setupcaptions[prefixconnector=-] doesn't seem to make a difference for \startplacefigure. Hans van der Meer On 22 Apr 2014, at 08:25, Wolfgang Schuster > wrote: Am 22.04.2014 um 02:57 schrieb Rik

Re: [NTG-context] \showmathfontcharacters ?

2016-10-09 Thread Meer, Hans van der
Not more than 3 years ago the addition of \usemodule[math-10] solved the Undefined control sequence error for \showmathfontcharacters. But at least in ConTeXt ver: 2016.07.23 13:35 this problem cropped up again. Where is \showmathfontcharacters defined nowadays? Hans van der Meer > On 01 May

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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] 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] 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]{%

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

[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

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

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

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

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

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

  1   2   >