[NTG-context] Re: Why is this description environment not showing the correct title?

2024-05-05 Thread Wolfgang Schuster
\latexdesc{1541} some other event happened \latexdesc{1542} some event happened quite different \stoptext I found the above code (the first line) in the ConTeXt Wiki, as a way to create the equivalent of a desc environment from LaTeX. The items inside {} should be bold

[NTG-context] Re: Why is this description environment not showing the correct title?

2024-05-05 Thread Mikael Sundqvist
desc{1541} some other event happened > \latexdesc{1542} some event happened quite different > > \stoptext > > > I found the above code (the first line) in the ConTeXt Wiki, as a way to > create the equivalent of a desc environment from LaTeX. The items inside {} > shoul

[NTG-context] Why is this description environment not showing the correct title?

2024-05-05 Thread Joel via ntg-context
found the above code (the first line) in the ConTeXt Wiki, as a way to create the equivalent of a desc environment from LaTeX. The items inside {} should be bold, then there is a gap before the next text. I am using this to display a simple timeline. Though the formatting looks perfect, very

[NTG-context] Re: How to stop ConTeXt from thinking period is at the end of a sentence?

2024-05-05 Thread Denis Maier via ntg-context
https://wiki.contextgarden.net/French_spacing Joel via ntg-context hat am 05.05.2024 00:30 CEST geschrieben:     I noticed that some code is being rendered wrong, most especially apparent in a column environment where

[NTG-context] How to stop ConTeXt from thinking period is at the end of a sentence?

2024-05-04 Thread Joel via ntg-context
I noticed that some code is being rendered wrong, most especially apparent in a column environment where sometimes the text can get stretched a bit more to fit the column width nicer. If a sentence says "They appeared between c. 1200 BCE and c. 1500 CE." it appears ConT

[NTG-context] Re: \par and \startlines

2024-05-01 Thread Henning Hraban Ramm
by \startlines unless you add the normal linenumbering mechanism)     - support for lines which don't fit on a single page where the consecutive lines are indented but the module is outdated and relies on an old mkii style code base. A big difference between the \startlines environment

[NTG-context] Re: \par and \startlines

2024-05-01 Thread Wolfgang Schuster
on an old mkii style code base. A big difference between the \startlines environment and the format module is that the first treats each line in the input file as a separate line in the output while the format module requires begin/end tags for each line which works better for xml input

[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Wolfgang Schuster
Alan Bowen schrieb am 29.04.2024 um 19:37: I used TeXShop and PopChar Pro to get the letter ר so that it is l2r. Not a great solution but it works when one is working in r2l text. (Thank heaven for Unicode.) I will have a look at Visual Studio Code. I tested a few text editors with better

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Wolfgang Schuster
n't matter because definecommand is just a wrapper for the implement function with the option to create a environment. Many thanks for your fast reply, Wolfgang. I’m reading it now in cld-mkiv.pdf. Is \protected the same as \unexpanded? Yes they are the same (\protected is the primitive and \

[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Wolfgang Schuster
Alan Bowen schrieb am 29.04.2024 um 18:27: I discovered what the problem was. Just in case someone else may also wonder how to do this, one way (not necessarily the best) is to insert: {ר}high\ where the letter in parentheses (resh) should be entered in a l2r context, not r2l. Which editor

[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Alan Bowen
I discovered what the problem was. Just in case someone else may also wonder how to do this, one way (not necessarily the best) is to insert: {ר}high\ where the letter in parentheses (resh) should be entered in a l2r context, not r2l. Alan On Sun, Apr 28, 2024 at 4:23 PM Alan Bowen wrote: > I

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
d doesn't matter because > definecommand is just a wrapper for the implement function with the > option to create a environment. Many thanks for your fast reply, Wolfgang. I’m reading it now in cld-mkiv.pdf. Is \protected t

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Wolfgang Schuster
er for the implement function with the option to create a environment. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.n

[NTG-context] ConteXt commands in an rtl environment

2024-04-28 Thread Alan Bowen
I am having trouble entering ConteXt commands in an rtl language, in this case Hebrew. How does one make the last(left hand) letter of the Hebrew word אשר a superscript? My experiments with \high{...} have not been successful so far in part, I think, because I have not got the brackets right.

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
sually, you won't run into this because an empty line works, but with XML that's not am option.) As you've said, it looks like a bug then. The lines environment treats each line of the input as paragraph by adding \par at the end of it and adding another \par makes no differenc

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
markup as well. Usually, you won't run into this because an empty line works, but with XML that's not am option.) As you've said, it looks like a bug then. The lines environment treats each line of the input as paragraph by adding \par at the end of it and adding another \par makes no differe

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
works, but with XML that's not am option.) As you've said, it looks like a bug then.   The lines environment treats each line of the input as paragraph by adding \par at the end of it and adding another \par makes no difference here. BTW: ConTeXt has a module for poems which can be

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
ion.) As you've said, it looks like a bug then. The lines environment treats each line of the input as paragraph by adding \par at the end of it and adding another \par makes no difference here. BTW: ConTeXt has a module for poems which can be loaded with \usemodule[form

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-19 Thread Hans Hagen
will still compile, even if something isn't displayed on screen as it should: (1) I tried placing a table inside a startitemize environment, as instead of it not compiling, it left a message in the document warning that wasn't supported. (2) In another case, I had an image that ConTeXt couldn't find

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-18 Thread Henning Hraban Ramm
on screen as it should: (1) I tried placing a table inside a startitemize environment, as instead of it not compiling, it left a message in the document warning that wasn't supported. (2) In another case, I had an image that ConTeXt couldn't find, as I mispelled the filenmame, and it fully

[NTG-context] How to isolate serious errors from warnings?

2024-04-17 Thread Joel via ntg-context
inside a startitemize environment, as instead of it not compiling, it left a message in the document warning that wasn't supported. (2) In another case, I had an image that ConTeXt couldn't find, as I mispelled the filenmame, and it fully compiled and made a PDF, without me noticing. (3) Or maybe

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
sed to say it was in my own environment file, not in the lmtx distribution. I have a Lua function that prints information about the computer model and the operating system into a layer. Unfortunately, there was an "elseif" in there somewhere which should catch exceptions (such as a raspbe

[NTG-context] Re: Very bizarre bug

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

[NTG-context] Re: Very bizarre bug

2024-04-07 Thread Hans Hagen
, BUT: it has one additional page. The first page of the document is empty and has the word "on" in the upper left hand corner of the text area. I have checked several times, it always comes out like this. Everything else is exactly the same - context version, file and environment files (

[NTG-context] Very bizarre bug

2024-04-07 Thread Thomas A. Schmitz
of the document is empty and has the word "on" in the upper left hand corner of the text area. I have checked several times, it always comes out like this. Everything else is exactly the same - context version, file and environment files (everything under git, so really identical). The

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
:command") do local at = e.at local name = at["name"] or "" local type = at["type"] if name ~= "" then local c = commands[name] local n = c and (c[int

[NTG-context] Re: Visually balanced columns

2024-03-27 Thread Wolfgang Schuster
vertical position -- no matter, how many lines there are in each column and how exactly they are aligned. If I understand correctly, that's how the multicols environment in LaTeX works, and that's how old-multicolumns worked -- but this module seems to be no longer supported in lmtx. I tried

[NTG-context] Visually balanced columns

2024-03-27 Thread Alexey Kryukov
there are in each column and how exactly they are aligned. If I understand correctly, that's how the multicols environment in LaTeX works, and that's how old-multicolumns worked -- but this module seems to be no longer supported in lmtx. I tried to disable gridfitting for startcolumns, but it produces

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread Andres Conrado Montoya
gt; > > I have set up the shell environment variable in my `~/.zshrc`, here it is > the output of `echo $PATH` under the shell: > > ``` > > /home/hf/WORKSPACE/TOOLS/Emacs/bin:/home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin

[NTG-context] Re: ConTeXt on RPI400

2024-03-26 Thread hf
Hello Andres, I have set up the shell environment variable in my `~/.zshrc`, here it is the output of `echo $PATH` under the shell: ``` /home/hf/WORKSPACE/TOOLS/Emacs/bin:/home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

[NTG-context] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
On 3/17/24 23:58, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: >> [...] >> As far as I know, this sample should be compiled without any issue. >> >> Could you be so kind to confirm the issue or explain me what am I missing? &

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
\stoptext Current latest (from 2024.03.11 09:34) breaks compilation with both LMTX and LuaTeX. As far as I know, this sample should be compiled without any issue. Could you be so kind to confirm the issue or explain me what am I missing? The footnote environment is just a fancy way

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
when I uncomment line #2, revealing the > cross-references work find when outside of a table. > > I also tried using a TABLE environment instead and the result was > similar, it wouldn't show the page number. > > What am I doing wrong? Tabulate and natural tables proc

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
}{\pagereference[xyz]} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line #2, revealing the cross-references work find when outside of a table. I also tried using a TABLE environment instead and the result was similar, it wouldn't show

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
, revealing the cross-references work find when outside of a table. I also tried using a TABLE environment instead and the result was similar, it wouldn't show the page number. What am I doing wrong? --Joel ___ If your

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 Use the narrower or blockquote environment for this. * tab setting https://www.w3.org/TR/jlreq/#fig2_6_1 Just use a table. * furiwake https://www.w3.org/TR/jlreq/#fig2_7_2 * jidori https://www.w3.org/TR/jlreq/#fig2_7_4

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
processbuffer{main}{demo}{} \stoptext With \setupmetadata it breaks compilation. I know it is not the most elegant code, but in my real environment xml:title:author outputs text. Many thanks for your help, Pablo ___ If your

[NTG-context] Re: Local alternative to \input

2024-03-04 Thread Denis Maier via ntg-context
] Re: Local alternative to \input With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment

[NTG-context] Re: Local alternative to \input

2024-03-03 Thread Jeroen
With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment \startenvironment bbb \samplefile

[NTG-context] Re: missing metadata in LMTX

2024-03-03 Thread Wolfgang Schuster
but none of the is very elegant and I hope Hans can help with a clean solution. The first solution works around the grouping issue of the xmlsetups environment and pushes the setting beyond the limit of it. \startxmlsetups xml:meta \aftergrouped{\setupinteraction [author={\xmltext{#1}{/author

[NTG-context] Re: typing with scite module and escape

2024-02-24 Thread Henning Hraban Ramm
Am 24.02.24 um 13:53 schrieb Henning Hraban Ramm: Hi, I’m trying to use escaping in a typing environment. It works until I load the scite module. I need that only for btx highlighting, but I can’t limit it to that. What should I do? \usemodule[scite] \define[1]\SAY{\hfill{\rm #1

[NTG-context] typing with scite module and escape

2024-02-24 Thread Henning Hraban Ramm
Hi, I’m trying to use escaping in a typing environment. It works until I load the scite module. I need that only for btx highlighting, but I can’t limit it to that. What should I do? \usemodule[scite] \define[1]\SAY{\hfill{\rm #1}} \setuptyping[TEX][ option=tex,% scite sets cld escape

[NTG-context] Re: XML processing, unwanted indentation/alignment

2024-02-15 Thread Wolfgang Schuster
e and another one after the following { in the main_name attribute) which end as multiple spaces in the output. While you can fix the problem by removing the spaces a better solution is to use the texdefinition environment to create your command, you can even use blank lines to structure the argumen

[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
mlflush{#1} \stoptabulate \stopxmlsetups % Each gets his own table row. \startxmlsetups xml:list:member \NC \nameemaillink{#1} \NC \xmlatt{#1}{birthday} \NC \mobilelink{#1} \NC\NR \stopxmlsetups % finis \environment xml.tex % XML processing instructions \setupframedtext[frame=off, width=\textwi

[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster
in a description or enumeration environment. \definedescription [qedtest] [closesymbol=\symbol{qed}] \starttext \startqedtest \samplefile{lorem}\qed \stopqedtest \stoptext Wolfgang ___ If your question is of interest

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
s version >>> > of >>> > those (i.e., what one gets with \starttable ... \stoptable). >>> > However, https://wiki.contextgarden.net/Command/starttable says >>> > The environment \starttable ... \stoptable is and (sic) old and >>> > nearly obsolete

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
one gets with \input table in plain TeX) and would like to use what appears to be ConTeXt's version of those (i.e., what one gets with \starttable ... \stoptable). However, https://wiki.contextgarden.net/Command/starttable says The environment \starttable ... \stoptable is and (sic) old

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
hat one >> gets with >> \input table >> in plain TeX) and would like to use what appears to be ConTeXt's version of >> those (i.e., what one gets with \starttable ... \stoptable). >> However, https://wiki.contextgarden.net/Command/starttable says >> The environment \start

[NTG-context] Re: \starttable questions

2024-01-25 Thread Henning Hraban Ramm
(i.e., what one gets with \starttable ... \stoptable). However, https://wiki.contextgarden.net/Command/starttable says The environment \starttable ... \stoptable is and (sic) old and nearly obsolete way to handle tabular material Q1: are there plans to remove \starttable

[NTG-context] \starttable questions

2024-01-25 Thread Jim
... \stoptable). However, https://wiki.contextgarden.net/Command/starttable says The environment \starttable ... \stoptable is and (sic) old and nearly obsolete way to handle tabular material Q1: are there plans to remove \starttable ... \endtable from ConTeXt any time "

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-23 Thread Thomas Meyer
That's it! Many thanks to Hans, Hraban and especially Wolfgang for his solution. This environment should become part of ConTeXt! I have been a LaTeX/XeTeX/LuaLaTeX user for over 30 years and used it to write my papers during my studies and use it for almost all my writing. Now I wanted to try

[NTG-context] too large dimension in current latest

2024-01-15 Thread Pablo Rodriguez via ntg-context
Hi Hans, after updating to current latest (2024.01.08 11:23), I get the following error. This is triggered when compiling XML sources (with extra environment files), so it is not easy to get a minimal sample file. I wonder whehter the message itself could reveal what may be wrong here. Many

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Bruce Horrocks
Xt book setup causes a different handling of these > externalfigures – but a small example with the same environments worked. Whenever I've had odd results like this it's been the result of an accumulation of 'small' errors. For example, I once had a missing } in a macro in an environment file. For what

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Gavin via ntg-context
, tkz-elements.sty. Everything else is written in Lua. I think we could write a simple ConTeXt environment file that would replace tkz-elements.sty, making all of the tikz-elements package available for MetaFun rather than TikZ. This would not give you the pretty drawing features of tikz-euclide

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
ow. The 9 elements of the grid will be - such a diagram that explains the building blocks / general workflow – the diagram of the layout areas – the project structure (environment, product, component) – some examples of code and results I wanted to use the “christmas card” squares for borders around and

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-10 Thread Henning Hraban Ramm
that want to integrate a typesetting system in a publishing environment, because ConTeXt does not stand in your way as LaTeX often do and has many programming features (lua, xml ...) or typeset very customized layouts. These two target groups are very different. Integratable building blocks

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-10 Thread Hans Hagen via ntg-context
. It is hard to come up with a good idea. Who is targeted? ConTeXt is interesting for people that want to integrate a typesetting system in a publishing environment, because ConTeXt does not stand in your way as LaTeX often do and has many programming features (lua, xml ...) or typeset very

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-09 Thread juh via ntg-context
a good idea. Who is targeted? ConTeXt is interesting for people that want to integrate a typesetting system in a publishing environment, because ConTeXt does not stand in your way as LaTeX often do and has many programming features (lua, xml ...) or typeset very customized layouts. These two t

[NTG-context] Solaris 11 SPARC Support [SEC=OFFICIAL]

2024-01-04 Thread Michael Wigston via ntg-context
..@asic.gov.au<mailto:michael.wigs...@asic.gov.au> [cid:image001.png@01DA3FC5.8B11FCD0] Please consider the environment before printing this document. Information collected by ASIC may contain personal information. Please refer to our Privacy Policy<https://asic.gov.au/privacy/> fo

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Henning Hraban Ramm
\environment foo \environment bar \startenvironment foo this is a lot of text \stopenvironment \startenvironment bar and this is another piece of text \stopenvironment \stoptext An environment is a separate file. \environment is like \input with a few more checks, e.g. it loads the file only once. e.g

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Henning Hraban Ramm
and just refer to it with something like \localinput or so to a textblock at the bottom of the same file. What would be the easiest way to implement this? Usually, the best way to load setups is using \environment at the top of your file. I don’t understand the sense in placing this in the bottom

[NTG-context] Re: Status of Asymptote

2024-01-03 Thread Jeroen
the filter module: https://github.com/adityam/filter Using that you could define an asymptote environment so that: \startbuffer[asymptote-preamble] \stopbuffer \starttext \startasymptote % Asymptote figure \stopasymptote \stoptext saves the content of the asymptote-preamble and the figure

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Aditya Mahajan
to obtain simple integration for asymptote using the filter module: https://github.com/adityam/filter Using that you could define an asymptote environment so that: \startbuffer[asymptote-preamble] \stopbuffer \starttext \startasymptote % Asymptote figure \stopasymptote \stoptext saves th

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
Dear LIst, I used today the help of WinEdt , because of the PATH for the QR Code i wanted to try, and i found this one, sorry, a little bit long: PATH The PATH environment variable contains a list of directories where Windows should search for executable files when the path specification

[NTG-context] Re: error with definestartstop and startmode

2023-12-18 Thread Aditya Mahajan
r] > >> \keepblocks[H] > > Thanks for this solution. > > > > Is there also something for inline-mode? Example: > > > > test \beginH TEST\endH test > > You can create different versions of your environment and let context choose > one whether the mode is enab

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Wolfgang Schuster
\beginH TEST\endH test You can create different versions of your environment and let context choose one whether the mode is enabled or disabled. %\enablemode[H] \startmode [H]   \definestartstop [H] [color=blue] \stopmode \startnotmode [H]   \define\startH{\ignoreupto\stopH} \stopnotmode

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar. \stoptext \par \starttext 1. Use the itemize environment to create numbered blocks. 2. Learn the correct usage of inline math mode, i.e. \m{...} 1. \m\forall m ∈M : ∃f ∈F : h(m, f).\par 2. ∃f ∈F : ∀m ∈M : h(m

[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-14 Thread Gerion Entrup
Am Mittwoch, 13. Dezember 2023, 21:57:35 CET schrieb Bruce Horrocks: > > > On 13 Dec 2023, at 17:13, Gerion Entrup wrote: > > > > Is there a simple way to define a new command/environment and handle > > the keyword arguments in Lua? For example defining a frontend co

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Ursula Hermann
starts a paragraph environment. If you overwrite it by defining another, the behaviour is undefined. First try to give your textbackground a different name. Hraban ___ If your question is of interest to others as well, p

[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Bruce Horrocks
> On 13 Dec 2023, at 17:13, Gerion Entrup wrote: > > Is there a simple way to define a new command/environment and handle > the keyword arguments in Lua? For example defining a frontend command > like this: I don't have the answer to your other questions but I do have an exampl

[NTG-context] LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Gerion Entrup
[itemize:1][symbol=3,itemalign=middle]`: How are the arguments handled and is this a generic process or specific to each command? Is there a simple way to define a new command/environment and handle the keyword arguments in Lua? For example defining a frontend command like this: \startsomething

[NTG-context] Re: Problem with the paragraph

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 15:22 schrieb Ursula Hermann: Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definetextbackground[paragraph][ \startparagraph \startparagraph starts a paragraph environment. If you overwrite it by defining another

[NTG-context] framed: rounded corner oddity

2023-12-05 Thread Henning Hraban Ramm
Hi, in my ConTeXt book, some examples for \framed with rounded corners look odd, as if the MetaPost calculation of rounded corners fails. I can’t find a minimal example that shows the problem, and I can’t imagine which of the settings in my extensive environment would cause it. Find below

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread Mikael Sundqvist
gt; According to my recent tests, a mathalignment environment does not seem to > react (any more) to the values of the "align" option. > The source code hab been rendered correctly a few years ago, > > Minimal example 1: > > \starttext > \startformula > \startmathal

[NTG-context] mathalignment; alignment of columns

2023-11-24 Thread wolfgangbackes--- via ntg-context
Something as elementary as "mathenvironment" can't really be faulty, can it? According to my recent tests, a mathalignment environment does not seem to react (any more) to the values of the "align" option. The source code hab been rendered correctly a few years ago

[NTG-context] Re: Compatibility Issue with TikZ/Spy Library in ConTeXt: Seeking Solutions

2023-11-24 Thread Hans Hagen
://context-on-web.eu/. The example employs the spy library within a TikZ environment. Surprisingly, the same example runs without error on my local LaTeX engine, indicating a potential compatibility issue between ConTeXt and the spy library. Here is the minimal example for your reference:

[NTG-context] Compatibility Issue with TikZ/Spy Library in ConTeXt: Seeking Solutions

2023-11-24 Thread wolfgangbackes--- via ntg-context
hin a TikZ environment. Surprisingly, the same example runs without error on my local LaTeX engine, indicating a potential compatibility issue between ConTeXt and the spy library. Here is the minimal example for your reference: \starttext \usemodule[tikz] \usetikzlibrary {spy} \starttikzpicture

[NTG-context] command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
(also available at \cC)}.} I would like to do that with the "database" module. So far I have adapted the itemize environment, but I don't get the contents for items right: \usemodule[database] \starttext \def\ItemContents#1#2#3{\doiftext{#2} {\item {\em #1}\attachment[f

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
\geq \frac{1}{2T}$ \NR > > \stopcases > > \stopformula > > \stoptext > > There has been changes in the math alignment mechanism a while ago and the > cases > environment use math mode for a column entry when you use the \NC tag at the > begin > of a cell, to

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Wolfgang Schuster
has been changes in the math alignment mechanism a while ago and the cases environment use math mode for a column entry when you use the \NC tag at the begin of a cell, to make your example working again remove the $ in the column. \starttext \startformula   X(f) =     \startcases     \NC T, \NC

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't work in framed environment. > > This is a short code: > > \definefontfeature[default][default][expansion=quality,protrusion=quality] > > \setupalign[hz,hanging] > > \showfram

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Wolfgang Schuster
Csikos Bela schrieb am 20.10.2023 um 14:53: Hello: Protrusioin doesn't work in framed environment. This is a short code: \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \showframe \starttext \input tufte \blank \framed[frame=off

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
s.txt" to be created in the local directory containing the lines: one two three begin \setuplinenumbering[location=text,style=\small\tt] \starttext Location=text not working in main body \typefile[numbering=line]{three_lines.txt} But it does work if a custom typing environment

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Pablo Rodriguez
On 9/26/23 20:46, Wolfgang Schuster wrote: > [...] > The \startblockquote command removes the last skip to ensure only the > space which is set by the environment appears in the output. Many thanks for your explanation, Wolfgang. > The default method to put some space befo

[NTG-context] Re: item list inside a blockquote

2023-09-26 Thread Wolfgang Schuster
a. \stopitemize \stopblockquote two \stoptext I tend to think this might be a bug. The \startblockquote command removes the last skip to ensure only the space which is set by the environment appears in the output. The default method to put some space before and after the environment

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-09 Thread Henning Hraban Ramm
Am 08.09.23 um 19:37 schrieb Henning Hraban Ramm: But it uses its own page size, I don’t understand why. I need the bleed/trim area. If I use \setlayer in the setup, the content gets placed on the next page, i.e. under the text. \structureuservariable{image} in the setup gets the value

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 17:02 schrieb Henning Hraban Ramm: We can discuss the details next week and you put the resulting template on the wiki. Ah, I guess I understand the template mechanism. Yet again glorious setups. Will probably manage. So far: \definepageinjection[chapter:start][ page=left,

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 16:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 08.09.2023 um 13:09: Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which was

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.09.2023 um 13:09: Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which was added for this purpose. Thank you! You’re right,

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which was added for this purpose. Thank you! You’re right, that might be enough. (Documented only in

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.09.2023 um 12:22: Hi, for an involved image placement (full page image starting each chapter, several stacked elements), I’d like an environment that accepts key-value arguments, like \startMyFigure[page=left,title={My caption}] \externalfigure[dummy

[NTG-context] how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Hi, for an involved image placement (full page image starting each chapter, several stacked elements), I’d like an environment that accepts key-value arguments, like \startMyFigure[page=left,title={My caption}] \externalfigure[dummy]… \stopMyFigure I don’t think that a real float makes sense

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Henning Hraban Ramm
stay on the wiki. * t-annotation (2013, Wolfgang) Can be removed, the userdata environment is a good alternative for the module. * t-fancybreak (2015, Wolfgang) Should stay  on the wiki. * t-fullpage (2017, Wolfgang) Can be removed, the "tight" layout is a good alternative.

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Wolfgang Schuster
ng) Can be removed, the userdata environment is a good alternative for the module. * t-fancybreak (2015, Wolfgang) Should stay  on the wiki. * t-fullpage (2017, Wolfgang) Can be removed, the "tight" layout is a good alternative. * t-title (2017, Wolfgang) Can be

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
add it to my list of todos..., but just to make sure the explanation will be correct: what exactly is happening here? The tabulate environment will "inherit" the outer environments setups, but why does this result in the overprinting? that is catched in a ne

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
=nopenalties] % in next version > > \setuptabulate[inner=\setups{nopenalties}] > > or > > \starttabulate[|p(.15\textwidth)s{nopenalties}|ps{nopenalties}|] > > but i admit it needs some thought ... outer level only but that is also pretty > much an engine thing then (no big de

[NTG-context] Some very simple cld - loading a module

2023-08-18 Thread Hamid,Idris
ode environment? Thank you in advance. Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ If your question is of interest to others as w

[NTG-context] Re: breakpoints in verbatim text

2023-08-18 Thread Hans Hagen
a dutch net-artist artist from the early days of the public web, and is often (volontary) mixing different natural nd machine langages. Not all snippets are HTML, but most of them are some sort of HTML pidgin. I see, the typing environment is in this case the safest option to ensure special

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
a écrit : Alex Leray schrieb am 17.08.2023 um 14:41: Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Do you need the verbatim environment or is the lines-environment sufficient. \setuppa

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Wolfgang Schuster
Alex Leray schrieb am 17.08.2023 um 14:41: Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Do you need the verbatim environment or is the lines-environment sufficient. \setuppa

  1   2   3   4   5   6   7   8   9   10   >