[NTG-context] Re: new align option

2023-08-16 Thread Hraban Ramm
Hi, I don’t really understand this option. With paragraphs, it’s like flushright, but the last line is right-indented. Within typing, in your eaxmple it’s flushright except the first line; with my code examples with long lines it looks just flushleft without line breaking? Would you please e

[NTG-context] Re: How to stop

2024-01-27 Thread Hraban Ramm
Just use a group (\start ... \stop, \bgroup ... \egroup or {} ) around the setup commands and their table, or use \startsetup mytable ... \stopsetup and \startTABLE[setups=mytable] if you need the same settings for several tables. HR Am 27.01.24 um 22:29 schrieb Joel via ntg-context: I have a

[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-17 Thread Hraban Ramm
Am 16.03.24 um 22:28 schrieb Marco Patzer: On Sat, 16 Mar 2024 20:33:33 + (UTC) Joel via ntg-context wrote: How do I remove the page number from the header texts? \setupheadertexts [] or \setuplayouttext [header][text] [middletext=] I’d have guessed \setuppagenumber

[NTG-context] ck hyphenation in old German orthography

2024-03-17 Thread Hraban Ramm
Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban \mainlanguage[deo] \setuplanguage[deo][   hyphenmin=4,   lefthyphenmin=2,   righthyphenmin=2, ]

[NTG-context] can we do binding correction?

2024-03-17 Thread Hraban Ramm
Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work with arranging (imposition) or can I enable it somehow for the layout (if the printshop does th

[NTG-context] Mikael’s missing math manual

2024-03-17 Thread Hraban Ramm
… and another thing that came up in my workshops and in discussions at our booth: the math manual is eagerly awaited! (My book too, but I can’t answer most questions about math.) One participant tested some math alignment examples from an older paper by Aditya and found them working in her cur

[NTG-context] Re: can we do binding correction?

2024-03-18 Thread Hraban Ramm
Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz Linux Days today: Can I configure binding correction for saddle-stitched or thread-bound booklets, and if, does it only work

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
Am 18.03.24 um 07:36 schrieb Mikael Sundqvist: Hi, On Sun, Mar 17, 2024 at 10:57 PM Hraban Ramm wrote: … and another thing that came up in my workshops and in discussions at our booth: the math manual is eagerly awaited! (My book too, but I can’t answer most questions about math.) Oh, I see

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-18 Thread Hraban Ramm
Am 18.03.24 um 00:02 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 12:06: Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
Hi Jeroen, it might make sense to use \setuphead[chapter][ conversion=R, ] \setuplabeltext[nl][chapter={Boek }] instead of ownnumber. I would use one command for number and title and put both in the same kind of frame. Probably you should use a \strut in the text or \inframed[strut=yes] to

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hraban Ramm
Am 19.03.24 um 15:38 schrieb Jeroen: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document?

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of pages, as used in \dorecurse{\Pages}{…}, but not for the imposition schema. Typesetting \Schema looks righ

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Hraban Ramm
olds which are probably more circles than just adding thickness of paper. Willi On 18 Mar 2024, at 17:35, Hraban Ramm wrote: Am 17.03.24 um 23:54 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 17.03.2024 um 22:48: Hi, this question was rised in my ConTeXt beginners workshop* at Chemnitz L

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Hraban Ramm
Am 19.03.24 um 23:42 schrieb Willi Egger: Generally I know for what binding correction is used, I just never tried to set it up. If I look carefully at one of our printed booklets, the printshop also didn’t. So I'd need pageshift without applying imposition (setting it up wouldn’t hurt). I or

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in t

[NTG-context] Re: can we do binding correction?

2024-03-20 Thread Hraban Ramm
Hi Andrés, thank you! Am 20.03.24 um 06:07 schrieb Andres Conrado Montoya: I have found with experience that a formula to calculate the binding correction for a saddle stitch binding, not more than 4 pages in a signature (only one fold in the middle) usually is 1/2 the circumference of a circl

[NTG-context] Re: command line arguments

2024-03-20 Thread Hraban Ramm
Am 19.03.24 um 23:53 schrieb Wolfgang Schuster: Hraban Ramm schrieb am 19.03.2024 um 21:41: Following up on the other imposition question, I'm trying to make an example file that shows an imposition schema according to command line arguments. This way it works for the number of page

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
marking[section]}] [] > Kapitel - Aufgabe Thanks in advance Greetings Thomas Am 20.03.24 um 09:09 schrieb Hraban Ramm: Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was

[NTG-context] Re: Unknown units es and dk

2024-03-23 Thread Hraban Ramm
Am 23.03.24 um 19:05 schrieb Hans Hagen: On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf In German, I call these "Spaßeinheiten" (

[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
Felix, your example contains a lot that is not relevant to your question. Try to reduce it. For number types, use the "conversion" option, for Roman numerals, there are the values r, R, RK, or (lowercase, uppercase, small caps, with bars). See also https://wiki.contextgarden.net/Command/conv

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

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

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

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

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

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

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

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

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 ren

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 chapter

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 tre

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 Enterprise

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] 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 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-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” >>> >>> https://www.openstreetma

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 wel

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] 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] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
t; On 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.

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Henning Hraban Ramm
> Am 23.07.2021 um 17:55 schrieb T. Kurt Bond : > > With natural tables I can define a color, tell the table to have to > use color backgrounds and turn the frame off and get every odd row in > all my tables will have that color for the background. > > Can I get this same effect with extreme tab

[NTG-context] Last call for papers: CG journal 2020

2021-07-24 Thread Henning Hraban Ramm
thur, Hans? New articles (not related to the 2020 meeting) are also welcome! Would be nice. Hraban > Am 11.06.2021 um 18:47 schrieb Henning Hraban Ramm : > > Hi, do you remember our ConTeXt meeting 2020 in Sibřina? (programme attached) > > There were some interesting talks and

[NTG-context] MP setup for a progress bar

2023-07-04 Thread Henning Hraban Ramm
Thanks to Taco, Robbert and Jules for their work! I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text area as well as under the margins. * I thought \useM

[NTG-context] Re: MP setup for a progress bar

2023-07-05 Thread Henning Hraban Ramm
Am 04.07.23 um 22:53 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 04.07.2023 um 22:24: I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text

[NTG-context] Re: {\rm foo {\it bar}}

2023-07-05 Thread Henning Hraban Ramm
Am 05.07.23 um 07:57 schrieb Gerben Wierda: And the reason probably is that the font is defined as sans serif [ss]? Well, if you only define a sans font, \rm is somewhat undefined. You call the upright variant with \tf; \rm switches to the serif font. Hraban __

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no] ? Maybe it’s also a proble

[NTG-context] definedocument, begin & closing

2023-07-06 Thread Henning Hraban Ramm
Hi, if I use \startdocument, the setups "document:start" and "document:stop" get inserted at the beginning and end. But if I define my own document, it doesn’t work. What’s wrong? """ \definedocument[presentation] \startsetups[presentation:start] {\bfd\documentvariable{title}} \stopsetups \s

[NTG-context] MPcode inserts page

2023-07-06 Thread Henning Hraban Ramm
Hi, if I use \startMPcode to declare variables etc. that I need in several MP graphics, it always inserts an empty page. How can I avoid that? (Actually, I load an external mp file, and for random value reasons I must load it only once. But the MWE already shows the problem.) """ \startMPcode

[NTG-context] Re: MPcode inserts page

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 12:02 schrieb Alan Braslau: On 06/07/23 06/07/23, 11:23, Henning Hraban Ramm wrote: Hi, if I use \startMPcode to declare variables etc. that I need in several MP graphics, it always inserts an empty page. How can I avoid that? (Actually, I load an external mp file, and for

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 11:58 schrieb Alan Braslau: Maybe it’s also a problem of \startdocument – I always get a first empty page and don’t understand why. One gets an empty first page if there is *any* text content anywhere in the setups or environment files before the \startdocument. My problem ac

[NTG-context] text width shadow background

2023-07-06 Thread Henning Hraban Ramm
Hi, maybe you remember that I wanted this since 2017... I finally managed to get a fuzzy background behind text: """ \setupbodyfont[ss,24pt] \definecolor[tshade][t=.05,a=1,k=1] \starttexdefinition MyCaption #1 \startMPcode{doublefun} steps := 10 ; rulesize := BodyFontSize/steps/3; for step = 1

[NTG-context] Re: text width shadow background

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 21:27 schrieb Henning Hraban Ramm: * I don’t understand why the white fill is not opaque. Posted too early. I do understand now (overlapping outlines). Tried to fix it by overwriting the text again in white, but now I don’t understand how to calculate the shifting

[NTG-context] regular online meet-up

2023-07-07 Thread Henning Hraban Ramm
You’re invited to join on Wednesday, July 12th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de/ctxmtg) ConTeXt users of all levels are welcome! This is directly before the TUG/DANTE conference; you can get a preview of my talk for Bonn ;)

[NTG-context] Re: text width shadow background

2023-07-07 Thread Henning Hraban Ramm
Please, can you explain why the result of lmt_outline is shifted to the right, if I use it in a macro? """ \setupbodyfont[ss,24pt] \definecolor[tshade][t=.05,a=1,k=1] \starttexdefinition MyCaption #1 \startMPcode steps := 5 ; % number of shadow layers rulesize := BodyFontSize/steps/3; for step

[NTG-context] Re: Fwd: Re: text width shadow background

2023-07-08 Thread Henning Hraban Ramm
Am 08.07.23 um 11:39 schrieb Hans Hagen via ntg-context: On 7/8/2023 8:55 AM, Henning Hraban Ramm wrote: Please, can you explain why the result of lmt_outline is shifted to the right, if I use it in a macro? no time now but you can do this instead of the lmt_text:     draw lmt_outline

[NTG-context] Re: Fwd: Re: text width shadow background

2023-07-08 Thread Henning Hraban Ramm
Am 08.07.23 um 15:14 schrieb Keith McKay: I played about with the number of shadow layers and added a wee bit randomness which gave a nice effect. See the code below and the attached png. Good idea, makes sense for big text – my captions are only 8pt, there 10 layers are already a lot, and th

[NTG-context] Re: text width shadow background

2023-07-09 Thread Henning Hraban Ramm
Am 09.07.23 um 15:49 schrieb Keith McKay: Hraban (and others), You got me thinking so I added this code to end of your code as a bit of fun. It's code from the luametafun manual to which I added two and a half lines. That’s funny. I replaced the text by \TeX and published it here: https://f

[NTG-context] access image properties in Lua

2023-07-11 Thread Henning Hraban Ramm
What’s the current approved way to get image properties within a Lua function? very old: local pic = figures.getinfo(figures.current().status.fullname) used to work in 2019: local pic = img.scan{filename = figures.current().status.fullname} if I understand this right, "img" isn’t valid anymore

[NTG-context] Re: regular online meet-up

2023-07-12 Thread Henning Hraban Ramm
Reminder: this is in ~1,5 h Am 07.07.23 um 14:44 schrieb Henning Hraban Ramm: You’re invited to join on Wednesday, July 12th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://v34h.de/ctxmtg) ConTeXt users of all levels are welcome! This is

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Henning Hraban Ramm
Am 17.07.23 um 15:44 schrieb Alan Braslau via ntg-context: On 13/07/23 13/07/23, 09:19, Hans Hagen wrote: On 7/11/2023 2:22 PM, Henning Hraban Ramm wrote: What’s the current approved way to get image properties within a Lua function? I’d like to know the pixel size and if possible also the

[NTG-context] problem with symbols in index

2023-07-17 Thread Henning Hraban Ramm
I hunted for two days after an index error in my book: """ structure > sectioning > chapter @ level 2 : 0.1 -> Sachregister tex error > tex error on line 95 in file ./prd_test.tex: The file ended when scanning an argument. {\startregisterentries {1}\startregisterentry {0}\registere

[NTG-context] Re: access image properties in Lua

2023-07-18 Thread Henning Hraban Ramm
(I assume you didn’t reply privately on purpose and take this back to the mailing list.) Am 18.07.23 um 12:47 schrieb Alan Braslau: P.S. I have not used the built-in resolution= image conversion (using gm/ImageMagik). I imagine that ConTeXt is clever enough to store the converted file so that

[NTG-context] mtxrun scripts

2023-07-18 Thread Henning Hraban Ramm
I tried some of the mtxrun scripts: * "colors" runs into an error: $ mtxrun --script colors --table ~/texmf/colors/icc/profiles/sgray.icc lua error : function call: ...-07/tex/texmf-context/scripts/context/lua/mtx-colors.lua:56: attempt to index a nil value (global 'colors') … or what is me

[NTG-context] enhancing MetaPost presentation progress graphics

2023-07-19 Thread Henning Hraban Ramm
Hi, I’d like a presentation progress indicator that looks like a boat on waves – and if it works, it can also become a bike on hills or a mars rover on dunes. But my math skills are lacking. Below’s a mostly working draft. * I find the waves not yet very convincing. Would it make sense to use

[NTG-context] Re: Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread Henning Hraban Ramm
Am 19.07.23 um 15:38 schrieb Jan-Erik Hägglöf: Dear All! I've been using emacs AUCTEX for quite a while and found it very convenient to work with. One issue is the lack of syntax highlighting. https://wiki.contextgarden.net/Text_Editors says, Emacs has ConTeXt support including syntax highl

[NTG-context] Re: enhancing MetaPost presentation progress graphics

2023-07-19 Thread Henning Hraban Ramm
Am 19.07.23 um 14:07 schrieb Taco Hoekwater: First, find the actual point along the curve of the wave you want, then you can ask for the direction of the wave at that time, and its point: Thank you! pair itime, iangle, boatpos; itime = (wave[3] intersectiontimes ((xpos,0)--(xpos,infinity)))

[NTG-context] ConTeXt posters?

2023-07-25 Thread Henning Hraban Ramm
Hi, did you make once by chance a ConTeXt-themed poster that I could pin at the DANTE booth at FrOSCon and the TeX tent at CCCamp? (I‘d just need the PDF or maybe the sources.) Hraban ___ If your question is of inte

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Henning Hraban Ramm
Am 28.07.23 um 17:04 schrieb Keith McKay: I played around with the setups for the align:pass:test4 code below, as Hans suggested, and it was changing the \tolerance value which made the difference. Increasing the \tolerance value to 1000 eliminated all overfull hboxes but still left 79 underful

[NTG-context] combining \definetyping and \definebuffer

2023-07-29 Thread Henning Hraban Ramm
Hi, I’d like to use a custom buffer ("MyBuffer") to use a custom typing style ("MyCode"). How does that work? """ \usemodule[visual] \definetyping[MyCode] \setuptyping[MyCode][ option=tex, numbering=file, ] \definebuffer[MyBuffer] \startMyBuffer \fakewords{10}{20} \stopMyBuffer \start

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Henning Hraban Ramm
Am 29.07.23 um 22:06 schrieb Bruce Horrocks: Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not executed) with colour coding on the keyword and line numbered; then the block text fakewords from the visual module; then the \fakewords macro shown (again not executed) a

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Henning Hraban Ramm
Am 29.07.23 um 22:06 schrieb Bruce Horrocks: Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not executed) with colour coding on the keyword and line numbered; then the block text fakewords from the visual module; then the \fakewords macro shown (again not executed) a

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Henning Hraban Ramm
Am 29.07.23 um 22:49 schrieb Max Chernoff: I'm on mobile now so I can't type out a complete solution, but I think that what you're looking for is in this file: https://github.com/gucci-on-fleek/unnamed-emoji/blob/master/documentation/unemoji-manual.mkxl It doesn't exactly do what you spe

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-30 Thread Henning Hraban Ramm
Am 29.07.23 um 23:16 schrieb Hans Hagen: On 7/29/2023 10:35 PM, Henning Hraban Ramm wrote: The setup for MyCode is not applied to \typeMyBuffer, and I don’t know how it could; something like \typeMyBuffer[MyCode] doesn’t work. These commands inherit from buffer, so \setupbuffer will work

[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
Hi again, I’m reading through the details manual and set up some figures as sidefloats that are offset to the margin. This works well. Now I’d like to have their captions in the margin, below the figure. If I set location=innermargin, then the caption is beside the image, i.e. somewhere at th

[NTG-context] Re: caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
Am 30.07.23 um 14:46 schrieb Hans Hagen: On 7/30/2023 2:37 PM, Henning Hraban Ramm wrote: Hi again, I’m reading through the details manual and set up some figures as sidefloats that are offset to the margin. This works well. Now I’d like to have their captions in the margin, below the

[NTG-context] Re: caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
Am 30.07.23 um 14:46 schrieb Hans Hagen: On 7/30/2023 2:37 PM, Henning Hraban Ramm wrote: Hi again, I’m reading through the details manual and set up some figures as sidefloats that are offset to the margin. This works well. Now I’d like to have their captions in the margin, below the

[NTG-context] empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuffer \framedtext{\typebuffer[option=tex]} \stoptext """ __

[NTG-context] Re: empty line before typebuffer

2023-07-30 Thread Henning Hraban Ramm
Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable it? Hraban MWE: """ \starttext \startbuffer \samplefile{tufte} \stopbuff

[NTG-context] Re: empty line before typebuffer

2023-07-31 Thread Henning Hraban Ramm
Am 31.07.23 um 17:25 schrieb Pablo Rodriguez: On 7/30/23 21:50, Henning Hraban Ramm wrote: Am 30.07.23 um 21:22 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 30.07.2023 um 21:14: Yet another issue: \typebuffer always starts with a blank line. Is this a bug, or how can I disable

[NTG-context] presentation styles

2023-07-31 Thread Henning Hraban Ramm
Hi, here are three presentation styles for your amusement: https://codeberg.org/fiee/context-for-president I combined the code of my TUG, FrOSCon and CCCamp talks into kind-of a module. It’s still preliminary, comments are welcome. Thanks for all the help! Hraban

  1   2   3   4   5   6   7   8   9   10   >