Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Max Chernoff via ntg-context
> Hi, > > Hans helped me out with some asciidoc processing a while ago. > > I played a bit further, but I'm currently facing two minor issues: > > (a) I don't know how to turn program listing (verbatim code) from xml > to (perhaps, vim-based) syntax highlighting (but most importantly, to > make

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Denis Maier via ntg-context
Also stretch might be useful as an additional option for align. Denis Von: ntg-context im Auftrag von Aditya Mahajan via ntg-context Gesendet: Freitag, 12. August 2022 23:11:21 An: Marcin Ciura via ntg-context Cc: Aditya Mahajan Betreff: Re:

Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Aditya Mahajan via ntg-context
On Fri, 12 Aug 2022, Mojca Miklavec via ntg-context wrote: > Hi, > > Hans helped me out with some asciidoc processing a while ago. > > I played a bit further, but I'm currently facing two minor issues: > > (a) I don't know how to turn program listing (verbatim code) from xml > to (perhaps,

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Aditya Mahajan via ntg-context
On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote: > Dear list, > > I am typesetting [nothyphenated,flushleft] text in two columns. Some words > stick through the right margin of the left column, sometimes even > overlapping the right column. How can I make Context obey the right margin?

[NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Mojca Miklavec via ntg-context
Hi, Hans helped me out with some asciidoc processing a while ago. I played a bit further, but I'm currently facing two minor issues: (a) I don't know how to turn program listing (verbatim code) from xml to (perhaps, vim-based) syntax highlighting (but most importantly, to make sure that line

Re: [NTG-context] image with rounded corners

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Am 12.08.22 um 13:10 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 12.08.2022 um 10:57: Hi, can ConTeXt make rounded image corners? \setupexternalfigures[location=default] \starttext \startMPclip{rounded corner} clip currentpicture to

[NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Marcin Ciura via ntg-context
Dear list, I am typesetting [nothyphenated,flushleft] text in two columns. Some words stick through the right margin of the left column, sometimes even overlapping the right column. How can I make Context obey the right margin? The MWE is below. Here is the output PDF:

Re: [NTG-context] Fwd: Typesetting modern Greek (UTF8) with ConTeXt

2022-08-12 Thread Adam Reviczky via ntg-context
Thanks Hanx for the fix! >> Just curious: you're still in mkii? No, I was just trying to compare an old project (nothing important) with lmtx, otherwise I wouldn't have even noticed. Adam On Fri, Aug 12, 2022 at 8:14 AM Hans Hagen wrote: > On 8/12/2022 2:57 AM, Adam Reviczky wrote: > > Hi

Re: [NTG-context] image with rounded corners

2022-08-12 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 12.08.2022 um 10:57: Hi, can ConTeXt make rounded image corners? Both of my approaches don’t work: \externalfigure[mill][   width=3cm,   frame=on,   corner=round,radius=1cm,   backgroundcorner=round,backgroundradius=1cm, ] \defineoverlay[Mill][{%

Re: [NTG-context] parameters of (setup)externalfigure, conversions etc.

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Am 11.08.22 um 15:51 schrieb Henning Hraban Ramm via ntg-context: Hi Hans, yesterday you told me about the image conversions in grph-con.lua, and I tried to find out how to use them. Up to know I only knew "mp" for SVG images. I found I can use "gray.pdf" or "cmyk.pdf" to convert an image

[NTG-context] Numbercommand and title

2022-08-12 Thread Fabrice Couvreur via ntg-context
Hello, How to make the period after the number be after the second parenthesis when there is a title like this Définition 1.1 (Title). ? Thanks Fabrice \definestructureconversionset [structure] [n, R, n, n, n] [n] \defineconversionset [digit] []

[NTG-context] image with rounded corners

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Hi, can ConTeXt make rounded image corners? Both of my approaches don’t work: \externalfigure[mill][ width=3cm, frame=on, corner=round,radius=1cm, backgroundcorner=round,backgroundradius=1cm, ] \defineoverlay[Mill][{% \externalfigure[mill][width=\overlaywidth] }]

Re: [NTG-context] Fwd: Typesetting modern Greek (UTF8) with ConTeXt

2022-08-12 Thread Hans Hagen via ntg-context
On 8/12/2022 2:57 AM, Adam Reviczky wrote: Hi Hans, I get a 'Nonletter' error with *fmtutil* for the mkii greek patterns (from the latest cont-tmf.zip 2022-08-05 17:17). Is that an issue with texlive's *fmtutil* itself or something wrong with the mkii greek pattern file? Actually, we never