Re: [NTG-context] Compiling a large metapost document

2022-06-02 Thread Thomas A. Schmitz via ntg-context
On 01.06.22 23:30, Stefan Nedeljkovic wrote: I Tried editing the file context/tex/texmf/web2c/texmfcnf.lua, and running context --generate, context --make, but the error persists. I'm new to context and I don't know how to configure this file. Running --usage reveals in the log that the

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Thomas A. Schmitz via ntg-context
On 6/1/22 22:15, Stefan Nedeljkovic via ntg-context wrote: The problem *is* the file size. There is not a minimal example, because everything works when there is less drawdot commands. There is 125000+ drawdot commands in the file. The run ends with the message: If you really absolutely need

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Thomas A. Schmitz via ntg-context
On 6/1/22 19:35, Stefan Nedeljkovic via ntg-context wrote: Sorry, i just updated the file, should now compile, but fail due to resources. Are the configuration options to context that would enable this file to be compiled? The question still stands: what do you expect us to do? Hunt for a

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread Thomas A. Schmitz via ntg-context
> On 5. Apr 2022, at 13:02, mf via ntg-context wrote: > > Is it possible to solve it globally and only for a single font? > > Thanks, > Massi Have you looked at chapter 5.4 “Goodies” of fonts-mkiv.pdf? That should get you started. Thomas

Re: [NTG-context] Xml - Lua - context

2022-03-28 Thread Thomas A. Schmitz via ntg-context
> On 28. Mar 2022, at 18:21, Adam Reviczky via ntg-context > wrote: > > Hi Thomas, > > Not sure whether it helps or not, but in regards to combinations and Lua I > have had some challenges as well, but Hans' and Wolfgangs' solution with > externalfigures works fine for me now: > >

[NTG-context] Xml - Lua - context

2022-03-28 Thread Thomas A. Schmitz via ntg-context
And here comes question 2, a very basic one: on A4 landscape pages, I want to place two images next to each other (like the spread pages of a book). What would be the preferred way of the really competent users to do this, again keeping in mind that I want to loop over page numbers in a pdf

[NTG-context] Xml - lua - context

2022-03-28 Thread Thomas A. Schmitz via ntg-context
Dear all, For a small project, I have two questions (without MWE…) on processing xml via Lua and context. I’ll write two messages so eager volunteers can reply more easily! So question one: given an xml structure like this Introduction: the Iliad Introduction:

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread Thomas A. Schmitz via ntg-context
> On 26. Mar 2022, at 16:42, Denis Maier via ntg-context > wrote: > > I think you've done that already ... Oh my goodness, I’m getting too old for this… Thanks for pointing that out! [Historical context: the Greek scholar Didymus had several nicknames. One was Chalcenterus “Bronze-Guts”

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread Thomas A. Schmitz via ntg-context
Hi Amine, The bibliography subsystem is rather complex, and Alan, who has worked with Hans on support for APS and APA, wants to do things the right way, which means he wants to code for all corner cases. From my own experience: it is difficult to just copy and modify the existing publ-imp-XXX

Re: [NTG-context] Trying to get a simple bibliography

2022-03-26 Thread Thomas A. Schmitz via ntg-context
> On 26. Mar 2022, at 14:04, A A via ntg-context wrote: > > The next question I guess is whether ConTeXt support other specs like MLA or > Chicago style. I tried MLA but without sucess. Is MLA possible in ConTeXt? One (admittedly far-fetched) possibility would be to read the documentation.

Re: [NTG-context] Force a hyphenation

2022-03-16 Thread Thomas A. Schmitz via ntg-context
Hi Willi, I must admit that after the reform some 20 years ago, I'm no longer certain about German rules. But I think that in fact, according to the new rules, ß is no longer hyphenated the way you suggest. Duden § 164.3: "Ein einzelner Konsonantenbuchstabe im Wortinneren kommt in der Regel

Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-15 Thread Thomas A. Schmitz via ntg-context
> On 15. Mar 2022, at 15:03, Gavin via ntg-context wrote: > > JP and Bruce, > > Do either of you have the new upload working on an M1 Mac? > > I appreciate the ideas, but I’m not entirely new to this. I’ve kept several > different ConTeXt installations. I can run them from terminal or

Re: [NTG-context] PageNumber in MetaFun

2022-03-02 Thread Thomas A. Schmitz via ntg-context
On 3/2/22 13:05, Marco Patzer via ntg-context wrote: LMTX 2022.01.21 20:13 produces a rectangle on page 2, an older MkIV produces a circle on page 2. Is this expected behaviour? Marco This has changed some time ago; try "RealPageNumber" instead of "PageNumber." Thomas

Re: [NTG-context] How to make an in-text list without periods

2022-01-23 Thread Thomas A. Schmitz via ntg-context
This is a FAQ: you can't mix keywords and assignments, hence: \startitemize [n,text] [stopper=] Thomas On 23.01.22 21:05, Joel via ntg-context wrote: Strangely when I use `\startitemize[text, n, stopper=]`, which I hoped would make the period go away, I just get a regular bulleted list, it

Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Thomas A. Schmitz via ntg-context
On 16.01.22 15:56, Otared Kavian via ntg-context wrote: Hi Aditya, Some time ago I reported an issue with LMTX regarding your visual counter (at least the version used in the simpleslides module). Now I think I have found where the issue comes from: it is due to the fact that somehow the

Re: [NTG-context] Critical Editions?

2022-01-04 Thread Thomas A. Schmitz via ntg-context
I basically agree with everything you say, Jean-Pierre. Publishers are modern-day robber barons, and they have been stifling and exploiting scholars and scholarship for many years now. Behemoths such as Brill, de Gruyter, or Elsevier are bankrupting libraries in the entire world. However, we

Re: [NTG-context] Critical Editions?

2022-01-04 Thread Thomas A. Schmitz via ntg-context
> On 3. Jan 2022, at 10:43, hanneder--- via ntg-context > wrote: > > While the system is ingenious > and a great relief (for we do not have to work with xml directly), I am also > critical about these > new demands, because they force us to use a fairly complex system for > sometimes quite

Re: [NTG-context] adjusting vertical space

2021-11-25 Thread Thomas A. Schmitz via ntg-context
On 11/25/21 00:06, jbf via ntg-context wrote: The following MWE You do know what MWE stands for, right? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Thomas A. Schmitz via ntg-context
On 11/12/21 18:13, Henning Hraban Ramm via ntg-context wrote: You’re right, tabular numbers are nonproportional. I meant versal (“normal”) numbers in opposite of oldstyle (mediaeval) numbers. I think there are two mutually exclusive feature pairs that you're mixing up: lnum vs onum:

[NTG-context] Something smells rotten in the state of luametatex...

2021-10-08 Thread Thomas A. Schmitz via ntg-context
Hi all, I have a document here for one of my classes: xml processed via context, some layers, some two column paragraphs, a bibliography, nothing out of the ordinary. With mkiv, it compiles cleanly: mkiv lua stats > used engine: luatex version: 1.13, functionality level: 7420, banner:

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
Thank you so much, Hans, that's a neat solution! I was banging my head against the wall, but this makes sense. On 10/5/21 6:38 PM, Hans Hagen wrote: Because you know how to rotate and scale: \startuseMPgraphic{empedocless} path p, q, r ; pair a ; p := fullcircle scaled 10cm ; drawarrow p   

[NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
Hi all, I hope the following example is not too convoluted: \useMPlibrary [txt] \define\EmpArrow{\getscaledglyph{1.6}{name:dejavumath}{\char"2B05}} \setupbodyfont [ss,9pt] \starttext \startuseMPgraphic{empedocles} %numeric a ; a = 6.56cm ; %numeric b ; b = 1.1 ; save S; path S[] ; S[1] =

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Thomas A. Schmitz via ntg-context
> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context > wrote: > > Thanks for the example and the fix, but I would rather think that the « > french » part of ordinals should be > > french = function(n) > if n == 1 then > return « er" >

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Thomas A. Schmitz via ntg-context
To get you started: the APA standards are defined in publ-imp-apa.mkvi and publ-imp-apa.lua. You could try and copy these files to different names (beginning with publ-imp-) and then make changes. You’ll have to replace the “apa:” prefix with the name you give your own style. From my

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Thomas A. Schmitz via ntg-context
On 7/31/21 4:06 PM, Pablo Rodriguez via ntg-context wrote: BTW, I cannot get simpleslides working with LMTX. I had to make some slight adjustments but have been to lazy to upload a new and improved version. One reason being that I can't remember my username and password for the modules

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Thomas A. Schmitz via ntg-context
On 7/31/21 3:27 PM, Jeroen via ntg-context wrote: Is there an easy way to write a Context document and also code simpleslides in the same document so that the simpleslides are automatically added to the document as for example an appendix? Ie one tex document with Context code, perhaps with

Re: [NTG-context] Strange new behaviour of the mailing list

2021-07-31 Thread Thomas A. Schmitz via ntg-context
On 7/31/21 11:41 AM, Denis Maier via ntg-context wrote: I think so too. Especially since the original sender's address isn't included in "reply to all" messages. I think it's an improvement. I have never understood why the original sender needs an additional mail, on top of the one (s)he

[NTG-context] ligature exceptions

2021-07-28 Thread Thomas A. Schmitz via ntg-context
Hi all, just two quick questions: a couple of weeks ago, there was a long discussion on ligature exceptions in, e.g., German. Hans provided an elegant new mechanism (\startlanguageoptions). So my two questions: 1. Is the old mechanism (\replaceword[eg][Auflage][Au{fl}age]) now obsolete? I

Re: [NTG-context] reusableMPgraphic

2021-07-15 Thread Thomas A. Schmitz
On 7/15/21 11:10 PM, Jairo A. del Rio wrote: Hi, list! Is this already fixed in a new upload? I'm compiling old documents and having the same problem as Thomas, although Wolfgang's comment fixes it nicely. Cordially, There hasn't been a new upload since I asked my question, so for the time

[NTG-context] reusableMPgraphic

2021-07-12 Thread Thomas A. Schmitz
Hi all, I don’t know if I’m overlooking something really basic or if this is a bug. The following MWE compiles with mkiv, but not with lmtx: \startreusableMPgraphic{fold} fill unitsquare xyscaled (1mm,1mm) withcolor blue ; \stopreusableMPgraphic

Re: [NTG-context] font feature

2021-07-09 Thread Thomas A. Schmitz
> On 8. Jul 2021, at 23:33, Hans Hagen wrote: > > you forgot the 'default' so you basically force basemode which is does > permanent features .. add/subtract works only in node mode > > \definefontfeature > [f:onum] > [onum=yes,pnum=yes] > > \definefontfamily [test] [serif]

[NTG-context] font feature

2021-07-08 Thread Thomas A. Schmitz
Hi all, is it possible to subtract a featureset that has been applied to a fontfamily? MWE: \definefontfeature [f:frac] [frac=yes,onum=no,pnum=no] \definefontfeature [f:onum] [onum=yes,pnum=yes] \definefontfamily [test] [serif] [AntykwaTorunska] [features=f:onum] \definefontfamily

Re: [NTG-context] Question about "streams" module

2021-06-22 Thread Thomas A. Schmitz
On 6/22/21 5:43 PM, MANUEL GONZALEZ SUAREZ wrote: Hello everybody: My question is this: Is the "streams" module obsolete? If not, where can I find documentation on its use? Thanks M. González. Hans is working on a new mechanism and has recently been thinking about integrating (some of)

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Thomas A. Schmitz
> On 28. May 2021, at 18:40, Michael Guravage > wrote: > > Any encouragement in how to resolve this would be much appreciated. > Hi Michael, Try renaming it to type-imp-DollyPro.tex (and then of course \usetypescriptfile[type-imp-DollyPro]), that should help. This changed a couple of

Re: [NTG-context] TeX capacity exceeded

2021-05-19 Thread Thomas A. Schmitz
On 19.05.21 18:34, Hans Hagen wrote: Can you check the latest upload? You should be able to go way higher. Yes, with 2021.05.19 18:22, the file compiles again in lmtx! I'm also trying your suggestions for improving the Lua code and rethinking my tables for analyzing the vocabulary. Thank

[NTG-context] TeX capacity exceeded

2021-05-17 Thread Thomas A. Schmitz
Hi all, I have a rather large (almost 120,000 lines) xml file, processing pulls in another large xml file. The project compiles under mkiv; with lmtx, I get tex error > tex error on line 8 in file : TeX capacity exceeded, sorry [reference count=32767] \reallanguagetag just twenty

Re: [NTG-context] randomize direction of arrow in metafun

2021-05-15 Thread Thomas A. Schmitz
On 5/15/21 2:42 PM, Mikael Sundqvist wrote: Hi, you could do something like this: \startMPpage for i = 0 upto 10: drawarrow if uniformdeviate(1)<0.5: reverse fi ((0,0)--(2cm,0)) yshifted i*cm; endfor; \stopMPpage /Mikael Hi Mikael, wonderful, thanks for the quick answer! Yes that works

[NTG-context] randomize direction of arrow in metafun

2021-05-15 Thread Thomas A. Schmitz
Hi all, for a slide template, I want to draw colored arrows in a randomized color (from a list of colors). This works (and the code is far too clever for me, I must have copied it somewhere): save mycolor ; color mycolor[] ; mycolor[1] := (0.2, 0.3, 0.4) ; mycolor[2] := (0.6, 0.6, 0.4) ;

Re: [NTG-context] Fuzzy lines

2021-05-14 Thread Thomas A. Schmitz
> On 13. May 2021, at 21:42, Henning Hraban Ramm wrote: > > Hi Thomas, > > for my test files you only also need Aditya’s latest mp-sketch.mp, now > attached. > > Find also attached my (somewhat simplified) attempt on a cover for a new > workbook series. > In the original I’m using the

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Thomas A. Schmitz
On 5/13/21 8:02 PM, Henning Hraban Ramm wrote: Unfortunately, the deviation of edge points is too big – try my attached test file. Strangely, if I include the MP code in a ConTeXt document, I find the discussion interesting. Could you send complete documents, like Aditya did? When I try to

Re: [NTG-context] Corrupt PDF files with LMTX?

2021-04-24 Thread Thomas A. Schmitz
On 24.04.21 08:03, Jairo A. del Rio wrote: Hi, list! When I try to convert a PDF generated by ConTeXt LMTX to PNG using ImageMagick's convert the following happens: Error: stream Length incorrect. Output may be incorrect. Error: An error occurred while reading

Re: [NTG-context] xml processing in latest

2021-04-21 Thread Thomas A. Schmitz
On 4/21/21 10:34 AM, denis.ma...@ub.unibe.ch wrote: Hi What's the exact issue? You're not using the latest version: 2021.04.20 18:45 Thomas ___ If your question is of interest to others as well, please add an

[NTG-context] xml processing in latest

2021-04-21 Thread Thomas A. Schmitz
Hi all, the latest has some strange problems with xml processing. The example below shows an issue with itemize. In my real file, I also get pages that are filled only two thirds and rugged right instead of justified, but I haven't been able to reproduce this in a MWE. Maybe this one can

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Thomas A. Schmitz
On 4/16/21 10:26 AM, Hans Åberg wrote: That it doesn’t update in the background is more a feature than a bug, otherwise it would complain about broken/unavailable files during the TeX runs. It is likely a bug: It has worked in some past versions. It still works for me (I'm on the latest

Re: [NTG-context] issue field in bibliography

2021-03-29 Thread Thomas A. Schmitz
On 3/29/21 10:45 AM, Damien Thiriet wrote: I have questions related with a journal named "Documentation photographque". Each issue is devoted to another theme. How should I declare this theme in bibliography fields when quoting articles? It is quite important to get it, because the main

[NTG-context] bug in lmtx

2021-03-09 Thread Thomas A. Schmitz
Hi Hans, I've found a very interesting bug in lmtx. The following MWE gives the expected result in mkiv; in lmtx, one character is missing. Perhaps you can figure out what's happening... All best Thomas \setupbodyfont [gentium, 12pt] \starttext Test \hskip1em ἀβ Test \hskip1em ἁβ

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Thomas A. Schmitz
On 2/23/21 6:14 PM, Hans Hagen wrote: I have no clue because it just works here. I uploaded a new version (no real changed in that area) so who knows ... Are you sure? You have to compile with the --arrange switch. I just tested with 2021.02.23 17:47, still same error. Thomas

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Thomas A. Schmitz
On 20.02.21 17:12, Hans Hagen wrote: hm, but it still makes sense to know if something fails .. keep en eye on it I just stumbled upon the same error. Arranging is broken in lmtx. MWE: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext \dorecurse{8}{Test: \recurselevel \page}

Re: [NTG-context] Loop?

2021-02-12 Thread Thomas A. Schmitz
On 2/12/21 7:39 PM, Angel M Alganza wrote: Is it possible to do that with just ConTeXt or would I need to resort to Lua.  I guess it should be possible both ways, but I haven't figure out how to do it.  Any pointer, please? https://wiki.contextgarden.net/Processing_Lists which wasn't

Re: [NTG-context] composing commands

2021-02-05 Thread Thomas A. Schmitz
On 2/5/21 10:30 PM, Hans Hagen wrote: Is this ok for you? tex error   > tex error on line 6 in file ./oeps.tex: Undefined control sequence \v  4  5 \starttext  6 >>  \v  7 \stoptext  8 Otared has already replied what I was thinking: would it be possible, for a certain

Re: [NTG-context] composing commands

2021-02-05 Thread Thomas A. Schmitz
On 2/5/21 5:38 PM, Hans Hagen wrote: etc ... the ones that make 'composed characters'. I think that anyone who needs them uses utf . They can be in (say) m-oldschool.mkxl or so. Objections? Hurt feelings? Sentiments? No hurt feelings, but I know that in my bib files, there are a couple of

Re: [NTG-context] Bib support broken in lmtx

2021-01-30 Thread Thomas A. Schmitz
On 1/30/21 10:50 AM, Philipp A. wrote: Am I caught in a spam filter somewhere? Compiles fine here with 2021.01.28 18:22 Thomas ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] code 139

2021-01-29 Thread Thomas A. Schmitz
> On 29. Jan 2021, at 17:55, Otared Kavian wrote: > > Out of curiosity I tested your MWE and I get > > mtx-context | fatal error: return code: 11 Maybe lmtx uses the random number generator to produce its return codes? :-) Thomas

Re: [NTG-context] code 139

2021-01-29 Thread Thomas A. Schmitz
> On 29. Jan 2021, at 16:27, Hans Hagen wrote: > > fixed in next upload Thank you for the fix! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] code 139

2021-01-29 Thread Thomas A. Schmitz
On 1/29/21 12:56 PM, Hans Hagen wrote: Hard to say (probably some mem/stack issue) ... you can add a \tracingall around the place where the last message to the console happens ... i need to know where it happens (or you can themn make a mwe of that bit). OK, here's a minimal example. I

[NTG-context] code 139

2021-01-29 Thread Thomas A. Schmitz
Hi all, a complex file with a metafun background does not compile anymore with lmtx. It compiles fine with mkiv. Compilation breaks off after 10 pages (maybe that's significant) with this message: pages > flushing realpage 10, userpage 10, subpage 10 mtx-context | fatal error:

Re: [NTG-context] lmtx: new text & math font stuff

2020-12-30 Thread Thomas A. Schmitz
On 12/30/20 4:53 PM, Hans Hagen wrote: As usual, it opens up possibilities, but of course at the price of testing. Hans, I had seen the alignment bug as well; this has been fixed in today's upload. I'm in a book project (from xml), so I don't have small examples right now, but I want to

[NTG-context] markings in lmtx and luatex

2020-11-23 Thread Thomas A. Schmitz
Hi all, something has changed in the way markings are handled. Consider the following example: \definemarking[Section] \setupheadertexts[{\getmarking[Section][top]–\getmarking[Section][bottom]}] \starttext A\marking[Section]{A} B\marking[Section]{B} C\marking[Section]{C} \page

Re: [NTG-context] bizarre bug in xml

2020-11-21 Thread Thomas A. Schmitz
On 11/21/20 11:04 AM, Wolfgang Schuster wrote: To check whether a stretch or shrink value is set LMTX takes a look at the next character (p, P, m or M) before it makes a decision, when you have now a word after \hskip which start with one of these characters (e.g. Materiam) you trigger the

[NTG-context] bizarre bug in xml

2020-11-20 Thread Thomas A. Schmitz
Hi all, this is the most bizarre bug I've ever seen in context. I would be grateful if others could try to replicate it. Test file: \startbuffer[test] Materiam vati da Venus alma tuo. \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{#1}{*}{-}

Re: [NTG-context] latest lmtx

2020-11-14 Thread Thomas A. Schmitz
On 11/14/20 12:17 AM, j.ha...@xs4all.nl wrote: Take today's upload. Hi Hans, since you mentioned that such buglets may occur, here's another one, but in this case, the error message is obscure to me, and I have no clue where in the environment file it is triggered (it's an xml-project):

Re: [NTG-context] latest lmtx

2020-11-14 Thread Thomas A. Schmitz
> On 14. Nov 2020, at 00:17, j.ha...@xs4all.nl wrote: > > Take today's upload. > > Hans > > Hi Hans, Yes, it works again! Thanks for the quick fix; I’m looking forward to new adventures in context land… All best Thomas

[NTG-context] latest lmtx

2020-11-13 Thread Thomas A. Schmitz
Hi all, I hadn't upgraded in a couple of weeks because I was in the middle of a project. Now that I'm up to 2020.11.08, I have a problem: I can't load my third party modules; they all throw an error. The error message is Use of \syst_modules_setup_yes doesn't match its definition So I

Re: [NTG-context] Debug mode for XML processing

2020-09-23 Thread Thomas A. Schmitz
On 9/23/20 1:17 PM, Denis Maier wrote: Hi, Is there are debug mode for XML processing? I'm thinking of something where the XML mapping gets applied to your XML, and you receive a tex file as the output. Could sometimes be easier to see where things go off the rails. Best, Denis No,

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Thomas A. Schmitz
On 9/21/20 4:38 PM, Denis Maier wrote: Hi, I'm a bit confused, but this here won't compile: xtables manual, chapter 13. Thomas ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] columns yet again

2020-09-20 Thread Thomas A. Schmitz
On 9/17/20 3:23 PM, Hans Hagen wrote: \setuplayout[width=16cm] \starttext \enabledirectives[tabulate.linenumbers] \showframe \starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]     \NC     \startlinenumbering     \dorecurse{10}{\input ward \par}    

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Thomas A. Schmitz
On 18. Sep 2020, at 12:00, Felix Krause wrote: > > The directory name luatex-cache suggests it's used for caching. That doesn’t help a lot. > I interpret the output like „something happens during the generation of the > format file and therefore the file never gets generated“. I don't know

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Thomas A. Schmitz
> On 18. Sep 2020, at 11:35, Felix Krause wrote: > > Hm. I don't have this directory (not using MacPorts) and my error seems to be > quite different (the scripts to be executed seem to be found). > I dug through the thread but for all I can see, nothing there describes my > problem or a

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
Hi all, I hope everybody made it back home safely after the meeting. It was great listening in, even if I couldn't be there in person, unfortunately! Today's question is an old one, but I'm confused. What I need: two columns, of unequal width, the left column has line numbering; two column

[NTG-context] register entries in footnotes

2020-04-26 Thread Thomas A. Schmitz
A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1] \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the index: cat\index{cat}. This sentence also has an

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Thomas A. Schmitz
> On 24. Apr 2020, at 18:19, Gerben Wierda wrote: > > \starttext > > \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, > g=0.000, > b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm > [My]\\Application\\(Component)}} > > \stoptext > > and if

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Thomas A. Schmitz
> On 24. Apr 2020, at 09:21, Gerben Wierda wrote: > > > I altready did that earlier as per the Wiki information (did not report it) > and just tried again. No difference. Steps to happiness: 1. Extract the ttc font to ttf 2. Copy the ttf files to your local texmf directory 3. reload the

Re: [NTG-context] Use a counter in a reference?

2020-04-13 Thread Thomas A. Schmitz
On 4/13/20 10:13 PM, Kevin Kenan wrote: I have a need to tag elements in a text in a way that they are sequentially numbered and can have references to refer to them. Something like: Here is some \tag[tagref]{\bf text} that is tagged. . . . Refer to tag

Re: [NTG-context] xhtml export internal command \dostarttaging modify display and other XML/XHTML attributes

2020-04-10 Thread Thomas A. Schmitz
> On 10. Apr 2020, at 14:49, Christoph Hintermüller > wrote: > > Please increase the USB of ConTeXt by improoving the xml/xhtml exporter > backend by allowing modules to hook into it, defining how the contotent > should be processed and what css attributes the corresponding tags > should

Re: [NTG-context] Using Lua files in project structure

2020-04-05 Thread Thomas A. Schmitz
On 05.04.20 15:00, Jairo A. del Rio wrote: I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua libraries and bindings (defining \ctxlua and the like). For instance, I have the file foo.lua with some macros and I want to use them in my project. Something like this:

Re: [NTG-context] Customizing \cite alternatives

2020-02-20 Thread Thomas A. Schmitz
On 20.02.20 14:16, Philipp A. wrote: Makes sense, seems like no default is defined anymore, so it won’t render without using a style. I use apa, and the attached screenshot shows my problem. If you use APA, you have to set up the APA cite options. The manual is a bit on the short side here,

Re: [NTG-context] Customizing \cite alternatives

2020-02-19 Thread Thomas A. Schmitz
It is difficult to answer your question because we don't know which specifications you use for your citations. You will have to provide a minimal example that allows us to see what you're doing. Thomas On 2/17/20 6:26 PM, Philipp A. wrote: Hi List, I want the comma gone from “et al.”

Re: [NTG-context] math font

2020-02-07 Thread Thomas A. Schmitz
> On 7. Feb 2020, at 15:14, Wolfgang Schuster > wrote: > > Does this also happen when you use \definetypeface to set the math font? > > \definetypeface [thomas] [mm] [math] [xits] [default] No, with this change, the warnings are gone. New syntax? Or user error? Thomas

[NTG-context] math font

2020-02-07 Thread Thomas A. Schmitz
Hi all, in my environment file, I have defined a math font: \definefontfamily [thomas] [math] [XITS Math] and as far as I can see in the log file, this font is found: system >9: filename=xits-math.lfg filetype=tex

Re: [NTG-context] line numbering within frame

2020-01-26 Thread Thomas A. Schmitz
On 25.01.20 19:17, Wolfgang Schuster wrote: Before I give the answer to the question we have to go back to a few TeX/ConTeXt basics. Wolfgang, thank you for this careful and helpful reply. It really made me understand what is going on here. At the same time, I also feel a bit more

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Thomas A. Schmitz
> On 23. Jan 2020, at 12:45, Tomas Hala wrote: > > Hi Thomas, > > move definitions and setups for Three and Four before the use of \framed. > (With TL2019 works.) > > Wishes, > > Tomáš Thank you for the hint - we’re still waiting for an answer to Wolfgang’s bonus question. But I have

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Thomas A. Schmitz
> On 23. Jan 2020, at 22:32, Wolfgang Schuster > wrote: > > > Bonus question: Why is it necessary to put \definelinenumbering before > \framed? > > Wolfgang I would be grateful for an answer because I have no clue ;-) In my real life case, I fetch the content of the frame from an xml

[NTG-context] line numbering within frame

2020-01-23 Thread Thomas A. Schmitz
Hi all, I want line numbering within a framed environment, and I need two (at least) independent numbering systems. I hit a similar problem in 2016, and Wolfgang provided a solution (defining different numbering environment). However, this does not work within a frame. The example shows the

Re: [NTG-context] Hyphenation LuaTeX

2020-01-17 Thread Thomas A. Schmitz
On 17.01.20 12:55, Henning Hraban Ramm wrote: I suspect "patterns" understands only one file, as far as I understood the source, but don’t trust me on this. When you mark your Greek passages with {\agr ἡ Ἑλληνικὴ γλῶσσα} (or \language[agr] instead of \agr), you should get the right pattern

Re: [NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Thomas A. Schmitz
> On 4. Dec 2019, at 15:33, Hans Hagen wrote: > > it means that your binary doesn't match the tex files (it is a new feature, > mentioned a few days before at this list) OK, I see - after wiping everything and a fresh download, lmtx works again - there is a problem with line breaks, I’ll

[NTG-context] beta 2019.12.02 18:38 fails to build format

2019-12-04 Thread Thomas A. Schmitz
Hi all, has this already been reported? On my macOS machine, the latest lmtx beta fails to build the format with this error: tex error > tex error on line 99 in file hand-ini.mkxl: ! Undefined control sequence ...ansion :\currentexpansion }{\adjustspacingstep

Re: [NTG-context] How to get attribute value from xml tag?

2019-10-20 Thread Thomas A. Schmitz
> On 20. Oct 2019, at 16:05, Geert Verhaag wrote: > > The \xmlfirst{#1}{distance} yields 20, but how can the unit attribute value > km be accessed? > > Gerard > > \xmlattribute{#1}{/distance}{unit} (probably, you need to make a real example. See xml-mkiv.pdf, chapter 3.6) Thomas

[NTG-context] arrows in FLOW charts

2019-10-07 Thread Thomas A. Schmitz
Hi all, I may be missing something really obvious: is it possible to change the shape of single connection lines in the flowchart module? Let’s say in the following example, I want the connection between test2 and test3 dashed and blue. Can this be done? Thanks, and best wishes Thomas

Re: [NTG-context] beta

2019-09-30 Thread Thomas A. Schmitz
On 29.09.19 16:31, Hans Hagen wrote: Hi, A week ago we had the (nice and pleasant) annual context meeting and as usual some new stuff has been presented there which was not yet in the distribution at that moment. Some pending code is now being moved into the distribution. Part is font

Re: [NTG-context] Size of the font (Metapost + xtable)

2019-09-23 Thread Thomas A. Schmitz
On 9/23/19 4:12 PM, Fabrice Couvreur wrote: Hello, I can not change the font size of my figures in the table. Thank you Fabrice Does changing \usecolors [xwi] to \usecolors [ema] help? All best Thomas ___

Re: [NTG-context] about SimpleSlides

2019-08-02 Thread Thomas A. Schmitz
On 7/30/19 8:06 AM, Atsuhito Kohda wrote: Hi all, SimpleSlides is very useful for novice users so I do use it. But I encountered few problems which, I'm afraid, might be known. Hi, sorry, I'm on my vacation right now; I'll look into this in two weeks, when I'm back home. All best Thomas

[NTG-context] mapping seeregister command to xml

2019-07-04 Thread Thomas A. Schmitz
Hi, I'm having trouble mapping the seeregister command to an xml setup. Example (looks somewhat messy, but explains why I need it): \startbuffer[test] This is a test. IGRR 4, 988sort="IGRR4+988" target="TAM 2 677">IGRR 4+988 = TAM 2, 677sort="TAM2+677">TAM 2+677 \stopbuffer

Re: [NTG-context] two (2) questions about footnotes

2019-05-27 Thread Thomas A. Schmitz
On 05/27/2019 09:35 AM, Hans Hagen wrote:   Test1: \index{Adam}Adam. \footnote{Test2: \index{Eve}Eve.} \footnote[note:abel]{Test3: \index[Abel]{Abel in \in{note}[note:abel]}Abel.} \page \placeregister [index] \stoptext Ah excellent, thanks a lot, that makes everything clear! All

[NTG-context] two (2) questions about footnotes

2019-05-27 Thread Thomas A. Schmitz
Hi all, I have two questions/problems about footnotes. Here is a minimal example, which does not compile in this form: \unexpanded\def\MyRule{\blackrule[width=\textwidth,height=3pt]} \setupfootnotes[rule=\MyRule] \starttext Test1: \index{Adam}Adam.\footnote{Test2: \index{Eve}Eve.} \page

Re: [NTG-context] Remove italics from bibliography list

2019-05-17 Thread Thomas A. Schmitz
On 5/17/19 12:41 PM, Dmitry Starostin wrote: I tried several variants, but I cannot find where exactly the switch happens. \definebtx[apa:list:title:incollection][apa:list:title][style=] \definebtx[apa:list:title:book][apa:list:title][style=] \definebtx[apa:list:journal][apa:list][style=]

Re: [NTG-context] PDF output routine in lmtx

2019-04-30 Thread Thomas A. Schmitz
> On 29. Apr 2019, at 11:46, Christian Prim wrote: > > Hi > > in lmtx the pdf output routine has changed afaik. I just wanted to report, > that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print > any character. A standard document as the MWE prints well under mkiv. Under

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Thomas A. Schmitz
> On 3. Apr 2019, at 10:56, Henning Hraban Ramm wrote: > > Thank you – it’s not only a German habit, even if we pronounce it “folgende”, > “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was > usual in mediaeval Latin. > So, this is at least used in English, German,

Re: [NTG-context] Welcome to LMTX

2019-04-02 Thread Thomas A. Schmitz
On 02.04.19 11:34, Rudolf Bahr wrote: whereis mtxrun gives: mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun whereis context gives: context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context Hmm - you're still using your old context, it should say

[NTG-context] environment variable for runtime

2019-02-27 Thread Thomas A. Schmitz
Hi, I would like to typeset the runtime information that context displays at the end of typesetting: mkiv lua stats > runtime: 174.639 seconds, 913 processed pages, 913 shipped pages, 5.228 pages/second system | total runtime: 526.583 seconds Is this stored in any environment

Re: [NTG-context] New logo proposal

2019-01-30 Thread Thomas A. Schmitz
On 1/30/19 1:50 PM, Willi Egger wrote: I would say, that the multicolor version is dissecting the word ConTeXT to unidentifiable crumbles. It is to my taste to less connected to typesetting, herewith agreeing partly with Clyde. It is useless to argue about taste, but it may be of interest to

  1   2   3   4   5   6   7   8   9   10   >