[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] Missing break/ while exporting to xml before highlight

2011-11-07 Thread Hans Hagen
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? 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

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

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 vol. I

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

2011-11-07 Thread Marco Pessotto
[huge] \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

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

2011-11-06 Thread Marco
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 context just for the xml output (as I'm doing conditional runs, and I discard the pdf which comes with the xml as a side effect). context --help doesn't seem

[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] 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

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. Configure your text

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 have to put a \stopsection even if I

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 bold styles use \definehiglight command to make

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
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 where ConTeXt is only used to produce a PDF. Wolfgang

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

2011-07-17 Thread Peter Schorsch
the 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
\Umathquad\displaystyle is not set ... 52 \startparagraph \input zapf (Zapf) \stopparagraph 53 54 \startdescription {Ward} \input ward \stopdescription 55 56 \startdescription {Tufte} \input tufte \stopdescription 57 58 \startparagraph \input knuth (Knuth) \stopparagraph

[NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
] \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 \setupsomething command, e.g. something like: \setupparagraph[MySpecialParagraph][first=0pt,next=2em] ... \startparagraph

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Stefan Müller
of \setupsomething 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 xyz. ABCDE FGHIJKL

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
\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 \setupsomething command, e.g. something like: \setupparagraph[MySpecialParagraph][first=0pt,next=2em] ... \startparagraph[MySpecialParagraph] Abc defhi jklm

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

2011-01-09 Thread Achim Jander
}{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}} {} {\setuphead[chapter][number

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

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

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

2011-01-08 Thread Thomas A. Schmitz
}{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}} {} {\setuphead[chapter

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

2011-01-07 Thread Achim Jander
/a \stopbuffer \startxmlsetups xml: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

Re: [NTG-context] export and pagebreak

2011-01-02 Thread Hans Hagen
be a very good 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

[NTG-context] export and pagebreak

2010-12-31 Thread Achim Jander
, 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 \stoptext

Re: [NTG-context] Lettrines in MkIV

2010-09-23 Thread Philipp Gesang
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{Some Section} \startparagraph \dontleavehmode

Re: [NTG-context] Lettrines in MkIV

2010-09-23 Thread Hans Hagen
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 some time to nail

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, Yury G

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 sequence. \setupbackend (newest beta; OS X) … Greeting

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 \input ward \stopparagraph \stopchapter \stoptext

[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 Reference/en/startparagraph

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 the name

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 ... \stopparagraph??? This should be \startPARAGRAPH

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 the environment

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 ... \stopPARAGRAPH where

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 reserve

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

Re: [NTG-context] new current

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

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\stopnotmode \startopposite \stopopposite \startoverlay{text}{text} \stopoverlay \startoverview[names] \stopoverview \startpacked[blank] \stoppacked \startparagraph \stopparagraph \startpositioning \stoppositioning \startpostponing \stoppostponing \startproduct file \stopproduct \startprofile[names

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

2007-10-15 Thread Peter Schorsch
] \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 blabla blabla

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 Mnster
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