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

2015-02-12 Thread Hans Hagen
On 2/12/2015 5:10 PM, Axel Kielhorn wrote: 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. indeed, as there is new hyphenation related code in

[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] \setupcaptions question

2015-02-12 Thread Otared Kavian
Hi Wolfgang, and Joerg, Actually with your code and using numberstopper instead of stopper your example works fine here, too. So the right command is \setupcaption[figure][numberstopper={:}] and not what I wrote before (which works in mkii, though…). Actually the command used by Joerg,

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Otared Kavian
Hi Joerg, I think you are right when refering to a figure, the number stopper should not appear in the text. It seems to me that using something like \setupcaption[figure][stopper={.}] used to work in mkii and mkiv, but while it works in mkii, I just tried it with mkiv and found that

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
Am 12.02.2015 um 17:37 schrieb j. van den hoff veedeeh...@googlemail.com: I want to use `numberstopper' for figure caption customization like so: \setupcaptions[numberstopper={:}] this works fine for the caption itself (i.e. I get, e.g. Figure 1: caption text) _but_ references to

[NTG-context] Asciidoc to PDF over Context

2015-02-12 Thread Tobias Famulla
Hello Mailing-List, I used Latex for a few years in university to create reports for assignments and also to write my bachelor thesis (I would have liked to use Context, but the right schema for citation was not available and I had no time to create it myself). Over the time I got a little bit

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Thu, 12 Feb 2015 22:18:51 +0100, Otared Kavian ota...@gmail.com wrote: Hi Joerg, hi otared, I think you are right when refering to a figure, the number stopper should not appear in the text. It seems to me that using something like \setupcaption[figure][stopper={.}] used to

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Thu, 12 Feb 2015 22:56:11 +0100, Otared Kavian ota...@gmail.com wrote: Hi Wolfgang, and Joerg, Actually with your code and using numberstopper instead of stopper your example works fine here, too. So the right command is \setupcaption[figure][numberstopper={:}] and not what I

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-12 Thread Aditya Mahajan
On Thu, 12 Feb 2015, Hans Hagen wrote: On 2/11/2015 12:15 PM, Andreas Schneider wrote: Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t)) .. \n\\stopJSON) context.getbuffer

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread Wolfgang Schuster
Am 12.02.2015 um 23:14 schrieb j. van den hoff veedeeh...@googlemail.com: On 12 Feb 2015, at 22:31, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 12.02.2015 um 17:37 schrieb j. van den hoff veedeeh...@googlemail.com: I want to use `numberstopper' for figure caption

Re: [NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
On Fri, 13 Feb 2015 04:54:58 +0100, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: No, you’re right. I used the wrong command (\at is used to show the page where to float was placed) understood. and so far there is only a workaround for this problem. What you can do OK, does this

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

2015-02-12 Thread Hans Hagen
On 2/12/2015 11:13 AM, Axel Kielhorn wrote: Hi! I'm trying to use Context to export a document to epub. Following the instructions on Contextgarden everything works up to a point: remark: in your example you say: Auch wenn der Trennalgorithmus von LaTeX nicht schlecht ist, gibt es wieder

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-12 Thread Hans Hagen
On 2/11/2015 12:15 PM, Andreas Schneider wrote: Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t)) .. \n\\stopJSON) context.getbuffer { foo } end \stopluacode

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

2015-02-12 Thread Hans Hagen
On 2/12/2015 11:13 AM, Axel Kielhorn wrote: 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

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

[NTG-context] \setupcaptions question

2015-02-12 Thread j. van den hoff
I want to use `numberstopper' for figure caption customization like so: \setupcaptions[numberstopper={:}] this works fine for the caption itself (i.e. I get, e.g. Figure 1: caption text) _but_ references to the figure via a defined label such as [fig:example] in the body text do include the