Re: [NTG-context] What happened to the ePub script?

2015-01-20 Thread Henning Hraban Ramm
Am 2015-01-19 um 15:48 schrieb Hans Hagen pra...@wxs.nl: On 1/17/2015 1:52 PM, Henning Hraban Ramm wrote: * How can I set the current \date in a metadata variable? (I know it’s also in the date tag of document, but I know how to format \date …) This doesn’t work (i.e. I get „\date“ in

Re: [NTG-context] Issues in export

2015-01-20 Thread Henning Hraban Ramm
Am 2015-01-20 um 14:52 schrieb Henning Hraban Ramm te...@fiee.net: Ok, I’ll start a wishlist. See http://wiki.contextgarden.net/Export#Open_Issues Another issue: Quotations show up like delimited detail=quotation-1“Prophet!”/delimited The tagging is fine, even if I don’t understand „-1“, but

Re: [NTG-context] Issues in export

2015-01-20 Thread Henning Hraban Ramm
Am 2015-01-19 um 15:44 schrieb Hans Hagen pra...@wxs.nl: In raw.xml I’d prefer something like Quothdescription detail=footnote id=1by Edgar Allan Poe/description or Quothdescription detail=footnote id=1 / ... description detail=footnote id=1 descriptiontag1/descriptiontag

Re: [NTG-context] What happened to the ePub script?

2015-01-20 Thread Hans Hagen
On 1/20/2015 10:16 AM, Henning Hraban Ramm wrote: Am 2015-01-19 um 15:48 schrieb Hans Hagen pra...@wxs.nl: On 1/17/2015 1:52 PM, Henning Hraban Ramm wrote: * How can I set the current \date in a metadata variable? (I know it’s also in the date tag of document, but I know how to format \date

Re: [NTG-context] bib module - urgent!

2015-01-20 Thread Keith Schultz
Hi Irdis, The answer to your question is quite simple, You are missing \setuppublications Here the MWE: setuppublications[alternative=apa] \starttext \startpublication[k=haq, t=book, a=Haq, y=1994, s=Haq94] \author[]{Syed

Re: [NTG-context] Issues in export

2015-01-20 Thread Hans Hagen
On 1/20/2015 10:19 AM, Henning Hraban Ramm wrote: Am 2015-01-20 um 14:52 schrieb Henning Hraban Ramm te...@fiee.net: Ok, I’ll start a wishlist. See http://wiki.contextgarden.net/Export#Open_Issues Another issue: Quotations show up like delimited detail=quotation-1“Prophet!”/delimited The

Re: [NTG-context] Issues in export

2015-01-20 Thread Hans Hagen
On 1/20/2015 9:52 AM, Henning Hraban Ramm wrote: Am 2015-01-19 um 15:44 schrieb Hans Hagen pra...@wxs.nl: In raw.xml I’d prefer something like Quothdescription detail=footnote id=1by Edgar Allan Poe/description or Quothdescription detail=footnote id=1 / ... description detail=footnote

Re: [NTG-context] bib module - urgent!

2015-01-20 Thread Robert Blackstone
On 20 Jan 2015, at 10:16 , Idris Samawi Hamid ادريس سماوي حامد wrote I also set up an extensive bib environment (attached) to take care of all sorts of things. If this is broken, can it be fixed asap? Please don't make me have to convert bbl to bib; that will be beyond depressing.

Re: [NTG-context] bib module - urgent!

2015-01-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Robert, On Tue, 20 Jan 2015 03:20:10 -0700, Robert Blackstone blackstone.rob...@gmail.com wrote: On 20 Jan 2015, at 10:16 , Idris Samawi Hamid ادريس سماوي حامد wrote I also set up an extensive bib environment (attached) to take care of all sorts of things. If this is broken, can

Re: [NTG-context] bib module - urgent!

2015-01-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Keith, On Tue, 20 Jan 2015 06:07:23 -0700, Keith Schultz keithjschu...@icloud.com wrote: setuppublications[alternative=apa] Thank you very much. The strange thing is that that exact line is in the previously attached bib-env.tex (forgot to put it in the minimal file I sent to the

[NTG-context] Problem with luacode

2015-01-20 Thread Eric Gerard
Hello Hans, sorry for that, here is the code I used to check some LUACODE. \definepapersize[normal][width=14.85cm, height=21cm] \setupbodyfont[10pt] \enableregime[il1] \setupcolor[xwi] \setuplayout[backspace=16mm,

Re: [NTG-context] context - docx ??

2015-01-20 Thread Pablo Rodriguez
On 01/17/2015 10:06 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sat, 17 Jan 2015 13:32:07 -0700, Pablo Rodriguez wrote: [...] Sorry, what was wrong in the conversion to ePub? Just getting a simple copyright page prior to the TOC page was a pain. I ended up having to patch the xml

Re: [NTG-context] Page Breaks after Headings

2015-01-20 Thread Hans Hagen
On 1/20/2015 11:41 PM, Malte Stien wrote: Hi all, Is there a way I can avoid page breaks after “headings”, i.e. \section, \subsection, \subject, \subsubject, etc? example needed ... normally page breaks are avoided -

Re: [NTG-context] layers for odd and even pages

2015-01-20 Thread Wolfgang Schuster
Am 20.01.2015 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[testodd][state=start] \setlayer[testodd]{Odd page} \definelayer[testeven][state=continue]

[NTG-context] Page Breaks after Headings

2015-01-20 Thread Malte Stien
Hi all, Is there a way I can avoid page breaks after “headings”, i.e. \section, \subsection, \subject, \subsubject, etc? Thank you, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what

[NTG-context] Can I use mkii and mkiv side by side?

2015-01-20 Thread Gerben Wierda
I have a finished mkii project and I’d like to be able to export it to a format that can be a start for other distributions (such as epub or the like). For this, I get the impression I need mkiv. Now, before I go on trying to move my project to mkiv I have a question. Can I run mkii and mkiv

Re: [NTG-context] counting characters when dealing with XML

2015-01-20 Thread Hans Hagen
On 1/20/2015 8:50 PM, Pablo Rodriguez wrote: Dear list, I have a question when dealing with XML. Is there any way to write a conditional based on the number of characters in a given field? I mean, the following field: \xmltext{#1}{h1[@class='subtitle']} If subtitle 60 chars, then

Re: [NTG-context] Positioning an arrow between two values (Metapost)

2015-01-20 Thread Troy Henderson
\starttext \startMPcode u:=1cm ; path p, q ; p=fullsquare scaled u ; q=fullsquare scaled u shifted (4u,-2u) ; draw p ; draw q ; drawarrow center p--center q ; label(btex $5$ etex,center p) ; label(btex $-2 $ etex,center q) ; \stopMPcode \stoptext How about something like below.

[NTG-context] layers for odd and even pages

2015-01-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[testodd][state=start] \setlayer[testodd]{Odd page} \definelayer[testeven][state=continue] \setlayer[testeven]{Even page} \setupbackgrounds[page][background={testodd,

[NTG-context] counting characters when dealing with XML

2015-01-20 Thread Pablo Rodriguez
Dear list, I have a question when dealing with XML. Is there any way to write a conditional based on the number of characters in a given field? I mean, the following field: \xmltext{#1}{h1[@class='subtitle']} If subtitle 60 chars, then fontsize = 10pt. If subtitle 50 chars, then