[NTG-context] DTD's and XML-ConTeXt question

2018-05-23 Thread Hans van der Meer
sed by \xmlprocessfile{}{included-file}{} nor nor is substituted. So, what am I doing wrong here? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] \textrule location

2018-05-22 Thread Hans van der Meer
of for example \textrule[location=left] is to insert a blank line after the rule. I am missing something or isn’t this possible? Hans van der Meer ___ If your question is of interest to others as well, please add an entry

[NTG-context] parent of xml-node

2018-08-28 Thread Hans van der Meer
With \xmltag{#1} one can find the identity of the current node. But how can I find the tag of the parent node? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] parent of xml-node

2018-08-28 Thread Hans van der Meer
Thanks. Just what I needed to suppress expansion of a node below a certain node level. > On 28 Aug 2018, at 22:17, mf wrote: > > >> With \xmltag{#1} one can find the identity of the current node. But >> how can I find the tag of the parent node? >> >> dr. Ha

[NTG-context] index with more than one column?

2018-08-26 Thread Hans van der Meer
the columns envirenment, produce the result wanted. The \startsimplecolumns[n=2] environment did produce two columns, but then played havoc with the textheight. dr. Hans van der Meer ___ If your question is of interest

Re: [NTG-context] future versions

2018-07-24 Thread Hans van der Meer
not being able to propose concrete suggestions at the moment, I hope this post will incite those more knowledgeable than me, to do so. They are thanked beforehand. Hans van der Meer > On 24 Jul 2018, at 20:43, Hans Hagen wrote: > > Hi, > > Around the upcoming context meeting we ex

Re: [NTG-context] title of index

2018-07-19 Thread Hans van der Meer
Thanks. Putting \placeregister[index] inside a \startchapter[title=\mytitle{}]-\stopchapter pair does the ttrick. > On 19 Jul 2018, at 14:19, Rik Kabel wrote: > > On 7/19/2018 07:54, Hans van der Meer wrote: >> The macro \completeregister[index] placed in >> \startbackm

[NTG-context] title of index

2018-07-19 Thread Hans van der Meer
The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I change and format with my custom macro the part “Index”? Such as using \mytitle{xyz} instead of Index? No solution found in the Context Wiki. dr. Hans van der Meer

[NTG-context] removing and reinstating xmlsetup's

2018-08-29 Thread Hans van der Meer
Doing: \xmlremovesetup{SETUP} does not seems to have an effect. Is it possible to deactivate a xml setup and reinstate at at a later point in time? dr. Hans van der Meer ___ If your question is of interest

[NTG-context] for-loop

2018-08-30 Thread Hans van der Meer
Sorry to ask, but I forgot how to execute a (for)-loop in an environment where \loop..\repeat gives the error: ! Undefined control sequence \loop #1\repeat ->\def \@@plnbody {#1}\@@plniterate dr. Hans van der M

[NTG-context] unknown library

2018-09-05 Thread Hans van der Meer
something? If so, then what? Underfull \hbox (badness 1014) in paragraph at lines 7--7 []<15: cambria @ 10.0pt> adres[] fonts > typescripts > unknown library 'normal' fonts > typescripts > unknown library 'normal' pages > flushing realpage 108, userpage

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wik

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
I looked into the modem: no port filtering set up there. > On 7 Sep 2018, at 17:25, Alan Braslau wrote: > > rsync uses port 873 > > This often gets blocked at many sites. > > Alan > >> On 7 Sep 2018, at 17:17, Hans van der Meer wrote: >> >> Trie

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
Did this, see below, > On 7 Sep 2018, at 17:16, Mojca Miklavec > wrote: > > On Fri, 7 Sep 2018 at 17:08, Hans van der Meer wrote: >> >> If I connect in the browser to >> contextgarden.net/minimals/setup/$platform/bin (platform set to my osx-64) >> it gi

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
ithout problems. >> >> >> $ rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh >> . >> first-setup.sh >> >> sent 38 bytes received 4826 bytes 3242.67 bytes/sec >> total size is 4715 speedup is 0.97 >> >> >

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
ere > in between. The machine itself is definitely running. > > Best wishes, > Taco > >> On 7 Sep 2018, at 13:13, Hans van der Meer wrote: >> >> Still not working. this is the full script, I didn’t change the rsync line >> since last time it ran ok:

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
now. Any ideas perhaps? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context we

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
826 bytes 3242.67 bytes/sec > total size is 4715 speedup is 0.97 > > > Wolfgang > > > Hans van der Meer schrieb am 07.09.18 um 16:25: >> Clicking on contextgarden.net <http://contextgarden.net/> brings up the >> garden in the browser. The site therefore is

[NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
moved since my last access this June? At least this link is still active at the moment: http://wiki.contextgarden.net dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry

[NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Hans van der Meer
ocated in \inmargin. It would be nice if this can be resolved, because in procession some 500 \inmargin’s the log is cluttered with all these messages. dr. Hans van der Meer ___ If your question is of interest to others a

[NTG-context] setuptyping

2018-09-10 Thread Hans van der Meer
: Adobe PDF document typingsetup.tex Description: Binary data . dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Hans van der Meer
/tex/texmf-context/doc/context/documents/general/manuals mkiv_base -> tex/texmf-context/tex/context/base/mkiv 4 context-47: > On 7 Sep 2018, at 11:50, Mojca Miklavec > wrote: > > On Fri, 7 Sep 2018 at 11:11, Hans van der Meer wrote: >> >> This used to gi

Re: [NTG-context] contextbeta moved or server down? SOLVED

2018-09-08 Thread Hans van der Meer
others the same headache. Finally I wish to thank those who helped me search the culprit, especially Mojca who spent an hour with me on this case. > On 7 Sep 2018, at 11:10, Hans van der Meer wrote: > > This used to give me the latest contextbeta: > rsync -ptv rsync://contextgarden.

Re: [NTG-context] contextbeta moved or server down? SOLVED

2018-09-08 Thread Hans van der Meer
http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ dr. Hans van der Meer ___

[NTG-context] picking up parameters from mtxrun

2018-09-08 Thread Hans van der Meer
van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl

Re: [NTG-context] removing and reinstating xmlsetup's

2018-08-30 Thread Hans van der Meer
> On 30 Aug 2018, at 00:53, Hans Hagen wrote: > > On 8/29/2018 5:54 PM, Hans van der Meer wrote: >> Doing: \xmlremovesetup{SETUP} >> does not seems to have an effect. >> Is it possible to deactivate a xml setup and reinstate at at a later point >> i

[NTG-context] xmlchainatt and xmllastatt

2018-09-11 Thread Hans van der Meer
for a while, because I understood the manual otherwise. Vide the minimal example given. dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Fwd: xmlchainatt and xmllastatt

2018-09-11 Thread Hans van der Meer
Sorry, wrong button. Now with the attachments.Begin forwarded message:From: Hans van der Meer <havdm...@ziggo.nl>Subject: xmlchainatt and xmllastattDate: 11 September 2018 at 10:13:25 CESTTo: NTG ConTeXt <ntg-context@ntg.nl>I found at best an inconsistency in the xml-mkiv manual and

Re: [NTG-context] goto reference

2018-04-18 Thread Hans van der Meer
or should I do something else? dr. Hans van der Meer > On 18 Apr 2018, at 21:58, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > > For documents on the web you can add #page= to the url. > > \setupinteraction[state=start] > > \starttext > \goto{Begin

[NTG-context] goto reference

2018-04-18 Thread Hans van der Meer
? Or is this a wish not to be fulfilled? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
Thanks, for verifying the behaviour. A pity it does not work as I hoped for, but it is not disastrous, of course :-) dr. Hans van der Meer > On 19 Apr 2018, at 10:12, Otared Kavian <ota...@gmail.com> wrote: > > Hi, > > I tested your example (after giving some local path

Re: [NTG-context] goto reference

2018-04-19 Thread Hans van der Meer
file but at last page opened (3) local path does not open and brings up an Alert Run from TeXShop and also directly in Preview and Adobe Reader with the same results. Thanks in advance. dr. Hans van der Meer \starttext \currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank Testing

[NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
ext xml-entity.pdf Description: Adobe PDF document dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailm

Re: [NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
Indeed. I should have known better. Temporary attack of brain weakness, I suppose. For those who want to see for themselves, the minimal example below will do. dr. Hans van der Meer % test character entity. \startxmlsetups demo:entity \xmlsetsetup{#1}{root}{demo:entity

[NTG-context] xmlpos not enough for me

2018-04-24 Thread Hans van der Meer
> inside it \xmlpos{#1} will return 5 but I would like 2> Can this be accomplished already or does it require a new API? dr. Hans van der Meer ___ If your question is of interest to others as well,

[NTG-context] doiffile

2018-04-25 Thread Hans van der Meer
? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http

Re: [NTG-context] linking to an external PDF file

2018-10-08 Thread Hans van der Meer
I am embedding links to an UR in my documents. Although it is used in XML-documents, you might be able to use the gist of this code that generates a clickable link. Perhaps you find it useful. dr. Hans van der Meer % Return the code when clicking the link. \def\URIReturnCode#1{\ctxlua

[NTG-context] hyphenation

2018-10-26 Thread Hans van der Meer
. dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http

Re: [NTG-context] \framed regression

2018-10-30 Thread Hans van der Meer
> > So, \offinterlineskip disables the interline skip completely? Indeed, it is just plain TeX. In order to inhibit the interline glue in front of the next line only, use \nointerlineskip. dr. Hans van der Meer > On 30 Oct 2018, at 14:08, Henning Hraban Ramm wrote: > > Am 2

Re: [NTG-context] double followtokens?

2019-01-01 Thread Hans van der Meer
is not clear to me. dr. Hans van der Meer > On 8 Apr 2018, at 16:41, Hans Hagen wrote: > > On 4/8/2018 12:11 AM, Pablo Rodriguez wrote: >> On 04/07/2018 11:25 PM, Hans Hagen wrote: >>> On 4/7/2018 11:04 PM, Pablo Rodriguez wrote: >>>>

Re: [NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
Bedankt Taco. Maar had ik dit kunnen weten? met vriendelijke groet dr. Hans van der Meer > On 3 Jan 2019, at 10:49, Taco Hoekwater wrote: > > It needs ‘each’ instead of an empty group: > > \setupitemgroup[itemize][each][3,joinedup,packed][color=blue,inbetween=] > >

[NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
I cannot get the general setup macros of itemize right. I suppose I am missing some clues although I tried to follow the Command Reference distributed with the contextbeta. Here my minimal working example. dr. Hans van der Meer itemizesetup.pdf Description: Adobe PDF document

Re: [NTG-context] textext with plain MetaFun

2019-01-21 Thread Hans van der Meer
The following always worked for me: \starttext \startMPpage .. metapost code .. \stopMPpage \stoptext and delivered from a ConTeXt-run a separate pdf. dr. Hans van der Meer > On 21 Jan 2019, at 09:43, Henri Menke wrote: > > On 1/21/19 9:29 PM, Hans Hagen wrote: >> On 1/

[NTG-context] finding content of xml elements

2018-12-12 Thread Hans van der Meer
into the XML-tree? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] \xmlfunction

2018-12-12 Thread Hans van der Meer
How can one transmit argument values to \xmlfunction in order to be used by the Lua function called? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] \startnarrower

2018-12-13 Thread Hans van der Meer
Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line second line etc. dr. Hans van der Meer

[NTG-context] searching in nodes

2018-12-12 Thread Hans van der Meer
n("#1","#2",))} But I do not seem to get the node contents in the first argument #1. Using \xmlverbatim{#1} fails with Lua error "hexadecimal digit expected near '"\xm’”. \xmlflushpure{#1} fails with Lua error "invalid escape sequence n

[NTG-context] directlua question

2018-12-04 Thread Hans van der Meer
by the %’s. How to get this working? \textpercent will not do, off course within Luacode. dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] directlua question

2018-12-04 Thread Hans van der Meer
On 4 Dec 2018, at 13:29, Hans van der Meer wrote: > I am trying to extract something from a string with a \directlua call, the > last word of a string in case: > > \directlua{tex.print(string.match(“This is a string","%s%a$"))} > > However, the %s%a a

Re: [NTG-context] 'figures.getinfo()' not to exit ConTeXt

2018-12-06 Thread Hans van der Meer
Are you sure that data is not nil here? If so, this function returns nil. dr. Hans van der Meer > On 6 Dec 2018, at 11:20, Procházka Lukáš Ing. wrote: > > Hello, > > I'm using the following code, mentioned here some time ago, to get some info > about PDF: > &

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Hans van der Meer
Thanks, indeed this does the trick. But I wonder: Has \placefigure then a default [indentnext=no] instead of abstaining from meddling with the indent setting? dr. Hans van der Meer > On 6 Dec 2018, at 21:25, Pablo Rodriguez wrote: > > On 12/6/18 6:10 PM, Hans van der Meer wrote:

[NTG-context] disableXML

2018-12-09 Thread Hans van der Meer
I remember there existed a macro \disableXML, which at this time is undefined. Or does my memory fails me here? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry

[NTG-context] indenting after placefigure

2018-12-06 Thread Hans van der Meer
I used \setupindenting[always,medium]. This works everywhere except after a figure placed with \placefigure. Why does placing the figure suppress the indent after it? And how can this behaviour be changed? dr. Hans van der Meer

Re: [NTG-context] wildcard selection in xmlfilter

2018-09-12 Thread Hans van der Meer
No, never thought of ** instead of *. Also not in my printout of the manual, but that might be fairly outdated. Thanks. By the way, did you see my post on \xmllastatt from yesterday? > On 12 Sep 2018, at 13:23, Hans Hagen wrote: > > On 9/12/2018 1:03 PM, Hans van der M

[NTG-context] coupling node name to xmlsetup

2018-09-12 Thread Hans van der Meer
}}{mysetups:examplehandler} \stopxmlsetups \startxmlsetups mysetups:examplehandler ... \stopxmlsetups But this is either the wrong call or there is something missing, because on input of the examplehandler is not invoked. How to? dr. Hans van der Meer

[NTG-context] xmlstrippednolines

2018-09-17 Thread Hans van der Meer
program completely off track.Questions:Is this the defined behaviour? Then what other means can be used to get the node content and nothing but the node content in both cases?Why does \xmlstrippednolines behaves in this manner? dr. Hans van der Meer test.pdf Description: Adobe PDF document test.tex

[NTG-context] wildcard selection in xmlfilter

2018-09-12 Thread Hans van der Meer
in behaviour makes this impossible, because a general proceudre is impossible and doing a search with * and */* and */*/* etc. always will be one level too short, I expect.Is this intended behaviour, and if so, is there a general solution? dr. Hans van der Meer test.pdf Description: Adobe PDF

[NTG-context] reference manual

2018-09-17 Thread Hans van der Meer
My most recent version of the "ConTeXt reference manual” is Hans Hagen, Taco Hoekwater September 27, 2013. Is there a newer edition available? I could not find one in the (beta) distribution in texmf-context/doc. dr. Hans van der

[NTG-context] Intrusion in footnotes

2019-01-27 Thread Hans van der Meer
De following intrusion of a twocolumn placement of endnotes in the footnote area is to be avoided, of course. The code is: text with footnotes. \placefootnotes \placefloats \startcolumns \placenotes[endnote] \stopcolumns Can this be avoided? How? dr. Hans van der Meer

Re: [NTG-context] Modes and conditional part of the source

2019-03-01 Thread Hans van der Meer
I used \doifmode and friends for selection of mode dependent code. dr. Hans van der Meer > On 1 Mar 2019, at 01:24, Hans Hagen wrote: > > On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote: >> Hello, >> I'm struggling with using modes to make a part of the text conditiona

Re: [NTG-context] ConTeXT install failing [solved]

2019-03-13 Thread Hans van der Meer
operands for a more natural order; here the check is already done. local list = (name and { name }) or (environment.filenames and environment.filenames[1]) or defaultformats dr. Hans van der Meer > On 11 Mar 2019, at 22:53, Hans van der Meer wrote: > > I cannot get ConTeXt working

Re: [NTG-context] LuaJitTeX doesn’t work any more

2019-03-20 Thread Hans van der Meer
Last login: Wed Mar 20 08:23:38 on ttys000 Wed Mar 20 18:17:51 CET 2019 21 ~: cdg 22 Genealogie: contexjit family-note.tex -bash: contexjit: command not found 23 Genealogie: mmm... contextjit doesn't come with the beta install? Or do I miss something? dr. Hans van der Meer > On 20 Mar 2

[NTG-context] ConTeXT install failing

2019-03-11 Thread Hans van der Meer
extformat='context --make en' dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-contex

[NTG-context] Test XML node registration

2019-05-17 Thread Hans van der Meer
\doifelse{\xmltag{#1}}... where the true branch is taken when \xmltag{#1} is one of those registered in the xmlcommon:setups. Is that possible? Then what macro has to be called? dr. Hans van der Meer ___ If your question

[NTG-context] newlines in return Lua string

2019-06-15 Thread Hans van der Meer
.. "\\crlf" .. string2 but the returned \crlf are not executed as such. How to force \crlf's in the executed return? dr. Hans van der Meer ___ If your question is of interest to others as well, please add a

Re: [NTG-context] error in LMTX?

2019-06-11 Thread Hans van der Meer
wrote: (etc.) How this got included? I have no idea. But removing it did not make a difference, even after calling mtxrun --generate. > On 10 Jun 2019, at 22:21, Hans van der Meer wrote: > >> >> On 10 Jun 2019, at 12:04, Hans van der Meer > <mailto:havdm...@ziggo.nl>

Re: [NTG-context] error in LMTX?

2019-06-10 Thread Hans van der Meer
> On 10 Jun 2019, at 12:04, Hans van der Meer wrote: > > This looks to me as an error in the LMTX distribution: > > tex error > tex error on line 6 in file > /Users/hansm/TeX/context-lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv: &g

[NTG-context] error in LMTX?

2019-06-10 Thread Hans van der Meer
\cr Because running under my old ConTeXtBeta does not aborts with the error. system > ConTeXt ver: 2019.06.01 19:11 MKIV beta fmt: 2019.6.4 int: english/english I looked into that file but could not see what causes the error. dr. Hans van de

[NTG-context] inserting figure labels

2019-05-11 Thread Hans van der Meer
[][]{labeltext-3}{\externalfigure[figure3]} % -> Figure 3 labeltext-3 I could not find what macro to call as the instance for \macrocall. dr. Hans van der Meer ___ If your question is of interest to others as well,

[NTG-context] filling page to bottom

2019-05-15 Thread Hans van der Meer
to fill the pages more completely? Because I planned already to examine all pages individually for their appearance, inserting breaks by hand is not the problem here. dr. Hans van der Meer ___ If your question

[NTG-context] Bug or not?

2019-05-16 Thread Hans van der Meer
ound="">\placefigure[][]{\tex{setupframed[background="">\stoptext dr. Hans van der Meer captionshift.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Hans van der Meer
Can I be absolutely sure that \placefigure[here,force] will not invoke the float mechanism, but instead always effects an in-place insertion? dr. Hans van der Meer > On 12 May 2019, at 14:32, Henning Hraban Ramm wrote: > > Am 2019-05-11 um 21:39 schrieb Hans van der Meer <

[NTG-context] endnotes customizing how?

2019-04-09 Thread Hans van der Meer
of the endnotes? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] calling up chapter title

2019-04-26 Thread Hans van der Meer
to be undefined, neither did \chaptertitle. What is the macro to be called? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] how to call chapter title and chapter number

2019-04-26 Thread Hans van der Meer
to be undefined, neither did \chaptertitle. What is the macro to be called? In my previous post I forgot to ask the same question about [chapternumber] where also \chapternumber does not exists. (sorry for the noise) dr. Hans van der Meer

[NTG-context] calling up chapter title

2019-04-26 Thread Hans van der Meer
This does not what I have in mind: \setupheadertexts[text][chapter][\pagenumber chapter][pagenumber][chapter] Instead of [\pagenumber chapter] I thought [\pagenumber \chapter] would give me in the header both the pagenumber and the recorded chapter title. However \chapter turns out to be

Re: [NTG-context] coloring the logfile

2019-08-29 Thread Hans van der Meer
> On 29/08/19 5:35 PM, Henning Hraban Ramm wrote: > This will need engine support but is in principle dead easy. So it seems doable if someone is willing to provide the engine support. I sincerely hope it will be done. With many thanks, of course. dr. Hans van der Meer > On 29 Aug 20

[NTG-context] coloring the logfile

2019-08-28 Thread Hans van der Meer
Is it possible to force lines written in the log with \writestatus to have a specific color? The log can be very substantial and it would be nice to have some lines brought to attention by a different color. dr. Hans van der Meer

Re: [NTG-context] beta

2019-10-02 Thread Hans van der Meer
You can add to the end of the install script: echo "Removing luatex-cache/context" rm -r tex/texmf-cache/luatex-cache/context dr. Hans van der Meer > On 2 Oct 2019, at 15:32, Alan Bowen wrote: > > Hi, Hans— > > The latest lmtx now processes my docs as i

[NTG-context] epub and pdf not the same

2020-03-04 Thread Hans van der Meer
On 3 Mar 2020, at 22:04, Rik Kabel wrote:Instructions for creating the .epub from the export are contained in the log file.In the log comes:    create epub with: mtxrun --script epub --make "kookboek" --purge --rename --svgmathThis I did.The log gives: adding:

Re: [NTG-context] unwanted with epub

2020-03-05 Thread Hans van der Meer
Found the cause in my case: a \penalty0 statement. dr. Hans van der Meer > On 5 Mar 2020, at 03:08, Rik Kabel wrote: > > > > On 3/3/2020 16:51, Hans van der Meer wrote: >> In producing epub s are appearing (on the -raw.xml file) that are >> unwanted and seem

Re: [NTG-context] unwanted with epub

2020-03-05 Thread Hans van der Meer
I was wrong. The \penalty is not the culprit, but it turns out to be the \Word macro that introduces the through a parfillskip_code in the internal list. dr. Hans van der Meer > On 5 Mar 2020, at 09:33, Hans van der Meer wrote: > > Found the cause in my case: a \penalty0 statement

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Hans van der Meer
10.02 12:53 MKIV beta fmt: 2019.10.2 I am doing something wrong here? dr. Hans van der Meer > On 28 Feb 2020, at 12:07, Hans Hagen wrote: > > On 2/28/2020 11:48 AM, Christoph Hintermüller wrote: >> Hi >> Hust not to miss something or mess up every thing. >> Can i

[NTG-context] Why mode not recognized?

2020-03-03 Thread Hans van der Meer
EPUB" Why? dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Hans van der Meer
he output as an .epub file? Some more changes needed? > > On Tue, 3 Mar 2020 19:37:47 +0100 > Hans van der Meer wrote: > >>> >>> and then run with --mode=epub >> >> I am running with: >>mtxrun --autogenerate --mode=epub --script context "$1" &

[NTG-context] unwanted with epub

2020-03-03 Thread Hans van der Meer
In producing epub s are appearing (on the -raw.xml file) that are unwanted and seem spurious to me. For example aftersome macro's. Can someone tell me what triggers a ? In the pdf output such breaks are absent. dr. Hans van der Meer

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Hans van der Meer
> On 3 Mar 2020, at 22:21, Wolfgang Schuster > wrote: > > On Tue, 3 Mar 2020 22:07:51 +0100 > Hans van der Meer wrote: > >> Calling ConTeXt with: >> >> mtxrun --autogenerate --mode=epub --script context "$1" >> >> an

Re: [NTG-context] Is it possible to make xml.load a bit more 'verbose' when it encounters errors?

2020-05-14 Thread Hans van der Meer
}% {\xmlcommand{#1}{.}{xmlcommon:checkxml}} % Execute this code if no error was found. etc. dr. Hans van der Meer \startluacode -- Define our namespace as hvdm hvdm = hvdm or {} -- Function checks the correctness of an XML tree. hvdm.checkXMLtree = function (xml, linesep

Re: [NTG-context] Bug (Lua) ?

2020-03-19 Thread Hans van der Meer
Lua strings can be split across lines by using so called long brackets according to the Lua Reference Manual: [[split string]] or (very first newline ignored): [[ split string]] or with matched levels: [==[ ]==] dr. Hans van der Meer > On 19 Mar 2020, at 14:29, Aditya Mahajan wr

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Hans van der Meer
In Lua patterns % is a socalled magic character like ^$ etc. These are esacped with a %. Thus %% is what you need in the first string. dr. Hans van der Meer > On 27 Aug 2020, at 17:11, Pablo Rodriguez wrote: > > Dear list, > > I have and \xmlraw command that gives some te

Re: [NTG-context] Unwanted whitespace at beginning of document

2020-09-29 Thread Hans van der Meer
Of old I have found the wolf fence tactics useful: Put for example an X at the beginning of a suspected section and somewhat further a Y. OIf they bracket the culprit the offending space will be between them. Otherwise narrow the fence. dr. Hans van der Meer > On 29 Sep 2020, at 14:26, De

[NTG-context] mtxrun exit code

2020-05-29 Thread Hans van der Meer
te the pdf produced, what is my intention in this case. Is this an option or is there presently another (standard) procedure to communicate from ConTeXt to the shell. dr. Hans van der Meer ___ If your question is o

Re: [NTG-context] Best way to store text for later use

2020-09-18 Thread Hans van der Meer
A possibility is saving the data as text in a Lua-table. If you are not afraid to use some Lua, I can send my code for saving files and data for repeated use. dr. Hans van der Meer > On 18 Sep 2020, at 15:36, Denis Maier wrote: > > Hi, > > For typesetting XML I'm wondering ho

Re: [NTG-context] how to with \margindata

2020-07-15 Thread Hans van der Meer
I didn't miss that argument, of course, my actual code was: \margindata[outer][hoffset=\marginoffset] dr. Hans van der Meer > On 15 Jul 2020, at 22:10, Wolfgang Schuster > wrote: > > Hans van der Meer schrieb am 15.07.2020 um 21:48: >> Using the following: >>

[NTG-context] how to with \margindata

2020-07-15 Thread Hans van der Meer
happens, I conclude that the result of the first expansion is lost and is not carried into the actual placement of the marginnote. The question this is: how to solve this problem? dr. Hans van der Meer ___ If your

[NTG-context] please explain

2020-08-06 Thread Hans van der Meer
n to 'suff' and the message goes away.I have put the full set of files inside the zip. dr. Hans van der Meer \setupbodyfont[termes]\starttext%=ConTeXt versie \contextversion \crlf%

Re: [NTG-context] please explain

2020-08-07 Thread Hans van der Meer
> It is because ffi is a multi-part ligature. Indeed, of course. I am getting old, I fear. It kept me awake in bed yesterday until I realised (far too late) it must be the ffi ligature. dr. Hans van der Meer > On 7 Aug 2020, at 09:29, Taco Hoekwater wrote: > > > >>

[NTG-context] lmtx install fails to run

2020-07-09 Thread Hans van der Meer
. An overfsight somewhere? Below the last part of the context --make en run. Mark the lang-mis.mkxl is not found line. met vriendelijke groet dr. Hans van der Meer resolvers > lua > loading file '/Users/hansm/TeX/context-lmtx/tex/texmf-context/tex/context/base/mkiv/node-bck.lua' succeeded

[NTG-context] overfull message

2020-07-03 Thread Hans van der Meer
there a remedy making these messages disappear from the log? dr. Hans van der Meer hbadness.tex Description: Binary data hbadness.pdf Description: Adobe PDF document ___ If your question is of interest to others as well

Re: [NTG-context] Checking existence of a macro (control sequence) by Lua - problem after updating MkIV

2020-06-18 Thread Hans van der Meer
Why can you not simply use one of the doifundefined macro's? Something for example: \doifundefined{ExitStatus}{\gdef\ExitStatus{0}} % default to ok as in UNIX dr. Hans van der Meer > On 18 Jun 2020, at 10:27, Lukas/ConTeXt wrote: > > Hello, > I'm using Hans' macro suggested some

<    1   2   3   4   5   6   7   8   >