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? For

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-22 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, Regula

Re: [NTG-context] typescripts and variants

2021-06-22 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 i

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, e.

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

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 prob

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 ? https://wiki.contextgarden.net/Command/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 probably

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: > > https://github.com/jemmybutton/fiziko

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 attach

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

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. n

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 simp

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 cou

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? >> >> Some v

[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 automate/paramet

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 fr

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

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

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: https://wiki.contextgarden.net/

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

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 compo

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 structure

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 b

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

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

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 highligh

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 co

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

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 wou

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

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 quit

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 (Dreiviertelhaus

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 abo

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 also fonts,

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

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 do

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 come

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 n

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

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 throug

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

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

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

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

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 does

[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, you'r

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

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 is

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 saint(

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 us

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 ha

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 p

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 > https://wiki.contextgarden.net/E

[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] \externalfigure[cow][widt

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 questi

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

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 n

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 force that

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 12:22 schrieb Henning Hraban Ramm : > > (2) > Page/column breaking is odd in that the preferred breaking point seems to be > one entry too early, i.e. the last entry of one letter end up in the next > column and the previous column is one line too short. &

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 15:48 schrieb Duncan Hothersall : > > I don't think \showinjector needs an argument. My MWE when I was looking at > this has just \showinjector after the register definition but before the > \setinjector[...] commands. Docs say otherwise. Without argument, I don’t get an er

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 12:54 schrieb Duncan Hothersall : > > Without MWE try \showinjector and \setinjector. > > I would add to that that when experimenting with \showinjector you need to > have at least one \setinjector as well otherwise it doesn't show the numbers. > It doesn’t work for me: l

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 12:54 schrieb Duncan Hothersall : > > > > On Fri, 6 Nov 2020 at 11:52, Jano Kula wrote: > > On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm wrote: > Hello again, > > still struggling with indexes. > > I’ll prepare MWEs, but maybe

[NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
Hello again, still struggling with indexes. (1) \setupregister’s before and after go around the indicator. e.g. \setupregister[][indicator=no,after={XX}] never shows that XX, since after is only used after the indicator, while before also works without. I was hoping for a hook at the end of a s

Re: [NTG-context] Why is the textarea not centered by default?

2020-11-05 Thread Henning Hraban Ramm
> Am 05.11.2020 um 16:21 schrieb Pablo Rodriguez : > > I’m not expert on typesetting, but I read somewhere (too long ago to be > able to remember when) that printed papers should have wider outer > margins to put your fingers on it. In classical book layout, the two inner margins (2*backspace) s

Re: [NTG-context] index entries postponed if sections are empty

2020-11-02 Thread Henning Hraban Ramm
Otared, Jano, thank you for your answers – what finally helped was putting the image and the index entries in a vbox together. Hraban ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Henning Hraban Ramm
Hi, I‘m despairing about my index – some sections contain only an image (\externalfigure), but I need to set several index entries for the image contents. The index entries get postponed until after the next chapter. I guess the problem is that there’s no (text) content, but \par and \strut didn

Re: [NTG-context] troubles with \enablemode

2020-10-30 Thread Henning Hraban Ramm
> Am 30.10.2020 um 19:26 schrieb Damien Thiriet : > I don't fully understand the \enablemode mechanism. Given this MWE: > > \startmode[test] > \setupframedtext [foregroundcolor=white,style={\tfa}] > \stopmode > > > \starttext > \startframedtext > ceci est un texte > \stopframedtext > \enablemod

Re: [NTG-context] oldstyle numerals in STIX Two Math

2020-10-21 Thread Henning Hraban Ramm
> Am 21.10.2020 um 15:59 schrieb Alan Bowen : > > I am trying to get the STIX Two fonts to display oldstyle numerals. > > I have the oldstyle numerals in STIX Two Text, the problem is the math font. > > So far, my mwe is: > \definefontfamily[mainface][rm][STIX Two Text][] %onum=yes does not s

[NTG-context] typos in sort-lan.lua

2020-10-19 Thread Henning Hraban Ramm
I stumbled upon a few typos in the sort order definitions: In Hebrew and Yiddish, there are many unclosed brackets: definitions['he'] = { 979entries = { 980['א'] = 'א', ['ב'] = 'ב', ['ג'] = 'ג', ['ד'] = 'ד', ['ה'] = 'ה', 981['ו'] = 'ו', ['ז'] = 'ז', ['ח'] = 'ח', ['ט'] = 'ט', ['

Re: [NTG-context] Changing the colors of Charts in luametafun

2020-10-18 Thread Henning Hraban Ramm
Hi juh, > Am 16.10.2020 um 15:34 schrieb Jan U. Hasecke : > > as I'll need to make some business charts in the near future I had a > look into metafun xl. you might like the new charts module by Tamara Kocurová & Adriana Kašparová. Download: https://akela.mendelu.cz/~thala/statcharts/ Manual/pr

Re: [NTG-context] text surrounding graphic in columns

2020-10-14 Thread Henning Hraban Ramm
> Am 14.10.2020 um 18:58 schrieb Jan U. Hasecke : > > how can I get a graphic that floats left or right from the text in > columns or columnsets? You can’t, sorry. Hraban ___ If your question is of interest to oth

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-14 Thread Henning Hraban Ramm
> Am 14.10.2020 um 12:47 schrieb Niels Meijer : > > I just wanted to voice my support this book, as I feel that such a > newbie-friendly resource would fill a gaping hole in the current ConTeXt > ecosystem. I am considering having a stab at learning Spanish in order to > (attempt to) read your bo

[NTG-context] index issues

2020-10-14 Thread Henning Hraban Ramm
(1) If I get the same index entry two or more times on a page, sometimes with processor formatting, sometimes not, how can I control which version takes precedence? Actual use case: index entries from footnotes should be italics, while those from the main text stay upright. Now, if there is an

Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-11 Thread Henning Hraban Ramm
Hi, I still would be happy about answers to the following questions: > Am 02.10.2020 um 12:13 schrieb Henning Hraban Ramm : > > - Would it be possible to do the footnote numbering after the float > placement, so that a footnote in a float caption keeps the reading order of > n

Re: [NTG-context] Beamer --> ConTeXt (sample)

2020-10-10 Thread Henning Hraban Ramm
> Am 09.10.2020 um 19:57 schrieb Henning Hraban Ramm : > > >> Am 09.10.2020 um 19:01 schrieb Saša Janiška : > >> I'm attaching small Beamer sample and wonder if someone can help by >> providing somewhat similar thing for ConText? > > If you nee

Re: [NTG-context] Beamer --> ConTeXt (sample)

2020-10-09 Thread Henning Hraban Ramm
> Am 09.10.2020 um 19:01 schrieb Saša Janiška : > I'm attaching small Beamer sample and wonder if someone can help by providing > somewhat similar thing for ConText? If you need columns, look into columnsets: https://wiki.contextgarden.net/Columns#Column_Sets Read https://wiki.contextgarden.n

<    6   7   8   9   10   11   12   13   14   15   >