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