Re: [NTG-context] modules not found

2021-09-08 Thread Hans van der Meer via ntg-context
their location in the .bashrc. # The current version of the ConTeXt luametatex in use: CONTEXTLMTX=/Volumes/REALM/TeX/context export CONTEXTLMTX PATH=$CONTEXTLMTX/tex/texmf-osx-64/bin:$PATH ; export PATH dr. Hans van der Meer > On 8 Sep 2021, at 12:46, Hans van der Meer via ntg-context >

[NTG-context] modules not found

2021-09-08 Thread Hans van der Meer via ntg-context
empty line. What happens inside \usemodule to cause this? I confess being baffled. And how to convince ConTeXt to find all my modules? dr. Hans van der Meer ___ If your question is of interest to others as well, plea

Re: [NTG-context] parameters TeX->LuaTeX

2021-09-05 Thread Hans van der Meer via ntg-context
And \ListSort[[abc]]{value} turns out to be worse: doesn't makes it into LuaTeX at all. dr. Hans van der Meer > On 5 Sep 2021, at 10:14, Hans van der Meer via ntg-context > wrote: > > There is something I do not understand in the passing of parameters from TeX > to LuaTex. &

[NTG-context] parameters TeX->LuaTeX

2021-09-05 Thread Hans van der Meer via ntg-context
interface? 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] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans van der Meer via ntg-context
I guess the underlying library calls are from Lua5.4? Then it is perhaps useful to know that between 5.3 and 5.4 there is mentioned a new implementation for math.random. Perhaps it changes the sequence of random values generated? Someone who knows? dr. Hans van der Meer > On 23 Aug 2

Re: [NTG-context] lua

2021-08-17 Thread Hans van der Meer via ntg-context
\else\let\FlushModule\FlushTEX\fi dr. Hans van der Meer > On 17 Aug 2021, at 15:49, Hans van der Meer via ntg-context > wrote: > > Where is this message on luacondition 733 coming from? I would be glad to get > rid of it. The message does not pinpoint the problem locatio

[NTG-context] lua

2021-08-17 Thread Hans van der Meer via ntg-context
s.mkiv' (\end occurred when luacondition 733 on line 8 was incomplete) 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

[NTG-context] file to buffer

2021-08-17 Thread Hans van der Meer via ntg-context
Is it possible to retrieve the contents of a file directly into a buffer? On the Wiki I could not find such a command. That is, equivalent to something like: \startbuffer[from file] contents of the file \stopbuffer dr. Hans van der Meer

[NTG-context] nil from TeX to Lua

2021-08-09 Thread Hans van der Meer via ntg-context
nguishable. This is not always wanted, for example when one needs to place either a nil or an empty string into a Lua table. I am running in trouble when to t.key set to \Macro{} should become nil or when it should become "". Is there some common understanding about how to handle this situation? d

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Hans van der Meer via ntg-context
And in pathological cases where even this does not work (as I encountered a few days ago): \setbox\scratchbox=\vboxx{content}\ifdim\wd\scratchbox>\zeropoint .. \else .. \fi dr. Hans van der Meer > On 2 Aug 2021, at 17:17, Hans Hagen via ntg-context > wrote: > > On 8/2/2021

[NTG-context] date formatting

2021-07-18 Thread Hans van der Meer
mentioned normal behaviour for english. That is [en] and [en-gb] produce the day-month-year order and that [us] and [en-us] month-day-year. dr. Hans van der Meer ___ If your question is of interest to others a

[NTG-context] languages

2021-07-18 Thread Hans van der Meer
. An option I would prefer for clarity, because now the order of calling \language and \mainlanguage makes a difference. dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry

[NTG-context] hang error

2021-07-08 Thread Hans van der Meer
documents. But maybe it is just an error in the distribution. 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

[NTG-context] xmldisplayverbatim

2021-07-08 Thread Hans van der Meer
I get the impression that \xmldisplayverbatim changes ' (apostroph) into and " (quotation mark) into etc. How can I get rid of this translation? I would prefer to have typeset ' and " instead of the entity representations. dr. Hans va

Re: [NTG-context] whiteline before xmldisplayverbatim

2021-07-05 Thread Hans van der Meer
Found the problem: should not be preceded by \crlf but by \par. dr. Hans van der Meer > On 5 Jul 2021, at 19:21, Hans van der Meer wrote: > > I cannot get rid of the whiteline that \xmldisplayverbatim generates before > its output. Changing to other \xmldisplay macro's di

[NTG-context] whiteline before xmldisplayverbatim

2021-07-05 Thread Hans van der Meer
out: no change \xmldisplayverbatim{#1} \stopxmlsetups result, see the empty lines between abc and the \new.. dr. Hans van der Meer ___ If your question is of interest to others as well, please add an en

[NTG-context] Bug in Luatex file handling?

2021-06-15 Thread Hans van der Meer
in LuaTeX. The lines with and >>>> directly come from print statements inserted in the Lua code. dr. Hans van der Meer Open file in directory 1 and 2 levels deep - direct call succeeds ..io.open("events/hga-0372-345-62.xml","r")=>file (0x7fff97415f88) ...

[NTG-context] keep text strictly inside box

2021-06-07 Thread Hans van der Meer
. 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://www.pragma

[NTG-context] frameoffset in textbackground?

2021-06-07 Thread Hans van der Meer
In the following MWE for a textbackground the parameter backgroundoffset has the expected effect. But for positive values only. A backgroundoffset=-10pt has no visible effect.But the real problem is the parameter frameoffset. No effect at all, whatever frameoffset= is set to. dr. Hans van der Meer

[NTG-context] setup parameter problem

2021-06-07 Thread Hans van der Meer
here. What? \def\Macro{\dosingleargument\doMacro} \def\doMacro[#1]#2{#1X#2} The code below shows that it should be possible. \startsection[title=\Macro{arg} no braces needed]\stopsection \startsection[title={\Macro[arg1]{arg2} enclosed in braces}]\stopsection \stoptext dr. Hans van der Meer

[NTG-context] yscale not working

2021-06-05 Thread Hans van der Meer
scaling.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/mailman

Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
Thanks. This helps. dr. Hans van der Meer > On 30 May 2021, at 13:40, Adam Reviczky wrote: > > Hi Hans, > > Does this help: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > > <https://tex.stackexchange.com/qu

[NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
With \pagenumber I can call up the current pagenumber and typeset it. But \chapternumber is not defined. How can I typeset the current chapternumber or even the current chapternumber.sectionnumber.subsectionnumber, for example? dr. Hans van der Meer

[NTG-context] no leavevmode

2021-05-27 Thread Hans van der Meer
\crlf ghi jkl xyz \stopsubsection 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

[NTG-context] setupindentations

2021-05-27 Thread Hans van der Meer
This macro \setupindentations is mentioned in my ConText the manual from november 12, 2001. It seems to have disappeared. Is that so? Then why? What replacement? dr. Hans van der Meer ___ If your question

[NTG-context] font message?

2021-04-26 Thread Hans van der Meer
What does it mean? Is there something I should do? 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.n

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread Hans van der Meer
>> Is there a best practice for ConTeXt source files, at all? Readable code is not just about formatting. Adding clear and complete comments that document the code can be considered even more important. dr. Hans van der Meer > On 24 Apr 2021, at 13:55, Henning Hraban Ramm wrote: &g

Re: [NTG-context] nbsp in XML (S01E01)

2021-04-21 Thread Hans van der Meer
> Why tilde is displayed? Wouldn't the simple answer not be: because XML is not TeX? dr. Hans van der Meer > On 21 Apr 2021, at 20:17, Jano Kula wrote: > > Dear list, > > first episode of series on nbsp of XML in lmtx. > Unfortunately, not that catchy as Netflix. >

Re: [NTG-context] autopdf on MacOS?

2021-04-15 Thread Hans van der Meer
Thanks. At least worked twice  met vriendelijke groet dr. Hans van der Meer > On 15 Apr 2021, at 11:45, Henning Hraban Ramm wrote: > > > >> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : >> >> When running the command: context --autopdf --run myfile.tex

[NTG-context] autopdf on MacOS?

2021-04-15 Thread Hans van der Meer
to the Preview application. It something wrong here? Is it not functional in MacOS? Am I missing some clue? met vriendelijke groet dr. Hans van der Meer ___ If your question is of interest to others as well, please add

Re: [NTG-context] latest lmtx, \startitemeze and Multipage TABLEs no longer works

2020-11-16 Thread Hans van der Meer
Shouldn't it be \startitemize ? Or is there another problem? dr. Hans van der Meer > On 16 Nov 2020, at 14:29, Bertrand Masson wrote: > > Hello > With the latest version of lmtx (ConTeXt ver: 2020.11.04 09:40 LMTX fmt: > 2020.11.14) \ startitemeze [2] no longer works. Bullet

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

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

2020-06-24 Thread Hans van der Meer
\\currentdate Neat solution, worked without a hitch. Now I have to remember this for future use ... dr. Hans van der Meer > On 24 Jun 2020, at 21:10, Hans Hagen wrote: > > On 6/24/2020 9:00 PM, Hans van der Meer wrote: >> How can the crash in the minimal example he

[NTG-context] explain please

2020-06-24 Thread Hans van der Meer
How can the crash in the minimal example here be explained? And is there a solution to avoid this and make the crash going away "without having to jump through special hoops"? dr. Hans van der Meer currentdate.pdf Description: Adobe PDF document currentdate.tex Description: B

[NTG-context] loading xml error

2020-06-23 Thread Hans van der Meer
MLProcessBuffer{#1}% % simply does an \xmlprocessbuffer{}{}{} } The following buffer gives the error: \startbuffer[german] \stopbuffer \loadvocabularyfrombuffer{german} But the others below are ok and load as expected. \startbuffer[german] \stopbuffer and \startbuffer[german] \stop

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

Re: [NTG-context] problem since previous versions

2020-06-07 Thread Hans van der Meer
,% ... ]% and I checked that it had the value: center. But if you are interested, I can send you the module code. dr. Hans van der Meer > On 7 Jun 2020, at 12:20, Wolfgang Schuster > wrote: > > Hans van der Meer schrieb am 07.06.2020 um 12:07: >> A problem has arisen up since previo

[NTG-context] problem since previous versions

2020-06-07 Thread Hans van der Meer
box makes the error disappear. Thanks for looking into it, because my work more or less depends on this code working in good order. dr. Hans van der Meer ___ If your question is of interest to others as well, please add

[NTG-context] errors in margindata?

2020-06-07 Thread Hans van der Meer
its definition l.9 \margindata{ text1}% One has to use \margindata[]{test} to avoid the error.(2) \margindata[]{test} has spurious whitespace,  \margindata[]{test}% must be used to avoid that.Below the minimal example and the output. met vriendelijke groetdr. Hans van der M

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

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

[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

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

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

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

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

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

[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

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

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

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

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

[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

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

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

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

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

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

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

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

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

  1   2   3   4   5   6   7   >