Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
Thu, Jul 22, 2021 at 12:01 PM Henning Hraban Ramm wrote: > Hi Michael, > > you could try columnsets and use a columnsetspan for the text above the > columns. > > I don’t know if tables work well within a columnset, though. > > Hraban > > > > Am 22.07.202

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
Hi Michael, you could try columnsets and use a columnsetspan for the text above the columns. I don’t know if tables work well within a columnset, though. Hraban > Am 22.07.2021 um 11:52 schrieb Michael Guravage > : > > I have created a table and placed it inside a columns environment; which

Re: [NTG-context] Layers – when do they repeat?

2021-07-21 Thread Henning Hraban Ramm
Hi, this is still unresolved. I worked around the unwanted repeating layer by resetting them explicitely after the first page, but that should not be necessary. Hraban > Am 01.07.2021 um 17:38 schrieb Henning Hraban Ramm : > > Hi, > I’m struggling with layers again. > >

Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt

2021-07-20 Thread Henning Hraban Ramm
> Am 20.07.2021 um 13:09 schrieb denis.ma...@unibe.ch: > > Hi, > > I have to reproduce a book layout that was done in Adobe Indesign, and I > don’t really manage to get the right fontsizes, i.e. according to Acrobat Pro > the fonts are consistently a bit smaller then expected. > That may

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-18 Thread Henning Hraban Ramm
> Am 17.07.2021 um 20:50 schrieb Hans Hagen : > > On 7/17/2021 2:42 PM, Arthur Rosendahl wrote: >> On Sat, Jul 17, 2021 at 12:53:33PM +0200, Hans Hagen wrote: >>> Just as an example, the context meeting is att the attached location: >>> >>> 50°45’7” / 5°35’19” >>> >>>

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Henning Hraban Ramm
> Am 17.07.2021 um 12:45 schrieb Hans Hagen : > > On 7/17/2021 12:20 PM, Henning Hraban Ramm wrote: >>> Am 17.07.2021 um 11:53 schrieb Bruce Horrocks : >>> >>> >>> >>>> On 16 Jul 2021, at 20:55, Hans Hagen wrote: >>>> &

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Henning Hraban Ramm
> Am 17.07.2021 um 12:20 schrieb Henning Hraban Ramm : > >> >> Am 17.07.2021 um 11:53 schrieb Bruce Horrocks : >> >> >> >>> On 16 Jul 2021, at 20:55, Hans Hagen wrote: >>> >>> On 7/15/2021 10:30 PM, Bruce Horrocks wrote: &

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-17 Thread Henning Hraban Ramm
> Am 17.07.2021 um 11:53 schrieb Bruce Horrocks : > > > >> On 16 Jul 2021, at 20:55, Hans Hagen wrote: >> >> On 7/15/2021 10:30 PM, Bruce Horrocks wrote: >>> On 15 Jul 2021, at 18:58, Hans Hagen wrote: I was wondering about that too. I admit that I looked into maps years ago

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-15 Thread Henning Hraban Ramm
> Am 15.07.2021 um 12:19 schrieb Gerben Wierda : > >> On 12 Jul 2021, at 12:15, Henning Hraban Ramm wrote: >> >> >> >>> Am 12.07.2021 um 10:25 schrieb Gerben Wierda : >>> >>> Years ago I wrote a book (Chess and the Art of Enterp

Re: [NTG-context] lmtx install problem

2021-07-15 Thread Henning Hraban Ramm
> Am 14.07.2021 um 20:26 schrieb jdh : > > > I've downloaded and ran the install...sh script from the directory: > /opt/context-lmtx Is this on Linux? > It indicates that it completed successully, but there is no 'tex' directory > anywhere in the resulting /opt/context-lmtxdirectory

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-12 Thread Henning Hraban Ramm
> Am 12.07.2021 um 10:25 schrieb Gerben Wierda : > > Years ago I wrote a book (Chess and the Art of Enterprise Architecture) using > ConTeXt. > > The setup was (I think Taco’s) basic book project setup, with a chapters, > environments, products, etc. subdirectory where you work in the

Re: [NTG-context] img.scan in lmtx?

2021-07-08 Thread Henning Hraban Ramm
> Am 27.01.2020 um 09:16 schrieb Hans Hagen : > > On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: > >> I use the lua function img.scan{filename}, but in lmtx I get "attempt to >> index a nil value (global 'img')", so I guess this got renamed or mo

Re: [NTG-context] columnsets messed up

2021-07-04 Thread Henning Hraban Ramm
> Am 02.07.2021 um 14:49 schrieb Henning Hraban Ramm : > In several articles I get a problem, and I can’t (yet) reproduce it in a MWE: > > The text in a two-column columnset suddenly breaks at the end of a left > column, the end is missing. > > Here’s an example PDF: >

[NTG-context] Fwd: columnsets messed up

2021-07-02 Thread Henning Hraban Ramm
> Am 02.07.2021 um 11:03 schrieb Henning Hraban Ramm <mailto:te...@fiee.net>>: > >> >> Am 02.07.2021 um 08:51 schrieb Hans Hagen > <mailto:j.ha...@xs4all.nl>>: >> >> On 7/1/2021 8:04 PM, Henning Hraban Ramm wrote: >>> Hi, >>&g

Re: [NTG-context] columnsets messed up

2021-07-02 Thread Henning Hraban Ramm
> Am 02.07.2021 um 08:51 schrieb Hans Hagen : > > On 7/1/2021 8:04 PM, Henning Hraban Ramm wrote: >> Hi, >> I’m working at the current CG journal whose layout uses columnsets. They >> aren’t usable any more. Same in current LMTX and MkIV. >> - the first line

[NTG-context] columnsets messed up

2021-07-01 Thread Henning Hraban Ramm
Hi, I’m working at the current CG journal whose layout uses columnsets. They aren’t usable any more. Same in current LMTX and MkIV. - the first line can start one or more lines lower - then the same number of lines is printed over each other at the bottom - it gets worse with footnotes (looks

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Henning Hraban Ramm
> Am 01.07.2021 um 18:05 schrieb Alan Braslau : >> And what about \– (U+2013)? > > Now THAT gets confusing! > > Why not U+2010 (HYPHEN), the anti-U+2011 (NON BREAKING HYPHEN) > vs. U+002D (HYPHEN-MINUS). What a can of worms... Oh yes, let’s do Unicode Whitespace programming... HR

[NTG-context] Layers – when do they repeat?

2021-07-01 Thread Henning Hraban Ramm
Hi, I’m struggling with layers again. According to https://wiki.contextgarden.net/Layers and my previous experience, what you typeset on layers appears only once, while you don’t set repeat=yes. But in my example (derived from a magazine layout where I use this margin layer for subtitles) the

Re: [NTG-context] Call for papers: CG journal 2020

2021-06-30 Thread Henning Hraban Ramm
And since Taco reminded you to register for ConTeXt meeting 2021, I’m reminding you to hand in your articles for the journal, otherwise we don’t have anything to hand out in Bassenge... Hraban > Am 11.06.2021 um 18:47 schrieb Henning Hraban Ramm : > > Hi, do you remember our ConTeX

Re: [NTG-context] log: use \thinspace instead of \,

2021-06-29 Thread Henning Hraban Ramm
> Am 29.06.2021 um 12:34 schrieb Hans Hagen : > > On 6/29/2021 1:08 AM, Rik Kabel wrote: >> All, >> Examining recent log files, I see the message >>suggestion > use \thinspace instead of \, >> When was this instituted? > > a while ago > >> What does it mean? Has \, been deprecated?

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Henning Hraban Ramm
> Am 23.06.2021 um 21:42 schrieb Bruce Horrocks : > > >> On 23 Jun 2021, at 07:43, Henning Hraban Ramm wrote: >> >> You can combine whatever you like in one typescript, but you’re restricted >> to six styles (regular, italic, slanted, bold, bold italic, bold

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Henning Hraban Ramm
> Am 23.06.2021 um 08:43 schrieb Henning Hraban Ramm : > > >> Am 23.06.2021 um 00:17 schrieb denis.ma...@unibe.ch: >> >> Hi >> In my current project I need to use different variants if the Noto Serif >> font (Regular, Medium, Semi Condensed Bold, Reg

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Henning Hraban Ramm
> Am 23.06.2021 um 00:17 schrieb denis.ma...@unibe.ch: > > Hi > In my current project I need to use different variants if the Noto Serif font > (Regular, Medium, Semi Condensed Bold, Regular ExtraBold.) > Is my understanding of typescripts correct that I cannot have bold and > extrabold in the

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Henning Hraban Ramm
> Am 18.06.2021 um 04:08 schrieb Thangalin : > > Hraban, > > > In what kind of workflows does your program make sense? > > Have you looked around the web lately? > > KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, > can neither convert nor easily type curly quotes

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Henning Hraban Ramm
I usually convert all kinds of quotation marks into \quotation{} / \quote{} using the regex search of my editor; a regex replacement is also part of my docx-to-ConTeXt converter script. (I see no need to avoid regexes, but YMMV.) The biggest problem I face are mixed and wrong quotation marks,

[NTG-context] Call for papers: CG journal 2020

2021-06-11 Thread Henning Hraban Ramm
Hi, do you remember our ConTeXt meeting 2020 in Sibřina? (programme attached) There were some interesting talks and presentations that should get preserved in our current journal (to be distributed at the meeting in Bassenge this fall). Also, additional articles are always welcome – there were

Re: [NTG-context] Font Maguntia not rendering correctly...

2021-06-09 Thread Henning Hraban Ramm
> Am 08.06.2021 um 19:20 schrieb Willi Egger : > i have a text from an old publication typeset in Fraktur. — The font I would > like to use here is Unifraktur Maguntia. This Font worked before quite well, > however now I get wrong renderings. Please refer to the attached MWE. I had similar

Re: [NTG-context] setupindentations

2021-05-28 Thread Henning Hraban Ramm
Am 27.05.21 um 21:24 schrieb 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? How about \setupindenting ?

Re: [NTG-context] mathfun

2021-05-21 Thread Henning Hraban Ramm
> Am 21.05.2021 um 15:15 schrieb Hans Hagen : > > I uploaded an lmtx update (only m-mathfun added). > > Attached a short description of this (windy stormy friday afternoon) math > experiment. The question is, what similar features using this trickery come > to mind. Thank you! I can

Re: [NTG-context] Fuzzy lines

2021-05-14 Thread Henning Hraban Ramm
> Am 14.05.2021 um 00:39 schrieb Aditya Mahajan : > > I am not sure if simply adding random noise to the line give an impression of > hand-drawn lines. For a different approach, see: > > https://m.habr.com/en/post/454376/ > > which uses the code here: > >

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 20:26 schrieb 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, > >

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 19:17 schrieb Aditya Mahajan : > > On Thu, 13 May 2021, Henning Hraban Ramm wrote: > >> >>> Am 13.05.2021 um 18:36 schrieb Aditya Mahajan : >>> >>>> Now I want to draw that path several times. >>>> >>>&

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 13.05.2021 um 18:36 schrieb Aditya Mahajan : > >> Now I want to draw that path several times. >> >> If I understand it right, I can’t put that into "sketchdraw" because that >> leaves the end open for path additions like "withcolor". > > A slightly different approach is needed. See

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 12.05.2021 um 23:21 schrieb Jairo A. del Rio : >> Unfortunately, that’s the same pattern over and over. >> The randomization is only applied once. >> Good for footprints, bad for fuzzy patterns. >> > You only need to move "randomized" at the drawing stage: > > \starttext > \startMPpage >

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Henning Hraban Ramm
> Am 11.05.2021 um 18:02 schrieb Aditya Mahajan : > > Look at this old code on how hide such code behind a macro to have a clean > interface: > > https://github.com/adityam/mp-sketch/blob/master/mp-sketch.mp Hi Aditya, I’m trying to include my additions into your code, but it doesn’t work.

Re: [NTG-context] Fuzzy lines

2021-05-12 Thread Henning Hraban Ramm
Hi Aditya, thanks for the code (that also Mikael pointed to)! > Am 11.05.2021 um 18:02 schrieb Aditya Mahajan : > > Look at this old code on how hide such code behind a macro to have a clean > interface: > > https://github.com/adityam/mp-sketch/blob/master/mp-sketch.mp I came up with this

Re: [NTG-context] Fuzzy lines

2021-05-12 Thread Henning Hraban Ramm
Hi Jairo, thank you for the suggestion. > Am 11.05.2021 um 14:56 schrieb Jairo A. del Rio : > > For simple pens, you may define your own (section 9.7 of MetaPost manual). Unfortunately, pens don’t work as patterns but only as outlines. > For complicated strokes, something along these lines

Re: [NTG-context] Fuzzy lines

2021-05-11 Thread Henning Hraban Ramm
ng > for you: https://tex.stackexchange.com/q/39296/52406 > > /Mikael > > On Tue, May 11, 2021 at 12:58 PM Henning Hraban Ramm wrote: >> >> is it possible to get lines with Metapost that look like they were drawn >> with a pencil or brush? >> >> S

[NTG-context] Fuzzy lines

2021-05-11 Thread Henning Hraban Ramm
Hi MetaFans, is it possible to get lines with Metapost that look like they were drawn with a pencil or brush? Some vector graphics apps (in my case: Affinity Designer) can use such naturally looking brushes for vector graphics (and I don’t know how they do it), but I’d like to

Re: [NTG-context] environments in texmf-local?

2021-05-06 Thread Henning Hraban Ramm
> Am 06.05.2021 um 00:58 schrieb jbf : > > Hi list, > > A query: since we can place private (or any) modules in the texmf-local > subdirectory and call them from anywhere, would it be a misuse to also place > some environment setups there as well? It certainly makes it easy to call > them

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

2021-04-24 Thread Henning Hraban Ramm
> Am 24.04.2021 um 11:45 schrieb Jan U. Hasecke : > > Do you know of any prettifying tool? I don’t know one. > Is there a best practice for ConTeXt source files, at all? I guess many of us adhere to Hans’ style, as shown in the sources. i.e. e.g. \setupsomething [name] [key=value,

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Henning Hraban Ramm
> Am 16.04.2021 um 11:47 schrieb jbf : > > So, not sure where to go from here. Could I perhaps return to my earlier > question, which indicated that by using the keyword approach [a] [b] and so > on, as far as [z] I was at least getting a passable result, but how could I > continue past [z]?

Re: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-15 Thread Henning Hraban Ramm
> Am 15.04.2021 um 18:55 schrieb a.rosenst...@web.de: > > Hi all, > > how is it possible to include only one page of a multiple page pdf in my > document? I found nothing in the manuals ... Dou you mean via \externalfigure? It has a documented "page" parameter:

Re: [NTG-context] autopdf on MacOS?

2021-04-15 Thread Henning Hraban Ramm
> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : > > When running the command: context --autopdf --run myfile.tex I had hoped the > pdfviewer Preview on my MacOS system (version Catalina) would open the pdf > for viewing. It works with --autopdf=auto > Allthough a new pdf is created,

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Henning Hraban Ramm
> Am 30.03.2021 um 10:23 schrieb > : >> BTW I’d strongly suggest to use the project structure (environment, >> products, components) in such cases, but that doesn’t change this. > > I use environments, but in that particular case there's no need for products > and components. (OTOH, with

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Henning Hraban Ramm
> Am 30.03.2021 um 09:43 schrieb denis.ma...@ub.unibe.ch: > What am I missing ? Does \input resolve filenames according to the CWD, not > to the location itself is located ? Nothing. You need to decide from where you want to run your files. BTW I’d strongly suggest to use the project

Re: [NTG-context] Output result to specified file path

2021-03-30 Thread Henning Hraban Ramm
> Am 30.03.2021 um 07:05 schrieb Thangalin : > > How do you set the target output path and file name? Consider: > context --result=/tmp/subdir/test.pdf $HOME/test.tex > > Expected: PDF file is created in /tmp/subdir directory. > > Actual: PDF file is created in $HOME directory. That’s known

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Henning Hraban Ramm
> Am 21.03.2021 um 20:56 schrieb Adam Reviczky : > > Thanks Hraban, > > I've tried the numbercommand as well, but that also just makes the formula > number disappear, unless I am doing something wrong. > > The framing as per the math manual (manuals/math/math-framing.tex) however > does

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Henning Hraban Ramm
> Am 21.03.2021 um 19:40 schrieb Adam Reviczky : > > % this makes the formulanumber disappear > % \setupformulas[location={rightmargin}] No, \setupformula’s location understands only left and right. Try something like: \define[1]\MyFormulaNumber{\inmargin{#1}} \setupformula[

Re: [NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-06 Thread Henning Hraban Ramm
> Am 06.03.2021 um 13:46 schrieb Pablo Rodriguez : > > Sorry for the delayed reply, Hraban. Thank you, but there was no need to reply. > If only bookmarks are affected, you only have to preroll them: > > \enabledirectives[references.bookmarks.preroll] Thank you, I knew that. But my

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-03-06 Thread Henning Hraban Ramm
Finally coming back to this. > Am 31.01.2021 um 07:39 schrieb Aditya Mahajan : > >> I’m not yet sure what would make the most sense for this project (at least >> sorting by chapter/component would), but I have an use case with LilyPond >> where I could save several LilyPond compile runs if I

[NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-05 Thread Henning Hraban Ramm
Hi, in the example below I’m using a custom highlighting macro in titles. Now I don’t want this highlighting in the ToC or in bookmarks (in my real world example the changes affect bookmarks, not in the MWE). I know I can use the list= and bookmark= keys of \startchapter, but since the text

Re: [NTG-context] Genealogy and context

2021-03-01 Thread Henning Hraban Ramm
> Am 28.02.2021 um 19:32 schrieb David van Diepen : > > Genealogical information is stored as structured data. I have added a > fragment of an Gramps XML file below. In such a file there are events, > people, families and other groupings of data and these are linked by > handles. > > What we

Re: [NTG-context] Letter module not found by LMTX

2021-02-24 Thread Henning Hraban Ramm
:32 schrieb Lutz Haseloff : > > Hi Hraban, > > works here as expected. > See attached log. > > Greetings Lutz > > Am 24. Februar 2021 09:16:30 MEZ schrieb Henning Hraban Ramm : > Hi, I just stumbled upon this, no time for further checks ATM: > > \usemodule[le

[NTG-context] Letter module not found by LMTX

2021-02-24 Thread Henning Hraban Ramm
Hi, I just stumbled upon this, no time for further checks ATM: \usemodule[letter] can’t find the installed letter/correspondence module in LMTX mode, while MkIV works flawlessly. Don’t know if other modules are affected. Hraban

Re: [NTG-context] Using Gill Sans on macOS

2021-02-22 Thread Henning Hraban Ramm
> Am 22.02.2021 um 16:14 schrieb Gerben Wierda : > > I’m normall using Optima Nova on my system, e.g. by defining a font like this: > > > \definefontfamily > [archimate] > [ss] > [Optima nova LT Pro] > [tf=style:Medium, > bf=style:Bold, > it=style:Medium Italic, >

Re: [NTG-context] tikzpicture in margin

2021-02-14 Thread Henning Hraban Ramm
> Am 14.02.2021 um 16:11 schrieb Jigé : > > Hi all. > > I'm trying to place a TikZ picture in the margin. > Here is a small example: > > \usemodule[tikz] > \setuplayout[backspace=4cm, topspace=2cm, height=middle] > \starttext > \input{lorem} > \margintext{I have discovered a truly >

Re: [NTG-context] parsing multi-valued parameters

2021-02-11 Thread Henning Hraban Ramm
> Am 12.02.2021 um 08:26 schrieb Werner Hennrich : > > Hello everyone, > > please can you give me pointers on how to easiest parse multi-valued > \dummyparameter{...} like in > > \something[...,weather={sunshine, rain, hail},...] > > so that I can test for e.g. rain, sunshine, wind, hail,

Re: [NTG-context] midi

2021-02-04 Thread Henning Hraban Ramm
> Am 04.02.2021 um 15:55 schrieb Mojca Miklavec > : > > I kept misusing Lilypond for generating the MIDIs, and either Timidity (and > something else that I forgot the name of, even though I think I packaged it > for MacPorts) fluidsynth, I guess. > Lilypond was a good-enough approximation /

Re: [NTG-context] meeting, journal etc. (was: midi)

2021-02-04 Thread Henning Hraban Ramm
> Am 04.02.2021 um 04:25 schrieb Fabrice L : >>> Thanks ! Yes, I can do and article with pleasure. Just give me more >>> indications about the level (perhaps some examples) and length of the paper. >> >> Well, the range of level and length of articles in our (ConTeXt group’s) >> journal is

Re: [NTG-context] midi

2021-02-04 Thread Henning Hraban Ramm
> Am 04.02.2021 um 04:15 schrieb Fabrice L : > > I usually do images ; if you or the list ever want to see more, the site > https://art-aleatoire.com is to show my work, Wow, this is great! I think I’ll come back to you about using some of your works as illustrations for our

Re: [NTG-context] midi

2021-02-03 Thread Henning Hraban Ramm
> Am 03.02.2021 um 22:14 schrieb Fabrice L : >>> >>> https://youtu.be/3x03g-eHFC8 >> >> Great! Would you please write an article about that for our journal? Or >> first present it at the ConTeXt meeting? > > Thanks ! Yes, I can do and article with pleasure. Just give me more > indications

Re: [NTG-context] midi

2021-02-03 Thread Henning Hraban Ramm
> Am 03.02.2021 um 19:39 schrieb Hans Hagen : > > On 2/3/2021 7:09 PM, Henning Hraban Ramm wrote: >>> Am 03.02.2021 um 18:09 schrieb Hans Hagen : >>> >>> Hi, >>> >>> So, in context, we can do text, and we can do graphics, and als

Re: [NTG-context] midi

2021-02-03 Thread Henning Hraban Ramm
> Am 03.02.2021 um 20:00 schrieb Fabrice L : > > Hi, > > Off topic (I hope this is ok), an animation made 100% with ConTeXt / MetaFun. > Several elements in the 6 840 images are sync to the music (i.e images « > react » to music - although imperfectly). Theses thousand of pages are used >

Re: [NTG-context] midi

2021-02-03 Thread Henning Hraban Ramm
> Am 03.02.2021 um 18:09 schrieb Hans Hagen : > > Hi, > > So, in context, we can do text, and we can do graphics, and also fonts, now > do we also need an interface to midi? Are you thinking about Knuth’s ĩTeX? Otherwise we have LilyPond. > https://www.youtube.com/watch?v=dIKEiKTVwgE funny

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-01-30 Thread Henning Hraban Ramm
> Am 30.01.2021 um 00:13 schrieb Aditya Mahajan : > > For \processFILTER, t-filter does not even read the file... so it has to do > with how the filtercommand is defined. > >> Since this fails already, I don’t know if \processFILTERfile also uses >> bufferbefore/-after (it should). > > It

Re: [NTG-context] Hyphenation on digits

2021-01-29 Thread Henning Hraban Ramm
> Am 28.01.2021 um 15:00 schrieb Hans Hagen : > >> > > I'll add support for: > > \pi\ = > \hyphenateddigits[\unknown]{3.141592653589793238462643383279502884197169399375105} > > A quick and dirty hack as we don't need some full blown mechanism for such a > rare case. Thank you! Might

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-01-28 Thread Henning Hraban Ramm
Still working on that. I hope you can help me here, Aditya! I’ll add these issues to the tracker of t-filter, if it makes sense. Testing with: ConTeXt ver: 2021.01.24 16:07 LMTX fmt: 2021.1.25 The setup below works, but only with \starttikz ... \stoptikz so far, I don’t like the output file

Re: [NTG-context] externalizing TikZ graphics

2021-01-27 Thread Henning Hraban Ramm
> Am 25.01.2021 um 20:08 schrieb Henning Hraban Ramm : > > """ > \startmodule[tikzfilter] > > \usemodule[filter] > % docs see https://github.com/adityam/filter > > \def\TIKZTEMP{tikztemp} % name of folder for TikZ/buffer files > > \startbuffer[t

Re: [NTG-context] externalizing TikZ graphics

2021-01-25 Thread Henning Hraban Ramm
> Am 25.01.2021 um 18:58 schrieb Aditya Mahajan : > > or some variant of that should also work. But the filter module does make it > easier to store the results in another directory so that they are out of > sight. No, you need additional file system commands. > Here is a simple example:

Re: [NTG-context] externalizing TikZ graphics

2021-01-25 Thread Henning Hraban Ramm
> Am 25.01.2021 um 17:31 schrieb Hans Hagen : > >> If nobody has better advice, I’ll try to come up with a filter setup. That >> would mean we’d avoid the tikz module, every TikZ diagram will get written >> to a buffer of configurable name, and that (with preamble setup) will get >> run

[NTG-context] externalizing TikZ graphics

2021-01-25 Thread Henning Hraban Ramm
Hi, did anyone succeed in externalizing TikZ graphics with ConTeXt? It’s about a project with hundreds of diagrams that (in the current state) clutter the main directory with cryptically-named PDFs (at least sorted by component name) and that on each ConTeXt run take a lot of runtime (I guess

[NTG-context] \clip isn’t clipping any more

2021-01-20 Thread Henning Hraban Ramm
In the following example, the image is calculated after the clipped width, but the full image is shown: \setupexternalfigures[location=default] \showframe \starttext \strut \hfill\clip[width=20mm]{\externalfigure[cow][height=30mm]} \stoptext This happens in current LMTX (2020-01-18), it was

Re: [NTG-context] running head for TOC

2021-01-19 Thread Henning Hraban Ramm
> Am 19.01.2021 um 10:34 schrieb jbf : > > I had tried that - I tried: > > \definehead > [tochead] > [chapter] > > and of course combined list does not contain tochead, but chapter. But what > happens then is that the Table of Contents disappears altogether) except for > the actually head

Re: [NTG-context] running head for TOC

2021-01-19 Thread Henning Hraban Ramm
> Am 19.01.2021 um 05:55 schrieb jbf : > > I have a very long Table of Contents (runs across five pages) and the author > would like the running head on recto pages for this to be 'Table of Contents'. > > I am using the following to create the TOC head: > > \definehead > [tochead] >

Re: [NTG-context] \setupcolors and \underbar bug?

2021-01-14 Thread Henning Hraban Ramm
> Am 14.01.2021 um 21:48 schrieb Henning Hraban Ramm : > > > >> Am 14.01.2021 um 16:58 schrieb Alan Bowen : >> >> The mwe >> >> \starttext >> \setupcolors[state=stop] >> {\darkred Test} >> >> \underbar{Here} >> \sto

Re: [NTG-context] \setupcolors and \underbar bug?

2021-01-14 Thread Henning Hraban Ramm
> Am 14.01.2021 um 16:58 schrieb Alan Bowen : > > The mwe > > \starttext > \setupcolors[state=stop] > {\darkred Test} > > \underbar{Here} > \stoptext > > fails: “Here” does not appear above the underbar (which has the correct > length). > > When \setupcolors[state=stop] is commented out,

Re: [NTG-context] what’s up with \setupdelimitedtext[method=font]?

2021-01-14 Thread Henning Hraban Ramm
> Am 14.01.2021 um 14:58 schrieb Hans Hagen : > > can you test with (in cont-new.mkxl) > > \def\spac_narrower_start_apply#1% > {\narrowerparameter\c!before > \global\s_spac_narrower_left \zeropoint > \global\s_spac_narrower_right \zeropoint > \global\s_spac_narrower_middle\zeropoint >

Re: [NTG-context] what’s up with \setupdelimitedtext[method=font]?

2021-01-14 Thread Henning Hraban Ramm
> Am 14.01.2021 um 10:44 schrieb Henning Hraban Ramm : > > Hi again, > the following example used to work with LMTX (but not MkIV) from September. > > Now I get the "narrower" indentation only if I comment the first line (in > both versions) – apparently there’

[NTG-context] what’s up with \setupdelimitedtext[method=font]?

2021-01-14 Thread Henning Hraban Ramm
Hi again, the following example used to work with LMTX (but not MkIV) from September. Now I get the "narrower" indentation only if I comment the first line (in both versions) – apparently there’s a setup conflict, and I don’t know any more why I needed this setup. Could you explain what it

[NTG-context] LMTX problem with \input

2021-01-14 Thread Henning Hraban Ramm
Another LMTX/MkIV difference: In a component, I include another file with \input, that starts with \page in the first line. With LMTX I get an error: """ I can't figure out why you would want to use a tab mark here. If some right brace up above has ended a previous alignment prematurely,

[NTG-context] LMTX/MkIV difference in date handling

2021-01-14 Thread Henning Hraban Ramm
ConTeXt ver: 2021.01.11 17:27 LMTX fmt: 2021.1.11 The following works in MkIV, but not in LMTX: \def\Jahr{\currentdate[year]} \settaggedmetadata[ rights={© \Jahr{} Me} ] \starttext \strut \stoptext The error message is: 1 \def\Jahr{\currentdate[year]} 2 3

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm
> Am 07.01.2021 um 12:20 schrieb Henning Hraban Ramm : > > >> Am 07.01.2021 um 11:29 schrieb Marco Patzer : >> >> Thanks for the info. I updated the wiki. > > https://wiki.contextgarden.net/Titles > > I did some more edits, but the page is still a mess

Re: [NTG-context] Continued chapter numbers

2021-01-07 Thread Henning Hraban Ramm
> Am 07.01.2021 um 11:29 schrieb Marco Patzer : > > Thanks for the info. I updated the wiki. https://wiki.contextgarden.net/Titles I did some more edits, but the page is still a mess. Hraban ___ If your question

Re: [NTG-context] dutch calendars 3 months

2021-01-05 Thread Henning Hraban Ramm
> Am 05.01.2021 um 11:46 schrieb luigi scarso : > > I guess this is a challenge for Willi : > a module to typeset "dutch calendars" > as in > https://www.calendari.it/ > (I am not involved at all with the site, it's the first I have found ) > > I like the slim version, with 3 months, the

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Henning Hraban Ramm
> Am 04.01.2021 um 14:18 schrieb Ulrike Fischer : > > Am Sun, 3 Jan 2021 23:59:14 +0100 schrieb Henning Hraban Ramm: > >> In LaTeX most problems are solved with “use this or that package”, > > You only need to follow a few days the questions e.g. on tex.sx to >

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Henning Hraban Ramm
> Am 04.01.2021 um 15:30 schrieb Hans Hagen : > > On 1/4/2021 2:18 PM, Ulrike Fischer wrote: > >>> Of course it helps to understand basic TeX stuff – but you’re not >>> supposed to use (plain) TeX commands in LaTeX, while it is or was >>> much more usual in ConTeXt. >> Well we discourage the

Re: [NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread Henning Hraban Ramm
> Am 04.01.2021 um 14:02 schrieb BPJ : > > I understand all that. I just thought that maybe such resources existed which > I didn't know. > > While as you say the approaches differ it would be nice to have like a FAQ > "how do you do what LaTeX package X does in ConTeXt?" I guess that that is

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Henning Hraban Ramm
> Am 03.01.2021 um 22:24 schrieb Hans Hagen : > > On 1/3/2021 10:02 PM, BPJ wrote: >> I understand that and it is all well and good. I am wondering if there >> already is *another* text which presupposes basic knowledge of TeX and >> general knowledge of LaTeX, perhaps in a by-topic style. > I

Re: [NTG-context] SILE typesetter and other projects

2021-01-03 Thread Henning Hraban Ramm
Also thank you! Patoline is partly LaTeX based, Speedata Publisher uses LuaTeX, and I know of troff and XSL/FO. I’d be interested to hear about experiences with other code based typesetting engines (besides ConTeXt and LaTeX), since I used LinoSetting and 3B2 in earlier days. A healthy and

Re: [NTG-context] drop shadows with metapost/ metafun

2021-01-02 Thread Henning Hraban Ramm
> Am 29.12.2020 um 22:56 schrieb Garulfo : > > Which process would you advice to add « drop shadows » to any kind of metafun > / metapost figures like: > picture p; > p := textext("MetaPost is fun!") shifted (10cm,10cm); > > > My current understanding of the required steps : > > > 1- fill

Re: [NTG-context] Regarding XML export and EPUB

2020-12-22 Thread Henning Hraban Ramm
> Am 21.12.2020 um 23:31 schrieb Andres Conrado Montoya > : > > Hello, list. > I've been experimenting with the export scripts and the instructions and > manuals you can find in: > > https://wiki.contextgarden.net/XML > https://wiki.contextgarden.net/Export >

[NTG-context] distance parameter of \setupinitial

2020-12-14 Thread Henning Hraban Ramm
Hi, I’d like an initial in front of the text block. It works more or less, but I find the behaviour of the distance parameter confusing: If I set it to -1em (like in the MWE below), the text lines get indented a bit on the right side. With somewhat bigger values, the indent disappears, but the

[NTG-context] LMTX ignores figure size

2020-12-04 Thread Henning Hraban Ramm
Hi, with latest LMTX, the size (width) of external figures is ignored in floats, while it works outside of floats and with MkIV. It also works with metapost figures (e.g. dum library). \setupexternalfigure[location=default] \starttext \startplacefigure[location=here]

Re: [NTG-context] Placing extra bookmarks?

2020-12-01 Thread Henning Hraban Ramm
> Am 01.12.2020 um 15:36 schrieb Bruce Horrocks : > > I have \placebookmarks[chapter] in my doc and all is fine except that I'd > like to force an extra bookmark at the top of the list that jumps to the > cover page. However there is no chapter title, or other built in style on the > cover.

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Henning Hraban Ramm
> Am 01.12.2020 um 16:20 schrieb Otared Kavian : > > Thanks Tomás! Indeed \jobname does the job :-) In case you need the current component file in a project environment: \currentcomponent Hraban ___ If your

Re: [NTG-context] question about frames

2020-11-26 Thread Henning Hraban Ramm
> Am 25.11.2020 um 22:43 schrieb Pablo Rodriguez : > > Dear list, > > here is a minimal sample of frames to make up labels: > > \setuplayout[page] > \starttext > \dorecurse{16}{\dontleavehmode\dorecurse{4} > {\framed[width=52.5mm, height=18.5mm, align=right]{\null}}\\} > \stoptext > >

Re: [NTG-context] Error with spaces in Argument of \startproduct

2020-11-25 Thread Henning Hraban Ramm
> Am 24.11.2020 um 22:38 schrieb Wolfgang Schuster > : > > Jannik Voges schrieb am 24.11.2020 um 22:24: >> Hello, >> as the title suggested, I get an error when using spaces in the argument of >> \startproduct. For example typesetting >> \startproduct{foo bar} > > You can have a filename with

Re: [NTG-context] temporarily move up a section title

2020-11-07 Thread Henning Hraban Ramm
> Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > Dear List, > > I'm trying to move up a section title (section b) 2cm upward: > > \starttext > \section{a} > \blank[-2cm,force]\ > \section{b} > \section{c} > \stoptext > > The empty space (\ ) after the \blank is

Re: [NTG-context] force index entries without page number

2020-11-07 Thread Henning Hraban Ramm
> Am 04.09.2020 um 11:59 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: >> Hi, >> I’d like to have an (person) index entry like >> Ramm, Hraban passim >> i.e. without actual page number. >> How can I forc

<    4   5   6   7   8   9   10   11   12   13   >