[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

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 (to

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

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

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

2014-10-18 Thread Wolfgang Schuster
? When I wrap >>> 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 enumerati

[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

[NTG-context] Epub broken

2018-07-04 Thread Rik Kabel
={Chapter title}] \startparagraph Chapter introduction. \stopparagraph \startsection[title={Section 1 title}] \startparagraph Section one text. \stopparagraph \stopsection \startsection[title={Section 2 title}] \startparagraph Section two text. \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] 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] \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

[NTG-context] MkIV and LMTX difference in comma list expansion

2020-10-26 Thread Rik Kabel
\starttext \startBlockQuotation[index=aaa]  \startparagraph   1 \quad when indexing aaa.  \stopparagraph \stopBlockQuotation \startBlockQuotation[index={aab}]  \startparagraph   2 \quad when indexing \{aab\}.  \stopparagraph \stopBlockQuotation

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] How can I remove a blank leading line from a buffer

2018-08-12 Thread Rik Kabel
%% How can one remove blank lines at the start of a buffer so that %% commands that grab a buffer can be used in the same way as, for %% example, \startparagraph...\stopparagraph, which allow blank %% lines around the content? %% %% The problem appears when an optional argument is allowed

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Hans Hagen
On 8/13/2018 5:18 AM, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines around the content? %% %% The problem

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Wolfgang Schuster
m] > \setupindenting[no]},after={\blank[medium]}] \setupdelimitedtext [blockquote] [spacebefore=medium, spaceafter=medium, indenting=no] > % Do not indent the first line after a block quote > \setupdelimitedtext[blockquote][indentnext=auto] > > \starttext > \startparagraph &

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Aditya Mahajan
On Sun, 12 Aug 2018, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %% commands that grab a buffer can be used in the same way as, for %% example, \startparagraph...\stopparagraph, which allow blank %% lines around the content? %% %% The problem

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines

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: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] Problems with heads using margintext alternative

2017-07-29 Thread Rik
\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] How can I remove a blank leading line from a buffer

2018-08-12 Thread Henri Menke
On 13/08/18 15:18, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines around the content? %% %% The problem appears

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

2013-01-31 Thread Wolfgang Schuster
m] \stopsetups \defineparagraph[german][setups=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 \stop

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

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

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

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-06 Thread Henning Hraban Ramm via ntg-context
Am 05.06.22 um 16:30 schrieb Albert Krewinkel via ntg-context: 2. Similarly, I'd like to start wrapping paragraphs with     `\startparagraph`/`\stopparagraph`. It is important for me to get     properly tagged PDF, \startparagraph can lead to unwanted side effects (I can't 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] Possible inconsistency in the use of paragraphs in ConTeXt

2013-02-01 Thread Alain Delmotte
ent][setups=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[inde

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

2017-04-01 Thread Alan Braslau
itle=First Subsection] \startparagraph[before=] a\stopparagraph > \startparagraph b\stopparagraph > \startparagraph c\stopparagraph > \stopsubsection > \stoptext (untested) Alan ___ If your

[NTG-context] Startparagraph, was Re: German introduction to context

2018-11-02 Thread Rik Kabel
On 11/2/2018 07:28, Hans Hagen wrote: normally \startparagraph is not needed Hans, Can you explain in a bit more detail about when \startparagraph is needed. Is it needed to generate properly tagged paragraphs in a tagged pdf document, or is that tagging done by other means? Under what

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

Re: [NTG-context] general syntax for startparagraph command

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:30: Dear list members, I am trying to get the following with the 1 elevated and 2 above the = character. The square brackets and all in between I would like italic and OPT below both terms. *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph* Would

Re: [NTG-context] startpar and startparagraph

2018-09-27 Thread Pablo Rodriguez
On 9/27/18 10:18 AM, mf wrote: > What is the difference between \startpar and \startparagraph? > > Are these two equivalent? Hi Massimiliano, according to tex/texmf-context/tex/context/interface/mkiv/i-context.pdf, both inherit from \setupparagraph. I’d say that these are equivalent.

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] 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] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Alain Delmotte
agraph[german][setups=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 \startparagra

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

2014-08-28 Thread Rik Kabel
ect[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.nl&q=Epub)] \stopparagraph \stopsubject \startsubject[title=O

Re: [NTG-context] general syntax for startparagraph command

2019-09-29 Thread Jeroen
gt; > I am trying to get the following with the 1 elevated and 2 above the = > > character. The square brackets and all in between I would like italic > > and OPT below both terms. > > > > *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph* > > > &g

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

2012-05-11 Thread Peter Schorsch
tal number). Can 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\dostar

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 as there is

[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

[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

[NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
=auto] \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 [inden

[NTG-context] startlines in margin

2018-07-21 Thread Rik Kabel
: \setupbackend [export=yes] \starttext \subject{\tex{startlines} in margin} \startparagraph \margintext{\startlines abc def ghi jkl mno pqr \stoplines} \input knuth \stopparagraph \subject{\tex{crlf} in margin} \startparagraph \margintext{abc def\crlf ghi

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 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 paragraph you can enclose > your text i

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

2013-01-31 Thread Devendra Ghate
\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 \stopparagraph \startparagraph[red] \input reich

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

2017-03-31 Thread Rik Kabel
:deep, 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 cl

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

2014-08-28 Thread Hans Hagen
k hier] \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.nl&q=Epub)] \

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

[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

Re: [NTG-context] indentnext=auto

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

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

Re: [NTG-context] More spurious problems in exports

2018-07-18 Thread Hans Hagen
get this, with the numbers representing the paragraph number: \starttext % foo \startparagraph \emIt{x 1} a 1 \stopparagraph \startparagraph {\emIt x 2} a unset \stopparagraph \stoptext of this: \starttext foo 1 \startparagraph \emIt{x 2} a 2 \stopparagraph \startparagraph {\emIt x

[NTG-context] startpar and startparagraph

2018-09-27 Thread mf
What is the difference between \startpar and \startparagraph? Are these two equivalent? Blah blah blah.\par \startpar Blah blah blah.\stoppar Is \startpar ... \stoppar only more XML-like and TaggedPDF oriented? Thanks in advance, Massimiliano

[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] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
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 \defineparagraph[noindent

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

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

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
}{% \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\stopparagraph \dorecurse

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
\starttexdefinition dostartBufTest [#SETUPS]   \getrawparameters[BufTest][xx=yy,#SETUPS]   \grabbufferdata[TestBuffer][startBufTest][stopBufTest] \stoptexdefinition \starttexdefinition stopBufTest   \startnarrower[left,right]   \startparagraph     \BeforePar

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Rik Kabel via ntg-context
=,     inbetween={\blank[small]},     after=,    ]   \startlines   \setupindenting[-\Poemindent,yes]   \startparagraph},    after=\stopparagraph \stoplines,  ] \starttext

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

[NTG-context] general syntax for startparagraph command

2019-09-29 Thread Jeroen
Dear list members, I am trying to get the following with the 1 elevated and 2 above the = character. The square brackets and all in between I would like italic and OPT below both terms. *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph* Would anybody be able to help. Would Metapost be

Re: [NTG-context] More spurious problems in exports

2018-07-18 Thread Rik Kabel
using 2018-07-17 beta on Win64.) You get this, with the numbers representing the paragraph number: \starttext % foo \startparagraph   \emIt{x 1} a 1 \stopparagraph \startparagraph   {\emIt x 2} a unset \stopparagraph \stoptext of this: \starttext foo 1 \startparagraph   \emIt{x 2} a 2

[NTG-context] Spurious breaks in export when blank line ends paragraph

2018-08-21 Thread Rik Kabel
List, My understanding of start/stop macros such as \startparagraph...\stopparagraph has been that blank lines are allowed between the block of text and the macros, as \startparagraph This is the text of the paragraph \stopparagraph However, in xml exports the blank line before

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
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 an explicit \par or through an implicit blan

[NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Alan Bowen
;/Applications/LuaMetaTeX/tex/texmf-context/te..."]:1353> 64 \startparagraph 65 Some facts are compiled in the synthesis. The representations and inscriptions in the stair­wells and kiosk show parallels to other cult buildings [702]. In several cases there are allu­sions to the ritual Opening o

[NTG-context] Re: Problem with the paragraph

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 15:22 schrieb Ursula Hermann: Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definetextbackground[paragraph][ \startparagraph \startparagraph starts a paragraph environment. If you overwrite it by defining another

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] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
construct it, so here is a not-necessarily-minimal example. Note that the problem occurs in footnotes (and endnotes, left as an exercise to the curious). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Hans Hagen via ntg-context
in manuals ... \startlinenumbering \startparagraph Weit .. beirren. \stopparagraph \stoplinenumbering \startlinenumbering \startparagraph\looseness=+2 Weit .. beirren. \stopparagraph \stoplinenumbering \startlinenumbering \startparagraph Weit .. beirren. \looseness=+2\updateparagraphproperties

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. That is

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
Rik Kabel schrieb am 27.11.18 um 22:27: What is unexpected is that the space does not appear in the body (non-footnote) text of the second paragraph. The difference between handling in notes and in body text seems discordant. \startparagraph does *not* start a paragraph. In the two

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-14 Thread Rik Kabel
]   \startparagraph     \BeforePar{\dontleavehmode\llap{? }}\GotoPar     \inlinebuffer[TestBuffer]   \stopparagraph   \stopnarrower   \egroup \stoptexdefinition \starttexdefinition stopBufTest   \startnarrower[left,right]   \startparagraph     \dontleavehmode\llap{? }%     \blank

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
(and endnotes, left as an exercise to the curious). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph \startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Henning Hraban Ramm via ntg-context
e difference? >> I tried English and German and different settings of alignment and tolerance. >> Might it be font dependent? > > explained in manuals ... > > \startlinenumbering > \startparagraph > Weit .. beirren. > \stopparagraph > \stoplinenumberin

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Albert Krewinkel via ntg-context
ndoc, >>> the document convert. There are two questions that we haven't decided >>> on, and I'd be grateful to receive some feedback from ConTeXt experts on >>> these issues: >>> >>> 2. Similarly, I'd like to start wrapping paragraphs with

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

2017-03-31 Thread Todd DeVries
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 O

Re: [NTG-context] Missing modules crossref and pararef

2019-04-08 Thread Henning Hraban Ramm
heard of these modules. But they were for MkII anyway and long gone; their wiki pages are from 2012, and I don’t know the user Zenlima. \startParagraph is dangerously close to (MkIV core) \startparagraph ... What do you want to achieve? It’s probably possible without those modules. Greetlings, H

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

2013-01-31 Thread Wolfgang Schuster
raph"-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 envir

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

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] Oddity with \definereferenceformat

2015-04-20 Thread Wolfgang Schuster
on[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 \\

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Wolfgang Schuster
nk 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=\thi

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
] \getrawparameters[BufTest][xx=yy,#SETUPS] \grabbufferdata[TestBuffer][startBufTest][stopBufTest] \stoptexdefinition \starttexdefinition stopBufTest \startnarrower[left,right] \startparagraph \BeforePar{\dontleavehmode\llap{? }}\GotoPar \inlinebuffer

Re: [NTG-context] German introduction to context

2018-11-02 Thread Hans Hagen
On 11/2/2018 10:07 AM, Axel Kielhorn wrote: Hello! As promised I’ve uploaded my ConTeXt introduction to github. You can find it at https://github.com/AKielhorn/Context-Intro I used MkIV syntax for \startsection \stopsection but gave up on \startparagraph \stoparagraph. Is there a way to auto

Re: [NTG-context] German introduction to context

2018-11-02 Thread Axel Kielhorn
ntax for \startsection \stopsection but gave up on >> \startparagraph \stoparagraph. >> Is there a way to auto convert that or do I have to add these command once I >> want to generate tagged PDF? > > normally \startparagraph is not needed Good to hear that. Should I remov

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

[NTG-context] Re: Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/27/24 10:10, Ursula Hermann wrote: >[...] > I have a question to my paragraphs: > > \definetextbackground[Paragaph][ > [...] >   \startparagraph Hi Uschi, if you define Paragaph, then you should use \startParagaph (and \stopParagaph). > \starttext Even if that works,

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] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote:   \startparagraph % \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer] % \ (first: \First, arg: \Arg)     \margintext{\Mark}     \setupparagraphintro[first][(first

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

2016-04-30 Thread Rik Kabel
\starttext \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

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Wolfgang Schuster via ntg-context
7;d be grateful to receive some feedback from ConTeXt experts on these issues: 2. Similarly, I'd like to start wrapping paragraphs with     `\startparagraph`/`\stopparagraph`. It is important for me to get     properly tagged PDF, but this would also make the output more     verbose. Is tha

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Ursula Hermann
Betreff: [NTG-context] Re: Problem with the paragraph Am 13.12.23 um 15:22 schrieb Ursula Hermann: > Dear list, > > I have this example. I need the whole paragraph in color. But there is > something wrong. > \definetextbackground[paragraph][ > \startparagraph \startparagraph

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

[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

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
oifelse{#ITEM}{} {\expanded{\Mindex{\Marker}}} {\expanded{\Mindex{\Marker+#ITEM}}} \stoptexdefinition \setupdirections [bidi=on,method=two] \setupbodyfont [libertinus,11pt] \starttext \startparagraph \MIndex{One}{Mairzy doats and dozy doats and liddl

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph \startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote \stopparagraph\startparagraph Text \startfootnote

  1   2   3   >