Re: [NTG-context] ASCII input - non ASCII output

2017-11-08 Thread Thomas A. Schmitz
On 11/08/2017 11:34 AM, Mojca Miklavec wrote: I'm still not arguing that this is the most brilliant idea, but I can totally imagine a Serbian professor wanting to "auto-generate" a Cyrillic version of his book on top of the Latin edition with close-to-zero extra effort. Ok, I can see that this

Re: [NTG-context] ASCII input - non ASCII output

2017-11-07 Thread Thomas A. Schmitz
On 11/07/2017 01:48 PM, Sava Maksimović wrote: Is there a way in context, that for some*text* ascii input (in source .tex file) define mapping in internal tex system ? For example, if i put two ascii characters "dj" in .tex file, can i get cyrillic character "ђ" in .pdf ? And so on, for input

Re: [NTG-context] ligature exceptions

2017-09-27 Thread Thomas A. Schmitz
On 09/27/2017 10:25 PM, Henning Hraban Ramm wrote: Thank you for the suggestion. I tried \replaceword[eka][Auflage][Au{fl}age] \setreplacements[eka] and even converted the german wordlist from the selnolig package, but it doesn’t help. Works here. You'll have to make a real example.

Re: [NTG-context] ligature exceptions

2017-09-27 Thread Thomas A. Schmitz
On 09/27/2017 02:16 PM, Thomas Widmann wrote: That's a nice idea. If something like that existed, it could be used to change 's' to 'ſ' in relevant places, too. This exists, see here: https://www.mail-archive.com/ntg-context@ntg.nl/msg79381.html

Re: [NTG-context] Troubleshooting pdf bookmarks

2017-09-26 Thread Thomas A. Schmitz
On 09/26/2017 12:19 PM, Henning Hraban Ramm wrote: There was \tracebookmarks only in MkII. Isn't that what \enabledirectives[references.bookmarks.preroll] does nowadays? Thomas ___ If your question is of

Re: [NTG-context] abbreviations: \infull always in small caps

2017-09-23 Thread Thomas A. Schmitz
On 23.09.2017 12:40, Henning Hraban Ramm wrote: Ahoi, I’m trying to employ the synonyms mechanism for abbreviations, as documented: \setupsynonyms [style=italic, headstyle=bold, titlestyle=normal, synonymstyle=normal] \abbreviation{Abt.}{Abteilung} \abbreviation{ADN}{Allgemeiner

Re: [NTG-context] Hyphenation with dashes in natural table

2017-09-11 Thread Thomas A. Schmitz
On 09/11/2017 10:23 PM, Rik Kabel wrote: See http://wiki.contextgarden.net/Compound_words. But this page also contains the solution to the original problem: \setbreakpoints [compound] Thomas ___ If your question

Re: [NTG-context] typesetting serial letters in Context

2017-06-13 Thread Thomas A. Schmitz
> On 13. Jun 2017, at 09:53, luigi scarso wrote: > >> Yet there is no x-corres.mkiv. Who can help me out? >> > I don't remember x-corres.mkiv, but > mkiv has a guide > tex/texmf-context/doc/context/documents/general/manuals/xml-mkiv.pdf Yes, typesetting xml in mkiv is

[NTG-context] framedtable frame

2017-05-21 Thread Thomas A. Schmitz
Hi all, I am hitting a slight imperfection in the new framedtable mechanism. Example included; question: is it possible to have the same behavior in cell frames as in the natural table in the third part of my example? Thanks, and best wishes Thomas \starttext \start

[NTG-context] another question about markings

2017-05-08 Thread Thomas A. Schmitz
Aaaand here's another question about markings: how could I compare the value of the top/bottom (or first/last) markings and have the header change accordingly? Example attached, it doesn't do what I (naively) expected it to do. All best Thomas \setuppapersize [A5] \definemarking[Head]

[NTG-context] linenumbers in marking

2017-05-08 Thread Thomas A. Schmitz
Hi all, 5 years ago, on the mailing list, there was a thread started by Pablo Rodríguez (http://www.mail-archive.com/ntg-context@ntg.nl/msg62140.html) about line numbers in headers. Wolfgang Schuster replied that in principle, it's possible to have line numbers in headers, "but it’s not

Re: [NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Thomas A. Schmitz
On 04/27/2017 10:26 PM, Pablo Rodriguez wrote: Could you please confirm the issue? Many thanks for your help, Two remarks: 1. I'm not sure what you're looking for. Do you really want an index that sorts every form of every word as an entry? So that ἐμήν and ἐμοῖς are different words and

Re: [NTG-context] (again) index sorting of accented characters

2017-04-27 Thread Thomas A. Schmitz
On 04/27/2017 07:21 PM, Pablo Rodriguez wrote: I mean, if this is the way, I have other two patches for other two languages in which I have indices. And if I’m wrong, I would like to know how to get right word sorting in registers. Have you played with the different "methods" defined in

Re: [NTG-context] MP & text transparency

2017-04-24 Thread Thomas A. Schmitz
On 24.04.2017 15:11, Procházka Lukáš Ing. wrote: The rectangle drawn is transparent, which is OK. But the text "Test" is not, is it fully red; why? How to specify text to be partially transparent, too? TIA. Best regards, Lukas Wouldn't it be better to define the transparency in ConTeXt

Re: [NTG-context] processing very big tables

2017-04-11 Thread Thomas A. Schmitz
On 11.04.2017 11:53, Thomas A. Schmitz wrote: Hans, just in case it's useful: I have a small test file that shows my problem with linetables. The data comes from xml (of course...), but I have simply captured it in a lua table (in alphabet.lua). Look at p. 4, 10, 11, etc. All best Thomas

Re: [NTG-context] processing very big tables

2017-04-11 Thread Thomas A. Schmitz
On 10.04.2017 17:07, Hans Hagen wrote: don't set it then (line tables are actually able to span pages horizontally) Hans, just in case it's useful: I have a small test file that shows my problem with linetables. The data comes from xml (of course...), but I have simply captured it in a lua

Re: [NTG-context] processing very big tables

2017-04-10 Thread Thomas A. Schmitz
On 10.04.2017 17:07, Hans Hagen wrote: don't set it then (line tables are actually able to span pages horizontally) nope, when I don't set it, I don't get a table typeset... hm, currently not, but i can probably add some features would be awesome, if you have the time! Thomas

Re: [NTG-context] processing very big tables

2017-04-10 Thread Thomas A. Schmitz
On 09.04.2017 15:57, Hans Hagen wrote: \starttext \setuplinetable[n=2,lines=25] \setuplinetable[c][1][width=6cm] % ,background=color,backgroundcolor=red,color=white] \setuplinetable[c][1][width=6cm] % ,background=color,backgroundcolor=red,color=white]

Re: [NTG-context] processing very big tables

2017-04-09 Thread Thomas A. Schmitz
On 04/09/2017 03:57 PM, Hans Hagen wrote: \starttext \setuplinetable[n=2,lines=25] \setuplinetable[c][1][width=6cm] % ,background=color,backgroundcolor=red,color=white] \setuplinetable[c][1][width=6cm] % ,background=color,backgroundcolor=red,color=white]

[NTG-context] processing very big tables

2017-04-09 Thread Thomas A. Schmitz
Hi all, I need some fundamental advice from experienced users: I'm processing xml and collecting the data in lua tables, which I want to typeset in some sort of table or tabular format. Typesetting requirements are fairly low, just a couple of columns that need to be nicely aligned, with the

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Thomas A. Schmitz
On 19.03.2017 16:56, Pablo Rodriguez wrote: is there any reason not to use the following instead of your way below? for i = 1,n do tex.print("(" .. vecteurX[i] .. ", " .. vecteurY[i] .. ")\\par") end I don't think that this is a good approach. Refer to chapter 11.6 of "Programming in

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Thomas A. Schmitz
On 19.03.2017 16:30, Otared Kavian wrote: I would like to print in a text the values of a array computed in a \startluacode …. \stopluacode combination. How can I do it properly? Please have a look at the example below and its output, which is not satisfactory because the right parenthesis is

Re: [NTG-context] hunting a lua stack error

2017-03-13 Thread Thomas A. Schmitz
On 13.03.2017 21:22, Alan Bowen wrote: The file processes but does not show the “A, B, and C” when interaction is activated. Alan Alan, you had a similar problem a while ago, and I meant to write, but forgot. bibtex disallows some characters in cite keys: "a bibtex key is a sequence of

Re: [NTG-context] TOC in presentations

2017-03-08 Thread Thomas A. Schmitz
On 03/09/2017 06:57 AM, Jose Luis Arellano wrote: Dear list, After learning ConTeXt for a while, I have decided to try to make my own slides, but I will like to use a list of contents in every page. Can anybody post an example or link to start? Have a look at the code in

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Thomas A. Schmitz
On 03/08/2017 03:47 PM, Henri Menke wrote: No, this is Natural Tables. The macros I am using are defined in tabl-nte.mkiv and the header there states You're right, I was too fast with my response. Nevertheless, as you requested, here the same bug with the traditional Natural Table

Re: [NTG-context] Bug in Natural Tables

2017-03-08 Thread Thomas A. Schmitz
On 03/08/2017 10:28 AM, Henri Menke wrote: \starttext \startTABLE[align={lohi,middle}] \NC OSI-Schicht\NC[nx=6] Umsetzung \NC\NR \NC Anwendungsschicht \NC[nx=2,ny=3] SOME/I \NC[nx=2,ny=3] AVB/TSN \NC[nx=2,ny=3] DoIP \NC\NR \NC Darstellungsschicht\NC\NR \NC

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-03-03 Thread Thomas A. Schmitz
On 25.02.2017 21:49, Hans Hagen wrote: xml.attribute(e,"..[tag()='section' or tag()='chapter']","title") with an optional default (there is also p = xml.parent(e) and then you can access p.at.title .. so there are several ways( Hans I am sorry it took me so long to play with this... But it

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
On 02/25/2017 09:49 PM, Hans Hagen wrote: xml.attribute(e,"..[tag()='section' or tag()='chapter']","title") with an optional default (there is also p = xml.parent(e) and then you can access p.at.title .. so there are several ways( Excellent, I can work with that! Thanks a lot Thomas

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
On 02/25/2017 09:10 PM, Hans Hagen wrote: then you can just use xml.attribute (or lxml.attribute) Yes, exactly: how does something like \xmlattribute{#1}{..[tag()='section' or tag()='chapter']}{title} translate into lua? such as xml.attribute(e, "../../chapter", "title", "")? Thomas

Re: [NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
Hans, thanks for your efforts and your help - but I need a lua solution because I have to process my document in lua tables. Thanks Thomas On 02/25/2017 07:30 PM, Hans Hagen wrote: \startbuffer[test] Text Text \stopbuffer

[NTG-context] xml in lua: how to say "ancestor"?

2017-02-25 Thread Thomas A. Schmitz
Hi all, no real example, just snippets, sorry: I need to process xml documents in lua (because I want to collect information in tables). The structure is a bit irregular: Text Text So chapters may or may not have sections. If, on

Re: [NTG-context] How to use \setupitemgroup?

2017-02-04 Thread Thomas A. Schmitz
On 02/04/2017 11:55 PM, Csikos Bela wrote: I haven't intended to define my own itemize command. I wanted to change the default settings of \startitemize. Is this not the proper way to redefine \startitemize default options? (I wanted to use \setupitemize but the wiki site directs to

Re: [NTG-context] How to use \setupitemgroup?

2017-02-04 Thread Thomas A. Schmitz
On 02/04/2017 10:41 PM, Csikos Bela wrote: Dear context users: I have troubles using \setupitemgroup. I tried to use it based on the contextgarden wiki page (http://wiki.contextgarden.net/Command/setupitemgroup), description, but either my understanding how to use it is not correct or the

Re: [NTG-context] \itemize unpacked?

2016-12-19 Thread Thomas A. Schmitz
On 12/19/2016 02:26 PM, Procházka Lukáš Ing. wrote: Also, in my case, there are more \itemize to be packed; and some of them (in the middle of the document) should be "unpacked"; so grouping itemize setting is not very comfortable here. Then the cleanest (and most ConTeXt-like) solution would

Re: [NTG-context] Gidole font problem

2016-12-02 Thread Thomas A. Schmitz
On 02.12.2016 19:36, Mikoláš Štrajt wrote: Hi, I am triying to use custom font in my Context documents. However, it doesnt work without any obvious trace. Your ConTeXt is WAYY too old. You'll have to install a more current version. Thomas

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Thomas A. Schmitz
On 10/24/2016 05:08 PM, Otared Kavian wrote: Hi Michael, Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: % begin quotation-note.tex \define\StartCitation{\startnarrower[left,right]«~}

Re: [NTG-context] xml: spurious empty spaces

2016-10-19 Thread Thomas A. Schmitz
On 10/19/2016 01:47 PM, Hans Hagen wrote: \startxmlsetups xml:a \ignorespaces \xmlflush{#1} \removeunwantedspaces \stopxmlsetups \startxmlsetups xml:b \ignorespaces \xmlfunction{#1}{b} \removeunwantedspaces \stopxmlsetups Ah OK, I had tried applying these within the

[NTG-context] xml: spurious empty spaces

2016-10-19 Thread Thomas A. Schmitz
Hi all, below is a slightly silly example that demonstrates a problem I’m having: I want to process (in Lua) the xml element “b” only when it has an attribute “display” set. This works, but elements without the attribute leave spurious spaces in the pdf output. The workaround I’m currently

Re: [NTG-context] font size switching

2016-10-17 Thread Thomas A. Schmitz
On 10/17/2016 07:31 PM, Csikos Bela wrote: Do you mean it's better to use e.g. {\bf some text} then \bf{some text}? The latter is not valid syntax. You want to read the wiki section on font switching: http://wiki.contextgarden.net/Font_Switching >x and xx are different font sizes, not x

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
On 12.10.2016 16:38, Pablo Rodriguez wrote: Wolfgang, your approach is right, but hasn’t Thomas hit a bug? According to the description from page 301 in i-context.pdf, \startlinenumbering ... \stoplinenumbering inherit from \setuplinenumbering. Thanks Wolfgang, this solution works (I must

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
On 12.10.2016 15:48, Otared Kavian wrote: Hi Thomas, It seems that if you use \setuplinenumbering the issue is fixed: please have a look here: \setuppapersize [A6] \setuplinenumbering[location=text,distance=0.5cm] \starttext \startlinenumbering \dorecurse{2}{\input tufte}

[NTG-context] position of linenumbering

2016-10-12 Thread Thomas A. Schmitz
Hi all, consider this example: \setuppapersize [A6] \starttext \startlinenumbering [location=text,distance=0.5cm] \dorecurse{2}{\input tufte} \stoplinenumbering dummy \stoptext on the second page, the position of the linenumbering changes and does not follow the "distance" setting. Can

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Thomas A. Schmitz
On 10/10/2016 01:49 PM, Henri Menke wrote: Dear Thomas, does it also compile on latest beta when there is a hyphen in the filename? BTW, the example can be simplified a little by just using \setbreakpoints[compound] instead of my complicated hyphen thing (Updated example is below.). Also

Re: [NTG-context] frames for left/right pages

2016-10-10 Thread Thomas A. Schmitz
On 10/10/2016 12:47 PM, Wolfgang Schuster wrote: Are you looking for streams, the mechanism Hans added for you years ago? I'll have to look into Hans's rewrite of streams. As far as I remember, they were much more complex (offering synchronization etc.). Also, streams seem to be bound to

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Thomas A. Schmitz
On 10/10/2016 12:14 PM, Henri Menke wrote: Dear list, at some point my document started throwing an error ! error: (nodes): trying to delete an attribute reference of a non attribute node I managed to extract a minimal example which shows the error (below). However, the error only occurs

[NTG-context] frames for left/right pages

2016-10-10 Thread Thomas A. Schmitz
Hi, I have a wish list for independent frames and would like to know if this is possible in ConTeXt: 1. left and right pages in a doublesided document have frames with independent text flow, i.e. the text from p. 2 continues on p. 4, from p. 3 on p. 5, etc. The frames are regular frames and

Re: [NTG-context] Ideas for improving documentation of ConTeXt

2016-10-10 Thread Thomas A. Schmitz
On 10/10/2016 07:43 AM, Jonas Baggett wrote: Thanks for your encouragement ! Yes that looks like an interesting challenge for me, but it is not something I am wanting to do alone because of my lack of experience, at least I would need someone to coach me. Actually I don't have really experience

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Thomas A. Schmitz
On 15.09.2016 12:11, Otared Kavian wrote: Hi Thomas, Thanks for your quick answer. Actually, mistakenly, I thought you had gave up the simplesildes module, not Aditya… And I included Wolfgang because he follows everything and has insight for everything… Anyhow, thank you for sharing this

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Thomas A. Schmitz
On 15.09.2016 11:35, Otared Kavian wrote: Is it possible to have a list of topics on a page when one uses the simpleslides module? For instance when using the swoosh model, as in the following example, and then navigate to each topic with a link? Hi Otared, I'm neither Wolfgang nor Aditya,

Re: [NTG-context] Margin kerning for compounds

2016-09-08 Thread Thomas A. Schmitz
On 08.09.2016 11:08, Henri Menke wrote: I have constructed a better example (and eliminated a grammar error), see below. I think what »|-|« does is essentially »-\penalty\zerocount\hskip\zeropoint«. When I insert this as is the margin kerning is correct. Still, I have no idea how to fix

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Thomas A. Schmitz
> On 17 Aug 2016, at 16:36, Jean-Pierre Delange wrote: > > Dear list, > > I use for one of my own projects some code given by Wolfgang to Fabrice (see > below), which is working fine : at the end of each chapter, I've placed a > framed text as a summary (25 lines with few

Re: [NTG-context] ConteXt and Slackware

2016-08-10 Thread Thomas A. Schmitz
On 08/10/2016 10:49 AM, Jose Luis Arellano wrote: Yes, as you can see: ~/context$ export | grep PWD declare -x OLDPWD="/home/pepe" declare -x PWD="/home/pepe/context" Just FYI: I fired up a partition into which I had installed Zenwalk, which is pure Slackware with some eye candy, and

Re: [NTG-context] marking in two pass data

2016-08-08 Thread Thomas A. Schmitz
On 08/08/2016 01:56 PM, Hans Hagen wrote: I bet you can figure out why this works: context.bTD() context.marking( { "Test" }, k[2]) context(k[1]) context.eTD() Uugh, I thought I was clever in leaving it out of the cell, but of course, now I see my error! (In my defense, I

[NTG-context] marking in two pass data

2016-08-07 Thread Thomas A. Schmitz
Hi all, the example is kind of silly but shows my problem: I use Lua to manipulate data from xml files, and I want to typeset it as natural tables. Is it possible to set a marking within such tables so that it works in page headers? I hit a similar problem some time ago, but I'm not sure I

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-03 Thread Thomas A. Schmitz
On 07/02/2016 02:07 AM, Alan Braslau wrote: Yes. Consider: \cite[righttext={{, p.~24},{, p.~xx}}] [Author:2016,Author2:2015] The comma gets parsed (as always) to separate multiple right texts, assigned here to each citation reference. The solution to your problem is: \cite[righttext={{,

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Thomas A. Schmitz
On 07/03/2016 11:39 AM, Marco Patzer wrote: has been fixed already Confirmed, the new beta works. Thanks for the quick fix. Amazingly, this has also fixed a long-standing bug I had with one of my files; I got the same error message. I hadn't been able to find a minimal example to reproduce

Re: [NTG-context] crop marks

2016-06-29 Thread Thomas A. Schmitz
> On 29 Jun 2016, at 12:14, Thomas Fehige wrote: > > \definepapersize[Labelpaper][width=95mm,height=90mm] > \setuppapersize[Labelpaper][A4,portrait] > > \setuplayout[ > backspace=3mm, > margin=0mm, > topspace=3mm, > header=0mm, > footer=0mm, >

Re: [NTG-context] What is wrong here?

2016-06-20 Thread Thomas A. Schmitz
On 06/20/2016 02:11 PM, Ursula Hermann wrote: \starttext \input Sigmund Freud Band1.pdf \stoptext \input is used for including ConTeXt source files. If you want to include a pdf, you have to use \externalfigure. Difficult to give further advice as we don't know what you are trying to

Re: [NTG-context] Expansion of date inside \section

2016-06-19 Thread Thomas A. Schmitz
On 06/19/2016 08:17 PM, Mojca Miklavec wrote: Hi, I'm trying to generate daily reports and wanted to include the date in bookmarks, but there is some weird (non)expansion going on. I'm not quite sure what you're trying to do, but are you maybe missing a simple

Re: [NTG-context] Change font for footnote-symbols

2016-06-19 Thread Thomas A. Schmitz
On 06/19/2016 08:10 PM, Alias 1 wrote: I want to change the font for the footnote-symbols (the numbers 1, 2, 3 etc.) to latinmodern. How do I do this? I tried to add the commands \setupnote[footnote][textstyle={\switchtobodyfont[latinmodern]}] and

Re: [NTG-context] environment flushright

2016-06-10 Thread Thomas A. Schmitz
> On 10 Jun 2016, at 13:22, Wolfgang Schuster > wrote: > > Is indenting a solution for you? > > \definenarrower > [thomas] > [left=4cm, >default=left, >before={\setupindenting[yes,-4cm]}] Hi Wolfgang, thanks for your suggestion. That’s what I have

[NTG-context] environment flushright

2016-06-08 Thread Thomas A. Schmitz
Hi all, for a translation of poetry, I would like to have an environment which will typeset a split line in a way that the second part will be flushright - is this possible? So instead of bla bla bla bla bla I get bla bla bla bla bla if (and only if) there’s a line break.

Re: [NTG-context] two questions about \definefontfamily

2016-06-06 Thread Thomas A. Schmitz
On 06/05/2016 09:52 PM, Wolfgang Schuster wrote: It was a bug and I fixed it. Wolfgang Thank you, Wolfgang! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki!

[NTG-context] two questions about \definefontfamily

2016-06-04 Thread Thomas A. Schmitz
Hi all (especially Wolfgang), I have two questions about the font selection mechanism. 1. Three weeks ago you replied to a question from Pablo Rodriguez and wrote (https://mailman.ntg.nl/pipermail/ntg-context/2016/085508.html): "You have to use scale instead of rscale for the

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Thomas A. Schmitz
On 05/19/2016 06:49 PM, Meer, Hans van der wrote: Checked again also on a MacBook, definitely not searchable here. Searchable on linux in okular (kde). Thomas ___ If your question is of interest to others as well,

[NTG-context] some difficulties with btxlist

2016-04-24 Thread Thomas A. Schmitz
Hi all (in particular Hans and Alan...), I'm finishing a book project where I'm using the new bibliographic system. Everything is working as it should, but I have two problems with line breaks: 1. Page numbers in ranges are separated by an n-dash (as in: 234–567). It looks as though ConTeXt

[NTG-context] font error with latest beta

2016-04-15 Thread Thomas A. Schmitz
Hi Hans, I run into my favorite error with the latest beta ("this can't happen"). The document uses a SabonNext font, but I get similar results with other fonts. The error message is: tex error > tex error on line 855 in file

Re: [NTG-context] server

2016-04-07 Thread Thomas A. Schmitz
On 04/07/2016 11:20 AM, Mojca Miklavec wrote: The distribution is currently in mirror mode only, serving files from Netherlands. Unfortunately rebooting didn't help as the system disk seems to have crashed and the admin at Jožef Stefan Institute promised to set up a new box during the weekend

[NTG-context] server

2016-04-07 Thread Thomas A. Schmitz
Hi Mojca, is the server working again? I just wanted to mention that the garden hasn't picked up the latest beta yet, so if it's online again, maybe the syncing process needs to be triggered? All best Thomas ___

Re: [NTG-context] \replaceword in footnotes

2016-04-06 Thread Thomas A. Schmitz
On 04/06/2016 08:57 AM, Wolfgang Schuster wrote: The feature is disabled in footnotes and you have to reenable it: \startsetups[footnote] \setreplacements [german] \stopsetups \setupnote[footnote][setups=footnote] Thank you, Wolfgang, this works indeed! Thomas

[NTG-context] \replaceword in footnotes

2016-04-06 Thread Thomas A. Schmitz
Hi all, I use replacements to break unwanted ligatures in German text. This works in the text body, but not in footnotes. How can this be achieved in footnotes as well? Example attached! Thanks Thomas \setreplacements [german] \replaceword [german] [Auflage] [Au{fl}age] \mainlanguage

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Thomas A. Schmitz
On 03/15/2016 05:54 PM, Alan BRASLAU wrote: Indeed, Hans, it would be nice to be able to nest sectionlevels within a chapter...section... scheme (which is NOT depreciated, although antiquated). Oooh, shiny! In the TEI community, there are also people who repeat that having s all the way down

Re: [NTG-context] font problem

2016-03-13 Thread Thomas A. Schmitz
On 03/13/2016 11:04 PM, Alan Bowen wrote: Note: (a) there is no problem at all with other fonts, e.g., Tex Gyre Termes (b) with the Brill font, the text fails to process when BOTH Line1 and 2 are included. The console readout is: Can you try this: in line 1323 of

Re: [NTG-context] issue with font loading

2016-03-02 Thread Thomas A. Schmitz
On 03/02/2016 07:12 PM, Wolfgang Schuster wrote: Don’t write just some garbage as third argument for the \definefontfamily or \definefallbackfamily commands. In the attached picture you can see the fonforge information for the font names, needed for the \definefontfamily command is the "family

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
On 02/24/2016 03:15 PM, Hans Hagen wrote: if you need more info i can add it ... one can then generate whatever table one wants elements in element .. one level i assume? Yes, one level, otherwise things become too complex. And you're right, it's already there in the "children" element. My

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
On 02/24/2016 11:26 AM, Hans Hagen wrote: i added the files to the beta Great, it works now and is a fantastic tool! I was thinking of writing something similar myself, but of course, you had already anticipated this wish... I'll try to see if I can make sense of s-xml-analyzers.lua and

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
On 02/24/2016 10:52 AM, Hans Hagen wrote: context --extra=xml --analyze yourfile.xml Hmm, that sounds great, however, with the latest 'n greatest: resolvers > modules > 'xml-analyzers' is not found Thomas

Re: [NTG-context] horizontal list of sections/topics?

2016-02-16 Thread Thomas A. Schmitz
On 02/14/2016 12:48 PM, Marco Patzer wrote: I did something similar for a few presentations and wrote a small module: https://github.com/mpfusion/context-slide Thank you very much, your code was very helpful. I was trying to reinvent the wheel – as usually, there was already a solution in

[NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Thomas A. Schmitz
Hi, this is a quick question before I start coding: for my next presentation style, I would like to have a list of topics with the current topic highlighted. There are already two styles in simpleslides doing this, but this time, I'd like the list to be horizontal, at the bottom of the

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Thomas A. Schmitz
On 01/17/2016 07:24 PM, Hans Hagen wrote: it should work in the in beta now Hi Hans, now I have a problem :-) What should take precedence if an entity is both defined in the dtd and as a \xmltexentity? The way I see it, the latter: e.g., in the DTD, I might declare something for use in a

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-18 Thread Thomas A. Schmitz
On 01/18/2016 10:26 PM, Hans Hagen wrote: i already feared that ... ... i still wonder what happens in tuc files (roundtrip mess) beta coming Yep, this seems to be a somewhat difficult area. Was just preparing an example when yours arrived. The latest beta seems to be doing the right

Re: [NTG-context] Greek diacriticals (combining perispomenon displaced)

2016-01-18 Thread Thomas A. Schmitz
On 01/18/2016 10:33 PM, Hans Hagen wrote: As I review my files, I see that this is a fairly recent problem, though I cannot say exactly when it first occurred. looks ok here ... assuming i have the right font you can try to wipe the font cache (otf and otl) I can't test with HellenicaCU as

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Thomas A. Schmitz
On 01/15/2016 06:21 PM, Kate F wrote: Hi. I'm using MkIV's XML stuff. I have two related questions. Firstly, can I have entities in XML expand out to TeX markup? I thought this was how you'd do it, but this produces a document that says literally "xxx~yyy\thinspace zzz", whereas I want the ~

Re: [NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Thomas A. Schmitz
On 01/15/2016 06:58 PM, Kate F wrote: So I see! But many DTDs contain definitions for entities, which I would like to use, rather than repeating those definitions by \xmlsetentity in ConTeXt. Some XML documents also have their own document-specific entities inside the DOCTYPE at the top of the

[NTG-context] error in latest beta

2016-01-07 Thread Thomas A. Schmitz
Hi Hans, with yesterday's beta, I get an error when calling a module: tex error > tex error on line 65 in file /home/tas/texmf/tex/context/third/simpleslides/t-simpleslides.mkiv: ! Undefined control sequence \syst_modules_setup \syst_helpers_double_empty_one_spaced #1#2->#1

[NTG-context] processing lua table in xml...

2015-12-29 Thread Thomas A. Schmitz
Dear all, I had asked a similar question some time ago and had received a reply from Hans (http://article.gmane.org/gmane.comp.tex.context/81049), but the method there doesn't work in this case. Working example difficult, hence code snippets, I'm afraid. I process file A.xml. I pull in

Re: [NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Thomas A. Schmitz
On 12/21/2015 04:33 PM, Wolfgang Schuster wrote: Why don’t you use the makeup environment? \definemakeup[centered][pagestate=start,headerstate=start] \starttext \startmakeup[centered] vertically centered? \stopmakeup \stoptext Wolfgang Because the \vfill is hidden deep in setup commands

Re: [NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Thomas A. Schmitz
On 12/21/2015 04:28 PM, Hans Hagen wrote: it's more that i forgot to set \null ... you can put this in cont-new.mkiv \def\null{\hpack{}} Thank you Hans! Thomas ___ If your question is of interest to others as

[NTG-context] behavior of \vfill has changed in latest beta

2015-12-21 Thread Thomas A. Schmitz
Hi, the behavior of \vfill has changed in the latest beta. In some of my setups, I used code like this to produce vertically centered content: \starttext \null\vfill vertically centered? \vfill\null \stoptext This works with the beta of 2015.11.19 19:13, but no longer with 2015.12.21

Re: [NTG-context] new bets

2015-12-18 Thread Thomas A. Schmitz
On 12/18/2015 09:07 AM, Mojca Miklavec wrote: Hans asked my to stop syncing ConTeXt about a month ago, so I commented out the syncing step on the server. He didn't ask me to enable it again and I forgot. Nobody noticed and nobody complained until now. I believe that ConTeXt should work again

Re: [NTG-context] new bets

2015-12-18 Thread Thomas A. Schmitz
On 12/18/2015 08:50 AM, Akira Kakuto wrote: Your ConTeXt must be older than mtx-context | current version: 2015.12.17 15:57 Best, Akira ??? This is running first-setup.sh, so it should be updating to the latest context. So something in the update script appears to be malfunctioning.

Re: [NTG-context] new bets

2015-12-17 Thread Thomas A. Schmitz
On 12/17/2015 03:00 PM, Hans Hagen wrote: Hi, I'm going to upload a new beta but this one needs luatex 0.87 which is in the process of being released. So, don't update unless you knwo that your platform binary is provided (or just keep your old tree as backup). Hans Hmm, linux64 has the

Re: [NTG-context] inverse indentation

2015-11-24 Thread Thomas A. Schmitz
On 11/24/2015 07:38 PM, Pablo Rodriguez wrote: How can I define indenting in startsetups so that Bibliography has the same margin that the indentation for the rest of the text and indentation in that section is negative (the same amount as the general indentation)? Sorry, but this is a standard

Re: [NTG-context] Overlong chapter titles in headings

2015-11-17 Thread Thomas A. Schmitz
> On 17 Nov 2015, at 11:49, Mari Voipio wrote: > > I have a document where chapter heading is also printed in the header. > Usually this works very nicely, but now I have a document with really > long chapter headings (not my choice...) that don't fit in the space >

Re: [NTG-context] Hyphenation, OTF font and tagging

2015-11-09 Thread Thomas A. Schmitz
On 11/09/2015 08:42 AM, Christoph Reller wrote: MWE: \setuptagging[state=start] %<- correct when commenting this line \starttypescript[sans][myfont] \definefontsynonym[Sans][file:MyriadPro-Regular] \stoptypescript \definetypeface[Body][ss][sans][myfont] \setupbodyfont[Body,ss,10pt] \starttext

Re: [NTG-context] Ligatures and copy-paste

2015-11-09 Thread Thomas A. Schmitz
On 09.11.2015 16:25, Tommaso Petrucciani wrote: is there some command to issue in order to have ligatures copy-paste correctly in PDFs? I thought Mk IV did this automatically, but it’s not working on my system. Ligatures paste as spaces and searching the PDF doesn’t find the words. I use

[NTG-context] footnotes in frames

2015-11-08 Thread Thomas A. Schmitz
Hi, is it, by any kind of magic, possible to have footnotes within a frame (no float) that will be typeset with the normal footnotes flow? Something like \starttext one\footnote{1} two\footnote{2} \framed{three\footnote{3}} four\footnote{4} \stoptext I have found some threads about

Re: [NTG-context] footnotes in frames

2015-11-08 Thread Thomas A. Schmitz
On 08.11.2015 19:22, Hans Hagen wrote: as you're not afraid of magic: \framed{three\postponenotes\footnote{3}}\flushnotes Yep, excellent, that gets the job done! Thanks a lot! Would this description of the mechanism be correct for the wiki: "In deeply nested boxes (such as frames or

Re: [NTG-context] issue with oxia in latest beta

2015-10-27 Thread Thomas A. Schmitz
> On 27 Oct 2015, at 22:27, Pablo Rodriguez wrote: > > My previous beta from 2015.09.13 13:31 prints both accented Greek vowels > fine. > > Could anyone confirm the bug? As far as I have tested, it only happens > with this particular font. > > Many thanks for your help, I can

Re: [NTG-context] Question on how to simple numbered sections or other headings

2015-10-25 Thread Thomas A. Schmitz
Is that what you're looking for? \define[2]\MyChapterTitle% {#2: #1} \setuphead[chapter] [command=\MyChapterTitle] \starttext \startchapter [title=Some Title] Some text. \stoptext When you define a command, #1 is your chapter/section/whatever number, #2 is your title. (For

<    1   2   3   4   5   6   7   8   9   10   >