[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

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
, Alex Leray wrote: 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. Is there a way to achieve this? For now do this:   \appendtoks \usesetupsparameter\typingparameter   \to \everyinitiali

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Hans Hagen
On 8/17/2023 2:41 PM, Alex Leray wrote: 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. Is there a way to achieve this? For now do this: \appendtoks \usesetupsparameter\typin

[NTG-context] breakpoints in verbatim text

2023-08-17 Thread Alex Leray
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. Is there a way to achieve this? Below is my test code. Thanks, Alex * * * \setuppapersize[A7] \setbreakpoints[compound] \starttext 1. This is

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
chapter at the end of a book. It produces headings that indicate the pages for which the notes apply. Perhaps you can adapt it to your needs: In the environment file: \definemarking [notePage] \startsetups noteHeadingsText {\em Notes for page \doifelse{\fetchmark[notePage

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Xavier B.
gt; > problem to several "wrong" files. > > One was trivialy fixed because I did not close one environment, but other > > don't. Please help: > > 1. You need \starttext and \stoptext at the begin and end of your > example file. > > 2. You forgot

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Wolfgang Schuster
Xavier B. schrieb am 16.08.2023 um 00:12: Thanks. After some work on it, following your advice, I reduce the compilation problem to several "wrong" files. One was trivialy fixed because I did not close one environment, but other don't. Please help: 1. You need \starttext and

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
Thanks. After some work on it, following your advice, I reduce the compilation problem to several "wrong" files. One was trivialy fixed because I did not close one environment, but other don't. Please help: The error is here and I attach file. modules > 'pgfmath'

[NTG-context] Re: Very strange error:

2023-08-15 Thread Wolfgang Schuster
) which end with the end of the paragraph had always been problematic and it's better to use the alternative environment. @all, please comment it out this behaviour in somewhere. The weak point of context is documentation: wiki is too bit not updated and reference manual are outdated. As a simple

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Mikael Sundqvist
Hi, I suggest to comment out/add \stoptext until the error go,and that way narrow it down. The usual way... /Mikael Den tis 15 aug. 2023 19:50Xavier B. skrev: > I don't have line 276. This is what I have (169 lines): > > % Fitxer ConTeXt MIV > > % carregam les opcions d'entorn

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
I don't have line 276. This is what I have (169 lines): % Fitxer ConTeXt MIV % carregam les opcions d'entorn \environment ng-entorn-minimal.conTeXt \environment ng-entorn-taules.conTeXt \environment ng-entorn-teoria.conTeXt \environment ng-entorn-colors.conTeXt % bibliografia \usebtxdataset

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
\NR > \NC x = k - D = \NC \pm \sqrt{ D^2 - \frac{c}{a}} - D\quad \text{desfeim el > canvi} \NR > \stopalign > \stopformula > on $D = (\frac{b}{2a})$ i $x = k-D$. > > > and then the formula goes to next page. Is there any way to split align > environment? In wiki I could not fin

[NTG-context] split align in formulas

2023-08-14 Thread Xavier B.
= k-D$. and then the formula goes to next page. Is there any way to split align environment? In wiki I could not find nothing. Thanks in advance, ___ If your question is of interest to others as well, please add

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
that what I want. However, this does not really nest aligns, but defines a new alignment group/environment (if I interpret it correctly). But after all, it is a viable workaround. Gerion signature.asc Description: This is a digitally signed message part.

[NTG-context] units module for LMTX?

2023-08-13 Thread Xavier B.
-modules | collating : https://modules.contextgarden.net/dl : Environment-for-collating-marks.zip mtx-install-modules | crossref: https://modules.contextgarden.net/dl : t-crossref.zip mtx-install-modules | cyrillicnumbers : https://modules.contextgarden.net/dl : t

[NTG-context] Re: Pass string into text background graphic

2023-08-13 Thread Thangalin
number\numexpr1+\rawcountervalue[ConcurrentTextGetCounter]/2\relax}} > I don't know why the counter is incremented twice for each concurrent environment; the document is typeset once, in three passes. Dividing by two solves the issue, if there's a deeper issue, I'm at a loss to e

[NTG-context] Re: upload

2023-08-11 Thread Thangalin
That works Hans, thank you. line 802 in core-env should be: > > \permanent\tolerant\protected\def\setupenv >{\syst_variables_set\getrawparameters[\s!environment]} > > (seems i forgot that one when doing some cl

[NTG-context] Re: upload

2023-08-11 Thread Hans Hagen
ror on line 13 in file : Use of \getrawparameters doesn't match its definition mtx-context | fatal error: return code: 1 This was working with the previous release. line 802 in core-env should be: \permanent\tolerant\protected\def\setupenv {\syst_variables_set\getrawparameters[\s!environm

[NTG-context] Parallel columns using start/stop setups

2023-08-08 Thread Thangalin
with a general-purpose solution (i.e., the prose itself is not changed). Here are a few examples. In the first, a "concurrent" environment is created with two "timelines": % SOT \definestartstop[concurrent][ before={\startcolumns[n=2, align={verytolerant,stretch}, separator=rule]},

[NTG-context] Re: OSFONTDIR

2023-07-21 Thread Alan Braslau via ntg-context
that variable to nothing, in the environment or in a local file like in ../tex/texmf-local/web2c/texmfcnf.lua normally texmf-fonts is where i put fonts and that one should win A TeX-live thing can be the default for TeX live. I agree with Thomas, not explicitly including the system fonts

  1   2   3   4   5   6   7   8   9   10   >