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 fon

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 I

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

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

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 solut

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 muc

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}     \stoplin

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 Wik

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

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

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 ___

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): t

[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}{*}{-} \xmlsetsetup{#1}{doc

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 scan

[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 D\markin

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 poi

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

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 : ntg-context

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

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 o

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 p

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 particula

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} \stoptex

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 _

[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 ἁβ \stopt

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 article

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 versi

[NTG-context] xml processing in latest

2021-04-20 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 giv

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 e

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

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 commer

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

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 as

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

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

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 month

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

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

[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 \definelayer[foldingmarkslayer][width=\pap

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 b

[NTG-context] OSFONTDIR

2023-07-19 Thread Thomas A. Schmitz
Hi everybody, just a short question: I was under the impression that ConTeXt would not look for system fonts unless we set OSFONTDIR explicitly; this appears to be the basis of the page Use_the_fonts_you_want on the wiki, and I prefer this behavior because it lets me control the fonts I want t

[NTG-context] Problem with latest

2023-07-20 Thread Thomas A. Schmitz
Hi everybody, The latest (2023.07.18 22:07) has a consistent problem with all files on my computer; every run has this: fatal lua error: registered function call [1715]: ...s/lmtx/tex/texmf-context/tex/context/base/mkxl/l-lua.lmt:84: attempt to call a nil value (upvalue 'popen’) Does anyone

[NTG-context] Re: Problem with latest

2023-07-20 Thread Thomas A. Schmitz
> On 20. Jul 2023, at 17:38, Hans Hagen wrote: > > patch in that file: > >local popen = io.popen > Thank you, that fixes it! Thomas ___ If your question is of interest to others as well, please add an entr

[NTG-context] Re: ideas for ConTeXt stickers?

2023-08-07 Thread Thomas A. Schmitz
On 8/7/23 20:08, Hans van der Meer via ntg-context wrote: Please phrase your reaction differently. This is absolutely not about my sense of humor. But if you have observed the news media these last few years, you may have noticed how sensitive the public opinion has become about "humor" of this

[NTG-context] side-by-side paragraphs broken?

2023-08-13 Thread Thomas A. Schmitz
Hi, in more recent versions of lmtx, the side-by-side mechanism appears to be broken; example below. The right-hand paragraph does not respect the margin and backspace setting. The output looks fine in mkiv and with older versions of lmtx (the one from texlive, so 2023.03.10). Not sure if thi

[NTG-context] hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
Hi, is this a limitation or a bug? Text inside \quotation{} is not hyphenated. It appears to be like this for a couple of versions, but I'm not sure if it has always been the case. Silly example to test: \mainlanguage [de] \setuppapersize [A6] \setupbodyfont [14pt] \starttext „Originalgen

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
On 8/19/23 17:51, Wolfgang Schuster wrote: You can use the font method to have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6] \setupquotation[method=text

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 14:22, Carlos wrote: fuck this shit. The first reaction would of course be to respond in the same tone. I think it would be wrong. You should be aware that to most of us, your messages sound like they come from a sociopath. Nothing in the subject we're talking about warrants thi

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
Have you looked at chapter 3.10 "Testing" of the manual xml-mkiv.pdf? There are a lot of commands there that should help you, such as \xmldoiftext {#1} {/mdata/date} {\bf \xmlflush {#1}} or \xmldoifelsetext. There's also \xmlfilter, which you can use to test for the content of tags. And of c

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 17:59, Michael Löscher wrote: Yes, I have done that. But I don't seem to have the basic context of how the processing works in order. All I have so far is this as a starting point: Really? I told you about the various commands \xmldoif, but there's nothing in your starting point. I

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 18:36, Michael Löscher wrote: Thank you so far. But what I would like to understand first ist how the different setups work togehter. How are they processed? What is the order of processing, which are the stets taken by the enginge when processing an xml document? Without understandi

[NTG-context] Re: MAPS nr 53

2023-08-23 Thread Thomas A. Schmitz
On 22.08.23 21:16, Hans Hagen wrote: On 8/22/2023 8:24 PM, Keith McKay wrote: Would it be possible to list the contents to whet our appetites? the successive chapters are basically the long articles that taco wrote about mp fundamentals for ctx meetings / journal + one extra Hans I just got

[NTG-context] Re: xmldoif: checking for contents of attribute

2023-08-24 Thread Thomas A. Schmitz
One way would be to do the search in Lua; when you have multiple searches to perform, that may be the easiest way to go. For example: \startxmlsetups xml:test \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{doc|element}{xml:*} \stopxmlsetups \xmlregisterdocumentsetup{tes

[NTG-context] Re: Offline documentations

2023-10-02 Thread Thomas A. Schmitz
On 02.10.23 10:32, Juliano David Hilario wrote: If I were to download the entire wiki with the exception of the discussion files and the user pages, do you think it would be wise? I would try to make it dynamically updatable too, if possible, and also try to make as offline-friendly as the Pyth

[NTG-context] Re: How can I use a variable for a MetaPost coordinate ?

2023-10-04 Thread Thomas A. Schmitz
Have a look at chapter 6.4 of the metafun manual. You need StartPage ... StopPage in your MPcode, then you can knock yourself out by using variables such as PaperHeight or TextHeight and do all sorts of calculations. All best Thomas On 10/5/23 05:54, peter.hopcroft--- via ntg-context wrote:

[NTG-context] Named characters

2024-01-15 Thread Thomas A. Schmitz
Hi all, not a complaint, just a question (for Hans and Wolfgang, I guess): in recent versions of lmtx, Greek named characters (constructs such as \greekdasiatonos) don't work any more. Which means I have to adapt some of my older macros. Is this an oversight or did they get axed? All best T

[NTG-context] Re: upload

2024-01-23 Thread Thomas A. Schmitz
Hi Otared, I just tried, and my Macbook ran the update without any problem. Does it make any difference if you chmod +x the script install.sh? All best Thomas On 1/23/24 21:59, Otared Kavian wrote: Hi Dr Hans Van der Meer, Thank you for your help. It seems that since January 18 something h

[NTG-context] Re: Issue with italics

2024-02-26 Thread Thomas A. Schmitz
I just tried your example with the latest version of GFSDidot (the older version I had on my system did not show some diacritics; this problem disappeared when I installed the latest), and the italics are there, I don’t see any problem in the pdf. If you want the Greek displayed in Theano, you w

[NTG-context] Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
Hi everybody, this is bizarre, but hear me out: a file that I have has a mixture of xml, TeX and Lua. It compiles cleanly, no problem, on macos and linux. I also have a little raspberry pi on which I have installed lmtx. The file compiles, BUT: it has one additional page. The first page of the

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
On 4/7/24 19:21, Hans Hagen wrote: can you make a format with line 25 of context.mkxl uncommented to see if you get a message (not production, just a test) Hans That should give a message "some spurious input in line..." in the output or the log, right? No, did not see such a message. Thom

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
On 4/7/24 19:44, Hans Hagen wrote: ok, so this "on" ... where does it come from .. you can try to run with \tracingall and then quit the run after the first and search the log for !on to get a clue Hans Found it - and I'm embarrassed to say it was in my own environment file, not in the lmtx

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
On 4/7/24 22:33, Hans Hagen wrote: No problem, is it a rpi 5? If so, how does that one perform? Yes, it's a Pi 5 with 8GB of RAM, and I'm very satisfied with the performance. I use it headless for backup, file serving, and the occasional context job that ties the cpu up for a long time, and i

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Thomas A. Schmitz
On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel I don't think ti

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Thomas A. Schmitz
On 4/14/24 22:18, Thomas A. Schmitz wrote: I don't think tiff has ever be supported? Thomas s/be/been/ Sorry! Thomas ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-16 Thread Thomas A. Schmitz
> On 16. Apr 2024, at 21:56, Peter Hopcroft via ntg-context > wrote: > > > >> On 17/04/2024, at 7:11 AM, Henning Hraban Ramm wrote: >> >> In my poster (still WIP) I wrote: >> … > > Excellent No, I must admit I don’t like the first two paragraphs. The question is “what is ConTeXt,” and t

[NTG-context] utiliydata

2024-04-24 Thread Thomas A. Schmitz
Hi all, I’m slightly embarrassed because this should be easy, but I can’t figure out how to do this: in the tuc/tua file, I have the complete references of my document. How can I access it from within my Lua code? For instance, something like utilitydata.structures.references.collected.”MyRef

[NTG-context] Re: utiliydata

2024-04-24 Thread Thomas A. Schmitz
> On 24. Apr 2024, at 17:59, Hans Hagen wrote: > > grep for "job." (i bet you can figure it out and compensate the embaressment > that way) > > Hans Nope, very sorry, can’t figure it out… I see job.register, I see I can access structures.refrences.collected, but what about the next level ut

[NTG-context] Re: utiliydata

2024-04-25 Thread Thomas A. Schmitz
> > Nope, very sorry, can’t figure it out… I see job.register, I see I can access > structures.refrences.collected, but what about the next level > > utilitydata.structures.references.collected={ > [""]={ > [“REF"]={ > > What does the empty key do? And how do I retrieve the value of > > REF.

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6] \star

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become an e

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 18:16, Hans Hagen wrote: Let's seen if we can make Thomas more of an expert as he's zooming in on the issue:     extendregister {     metadata   = { name =  name },     references = { abel =  label },     } Let me know if you't see it. A

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/25/24 6:27 PM, Thomas A. Schmitz wrote: Ah, simple typo! After fixing abel to label, startregister gives the expected results again! Thanks Hans! I may be back with more register questions soon... And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext     A\index{A} B \page     A\startregister [index] {A} B

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 10:22 AM, Hans Hagen wrote: That's because mkii is AI enhanced. Can you try this: Ah, I see where I was wrong, thank you! I'm mapping from xml, so I became confused with the optional parameters that I write as attributes, with a number of ifs... But now it should be clear! All

[NTG-context] more register questions!

2024-05-02 Thread Thomas A. Schmitz
Hi, making wonderful progress on my registers and translating from xml. There is one thing I can't figure out (and I or some other good soul may have asked in the past...). Is it possible to mark occurrences in footnotes? Ideally, the entry in the register would look like p. 100\high{20} to

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
as ##1; maybe the page number of the occurrence. In that case, I'd look for a way to store the association between that occurrence and the footnote number, and retrieve that in the custom command. Massi -- Prof. Dr. Thomas A. Schmitz Institut für Klassische und Romanisc

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
tnote={\rawcountervalue[footnote]}]}}%    \samplefile{lorem}} \page \placeindex \stoptext Wolfgang -- Prof. Dr. Thomas A. Schmitz Institut für Klassische und Romanische Philologie Universität Bonn Rabinstr. 8 53111 Bonn http://www.philologie.uni-bonn.de/de/personal/sc

[NTG-context] Re: Number in a circle

2024-05-30 Thread Thomas A. Schmitz
On 30.05.24 18:18, Kip Warner wrote: Thanks Hrabab. With respect to the latter wiki page, the project might consider adding a PPA. They're very popular among the over a hundred different Debian based distros out there. They reconcile both system requirements of proper FHS usage and file tracking

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Thomas A. Schmitz
On 6/8/24 10:49, vm via ntg-context wrote: in the document https://wiki.contextgarden.net/images/8/8c/xhtml.pdf near the end an essential line got truncated: \startxmlsetups xml:img \placefigure[here] [\xmlatt{#1}{src}] {\xmlatt{#1}{alt}} {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas

[NTG-context] Re: Margins using 2UP imposition schema

2024-09-14 Thread Thomas A. Schmitz
On 9/14/24 19:08, Angel M Alganza wrote: I wonder how I could reduce the left margin and increase the left one on the even pages. Any pointers, please? Thank you so much in advance. Ángel You need to tell ConTeXt that you want to have a doublesided layout. This is achieved with \setuppage

Re: [NTG-context] selectively turn off captions

2007-11-30 Thread Thomas A. Schmitz
On Nov 30, 2007, at 2:11 PM, Roger Mason wrote: > is it not possible to update to the current context? I'm running > 3.0_p1 (on a Gentoo linux box so I'm acustomed to compiling from > source). > Gentoo version numbers are not something that many people around here will know. I assume that 3.0_

Re: [NTG-context] Greek: GR or EL? Czech: CZ or CS? UK: Ukrainian or ...

2007-12-05 Thread Thomas A. Schmitz
On Dec 5, 2007, at 2:40 AM, Mojca Miklavec wrote: > I have noticed that ConTeXt uses "gr" for Greek, but the ISO code > seems to be "el". Less problematic: should agr be grc instead? > (OpenType uses PGR, but I'm not sure if that's the same thing.) > > What do the Greek experts say? > Hi Mojca,

[NTG-context] new release

2007-12-05 Thread Thomas A. Schmitz
Oops, I was too fast upgrading... luatex fails to produce format files on my system: luatex --version This is LuaTeX, Version snapshot-0.20.0-2007120515 luatools --ini --compile cont-en LuaTools | creating initialization file cont-en LuaTools | using library path : /usr/local/texlive/texmf-loc

Re: [NTG-context] Greek: GR or EL? Czech: CZ or CS? UK: Ukrainian or ...

2007-12-05 Thread Thomas A. Schmitz
On Dec 5, 2007, at 9:20 AM, Arthur Reutenauer wrote: It's the ISO-639-2 alpha-3 code for "Greek, Ancient (to 1453)" -- May 29th, I believe ;-) See http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt Arthur Ah, thanks! In that case, yes, let's go for grc. I had no idea ISO was

Re: [NTG-context] new release

2007-12-05 Thread Thomas A. Schmitz
On Dec 6, 2007, at 12:08 AM, Idris Samawi Hamid wrote: > On Wed, 05 Dec 2007 15:40:50 -0700, Thomas A. Schmitz > <[EMAIL PROTECTED]> wrote: > >> Oops, I was too fast upgrading... luatex fails to produce format >> files >> on my system: >> >> luatex

Re: [NTG-context] new release

2007-12-06 Thread Thomas A. Schmitz
On Dec 6, 2007, at 8:26 AM, Arthur Reutenauer wrote: > That particular line: > > # Error in lua file loading: ?:0: attempt to call field '?' (a nil > value) > > is often the sign of mismatching luatools and ConTeXt version :-) > > Arthur Yes, thanks for your help, now it works wonderf

Re: [NTG-context] [Dev-luatex] beta 0.20.1 released

2007-12-07 Thread Thomas A. Schmitz
Hi Taco, on my system (Mac OS X 10.5.1, ppc), this snapshot doesn't compile; it fails at this stage: test -d luatexdir || mkdir luatexdir sed s/TEX-OR-MF-OR-MP/luatex/ ../../../src/texk/web2c/lib/texmfmp.c >luatexextra.c gcc -DHAVE_CONFIG_H -I. -I../../../src/texk/web2c -I.. -I../../../src/

Re: [NTG-context] mkiv

2007-12-12 Thread Thomas A . Schmitz
On Dec 12, 2007, at 7:50 AM, Peter Münster wrote: > I vote against too. > > The only mappings, that make sense to me: > -- and --- since it's difficult to distinguish them from "-" in a > text-editor > and "~" since it's difficult to distinguish the utf unbreakable > space from > normal space i

Re: [NTG-context] beta

2007-12-14 Thread Thomas A. Schmitz
On Dec 14, 2007, at 9:24 AM, Hans Hagen wrote: > Hi, > > I uploaded a new (mkiv) beta. The biggest change is that there are > some > optimizations in the cached mkiv font tables which should lead to (1) > faster loading and (2) a smaller memory footprint. I may have messed > some things in the

Re: [NTG-context] beta

2007-12-14 Thread Thomas A. Schmitz
On Dec 14, 2007, at 10:06 AM, Hans Hagen wrote: > only mkiv? > > btw, you can use > > \setbreakpoints[compound] > > so that blabla-blabla is handled automatically > > Hans Yes, only mkiv. I'll have to play with \setbreakpoints[compound]. It's a mkiv feature, right? Thomas ___

Re: [NTG-context] Flowed text around figures in columns

2007-12-14 Thread Thomas A. Schmitz
On Dec 14, 2007, at 4:29 PM, Zeus Gómez Marmolejo wrote: > Hi, > > I have this code: > > \definecolumnset[example][n=3] > > \starttext > > \startcolumnset[example] > > \input knuth > \placefigure{}{\externalfigure[placeholder][width=170pt]} > \input knuth > \input knuth > > \stopcolumnset > \stop

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Thomas A. Schmitz
On Dec 14, 2007, at 5:57 PM, Peter Rolf wrote: > Hi, > > I desperately need runtime defined colors (state dependent) for my > macros. The macros are used with different graphic styles, which is > the > reason why I want to avoid any style dependent part inside them. > > To give you an example.

Re: [NTG-context] [Dev-luatex] beta 0.20.2 released

2007-12-17 Thread Thomas A. Schmitz
On Dec 17, 2007, at 3:43 PM, Taco Hoekwater wrote: > Hi all, > > I have just uploaded the archives for luatex 0.20.2. This > is a simple bugfix release for last week's beta: > > * some portability fixes to the build scripts > * a fix for multi-\span in alignments causing unbreakable > loops > *

Re: [NTG-context] [Dev-luatex] beta 0.20.2 released

2007-12-17 Thread Thomas A. Schmitz
On Dec 17, 2007, at 7:02 PM, Mojca Miklavec wrote: > The binary is also on > http://minimals.contextgarden.net/current/bin/luatex/osx-intel/bin/ > now. > > Mojca Thanks for the hint, Mojca. Unfortunately, I need the ppc-binary... Thomas __

Re: [NTG-context] [Dev-luatex] beta 0.20.2 released

2007-12-17 Thread Thomas A. Schmitz
On Dec 17, 2007, at 9:42 PM, Arthur Reutenauer wrote: >> when I try to build it, so I'll have to wait for Arthur to build >> luatex on his 10.4 system. > > It's up :-) And works perfectly - thanks a lot, Arthur! This one does seem faster than its predecessor! Best Thomas ___

Re: [NTG-context] bib module in pdftex and luatex

2007-12-21 Thread Thomas A. Schmitz
On Dec 21, 2007, at 1:47 PM, Hans Hagen wrote: > you can increase the hash size in texmf.cnf ... if so, then also > remake > the format > > in mkiv we need less hash space if only because it got rid of > encodings > and regimes Indeed, increasing the hash_extra size and rebuilding the format

  1   2   3   4   5   6   7   8   9   10   >