Re: [NTG-context] epub

2012-02-16 Thread Wolfgang Schuster
n have zero KB. But it is ok for me to > copy them there manually. Isn’t the problem with context pub’s the format of the xhtml file, when I compile this example: \setupbackend[export=yes,xhtml=yes] \starttext \startparagraph The Earth, as a habitat for animal life, is in old age and has a

[NTG-context] export hanging

2012-01-26 Thread Matthew Claus
but still experienced the problem. Adding \startparagraph and \stopparagraph also produced the same result, but with slightly different output after interrupting the compilation process. I've read this list for years but rarely post and would like to thank everyone who contributes to

[NTG-context] Header spoils X(HT)ML export

2011-12-06 Thread Andreas Harder
Hi Hans, please consider the following example. \setupbackend[export=yes,xhtml=yes,css=yes] \setupheadertexts[{\startelement[header] test \stopelement}] \starttext \startbuffer \startparagraph \input tufte \stopparagraph \startparagraph \input ward \stopparagraph \stopbuffer

Re: [NTG-context] highlight problems on xml export [hacky workaround included]

2011-11-07 Thread Marco Pessotto
] \definepapersize[huge][width=4000mm] \setuppapersize[huge][huge] \setupbodyfont[8pt] \stopmode \starttext \startparagraph Published on \dontleavehmode\emph{Dissonanze} vol. I \stopparagraph \startparagraph Published on vol. I Published on vol. I Published on vol. I Published on \dontleavehmode

Re: [NTG-context] highlight problems on xml export (Was: Missing while exporting to xml before )

2011-11-07 Thread Marco Pessotto
I think I'm hitting another bug with highlights: See this following example: %%% start example \setupbackend[export=yes] \definehighlight[emph][style=italic] \starttext \startparagraph Published on \dontleavehmode\emph{Dissonanze} vol. I \stopparagraph \startparagraph Published on v

Re: [NTG-context] Missing while exporting to xml before

2011-11-07 Thread Hans Hagen
graph with \startparagraph \stopparagraph. I assume this is the right thing to do for a proper export, isn't it? Indeed. On and off I'm trying to make the automatic recognition more clever but too much guessing is bad too. Btw, is there a way to run context just for the xml outpu

Re: [NTG-context] Missing while exporting to xml before

2011-11-06 Thread Marco
\emph ... > > I'll make highlights horizontal by default It works, thanks a bunch. The previous missing seems to be fixed wrapping the paragraph with \startparagraph \stopparagraph. I assume this is the right thing to do for a proper export, isn't it? Btw, is there a way to run conte

Re: [NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Steffen Wolfrum
Am 07.10.2011 um 20:24 schrieb Mojca Miklavec: > On Fri, Oct 7, 2011 at 18:24, Charles wrote: >> Hi, >> >> I am using the \startsection (\startparagraph ...) to structure my document >> and export it to XML. But for all the environments, for each \startsection I &g

Re: [NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Mojca Miklavec
On Fri, Oct 7, 2011 at 18:24, Charles wrote: > Hi, > > I am using the \startsection (\startparagraph ...) to structure my document > and export it to XML. But for all the environments, for each \startsection I > have to put a \stopsection even if I start a new section right after.

Re: [NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Hans Hagen
On 7-10-2011 18:24, Charles wrote: Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I start a new section right after. Is it be possible to

[NTG-context] Automatically add \stopXX when a new \startXX of same type occurs

2011-10-07 Thread Charles
Hi, I am using the \startsection (\startparagraph ...) to structure my document and export it to XML. But for all the environments, for each \startsection I have to put a \stopsection even if I start a new section right after. Is it be possible to automatically stop the previous section

Re: [NTG-context] markdown

2011-07-21 Thread Wolfgang Schuster
Am 20.07.2011 um 14:24 schrieb Hans Hagen: > On 19-7-2011 7:25, Wolfgang Schuster wrote: > >> Can you then also add a few features: >> >> - Headings use \startstructurelevel >> - Paragraphs are enclosed in startparagraph/stopparagraph >> - emphasis and bol

Re: [NTG-context] markdown

2011-07-20 Thread Hans Hagen
On 19-7-2011 7:25, Wolfgang Schuster wrote: Can you then also add a few features: - Headings use \startstructurelevel - Paragraphs are enclosed in startparagraph/stopparagraph - emphasis and bold styles use \definehiglight command to make it possible to change the layout of markdown documents

Re: [NTG-context] markdown

2011-07-19 Thread Wolfgang Schuster
a ConTeXt writer, by due to lack of time I never managed to >> do the ConTeXt module part. > > Ok, I'll give it a try and you can do the checking. Can you then also add a few features: - Headings use \startstructurelevel - Paragraphs are enclosed in startparagraph/stopparagraph -

Re: [NTG-context] inner/outer margin: wrong width at double sided

2011-07-17 Thread Peter Schorsch
wrong margin width is often used. \unexpanded\def\startParagraph {\dosingleempty\dostartParagraph} \def\dostartParagraph[#1]% {\getrawparameters[Paragraph][heading=,mark=,#1]% \incrementnumber[ParagraphNumber]% \ininner{\tfx\getnumber

[NTG-context] inner/outer margin: confused width

2011-07-14 Thread Peter Schorsch
%Define paragraph command \definenumber[ParagraphNumber][way=bysection,prefixsegments=100] \unexpanded\def\startParagraph {\dosingleempty\dostartParagraph} \def\dostartParagraph[#1]% {\getrawparameters[Paragraph][heading=,mark=,#1]% \incrementnumber[ParagraphNumber]% \ininner{\tfx

[NTG-context] dejavu math fallback?

2011-06-15 Thread Reviczky, Adam
ex pages > flushing realpage 3, userpage 3 ) ! Math error: parameter \Umathquad\displaystyle is not set. system > tex > error on line 62 in file export-example.tex: Math error: parameter \Umathquad\displaystyle is not set ... 52 \startparagraph \input zapf (Zapf) \st

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
rrower \stoptext --- But I would like to ask whether this way is "clean" enough and/or there is a better way, especially via a kind of \setup command, e.g. something like: \setupparagraph[MySpecialParagraph][first=0pt,next=2em] ... \startparagraph[MySpecialParagraph] Abc defhi jklm nop qrs

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Stefan Müller
ially via a kind of \setup command, e.g. something like: \setupparagraph[MySpecialParagraph][first=0pt,next=2em] ... \startparagraph[MySpecialParagraph] Abc defhi jklm nop qrst uvw xyz. ABCDE FGHIJKL MNOPQR STUW XYZ. \stopparagraph % or: \startMySpecialParagraph Abc defhi jklm nop qrst uvw xy

[NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
*right] \setupindenting[yes,-2em] \input knuth \stopnarrower \stoptext --- But I would like to ask whether this way is "clean" enough and/or there is a better way, especially via a kind of \setup command, e.g. something like: \setupparagraph[MySpecialParagraph][first=0pt,next=2em] ...

Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-09 Thread Achim Jander
setsetup{\xmldocument}{a|b|chapter}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:b \startparagraph \xmlflush{#1} \stopparagraph \stopxmlsetups \startxmlsetups xml:chapter \doifelse {\xmlatt{#1}{num}} {

Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-08 Thread Thomas A. Schmitz
\stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:b \startparagraph \xmlflush{#1} \stopparagraph \stopxmlsetups \startxmlsetups xml:chapter \doifelse {\xmlatt{#1}{num}} {} {\setuphead[chapter][number=no] \startchap

Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-08 Thread Achim Jander
etups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:b \startparagraph \xmlflush{#1} \stopparagraph \stopxmlsetups \startxmlsetups xml:ueberForceFlush \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:getOwnNumber \xmldoifelse{#1}

[NTG-context] xml-processing: missing or ungrouped '='

2011-01-07 Thread Achim Jander
testsetups \xmlsetsetup{\xmldocument}{a|b|title}{xml:*} \xmlsetsetup{\xmldocument}{num}{-} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:b \startparagraph \xmlflush{#1} \stopparagraph \stopxmlsetups \star

Re: [NTG-context] export and pagebreak

2011-01-02 Thread Hans Hagen
starting point. In fact, in the moment at the position where a pagebreak occurs, the space (if it occurs at a space) is eaten up. Minimal example: \setupbackend [export=yes] \starttext \startchapter [title=Tufte Example] \startparagraph \dorecurse{10}{\input tufte} \stopparagraph \stopchapter

[NTG-context] export and pagebreak

2010-12-31 Thread Achim Jander
moment at the position where a pagebreak occurs, the space (if it occurs at a space) is eaten up. Minimal example: \setupbackend [export=yes] \starttext \startchapter [title=Tufte Example] \startparagraph \dorecurse{10}{\input tufte} \stopparagraph \stopchapter \stoptext At the break of pg 2

Re: [NTG-context] Lettrines in MkIV

2010-09-23 Thread Hans Hagen
pter{Some Section} \startparagraph \dontleavehmode\lettrine{D}{on Knuth asserts:} \input knuth \stopparagraph \stoptext 8<··· This results, again, in the glue node error. we know and we will take a look at it next week (as it takes s

Re: [NTG-context] Lettrines in MkIV

2010-09-23 Thread Philipp Gesang
nd the issue by means of “\dontleavehmode” if you set up the paragraph auto-indentation to “yes,medium”: 8<··· \setupindenting[yes,medium] % comment this out and it works again \usemodule[lettrine] \starttext \chapter{So

Re: [NTG-context] export

2010-09-22 Thread Alan BRASLAU
On Wednesday 22 September 2010 14:29:08 Andreas Harder wrote: > Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: > > \setupbackend [export=yes] > > > > \starttext > > > > \startchapter [title=First chapter] > > > > \startparagraph >

Re: [NTG-context] export

2010-09-22 Thread Andreas Harder
Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: > \setupbackend [export=yes] > > \starttext > > \startchapter [title=First chapter] > > \startparagraph > \input ward > \stopparagraph > > \stopchapter > > \stoptext Results in "Undefined control

Re: [NTG-context] export

2010-09-22 Thread Alan BRASLAU
Minimal example (given at the workshop): \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext On Wednesday 22 September 2010 14:18:18 Otared Kavian wrote: > On 22 sept. 2010, at 14:06, Yur

Re: [NTG-context] setup for (start)paragraph?

2010-08-11 Thread Hans Hagen
On 11-8-2010 9:49, Wolfgang Schuster wrote: Am 11.08.10 21:44, schrieb Hans Hagen: Exactly. And is there also a dedicated setup for "\startparagraph ... \stopparagraph"? No because the environment adds only tags before and after the environment, nothing else. indeed. but the

Re: [NTG-context] setup for (start)paragraph?

2010-08-11 Thread Wolfgang Schuster
Am 11.08.10 21:44, schrieb Hans Hagen: Exactly. And is there also a dedicated setup for "\startparagraph ... \stopparagraph"? No because the environment adds only tags before and after the environment, nothing else. indeed. but there will be something someday; maybe we should re

Re: [NTG-context] setup for (start)paragraph?

2010-08-11 Thread Hans Hagen
On 11-8-2010 9:38, Wolfgang Schuster wrote: Am 11.08.10 21:32, schrieb Steffen Wolfrum: there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for "\startparagraph ... \stopparagraph"??? This should be \startPARAGRAPH ... \stop

Re: [NTG-context] setup for (start)paragraph?

2010-08-11 Thread Wolfgang Schuster
Am 11.08.10 21:32, schrieb Steffen Wolfrum: there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for "\startparagraph ... \stopparagraph"??? This should be \startPARAGRAPH ... \stopPARAGRAPH where PARAGRAPH stands for the name of

Re: [NTG-context] setup for (start)paragraph?

2010-08-11 Thread Steffen Wolfrum
Am 11.08.2010 um 21:28 schrieb Wolfgang Schuster: > Am 11.08.10 21:20, schrieb Steffen Wolfrum: >> Hi, >> >> there seems to be a confusion in contextgarden (at least *I* am confused): >> >> Isn't there also a setup for "\startparagraph ... \stopparagr

Re: [NTG-context] setup for (start)paragraph?

2010-08-11 Thread Wolfgang Schuster
Am 11.08.10 21:20, schrieb Steffen Wolfrum: Hi, there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for "\startparagraph ... \stopparagraph"??? This should be \startPARAGRAPH ... \stopPARAGRAPH where PARAGRAPH stands for

[NTG-context] setup for (start)paragraph?

2010-08-11 Thread Steffen Wolfrum
Hi, there seems to be a confusion in contextgarden (at least *I* am confused): Isn't there also a setup for "\startparagraph ... \stopparagraph"??? "\defineparagraphs" is something different, no? See http://wiki.contextgarden.net/Reference/en/startparagraph &qu

Re: [NTG-context] new current

2010-07-30 Thread Wolfgang Schuster
ture[state=start], many command (like itemize, headers, tabulate, natural tables) have it build-in, for others you can use \startelement[] ... \stopelement To tag paragraphs you need \startparagraph ... \stopparagraph

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
namemakeup \startnarrower[left|middle|right] \stopnarrower # \startnointerference \stopnointerference # \startnotmode \stopnotmode \startopposite \stopopposite \startoverlay{text}{text} \stopoverlay \startoverview[names] \stopoverview \startpacked[blank] \stoppacked \startparagraph \stopparagraph \startpositi

Re: [NTG-context] currentheadnumber / doif.. problem

2007-10-15 Thread Peter Schorsch
[pararef] \starttext \chapter{first heading} \section{hamha} \startparagraph\paragraphMark[ref1]\paragraphHeading{tztzttzt} blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabla blabl

Re: [NTG-context] footnote in paragraph

2004-06-16 Thread Hans Hagen Outside
Peter Münster wrote: Hello, how could I place a footnote in a startParagraph environment? \defineparagraphs[Par][n=3] \starttext \startPar bla\Par bla\footnote{a footnote, that gets hidden...}\Par bla \stopPar \stoptext \startPar bla\Par bla\postponefootnotes\footnote{a footnote, that gets

[NTG-context] footnote in paragraph

2004-06-14 Thread Peter Münster
Hello, how could I place a footnote in a startParagraph environment? \defineparagraphs[Par][n=3] \starttext \startPar bla\Par bla\footnote{a footnote, that gets hidden...}\Par bla \stopPar \stoptext Greetings, Peter -- http://pmrb.free.fr/contact

<    1   2   3