Re: [NTG-context] installer

2023-05-13 Thread Axel Kielhorn via ntg-context
Am 07.05.2023 um 16:38 schrieb Hans Hagen via ntg-context : > > Hi, > > The mtx-install-tikz is now mtx-install-modules, so > > mtxrun --script install-modules > > will show what to do. By looking at > > mtxrun --script install-modules --list The installer does not work for me. context

[NTG-context] ConTeXt meeting and the annotated cow

2022-09-18 Thread Axel Kielhorn via ntg-context
Hello, last week I learned something about MetaPost at the context meeting. Thanks Taco! First a little background: I write a lot of documentation and sometimes I need to include a picture with annotations. Until now I used a drawing program to add text and arrows. This has one disadvantage,

[NTG-context] LMTX and modules

2022-07-12 Thread Axel Kielhorn via ntg-context
Hello, Some years ago I wrote an introduction to ConTeXt in German: https://github.com/AKielhorn/Context-Intro But that was long ago. Today LMTX is state of the art and I tried to build it with a recent LMTX. This lead to problems because LMTX does not include modules. Therefore my question

Re: [NTG-context] Workshop at FrOSCon

2022-07-10 Thread Axel Kielhorn via ntg-context
> Am 10.07.2022 um 16:56 schrieb Henning Hraban Ramm via ntg-context > : > > Am 10.07.22 um 16:43 schrieb Axel Kielhorn via ntg-context: >>> Thank you – I can’t remember you ever announced that? >> I did in 2018 and in return you send me an early version of yo

Re: [NTG-context] Workshop at FrOSCon

2022-07-10 Thread Axel Kielhorn via ntg-context
> Am 10.07.2022 um 10:22 schrieb Henning Hraban Ramm via ntg-context > : > > Am 10.07.22 um 08:36 schrieb Axel Kielhorn via ntg-context: >>> Am 09.07.2022 um 19:27 schrieb Henning Hraban Ramm via ntg-context >>> : >>> >>> Tell them there will b

Re: [NTG-context] Workshop at FrOSCon

2022-07-10 Thread Axel Kielhorn via ntg-context
> Am 09.07.2022 um 19:27 schrieb Henning Hraban Ramm via ntg-context > : > > Tell them there will be a German book next year (I hope...); I’ll send you a > link off-list. I’m looking forward to your book. In the meantime there is a short guide at: https://github.com/AKielhorn/Context-Intro

Re: [NTG-context] upload

2021-10-19 Thread Axel Kielhorn via ntg-context
> Am 18.10.2021 um 23:17 schrieb Hans Hagen via ntg-context > : > > Hi, > > I uploaded a new lmtx. This one is a little experimental because I removed so > redundant / intermediate code still present from teh transition from mkiv to > lmtx (mostly backend related). I might have missed

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-08 Thread Axel Kielhorn via ntg-context
> Am 07.09.2021 um 21:03 schrieb Henning Hraban Ramm via ntg-context > : > > Since I got zint running (thanks, Hans!), there’s now a wiki page: > > https://wiki.contextgarden.net/Barcodes I followed you instructions and got zint running with MacPorts: Zint version 2.10.0 And it looks like

Re: [NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Axel Kielhorn
> Am 25.07.2021 um 12:17 schrieb Hans Hagen : > > On 7/25/2021 9:46 AM, Wolfgang Schuster wrote: > >> There is no mode value for LMTX, only MkIV is set. To check for LMTX >> you have to use \ifcase\contextlmtxmode but an additional for lmtx >> would be useful. > i'll add an lmtx mode Thanks!

[NTG-context] \setupinitial: style Parameter resets size

2021-07-25 Thread Axel Kielhorn
Hi, since the lettrine module does not work with LMTX, I’ve looked into \setupinitial. (There is a different thread about this.) There is a „style“ parameter to change the style, but whenever I change the style, the font size is reset. This is not what I expected. This was the case in context

[NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Axel Kielhorn
Hi, I have a document that doesn’t work with LMTX right now. While testing LMTX I would like to exclude certain passages and work on them later. When I run the following: \doifmode{*mkiv}{mkiv} \doifmode{*contextlmtxmode}{contextlmtx} \doifmode{*lmtx}{lmtx} I always get „mkiv“. I’ve tried -

Re: [NTG-context] Making text disappear depending on mode

2021-02-06 Thread Axel Kielhorn
> Am 04.02.2021 um 17:50 schrieb Hans Hagen : > > \defineblock > [ChangePR] > > \defineblock > [ChangeRP] > % \hideblocks[ChangePR] > \keepblocks[ChangePR] > % \keepblocks[ChangePR,ChangeRP] Ah, blocks. Thanks Hans, this works great. I’ve updated the page in the Wiki to show my (now

[NTG-context] Making text disappear depending on mode

2021-02-04 Thread Axel Kielhorn
Hello, I’m currently writing an article for „Die TeXnische Komödie“ and discovers that my code is not working. When the mode „change“ is set, the text should appear with a red line on the side, that part is working. When the mode is not set, it should disappear, that’s the part that is not

Re: [NTG-context] Getting the filename which is being typeset

2020-12-05 Thread Axel Kielhorn
> Am 04.12.2020 um 10:04 schrieb Hans Hagen : > > On 12/4/2020 8:02 AM, Axel Kielhorn wrote: >>> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster >>> : >>> >>> The following example shows the output of all commands: >>> >>&g

Re: [NTG-context] Getting the filename which is being typeset

2020-12-03 Thread Axel Kielhorn
> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster > : > > The following example shows the output of all commands: > > \starttext > \starttabulate [|T|T|] > \NC \type{\jobname} \NC \jobname \NC\NR > \NC \type{\jobfilename} \NC \jobfilename \NC\NR > \NC

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Axel Kielhorn
Hello Otared, > Thank you very much for your attention and your hints, which solved my > problems with ConTeXt from TeXLive2020. > > Indeed following your suugestion, I removed the > /opt/local/etc/texmf/ > directory, as well as all other tex related directories and files in >

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-12 Thread Axel Kielhorn
> Am 11.08.2020 um 16:57 schrieb Otared Kavian : > > I don't have these files at this place, but in > /opt/local/etc/texmf/ > I do have > /opt/local/etc/texmf/texmf.cnf > /opt/local/etc/texmf/texmfcnf.lua > the first one being created automatically when I tried to do mtxrun

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn
> The luatools script was there to offer some kpse like functionality but it > has been obsolete for ages (the generate was in mtx-base at that time). Just > use > > mtxrun --generate Should the comment in the engine file change? Context is called with: mtxrun --script context

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn
> Am 10.08.2020 um 14:59 schrieb Otared Kavian : > > It is possible that the version of mtxrun or luatools scripts in TeXLive are > not working. Well, one more suggestion: Use TeX Live Manager to update TeX-Live. I didn’t see any comments about context not working, but maybe the update fixes

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn
> Am 10.08.2020 um 12:03 schrieb Otared Kavian : > > Hi all, > > I suggested to a friend, who is using plain TeX and LaTeX, to switch to > ConTeXt, and since he is using TeXShop on MacOSX with a version of > TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test >

Re: [NTG-context] Bar within math (amended)

2020-06-11 Thread Axel Kielhorn
> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster > : > > Use a textbackground to highlight parts of your text. > > \definetextbackground > [Highlight] > [frame=off, > background=color, > backgroundcolor=yellow] > > \starttext > > \m{1 + 2 = \unit{3 kilo newton}} > > \m{1 + 2 =

Re: [NTG-context] lmtx vs mkiv

2020-04-05 Thread Axel Kielhorn
> Am 03.04.2020 um 11:07 schrieb Hans Hagen : > > For that reason the latest lmtx installer now (for the time being) also > includes the luatex binary (plus mkiv files needed) so that one can install > lmtx and run both engines. Instead of the --luatex switch one can also force > the engine

Re: [NTG-context] ePub issues: XML structure

2020-03-12 Thread Axel Kielhorn
> Am 12.03.2020 um 08:09 schrieb Henning Hraban Ramm : > >> Am 2020-03-11 um 22:42 schrieb Axel Kielhorn : >> >> Actually your workshop is the reason I plan to attend the meeting. > > Nice to hear, you’re welcome! As a preparation I have updated my german

Re: [NTG-context] ePub issues: XML structure

2020-03-11 Thread Axel Kielhorn
> Am 11.03.2020 um 20:59 schrieb Henning Hraban Ramm : > > Hi Axel, > will I meet you by chance at the DANTE in Lübeck? > > In that case it would be nice if you could assist me with my "ConTeXt for > beginners workshop" to tell something about Lua & XML. > > Greetlings, Hraban Actually your

Re: [NTG-context] XML to ConTeXt: converting date attribute from ISO date

2020-03-11 Thread Axel Kielhorn
Hello Hans and mailing list! Thank you so much. With this example and the help I received earlier from Massi, I’ve been able to write my first finalizer today. It is amazing how powerful luatex is. My project needs some cleanup and documentation but I hope to put it on GitHub soon. After

Re: [NTG-context] XML to ConTeXt: converting date attribute from ISO date

2020-03-11 Thread Axel Kielhorn
> Am 11.03.2020 um 15:19 schrieb Hans Hagen : > > On 3/11/2020 3:12 PM, Axel Kielhorn wrote: >>> Am 11.03.2020 um 15:01 schrieb Hans Hagen : >>> >>> On 3/11/2020 2:14 PM, Axel Kielhorn wrote: >>>> >>>> Had to change it to: >>

Re: [NTG-context] XML to ConTeXt: converting date attribute from ISO date

2020-03-11 Thread Axel Kielhorn
> Am 15.08.2018 um 14:04 schrieb Hans Hagen : > > On 8/15/2018 12:27 PM, Mike O'Connor wrote: >> G’Day, >> Having a first go at converting TEI XML to ConTeXt. >> Steep learning curve, but easier (for me) than XSLT, and first results were >> amazing. Using

Re: [NTG-context] Need help processing XML in luacode

2020-03-11 Thread Axel Kielhorn
Hello Massi, thanks for you help. > Am 10.03.2020 um 20:53 schrieb mf : > > In your tex file, try this: > > \startluacode > settings = {} > docstruktur = {} > doclistfile = "doclist.xml" > > local striplines = utilities.strings.striplines > > cropstring = function(s) > -- return

[NTG-context] Need help processing XML in luacode

2020-03-10 Thread Axel Kielhorn
Hi, after one year I’m back at a project processing XML with ConTeXt. Here is what I want to do: I have an XML file that I want to format with ConTeXt. I got this working last year. Now I want to take some information from a second file. My idea is to read the second file, store the data into

Re: [NTG-context] Documentation of change / Evolving documents

2019-10-11 Thread Axel Kielhorn
Hello! I have added my document about evolving documents to the Wiki at: https://wiki.contextgarden.net/Changes_Evolution and included it into the list of sample documents. Share and enjoy Axel ___ If your

Re: [NTG-context] Documentation of change / Evolving documents

2019-09-29 Thread Axel Kielhorn
> Am 29.09.2019 um 10:50 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 29.09.2019 um 10:36: >>> Am 2019-09-29 um 08:59 schrieb Axel Kielhorn : >>> >>> But I would prefer to write >>> >>> \startChangeA{V. 2.0} >&g

Re: [NTG-context] Documentation of change / Evolving documents

2019-09-29 Thread Axel Kielhorn
> Am 19.01.2019 um 09:06 schrieb Axel Kielhorn : Earlier this year I wrote a first attempt to document evolving documents. In the meantime this document has evolved and I included the current version here. There is only one thing I don’t like: Currently I write: \ChangeA{V. 2.0}{Mit

Re: [NTG-context] problem with UTF8 chars in XML elements

2019-05-05 Thread Axel Kielhorn
> Am 05.05.2019 um 14:58 schrieb Pablo Rodriguez : > > Dear list, > > I have the following sample: > >\startbuffer[demo] > > >Title > >\stopbuffer > >\startxmlsetups xml:sample >\xmlsetsetup{#1}{doc|título}{xml:*} >\stopxmlsetups > >

[NTG-context] Reading XML with lua

2019-05-03 Thread Axel Kielhorn
Hi, I’ m finally at a point where I can read an XML file look at it and write it back. Right now I have two problems: 1. There are many empty entries in the table. This makes processing the file a little tedious since I have to filter the real entries. 2. Some entries contain leading and

[NTG-context] \xmlloadfile not longer defined?

2019-05-03 Thread Axel Kielhorn
Hi, according to xml-mliv.pdf there is a command \xmlloadfile But I get: tex error > tex error on line 168 in file /Users/axel/Documents/Text/Dokumente_ConTeXt/Prozessbeschreibung/prozess-style-buffer.tex: ! Undefined control sequence l.168 \xmlloadfile

Re: [NTG-context] Processing XML: Header and footer, data manipulation

2019-04-22 Thread Axel Kielhorn
> Am 22.04.2019 um 11:40 schrieb Pablo Rodriguez : > > I have some questions about your source file: > > \startxmlsetups xml:prozess > \mainlanguage[de] > > If this is hardcoded (I mean, you don’t read it from any XML code), I > would avoid setting the \mainlanguage here. > > And you

[NTG-context] Processing XML: Header and footer, data manipulation

2019-04-22 Thread Axel Kielhorn
Hello, Pablo Rodríguez wrote in „From pandoc to ConTeXt“: „So, if I was able to do this, probably anybody can do it.“ Well, I tried and indeed it isn’t as difficult as i thought. (Once I learned that an entity must not contain non-ASCII characters.) Some questions remain: I want to set page

Re: [NTG-context] Automatic thousands separation in \unit

2019-02-02 Thread Axel Kielhorn
> Am 31.01.2019 um 15:00 schrieb Clyde Johnston : > > Maybe this should be a language specific parameter. How would you achieve a > similar result with the Indian numbering system, for instance? > > Also, decimal and thousands separators vary from country to country. In > France, for

[NTG-context] Documentation of change / Evolving documents

2019-01-19 Thread Axel Kielhorn
Hi, I often have documents that are not finished but need to change over time. A client changes their mind, laws are changed, … While working with the document, I want to see the changes. When the document is finally finished, I only want to see the change history. I came up with the following.

[NTG-context] PDF/A and \chemical

2019-01-03 Thread Axel Kielhorn
A happy new year to everyone! I’m trying to generate PDF/A compliant files and have a Problem with chemical formulas in text. The following does not work: \setupinteraction [title=TITLE, subtitle=SUBTITLE, author=AUTHOR, keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}] %% For PDF/A \setupbackend[

Re: [NTG-context] Footnotes and endnotes

2018-11-18 Thread Axel Kielhorn
> Am 17.11.2018 um 15:43 schrieb Pablo Rodriguez : > > On 11/17/18 1:51 PM, Axel Kielhorn wrote: >> Hello, > > Hi Axel, > >> I want to show the translator notes in a different way. Right now I >> have the footnote in green, but the footnote marker in the

[NTG-context] Footnotes and endnotes

2018-11-17 Thread Axel Kielhorn
Hello, I have some problems with footnotes and endnotes. I have two kinds of footnotes: Those by the original author and those by the translator. I want to show the translator notes in a different way. Right now I have the footnote in green, but the footnote marker in the text does change

Re: [NTG-context] TextMate ConTeXt bundle

2018-11-16 Thread Axel Kielhorn
> Am 14.11.2018 um 17:57 schrieb Pablo Rodriguez : > > On 11/14/18 1:55 PM, Manuel Blanco wrote: >> >> >> ConTeXt, but I don't think there's an _updated_ structured >> introduction. For instance regarding fonts I read here >>

Re: [NTG-context] Projects and URLs

2018-11-03 Thread Axel Kielhorn
> Am 02.11.2018 um 13:08 schrieb Wolfgang Schuster > : > > Axel Kielhorn schrieb am 02.11.18 um 10:10: >> Hello! >> >> Where is the best way to define URLs in a project? >> >> I currently define them when I need them, but wouldn’t it be better to kee

Re: [NTG-context] German introduction to context

2018-11-02 Thread Axel Kielhorn
> Am 02.11.2018 um 12:28 schrieb Hans Hagen : > > On 11/2/2018 10:07 AM, Axel Kielhorn wrote: >> Hello! >> As promised I’ve uploaded my ConTeXt introduction to github. >> You can find it at >> https://github.com/AKielhorn/Context-Intro >> I used MkI

[NTG-context] Projects and URLs

2018-11-02 Thread Axel Kielhorn
Hello! Where is the best way to define URLs in a project? I currently define them when I need them, but wouldn’t it be better to keep them in a project file and have only one location to edit when they change? Greetings Axel

Re: [NTG-context] German introduction to context

2018-11-02 Thread Axel Kielhorn
Hello! As promised I’ve uploaded my ConTeXt introduction to github. You can find it at https://github.com/AKielhorn/Context-Intro I used MkIV syntax for \startsection \stopsection but gave up on \startparagraph \stoparagraph. Is there a way to auto convert that or do I have to add these

Re: [NTG-context] German introduction to context

2018-10-22 Thread Axel Kielhorn
> Am 21.10.2018 um 16:33 schrieb Pablo Rodriguez : > > Hi Axel, > > how about creating a repository at GitLab with the contents you provide? > > This would make contributions easier. I’m planing to do this, but I want to turn it into a project first (probably overkill but a good example) and

[NTG-context] German introduction to context

2018-10-21 Thread Axel Kielhorn
Hello, I’m looking for an introduction in german. What I need is: - Structure chapter/section … - Emphasis bold/italic - lists itemize - floats - TABLE - index - references - math (with units) - chemistry (only basic stuff) Several years ago I started to prepare a talk for a DANTE meeting,

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
> Am 09.10.2018 um 11:54 schrieb Hans Hagen : > >\bTR[aligncharacter=no] \bTD\eTD \bTD \chemical{NH_3} > \eTD \bTD R407C \eTD \bTD R134a \eTD \eTR Great, such a simple and elegant solution. Thanks Axel

[NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment the first \bTR line. With the first line the result

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Axel Kielhorn
> Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster > : > > I took a look at your example files and there a few things which can be > improved. > > > Product file: > > 1. You don’t need the actual name of the current file and use * instead > > 2. You can use brackets as delimiters for the

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Axel Kielhorn
> Am 04.10.2018 um 20:59 schrieb Henning Hraban Ramm : > > Am 2018-10-04 um 10:08 schrieb Axel Kielhorn : > >> Thus having the whole file inside \start{project|product|component} \stop… >> would be a good idea and consistent. > > That’s what I do. > Since I

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Axel Kielhorn
> Am 04.10.2018 um 09:27 schrieb Taco Hoekwater : > >> According to my understanding I should be able to >> context c_01 to get one chapter >> context prd_A to get one product >> context project_ecm to get the whole book. > > Any whole book should be a product, and the Parts should just be

[NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Axel Kielhorn
Hello, this is my second try to start with context and I can’t even do the first step. I’m planing to convert a large but simple document to context. The document consists of 3 Parts. Each part has several chapters. Thus I started to build a project with three products, see enclosed archive.

Re: [NTG-context] ConTeXt and LilyPond problem

2016-07-03 Thread Axel Kielhorn
> Am 29.06.2016 um 10:47 schrieb Robert Blackstone > : > I think I have solved my problem. > Somehow I managed to get Lilypond working from Terminal. Then I placed the > ConTeXt-example with the LilyPond filter that I tried to compile in the same > directory als

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Axel Kielhorn
Am 12.07.2015 um 16:38 schrieb Pablo Rodriguez oi...@gmx.es: On 07/12/2015 04:12 PM, Hans Hagen wrote: [...] maybe some file is not loaded ... i uploaded a variant that might work better Many thanks for the new beta. I’m afraid that this sample doesn’t work with latest beta either:

[NTG-context] Context to epub: itemize

2015-02-16 Thread Axel Kielhorn
Hi, I'm trying to generate epub from ConTeXt and I couldn't get the itemize environment to work. I follow http://wiki.contextgarden.net/ePub and get the structure described but when I look into the xhtml, there is no itemize environment. (At least no with Safari, Firefox or Calibre.) When use

Re: [NTG-context] Context to epub: itemize

2015-02-16 Thread Axel Kielhorn
Am 16.02.2015 um 19:55 schrieb Hans Hagen pra...@wxs.nl: On 2/16/2015 5:17 PM, Axel Kielhorn wrote: Hi, I'm trying to generate epub from ConTeXt and I couldn't get the itemize environment to work. I follow http://wiki.contextgarden.net/ePub and get the structure described but when I

[NTG-context] \setupbackend and manual hyphenation

2015-02-12 Thread Axel Kielhorn
Hi! I'm trying to use Context to export a document to epub. Following the instructions on Contextgarden everything works up to a point: When I add manual hyphenation for the word Trennalgorithmus and \setupbackend[export=yes,xhtml=yes] I get: lua errorerror on line 1 in file

Re: [NTG-context] \setupbackend and manual hyphenation

2015-02-12 Thread Axel Kielhorn
Am 12.02.2015 um 16:10 schrieb Hans Hagen pra...@wxs.nl: for the moment use \setuphyphenation[method=expanded] This works in the current beta, but not with the stable version in TeXLive 2014. It doesn't matter since I need the beta to create epub, just wanted to mention it. Thanks for

Re: [NTG-context] Context modules not on CATN and not in TeX Live (slightly OT)

2015-01-26 Thread Axel Kielhorn
Am 26.01.2015 um 14:03 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com: On Mon, Jan 26, 2015 at 1:40 PM, Keith Schultz wrote: Hi Alex, The simple answer to your question would be to use this page: http://www.ctan.org/upload/ No, in case of ConTeXt that's not correct. The idea

[NTG-context] Context modules not on CATN and not in TeX Live

2015-01-25 Thread Axel Kielhorn
Hi! I'm trying to learn ConTeXt working through some examples I found on Context Garden and the internet. Since I already have TeX Live 2014 installed I could run most of the examples. When I ran into a problem, I installed the standalone version and compared the supplied modules. The