Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Aditya Mahajan
at 12pt. \starttext {\tfx ABC $DEF$ GHI\par} \stoptext I believe that the "proper" way would be: \starttext \startparagraph [style=small] ABC $DEF$ GHI \stopparagraph \stoptext Or, \switchtobodyfotn[small] etc. This is what I had written in the tugboat article on font switching

Re: [NTG-context] How to scale math with text?

2018-06-04 Thread Alan Braslau
t; \starttext > {\tfx ABC $DEF$ GHI\par} > \stoptext I believe that the "proper" way would be: \starttext \startparagraph [style=small] ABC $DEF$ GHI \stopparagraph \stoptext ___ If your question is of i

Re: [NTG-context] Firstline problem with smallcaps

2018-01-14 Thread Hans Hagen
\starttext   \setfirstline[SC]   \startparagraph     \input montgomery   \stopparagraph   \setfirstline[BD]   \startparagraph     \input montgomery   \stopparagraph   \setfirstline[IT]   \startparagraph     \input montgomery   \stopparagraph

[NTG-context] Firstline problem with smallcaps

2018-01-12 Thread Rik Kabel
]   \startparagraph     \input montgomery   \stopparagraph   \setfirstline[BD]   \startparagraph     \input montgomery   \stopparagraph   \setfirstline[IT]   \startparagraph     \input montgomery   \stopparagraph \stoptext -- Rik

Re: [NTG-context] Two requests for new btx subsystem

2017-10-30 Thread Rik
tBib]  \setupspellchecking   [state=start,     method=3]  \definecolor  [word:de]    [r=.85]  \starttext      \startparagraph \cite[title][TestBib::Plaat1957] is a translation by \cite[translator][Tes

[NTG-context] Two requests for new btx subsystem

2017-10-21 Thread Rik Kabel
=.85]  \starttext      \startparagraph \cite[title][TestBib::Plaat1957] is a translation by \cite[translator][TestBib::Plaat1957] of \cite[title][TestBib::Tschichold1953] by \cite[author][TestBib::Tschichold1953]. \stopparag

[NTG-context] Problems with setfirstline

2017-10-18 Thread Rik Kabel
][ after={\blank[big]\setfirstline\setinitial}] \setuphead  [section][continue=yes, after=\setfirstline] \startbuffer     \startchapter[title=Initial and first line: \Word{\fontclass}]     \startparagraph     \input darwin

Re: [NTG-context] Is this a bug in header marking?

2017-10-17 Thread Rik
=Preface]     \startparagraph     \input ward     \stopparagraph     \stopchapter     \stopfrontmatter     \startbodymatter     \startchapter[title=Chapter First]     \startparagraph     \input ward     \stopparagraph

[NTG-context] Is this a bug in header marking?

2017-10-15 Thread Rik Kabel
    \completecontent     \startfrontmatter     \startchapter[title=Preface]     \startparagraph     \input ward     \stopparagraph     \stopchapter     \stopfrontmatter     \startbodymatter     \startchapter[title=Chapter First

[NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Rik Kabel
=1em]     {\userpage}}]     [] \setuphead  [chapter]     [header=nomarking] \startbuffer[testt]     \startchapter[title=Chapter]     \startparagraph     \input ward     \stopparagraph

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
urse{2}{% \startsection \startpar\input ward\stoppar \startparagraph\input ward\stopparagraph \startsubsubsection{} \startpar\input ward\stoppar \stopsubsubsection \dorecurse{2}{% \startsubsection \startpar\input ward\stoppar \startparagraph\input ward\stoppar

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
[title=Paragraph 1] \input ward \stopsection \startsection \PARHEAD{Paragraph 2.} \input ward \startparagraph \input ward \stopparagraph \startsubsection \input ward \startsubsubsection \input ward \stopsubsubsection \stopsubsection \stopsection \startsection \input ward \startsubsubsection \inpu

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Wolfgang Schuster
medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stops

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
ection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See attached output. In paragraphs 1 and 2, there is too much distance between the subsection number (subsection number + title in paragraph 2) and between the text. The distance par

[NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See

[NTG-context] methods for numbered paragraphs

2017-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubsection \startsubsection \startparagraph \input ward \stopparagraph \stopsubsection \stopsection \stoptext == See attached output. In paragraphs 1 and 2, there is too much distance between

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Rik
with \startparagraph and sectioning commands (other margindata are fine): \setuphead [chapter] [alternative=margintext] \starttext \chapter{Chapter} \startparagraph\input jojomayer\stopparagraph \blank \inleft{marg}\startparagraph\input jojomayer\stopparagraph

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Pablo Rodriguez
On 07/23/2017 09:48 PM, Rik Kabel wrote: > The following example demonstrates two problems with > alternative=margintext in \setuphead: > > 1. When used with start/stop sectioning, text following the title may > be set on the wrong line. Hi Rik, the issue comes with

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
no, >> alternative=inmargin] >> \setuphead >> [section] >> [ >> alternative=margintext, >> insidesection={\blank[-line]}, >> ] >> \starttext >> \starttitle >> [title={Problem description}] >> \bgroup

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Rik
\starttitle [title={Problem description}] \bgroup \setupwhitespace[medium] \startparagraph This demonstrates two problems with \type{alternative=margintext} in \tex{setuphead}: \startitemize[packed,n] \startitem

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
] [ alternative=margintext, insidesection={\blank[-line]}, ] \starttext \starttitle [title={Problem description}] \bgroup \setupwhitespace[medium] \startparagraph This demonstrates two problems with \type{alternative=margintext} in \tex

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Todd DeVries
Thank you for this information. Wolfgang Schuster <schuster.wolfg...@gmail.com> writes: > The inline heading in your example doesn’t work because \startparagraph > forces the end of a paragraph for the preceding text. > > As you want only tags for the content of your paragra

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-02 Thread Wolfgang Schuster
he bold text. Hopefully this short explanation adequately describes my reason for addressing the list. The inline heading in your example doesn’t work because \startparagraph forces the end of a paragraph for the preceding text. As you want only tags for the content of your paragraph you can

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Alan Braslau
startsubsection[title=First Subsection] \startparagraph[before=] a\stopparagraph > \startparagraph b\stopparagraph > \startparagraph c\stopparagraph > \stopsubsection > \stoptext (untested) Alan _

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Pablo Rodriguez
rt] \setuphead[subsection][style=\bf, number=no, commandafter={.~}, textdistance=0cm, alternative=text] \starttext \startsubsection[title=First Subsection] \input knuth \stopsubsection \stoptext >>> alternative=text is working, but \startparagraph is s

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-04-01 Thread Rik Kabel
to be. While before= is honored, after= is not. This looks like an inconsistency that can be addressed. On Friday, March 31, 2017, 7:01:28 PM, Rik writes: alternative=text is working, but \startparagraph is starting a new paragraph after the heading. \start\stopparagraph is not happy

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
: > alternative=text is working, but \startparagraph is starting a > new paragraph after the heading. \start\stopparagraph is not > happy with the text alternative. I am wondering if this is just not going to work with the tagging subsystem. The subsection aligns if I remove the start/stop

Re: [NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Rik Kabel
, title=Deep Thoughts \startparagraph Oh Hum, its too windy to play out side, so perhaps I'll write a while... \startsubsection[reference=first, title=First Subsection] \startparagraph \input knuth \stopparagraph \stopsubsection \stopsection \stoptext First, add a closing

[NTG-context] Aligning subsection head with following paragraph in tagged pdf output

2017-03-31 Thread Todd DeVries
to produce this output? I've tried several variations including the snippit below. \setuppapersize[letter][letter] \setuptagging[state=start] \setupheads[subsection][style=\bf, number=no, after={. }, alternative=text] \starttext \startsection[reference=sec:deep, title=Deep Thoughts \startparagraph Oh Hum

[NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-04-30 Thread Rik Kabel
ext \startparagraph Hebrew : {\Hebrew רִ} \stopparagraph \stoptext When the first line is removed, or the value of bidi changed to on, no error is thrown. A single-font version of the code, for fonts that have Hebrew glyphs, fails with some fonts (libertine shown below), but works with oth

[NTG-context] \startalignment

2016-01-12 Thread Alan BRASLAU
, logically as in: \startparagraph \input tufte \startalignment [middle] \input ward \stopalignment \input dawkins \stopparagraph Indeed, curious behavior. Alan ___ If your question is of interest to others as well

Re: [NTG-context] meaning of error message?

2015-11-29 Thread Alan Bowen
wrote: > Alan Bowen <bowenala...@gmail.com> > 25. November 2015 um 17:33 > Hi, Wolfgang— > > The lines from the file are: > > > \startextract <— LINE 43 > \startparagraph > \startlines > . > . > \footno

Re: [NTG-context] meaning of error message?

2015-11-28 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 25. November 2015 um 17:33 Hi, Wolfgang— The lines from the file are: \startextract <— LINE 43 \startparagraph \startlines . . \footnote[particles]{A look at the particles in this sentence suggests that something has gone wrong. The ini

Re: [NTG-context] meaning of error message?

2015-11-25 Thread Alan Bowen
Hi, Wolfgang— The lines from the file are: \startextract <— LINE 43 \startparagraph \startlines . . \footnote[particles]{A look at the particles in this sentence suggests that something has gone wrong. The initial «{δέ}» is mildly adversat

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Hans Hagen
regime, disable above and enable following \definebtxdataset [sample] % finds and uses distribution sample.bib \usebtxdataset [sample.bib] %== \starttext \startparagraph There is a citation in the footnote to this standard paragraph\footnote{This footnote has a citation \cite

[NTG-context] New btx code problem with quote protrusion, redux

2015-10-23 Thread Rik Kabel
[sample] % finds and uses distribution sample.bib \usebtxdataset [sample.bib] %== \starttext \startparagraph There is a citation in the footnote to this standard paragraph\footnote{This footnote has a citation \cite[Eijkhout1991].} \stopparagraph \startparagraph \startquotation

[NTG-context] Cover of ePub

2015-08-07 Thread Henning Hraban Ramm
] \starttext \startchapter[title={Knuth}] \startparagraph \input knuth \stopparagraph \stopchapter \stoptext Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer

Re: [NTG-context] Cover of ePub

2015-08-07 Thread Henning Hraban Ramm
Test}, subtitle={ConTeXt}, author={Hraban}, ] \setupexport[ bodyfont=12pt,width=470pt, hyphen=yes, firstpage={koe}, % works here, but not in environment ] \starttext \startchapter[title={Knuth}] \startparagraph \input knuth \stopparagraph

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Alan BRASLAU
of any, say, \endeverypar command. Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise TeX does not know where a paragraph is to end (only where one begins, through an explicit \par or through an implicit blank line

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
of dots. Is there a straightforward way to do that? TeX has \everypar but I'm not aware of any, say, \endeverypar command. Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise TeX does not know where a paragraph

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
mailto:alan.bras...@cea.fr 2. August 2015 09:11 On Sat, 1 Aug 2015 17:35:38 -0600 Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise TeX does not know where a paragraph is to end (only where one begins, through

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise TeX does not know where a paragraph is to end (only where one begins, through an explicit \par or through an implicit blank line). My guess, untested, would be \setupparagraph[after

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 11:25:01 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Alan BRASLAU mailto:alan.bras...@cea.fr 2. August 2015 09:11 On Sat, 1 Aug 2015 17:35:38 -0600 Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
Alan BRASLAU mailto:alan.bras...@cea.fr 2. August 2015 09:11 On Sat, 1 Aug 2015 17:35:38 -0600 Hello Idris, I would think that your only hope in this case would be through the use of \startparagraph \stopparagraph, for otherwise TeX does not know where a paragraph is to end (only where one

Re: [NTG-context] User-Defined Commands With Key-Value Options

2015-07-23 Thread Rik
] \startparagraph \setupindenting[-\Poemindent,yes] \inlinebuffer[Poem] \stopparagraph \stopnarrower \endgroup \blank[halfline] \stoptexdefinition This type of code can easily be used to deal with the names, numbers, and abbreviations you describe in your

[NTG-context] New btx code problem with quote protrusion

2015-07-05 Thread Rik Kabel
there is a % footnote containing a citation in the quote. See % http://www.mail-archive.com/ntg-context@ntg.nl/msg35580.html \definefontfeature [default][protrusion=quality] \setupalign[hz,hanging] \usebtxdataset [xx.bib] \starttext \startparagraph\noindent There is a citation

Re: [NTG-context] Problem with margin figures and whitespace in text

2015-04-26 Thread Rik Kabel
for figures placed by startplacefigure/stopplacefigure and tradiitonal placefigure commands, and paragraphs placed by startparagraph/stopparagraph or marked by par or newlines. When the figure is not in a group, whitespace called for by \setupwhitespace is lost, except when the paragraphs are marked

Re: [NTG-context] Problem with margin figures and whitespace in text

2015-04-26 Thread Hans Hagen
/stopplacefigure and tradiitonal placefigure commands, and paragraphs placed by startparagraph/stopparagraph or marked by par or newlines. When the figure is not in a group, whitespace called for by \setupwhitespace is lost, except when the paragraphs are marked by traditional means

[NTG-context] Problem with margin figures and whitespace in text

2015-04-25 Thread Rik Kabel
placefigure commands, and paragraphs placed by startparagraph/stopparagraph or marked by par or newlines. When the figure is not in a group, whitespace called for by \setupwhitespace is lost, except when the paragraphs are marked by traditional means. That is, whitespace is lost when startparagraph

[NTG-context] Export bugs

2015-04-24 Thread Idris Samawi Hamid ادريس سماوي حامد
\startparagraph Some \emph{emphasis} and \important{important}. \emph{Emphasis} and \important{important}. \stopparagraph \stoptext ==sh_ahmad-qajar-xml-test-highlight-div.xhtml== div div class=paragraphSome emphasis and div class=highlight importantimportant/div. div class=break

Re: [NTG-context] Oddity with \definereferenceformat

2015-04-20 Thread Wolfgang Schuster
[reference={sec:one}, title={Three\\line\\title}] \startparagraph See \about[sec:one]. \stopparagraph \stopsection \stoptext Can this be repaired? Or, am I doing it wrong? To avoid the line breaks in the reference context has to redefined the meaning of \crlf and \\ when the reference content

[NTG-context] Oddity with \definereferenceformat

2015-04-19 Thread Rik Kabel
A reference to the text of a multi-line heading takes on the line breaks of the heading when \definereferenceformat[about] is used. \definereferenceformat[about][type=title,left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph

[NTG-context] \placefootnotes bug?

2015-04-05 Thread Idris Samawi Hamid ادريس سماوي حامد
={yes,big},after={\blank[small]}] \setupfootnotes[location=text] \starttext \startsection[title=Section 1] \startparagraph \input ward \startfootnote \input ward \startparagraph \input ward \stopparagraph \stopfootnote{} \stopparagraph

[NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
] \starttext \startparagraph \input ward \stopparagraph \startblockquote \input ward \stopblockquote \startparagraph \input ward \stopparagraph \startblockquote \input ward \stopblockquote \startparagraph \input ward \stopparagraph \stoptext From what I understand, if [indentnext

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Wolfgang Schuster
]}] \setupdelimitedtext [blockquote] [spacebefore=medium, spaceafter=medium, indenting=no] % Do not indent the first line after a block quote \setupdelimitedtext[blockquote][indentnext=auto] \starttext \startparagraph \input ward \stopparagraph \startblockquote \input ward

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
a bug indeed... I hope Hans is reading this -) By the way, something like \setupdelimitedtext[blockquote][indentnext=yes] \startparagraph[indenting=no] \input ward \stopparagraph would be a nice feature. Any chance? \startsetups[paragraph:noindent] \setupindenting[no] \stopsetups

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 17 Mar 2015 15:04:32 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \startsetups[paragraph:noindent] \setupindenting[no] \stopsetups \defineparagraph[noindent][setups=paragraph:noindent] \setupindenting[yes,big] \starttext \startparagraph \input ward

Re: [NTG-context] Exporting highlights

2015-03-16 Thread Idris Samawi Hamid ادريس سماوي حامد
] \definehighlight[emphasis] [style=italic] \definehighlight[important][style=bold] \definehighlight[regular][style=\tf] \starttext \startchapter[title=Highlights] \startparagraph This is \emphasis{emphasis}. This is \important{important}. This is \regular{regular}. This is \emphasis{some

[NTG-context] tlig in the export

2015-03-16 Thread Idris Samawi Hamid ادريس سماوي حامد
feature] \startparagraph In \TeX\ it is still common to use two keyboard dashes to obtain an en-dash. An en dash is used to indicate a number range, e.g., 1785--1906. In \TeX\ it is still common to use three keyboard dashes to obtain an em-dash. An em-dash is used to indicate a prominent

[NTG-context] Exporting highlights

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
] \startparagraph This is \emphasis{emphasis}. This is \important{important}. This is \regular{regular}. This is \emphasis{some emphasized text, with \regular{regular} in between}. This is \important{some important text, with \regular{regular} in between}. \stopparagraph \stopchapter \stoptext

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

2015-01-15 Thread Alan BRASLAU
On Wed, 14 Jan 2015 15:22:39 -0700 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: BTW, the quotation environment is not translated as blockquote and paragraphs lack their p tags. Hmm, perhaps a showstopper. Hans has often promoted the use of \startparagraph

Re: [NTG-context] Loading modules

2014-12-23 Thread Wolfgang Schuster
=Ben Lee User, title=How to write a \tex{placetitle} command, date=\currentdate\space\currenttime] \dorecurse{6} {\startparagraph \input tufte\par \stopparagraph} \stoptext When you want to use your module instead of the third party module rename it from t-title.tex to p

Re: [NTG-context] \startitem and \startparagraph

2014-10-18 Thread Wolfgang Schuster
paragraphs with \startparagraph..\stopparagraph within the \startitem..\stopitem, there is an unwanted newline inserted between the bullet and the item text. Or, is it not recommend to wrap paragraphs that are in enumerations? I ask because http://wiki.contextgarden.net/Epub_Sample suggests “Make

Re: [NTG-context] \startitem and \startparagraph

2014-10-17 Thread Hans Hagen
On 10/17/2014 3:02 AM, Rik Kabel wrote: What is the proper way to delimit paragraphs within an itemized list using \start..\stop tagging (as for epub and such)? When I wrap paragraphs with \startparagraph..\stopparagraph within the \startitem..\stopitem, there is an unwanted newline inserted

Re: [NTG-context] \startitem and \startparagraph

2014-10-17 Thread Rik Kabel
On 2014-10-17 03:50, Hans Hagen wrote: On 10/17/2014 3:02 AM, Rik Kabel wrote: What is the proper way to delimit paragraphs within an itemized list using \start..\stop tagging (as for epub and such)? When I wrap paragraphs with \startparagraph..\stopparagraph within the \startitem..\stopitem

Re: [NTG-context] \startitem and \startparagraph

2014-10-17 Thread Hans Hagen
On 10/17/2014 5:11 PM, Rik Kabel wrote: Thank you, Hans, for that. Can you explain when \startparagraph..\stopparagraph should be preferred for tagging, and when \bpar..\epar? There is clearly a difference between them. Is there any setup associated with \bpar..\epar

[NTG-context] \startitem and \startparagraph

2014-10-16 Thread Rik Kabel
What is the proper way to delimit paragraphs within an itemized list using \start..\stop tagging (as for epub and such)? When I wrap paragraphs with \startparagraph..\stopparagraph within the \startitem..\stopitem, there is an unwanted newline inserted between the bullet and the item text

Re: [NTG-context] Startparagraph oddities

2014-08-29 Thread Hans Hagen
On 8/29/2014 12:22 AM, Rik Kabel wrote: There appears to be an inconsistency in the implementation of \startparagraph. When it is used with one argument (or two by my reading of the source) it defines \stopparagraph with a terminal \endgraf, yet with no arguments this is not done. Strangely

[NTG-context] XML, XHTML, and HTML export issue with in URL

2014-08-28 Thread Rik Kabel
] \startparagraph \tex{from}: \from[avecAmpersand] \stopparagraph \startparagraph \tex{goto[url]}: \goto{klik hier}[url(http://www.mail-archive.com/search?l=ntg-context@ntg.nlq=Epub)] \stopparagraph \stopsubject \startsubject[title=Okay in xml] \startparagraph

Re: [NTG-context] XML, XHTML, and HTML export issue with in URL

2014-08-28 Thread Hans Hagen
] \starttext \startsubject[title=Fails in xml] \startparagraph \tex{from}: \from[avecAmpersand] \stopparagraph \startparagraph \tex{goto[url]}: \goto{klik hier}[url(http://www.mail-archive.com/search?l=ntg-context@ntg.nlq=Epub)] \stopparagraph \stopsubject

[NTG-context] Startparagraph oddities

2014-08-28 Thread Rik Kabel
There appears to be an inconsistency in the implementation of \startparagraph. When it is used with one argument (or two by my reading of the source) it defines \stopparagraph with a terminal \endgraf, yet with no arguments this is not done. Strangely (to me) it also appears to insert a line

[NTG-context] Bugs in XML export (for ePub)

2014-03-10 Thread Henning Hraban Ramm
within the first block of the first page, if that’s not empty. e.g. my text starts with \startlines Title etc. \stoplines, then metadatametavariable etc. is exported within lines. If I add something like \startparagraph \stopparagraph to contain the metadata, it disappears. Of course I don’t want

[NTG-context] struggling with section headers

2014-03-07 Thread Henning Hraban Ramm
Hi again, I got a few different problems related to my section headers. I use \startsection[title={Something}] … \stopsection, but not \startparagraph, in case that matters. (Latest MkIV beta on OSX.) I need grid typesetting and use the same line spacing for body text and section headers

Re: [NTG-context] EPUB woes

2013-11-20 Thread Keith J. Schultz
[…]{…} % used for when author has his/her own ideas #2 %normal ConTeXt sets see comment #3 % possibly set a mode or set externally \starttext \startebook \chapter… %see comment #4 \startparagraph

Re: [NTG-context] EPUB woes

2013-11-20 Thread Aditya Mahajan
\starttext \startebook \chapter… %see comment #4 \startparagraph{leftmargin=20%, …] % see comment #5 % text \stopparagraph \starttable

Re: [NTG-context] EPUB woes

2013-11-16 Thread Wolfgang Schuster
(a few programs on windows/mac/linux can read contexts output) you have to convert context xml file into valid xhtml. What you have to do as well in your document to get proper tagged paragraphs is to add \startparagraph and \stopparagraph at the begin and end of each paragraph, otherwise

Re: [NTG-context] EPUB woes

2013-11-16 Thread Aditya Mahajan
that sorted out, I can try applying the lessons learned to my own documents. ConTeXt provides two types of exports. The first is an XML export. Consider a sample file: ~~~ {test.tex} \setupbackend[export=yes] \starttext \startsection[title={This is a test}] \startparagraph Some random text

Re: [NTG-context] EPUB woes

2013-11-16 Thread Bill Meahan
and the least time consuming alternative. 3. Modify the way in which ConTeXt generates the XML files. Ideally, I should be able to write something like ~~~ \setupparagraph[tag=p, class=default] ~~~ to tell context that \startparagraph ... \stopparagraph should translate to `p class=default ... /p

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Philipp Gesang
: · \startparagraph This is a paragraph. \stopparagraph \ifcsname xyzzy\endcsname% \csname xyzzy\endcsname% {whatever foo {\sc bar} baz}% \else {whatever foo {\sc bar} baz}% \fi \startparagraph This is another paragraph. \stopparagraph

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Aditya Mahajan
: · \startparagraph This is a paragraph. \stopparagraph \ifcsname xyzzy\endcsname% \csname xyzzy\endcsname% {whatever foo {\sc bar} baz}% \else {whatever foo {\sc bar} baz}% \fi \startparagraph This is another paragraph. \stopparagraph

Re: [NTG-context] reStructuredText module

2013-03-12 Thread Philipp Gesang
), They are defined as HTML div’s. providing such a container might be as simple as \let\startRSTcontainer=\startframedtext \let\stopRSTcontainer=\stopframedtext or \let\startRSTcontainer=\startparagraph \let\stopRSTcontainer=\stopparagraph Honestly, I have no idea

Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Bill Meahan
): \setupstylesheet[myparagraphstyle] [font=AccanthisADF, fontsize=12pt, fontstyle=italic, alignment=justified, frame=no, color=blue, width=\textwidth, c ] \starttext \startparagraph[style=mystylesheet] \input tufte \stopparagraph \input knuth \stoptext The output would have

[NTG-context] Paragraph formatting (was: block with different formatting per line?)

2013-02-06 Thread Wolfgang Schuster
, c ] \starttext \startparagraph[style=mystylesheet] \input tufte \stopparagraph \input knuth \stoptext The output would have the tufte quote formatted according to my stylesheet and knuth in whatever the global style is. The style parameter in the start/stop

Re: [NTG-context] block with different formatting per line?

2013-02-06 Thread Aditya Mahajan
something like (psuedo code): \setupstylesheet[myparagraphstyle] [font=AccanthisADF, fontsize=12pt, fontstyle=italic, alignment=justified, frame=no, color=blue, width=\textwidth, c ] \starttext \startparagraph[style=mystylesheet] \input tufte \stopparagraph \input knuth

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-02-01 Thread Alain Delmotte
=paragraph:indenting] \defineparagraph[red] [color=red] \defineparagraph[italic][style=italic] \setupwhitespace[line] \starttext \startparagraph \input reich \stopparagraph \startparagraph[german] \input reich \stopparagraph \startparagraph[big] \input reich \stopparagraph \startparagraph[indent] \input reich

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-02-01 Thread Keith J. Schultz
. But, that does not matter for right now. Hans already said it is non trivial to get the functionality of what I has suggest. Which was to introduce the concept of a paragraph into ConTeXt that TeX does not have and not have to use startparagraph and stopparagraph all the time for a standard paragraph. Yes

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Wolfgang Schuster
-environment. That is that, while parsing the source it injects groups into the code it outputs for the paragraphs. This would give us then paragraph-layout. Naturally, this is not a TeX way, but could be a ConTeXt way. ConTeXt *has* a paragraph environment! \starttext \startparagraph

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Keith J. Schultz
. ConTeXt *has* a paragraph environment! \starttext \startparagraph This is the first paragraph. \stopparagraph \startparagraph This is another paragraph. \stopparagraph \stoptext Wolfgang ___ If your

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Wolfgang Schuster
=paragraph:german] \defineparagraph[big] [setups=paragraph:double] \defineparagraph[indent][setups=paragraph:indenting] \defineparagraph[red] [color=red] \defineparagraph[italic][style=italic] \setupwhitespace[line] \starttext \startparagraph \input reich \stopparagraph \startparagraph[german

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Alain Delmotte
] \defineparagraph[big] [setups=paragraph:double] \defineparagraph[indent][setups=paragraph:indenting] \defineparagraph[red] [color=red] \defineparagraph[italic][style=italic] \setupwhitespace[line] \starttext \startparagraph \input reich \stopparagraph \startparagraph[german] \input reich

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Devendra Ghate
] \setupwhitespace[line] \starttext \startparagraph \input reich \stopparagraph \startparagraph[german] \input reich \stopparagraph \startparagraph[big] \input reich \stopparagraph \startparagraph[indent] \input reich \stopparagraph \startparagraph[red] \input reich \stopparagraph \startparagraph

Re: [NTG-context] Epub woes

2012-11-15 Thread Wolfgang Schuster
. Up-to-date Ubuntu 12.04 Linux Escherton 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:32:50 UTC 2012 i686 i686 i386 GNU/Linux What am I doing wrong? You have to tag paragraphs with \startparagraph … \stopparagraph which are converted to p and /p otherwise you get br/ between paragraphs

Re: [NTG-context] Epub woes

2012-11-15 Thread Bill Meahan
On 11/15/2012 02:24 PM, Wolfgang Schuster wrote: You have to tag paragraphs with \startparagraph … \stopparagraph which are converted to p and /p otherwise you get br/ between paragraphs. Wolfgang Oh, my! I'll have to go back and change hundreds of paragraphs! :( What about the chapter

[NTG-context] Did usage of \expanded changed?

2012-05-11 Thread Peter Schorsch
someone tell me what I need to change? Thanks in advanced P. -8---full example--- \unprotect \definenumber[ParagraphNumber][way=bysection,prefixsegments=100] \unexpanded\def\startParagraph {\dosingleempty\dostartParagraph} \def\dostartParagraph[#1

[NTG-context] xml export with footnote

2012-04-03 Thread Matthew Claus
\startparagraph \footnote{a footnote} \stopparagraph \stopsection \stopchapter \startchapter \stopchapter \stoptext mtx-context | current version: 2012.04.02 12:51 document language=en file=problem date=04/03/12 11:42:51 context=2012.04 .02 12:51 version=0.30 xmlns:m=http

Re: [NTG-context] epub

2012-02-16 Thread Wolfgang Schuster
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 fatal illness. Several, in fact. It would

Re: [NTG-context] epub

2012-02-16 Thread Aditya Mahajan
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 fatal illness

Re: [NTG-context] epub

2012-02-16 Thread Wolfgang Schuster
, the figures showing up in the OPS directory after the mtxrun 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

[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

[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

<    1   2   3   >