Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
I found a way to wrap everything before \startdocument, so I think this looks like a template more or less: In case anyone is interested, here's the MWE: \definenote[address] \setupnote[address][rule=off,location=text] \setupnotation[footnote][numberconversion=numerals]

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
After some visualisations, I found that my token \titlefootnotes will ALWAYS generate two lines if there is/are any non-zero number of footnotes there. Interesting. So I need a \newif that each time a \thanks or \email is invoked, it'll set to true and I'll unskip the 2\lineheight afterwards. I

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
Hi Massi, You are a champion! On Wed, May 18, 2022 at 4:41 PM mf wrote: > I hope I got the point now: > > ... > \startcolumns > > \the\titlefootnotes > > \kern-\rawcountervalue[address]\lineheight % dirty trick > > test\footnote{test} > > \input knuth > > \stopcolumns > ... > > Massi > > Il

Re: [NTG-context] Can I just put a footnote without marking in the main text?

2022-05-18 Thread Ross via ntg-context
Dear Massi, Thanks for your solution. But the thing may be related to the \appendtoks macro. It doesn't work to put just \setnotetext there. \note works fine, so that's the reason I need the "full functional macro". Maybe I didn't get the point, so if it's not too much to ask, could you do it on

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:48 PM, Denis Maier via ntg-context wrote: Anyway, I agree that a solution via hierarchy levels would be nice. That's what I'm hoping to achieve. I'm not familiar enough with low-level ConTeXt to do something like this but it seems like it ought to be possible. You don't do

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:29 PM, Denis Maier wrote: I probably wasn't clear. You will support toc:2. This: #+Context_Section_Levels: '(chapter section subsection) will translate into a definesectionlevels command and inform your exporter about the used sectionlevels. Once the used commands are known it

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:20 PM, Denis Maier via ntg-context wrote: I see. Next try: add a new option "#+Context_Section_Levels: Thus will take an alist. Now you'll know about the user defined structure levels and the toc option can be translated to the corresponding setting. (Here again, you can

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 9:49 AM, Denis Maier via ntg-context wrote: For the six = for the toc... Denis Maier via ntg-context hat am 24.12.2021 18:42 geschrieben: Can't you just define a default structurelevel scheme and a default combined list for the six. If a user redefines the structure level

[NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of levels they want in the table of contents with a number. I

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Jason Ross via ntg-context
On 10/18/21 8:38 AM, Luis Montgomery wrote: > Check that your Inkscape is working properly. > > That proble NOT appear on my machine... > > Best, > > L. Montgomery (Sorry Luis, I forgot to cc mailing list) Per https://wiki.contextgarden.net/Command/externalfigure, in LMTX the conversion is

[NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Jason Ross via ntg-context
The following MWE fails to render the text in the attached SVG properly: \starttext \externalfigure[test.svg][conversion=mp] \stoptext The axis labels, tick labels, and title are all incorrect. This file was generated with Matplotlib.

Re: [NTG-context] Memo module not working with lmtx

2021-10-15 Thread Jason Ross via ntg-context
I made a mistake with the MWE for the mailing list, however, corrected MWE gives same error: \usemodule[memo] \setupmemo[ name={Jason Ross}, opening={People of Earth}, closing={Thanks for all the Fish,}, signature={The Dolphins}] \starttext \startmemo We are writing to let you know that we

[NTG-context] Memo module not working with lmtx

2021-10-15 Thread Jason Ross via ntg-context
Hello, The Letter module seems to also include a module for memos. The following MWE fails with version 2021.10.10 23:43: \usemodule[memo] \setupmemo[ opening={People of Earth}, closing={Thanks for all the Fish,}, signature={The Dolphins}] \startmemo \startletter We are writing to let you

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-14 Thread Jason Ross via ntg-context
On 10/12/21 8:31 PM, Aditya Mahajan wrote: This is an issue with ConTeXt, but most of these issues are minor are easy to fix. Just send minimal examples showing the incorrect rendering. Aditya An example is attached. MathML generated with pandoc -f latex -t html --mathml

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-12 Thread Jason Ross via ntg-context
On 10/11/21 4:02 PM, Aditya Mahajan wrote: You can use pandoc to parse latex and convert it to mathml: Processing this in context (see attached files), gives a partially working solution. It doesn't look okay, but should be easily fixable. Do note that this is almost same as compiling latex

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-10 Thread Jason Ross via ntg-context
On 10/10/21 3:23 AM, Hans Hagen wrote: what do you mean with 'quite different' Hans Hi Hans, My current stumbling block is dealing with the `align` environment. I replace `\begin{align}/\end{align}` with `\startmathalignment/\stopmathalignment`, and replace all `&` characters with `\NC` and

[NTG-context] Converting LaTeX math to ConTeXt

2021-10-09 Thread Jason Ross via ntg-context
Hello, I'm trying to provide more support for LaTeX math for an Org Mode exporter for ConTeXt. LaTeX is the de facto standard for mathematics in Org Mode. However, the syntax is quite different between LaTeX and ConTeXt. I have a few ideas, but none that I'm happy about. 1. Export LaTeX to

[NTG-context] ConTeXt exporter for Org Mode

2021-08-10 Thread Jason Ross via ntg-context
Hello, I have developed a ConTeXt exporter for Org Mode. It is available at https://github.com/Jason-S-Ross/ox-context The exporter provides custom environments for each Org Mode entity in an effort to make customization easier, in contrast to the Pandoc exporter which uses built-in environments