[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
|<>| ##. SECTION TITLE paragraph ... . |<-->| margin ``` I wanted paragraph to begin on the same line the section title lies. \define[1]\SectionNumberCommand   {\margindata[inmargin]

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:40, Ali Ali wrote: > Thanks, those seems close to what I wanted but not exactly. > > The ASCII graphic (better in typewriter font) may explain what I desired, > ``` > text width > |<>| > > ##.

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Ali Ali
Thanks, those seems close to what I wanted but not exactly. The ASCII graphic (better in typewriter font) may explain what I desired, ``` text width |<>| ##. SECTION TITLE par

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
Ali Ali schrieb am 27.01.2024 um 06:03: I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there

[NTG-context] Section number in the margin and the section title followed by paragraph!

2024-01-26 Thread Ali Ali
I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there already an option defined to achieve the

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
Dear Bruce, Thank you for your Mail It works perfect. Thank you . Uschi Hermann -Ursprüngliche Nachricht- Von: Bruce Horrocks Gesendet: Freitag, 15. Dezember 2023 14:00 An: ntg-context mailing list Betreff: [NTG-context] Re: Problem with the paragraph > On 14 Dec 2023, at 09

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
> On 14 Dec 2023, at 09:44, Ursula Hermann wrote: > > If I change the name of the textbackground with my example, I sent yesterday, > there is no color in the paragraph. > Try the following version of your example which incoporates Hraban's and Wolfgang's suggestions. Also

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
Ursula Hermann schrieb am 13.12.2023 um 15:22: Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Ursula Hermann
Dear Henning, If I change the name of the textbackground with my example, I sent yesterday, there is no color in the paragraph. Many thanks Uschi Von: Henning Hraban Ramm Gesendet: Mittwoch, 13. Dezember 2023 15:52:08 An: mailing list for ConTeXt users

[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

[NTG-context] Problem with the paragraph

2023-12-13 Thread Ursula Hermann
Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Paragraph Hi Uschi, unfortunately you also forgot the source code. I’m not sure if the examples in the wiki are good – the combination with \startnarrower might be a problem. Maybe setting the width helps (e.g. to \makeupwidth). Hraban Am 05.12.23 um 15:29 schrieb Ursula Hermann: > Dear Hra

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Henning Hraban Ramm
, forgot my name Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Dienstag, 05. Dezember 2023 15:27 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: Colored Paragraph Dear Hraban, I have tried it now, I have sent you the pdf. This works. But the paragraph

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Dear Hraban, Sorry, forgot my name Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Dienstag, 05. Dezember 2023 15:27 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: Colored Paragraph Dear Hraban, I have tried it now, I have sent you the pdf

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Ursula Hermann
Dear Hraban, I have tried it now, I have sent you the pdf. This works. But the paragraph should fill the whole blackrule. -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 14:58 An: mailing list for ConTeXt users Betreff: [NTG-context] Re

[NTG-context] Re: Colored Paragraph

2023-12-05 Thread Henning Hraban Ramm
Am 05.12.23 um 14:16 schrieb Ursula Hermann: The paragraph should have a color in the background. How can I get an colored paragraph? Did you try \definetextbackground? https://wiki.contextgarden.net/TextBackground https://wiki.contextgarden.net/Command/definetextbackground Hraban

[NTG-context] Colored Paragraph

2023-12-05 Thread Ursula Hermann
Hasselt his consent in 1486. \blank Other cities in the neighbourhood of Hasselt were afraid of the toll money to be paid when crossing this bridge so they prevented the construction for many years. \stopparagraph \stoptext The paragraph should have a color in the background. How can I get an colored

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
That's kind of you Max, and I will definitely take a look at that, both for the current book I am working on, but also for the variations it can offer for other titles. In the meantime, Wolfgang gently reminded me that I had overlooked one various obvious (and simple) approach using

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follow? This is fairly

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Wolfgang Schuster
* (which include some dummy content) examples. The example below results in section entries which are listed as a paragraph, what output do you expect here. \setuplist[chapter][alternative=c] \setuplist[section][alternative=d] \starttext \completecontent \dorecurse{2}   {\chapter{Chapter #1

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6, Section 3  7, Section 4   8, Section 5   9

Re: [NTG-context] Indenting next multi paragraph description

2023-02-23 Thread Alex Leray via ntg-context
Actually it works if I comment out "\setupindenting" (or with a manual `\indentation`). But then, no indentation on the rest of the document :( Le 23/02/23 à 22:27, Alex Leray via ntg-context a écrit : \setupindenting[yes, 3em, next]

[NTG-context] Indenting next multi paragraph description

2023-02-23 Thread Alex Leray via ntg-context
Hi, I'd like to indent next paragraphs in multi paragraph descriptions. For some reason, I can't figure out why this isn't working. Any idea? Here is my code: ### \setupwhitespace[none] \setupindenting[yes, 3em, next] \definedescription[question][ before={\vskip-\parskip}, after

Re: [NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-29 Thread Joel via ntg-context
say: > > \starttext > > \input essay > > \stoptext > > > Is there any command to tell ConTeXt to print a specific sentence, e.g. > the first sentence from paragraph 2, or the last sentence from paragraph > 1, etc? depends on the kind of input, coding etc

Re: [NTG-context] notes by paragraph

2023-01-28 Thread jbf via ntg-context
That solves the problem. Thank you. Julian On 28/1/23 23:22, Pablo Rodriguez via ntg-context wrote: \setupnote[footnote][location=none] might help. ___ If your question is of interest to others as well, please add

Re: [NTG-context] footnotes by paragraph?

2023-01-28 Thread Bruce Horrocks via ntg-context
On 28 Jan 2023, at 02:14, jbf via ntg-context wrote: > > Here's a tricky one (for me) that I haven't been able to work out. I am > dealing with a set of constitutions that I am organizing with a paragraph > definition > \defineparagraphs[Two][n=2] > \setupparagraphs[Two][1][

Re: [NTG-context] notes by paragraph

2023-01-28 Thread Pablo Rodriguez via ntg-context
On 1/28/23 03:58, jbf via ntg-context wrote: > Re my earlier question on footnotes by defined paragraph: > > \start...stoplocalfootnotes and \placelocalfootnotes largely solves the > issue (had forgotten that option), but I am still getting the footnotes > repeated at the bottom of

[NTG-context] notes by paragraph

2023-01-27 Thread jbf via ntg-context
Re my earlier question on footnotes by defined paragraph: \start...stoplocalfootnotes and \placelocalfootnotes largely solves the issue (had forgotten that option), but I am still getting the footnotes repeated at the bottom of the page. I am obviously missing a setting. There are parts

[NTG-context] footnotes by paragraph?

2023-01-27 Thread jbf via ntg-context
Here's a tricky one (for me) that I haven't been able to work out. I am dealing with a set of constitutions that I am organizing with a paragraph definition \defineparagraphs[Two][n=2] \setupparagraphs[Two][1][width=.2\textwidth,style=\bfx,after={\blank},align=flushleft] \setupparagraphs[Two

Re: [NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-26 Thread Hans Hagen via ntg-context
On 1/27/2023 4:22 AM, Joel via ntg-context wrote: Assuming I have an input file with an essay: \starttext \input essay \stoptext Is there any command to tell ConTeXt to print a specific sentence, e.g. the first sentence from paragraph 2, or the last sentence from paragraph 1, etc? depends

[NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-26 Thread Joel via ntg-context
Assuming I have an input file with an essay: \starttext \input essay \stoptext Is there any command to tell ConTeXt to print a specific sentence, e.g. the first sentence from paragraph 2, or the last sentence from paragraph 1, etc? --Joel

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Max Chernoff via ntg-context
to restrict it to only apply the lines to some parts of the file, > not every single paragraph? Option 1: \newif\ifprintlines \EveryPar{% \ifprintlines% \vbox to 0pt{% \dorecurse{3}{% \rlap{% \hskip\di

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Joel via ntg-context
These both work great, but do that for the whole document? Is there a way to restrict it to only apply the lines to some parts of the file, not every single paragraph? Thanks! --Joel On Monday, October 10, 2022 at 04:57:07 PM MDT, Max Chernoff wrote: Hi Joel, On Mon, 2022-10-10

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Joel via ntg-context
rote: >>  Hello Max, >> It is preferred if the solution is just three lines per paragraph, >> rather than some content parallel to the text > A Lua callback solution: > > [...] > > An \everypar solution: > >    \appendtoks% >        \vbox to 0pt{% >            \dor

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-11 Thread Hans Hagen via ntg-context
space about 30% of textwidth, so no need to use the margins. Though its easy for me to implement this code using some \thinrules and manually dropping macros in the text, is there some way ConTeXt can be told to just add them to right of every paragraph (at the start of the paragraph)? Sample

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Wolfgang Schuster via ntg-context
Max Chernoff via ntg-context schrieb am 11.10.2022 um 00:57: Hi Joel, On Mon, 2022-10-10 at 12:46 +, Joel wrote: Hello Max, It is preferred if the solution is just three lines per paragraph, rather than some content parallel to the text A Lua callback solution: [...] An \everypar

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Max Chernoff via ntg-context
Hi Joel, On Mon, 2022-10-10 at 12:46 +, Joel wrote: > Hello Max, > It is preferred if the solution is just three lines per paragraph, > rather than some content parallel to the text A Lua callback solution: \startluacode -- Constants RULE_OFFSET= te

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Joel via ntg-context
Hello Max, It is preferred if the solution is just three lines per paragraph, rather than some content parallel to the text...I'll be modifying whatever solution to fix a bunch of other situations (e.g. display a box next to each paragraph). --Joel On Monday, October 10, 2022 at 12:24:03

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Max Chernoff via ntg-context
+ MetaFun. If you want for there to be exactly three rules per paragraph, then that is more complicated. I can think of some bad solutions (\everypar, Lua callbacks), but I'll leave it to someone else to think of a good solution. Thank

[NTG-context] How to make something appear to the right of every paragraph?

2022-10-09 Thread Joel via ntg-context
the margins. Though its easy for me to implement this code using some \thinrules and manually dropping macros in the text, is there some way ConTeXt can be told to just add them to right of every paragraph (at the start of the paragraph)? Sample: This is some text  that is written

Re: [NTG-context] Fuzzy paragraph when exporting to XML

2022-05-01 Thread Hans Hagen via ntg-context
=export* gives a warning: backend > export > fuzzy paragraph: I have managed to narrow it down to the attached MWE (which does not depend on the t-vim module at all). Compiling it using $context --trackers=export\* lines gives the fuzzy paragraph warning. Any hints

Re: [NTG-context] Fuzzy paragraph when exporting to XML

2022-04-30 Thread Aditya Mahajan via ntg-context
ning: > > > > backend > export > fuzzy paragraph: > > > > I have managed to narrow it down to the attached MWE (which does not depend > on the t-vim module at all). Compiling it using > > > > $context --trackers=export\* lines

Re: [NTG-context] Fuzzy paragraph when exporting to XML

2022-04-30 Thread Hans Hagen via ntg-context
On 4/29/2022 4:59 PM, Aditya Mahajan via ntg-context wrote: Hi, I am trying to debug a bug-report for t-vim: https://github.com/adityam/filter/issues/64 Exporting with trackers=export* gives a warning: backend > export > fuzzy paragraph: I have managed to narrow i

[NTG-context] Fuzzy paragraph when exporting to XML

2022-04-29 Thread Aditya Mahajan via ntg-context
Hi, I am trying to debug a bug-report for t-vim: https://github.com/adityam/filter/issues/64 Exporting with trackers=export* gives a warning: backend > export > fuzzy paragraph: I have managed to narrow it down to the attached MWE (which does not depend on the t-vim

Re: [NTG-context] footnote width in specific paragraph instance

2022-02-19 Thread jbf via ntg-context
And indeed it does! I should have just kept playing with my basic "width=" insight, especially since I was already talking about "textarea"! Thanks Sreeram, Julian On 20/2/22 16:00, śrīrāma wrote: On Sunday, February 20, 2022 5:57 AM jbf via ntg-context wrote: Is there a way I can get the

Re: [NTG-context] footnote width in specific paragraph instance

2022-02-19 Thread śrīrāma via ntg-context
On Sunday, February 20, 2022 5:57 AM jbf via ntg-context wrote: > Is there a way I can get the footnote not to break after 'overleaf' and > be normal textarea width instead? I did try \setupfootnotes[width=broad] > but that did not help. \setupnote[footnote][width=\textwidth] seems to work.

[NTG-context] footnote width in specific paragraph instance

2022-02-19 Thread jbf via ntg-context
I need to typeset a document that contains many poetry/verse examples, and am using \defineparagraphs[mypar][n=2] for the purpose. In one specific case a footnote is required. All good except that the footnote is the width of one of those two 'columns', not the usual textarea width. Here is

Re: [NTG-context] Indented Paragraph After Float?

2022-02-07 Thread Michael Urban via ntg-context
On Feb 7, 2022, at 6:10 PM, śrīrāma via ntg-context wrote: > > On Tuesday, February 8, 2022 7:12 AM Michael Urban via ntg-context wrote: >> produces output (for me) with the next paragraph after the figure placement >> unindented. I cannot think of a workaround hack in th

Re: [NTG-context] Indented Paragraph After Float?

2022-02-07 Thread śrīrāma via ntg-context
On Tuesday, February 8, 2022 7:12 AM Michael Urban via ntg-context wrote: > produces output (for me) with the next paragraph after the figure placement > unindented. I cannot think of a workaround hack in this case. Some location values seem to affect the indentation in the next par

[NTG-context] Indented Paragraph After Float?

2022-02-07 Thread Michael Urban via ntg-context
\stopframedtext \stopplacefigure Why am I not indented? \input ward \stoptext produces output (for me) with the next paragraph after the figure placement unindented. I cannot think of a workaround hack in this case. mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context

Re: [NTG-context] paragraph notes located in text

2022-02-01 Thread Pablo Rodriguez via ntg-context
On 1/31/22 10:11 PM, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 31.01.2022 um 19:49: >> Dear list, >> [...] >> Could anyone confirm that the is no way to get paragraph notes when >> location is text, or tell me what

Re: [NTG-context] paragraph notes located in text

2022-01-31 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 31.01.2022 um 19:49: Dear list, with current latest (2022.01.21 20:13), I cannot get paragraph footnotes when located in text. Here you have the mandatory sample: \setuppapersize[A6] \showframe\showgrid %~ \setupnote[footnote][paragraph=yes

[NTG-context] paragraph notes located in text

2022-01-31 Thread Pablo Rodriguez via ntg-context
Dear list, with current latest (2022.01.21 20:13), I cannot get paragraph footnotes when located in text. Here you have the mandatory sample: \setuppapersize[A6] \showframe\showgrid %~ \setupnote[footnote][paragraph=yes] \setupnote[footnote][location=text, paragraph=yes

[NTG-context] no paragraph footnotes when located in text

2022-01-16 Thread Pablo Rodriguez via ntg-context
Dear list, using current latest (2022.01.15 17:32), I still experience an already reported issue (https://mailman.ntg.nl/pipermail/ntg-context/2022/104770.html): \setuppapersize[A6] \showframe\showgrid %~ \setupnote[footnote][paragraph=yes] \setupnote[footnote][location=text, paragraph

Re: [NTG-context] Wiki: new commands not automatically available for autogenerated syntax (was LTR footnotes from RTL paragraph)

2022-01-13 Thread Hans Hagen via ntg-context
...@gmx.es Betreff: Re: AW: [NTG-context] LTR footnotes from RTL paragraph [...] i'll add this (only a few line addition with no performance hit): \definealign[MyAlign][r2l,flushleft] so that you can do \setupalign[MyAlign] and you can also use it as value to the align parameter as well

[NTG-context] Wiki: new commands not automatically available for autogenerated syntax (was LTR footnotes from RTL paragraph)

2022-01-12 Thread Denis Maier via ntg-context
AW: [NTG-context] LTR footnotes from RTL paragraph > [...] > >> > >> i'll add this (only a few line addition with no performance hit): > >> > >> \definealign[MyAlign][r2l,flushleft] > >> > >> so that you can do > >> > >

Re: [NTG-context] LTR footnotes from RTL paragraph

2022-01-12 Thread Hans Hagen via ntg-context
On 1/12/2022 9:57 PM, denis.ma...@unibe.ch wrote: -Ursprüngliche Nachricht- Von: Hans Hagen Gesendet: Freitag, 17. Dezember 2021 12:24 An: mailing list for ConTeXt users Cc: Maier, Denis Christian (UB) ; oi...@gmx.es Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph On 12/17

Re: [NTG-context] LTR footnotes from RTL paragraph

2022-01-12 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 17. Dezember 2021 12:24 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB) ; oi...@gmx.es > Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph > > On 12/17/2021 10:02

Re: [NTG-context] paragraph notes when located in text

2022-01-06 Thread Pablo Rodriguez via ntg-context
e), I cannot get paragraph notes. I thought this could be a bug. Could anyone confirm whether this is the intended behaviour? Many thanks for your help, Pablo ___ If your question is of interest to others as well

Re: [NTG-context] paragraph notes when located in text

2022-01-05 Thread Jean-Pierre Delange via ntg-context
e following sample: > >\setuppapersize[A6] >\showframe\showgrid >\setupnote[footnote][paragraph=yes] >%~ \setupnote[footnote][location=text, paragraph=yes] >\setupnotation[footnote][alternative=serried, width=broad] >\starttext >\startbuffer >\

[NTG-context] paragraph notes when located in text

2022-01-05 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \showframe\showgrid \setupnote[footnote][paragraph=yes] %~ \setupnote[footnote][location=text, paragraph=yes] \setupnotation[footnote][alternative=serried, width=broad] \starttext \startbuffer

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2022-01-03 Thread Youssef Cherem via ntg-context
]%[numberconversion=set 2] \setupnote[afiliação][ %paragraph=yes, rule=off, location=text, ] \setupnotation[afiliação][numberconversion=a, way=bypage, %location=text, %alternative=serried, % no effect alternative=hanging, width=fit, % broad %distance=.5em, %display=no ] % or set 1 % n=3

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
ussef Cherem via ntg-context wrote: > > > I've tried to implement some sort of affiliation description with > > local notes. I'd like them to be either in a single paragraph or in > > columns (e.g., 3), but the options `serried` or `n=3` don't seem to > > work

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Marco Patzer via ntg-context
On Wed, 29 Dec 2021 08:29:34 -0300 Youssef Cherem via ntg-context wrote: > I've tried to implement some sort of affiliation description with > local notes. I'd like them to be either in a single paragraph or in > columns (e.g., 3), but the options `serried` or `n=3` don't seem

[NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
I've tried to implement some sort of affiliation description with local notes. I'd like them to be either in a single paragraph or in columns (e.g., 3), but the options `serried` or `n=3` don't seem to work for text notes (they do work for notes at the bottom). Any help would be much appreciated

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-24 Thread Denis Maier via ntg-context
Hans Hagen via ntg-context hat am 24.12.2021 13:13 geschrieben: On 12/21/2021 10:02 AM, denis.ma...@unibe.ch wrote: Nice! So, IIUC, you should also be able to do something like this

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-24 Thread Hans Hagen via ntg-context
On 12/21/2021 10:02 AM, denis.ma...@unibe.ch wrote: Nice! So, IIUC, you should also be able to do something like this then: \definealign[AlignStandard][verytolerant,stretch] \definealign[AlignR2L][AlignStandard][r2l] Is that correct? No, because these definitions are interpreted at

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-21 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 17. Dezember 2021 12:24 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB) ; oi...@gmx.es > Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph > > On 12/17/2021 10:02

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-17 Thread Hans Hagen via ntg-context
footnotes from RTL paragraph On 12/16/21 12:34 PM, Denis Maier via ntg-context wrote: Ok, this works: \setupnote[footnote][align=l2r] Does that have any drawbacks? Hi Denis, I don’t think it may have (other than forgetting other options, such as hz or hanging). Ah, I alway forget that. By the way

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-17 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez via ntg-context > Gesendet: Donnerstag, 16. Dezember 2021 18:07 > An: Denis Maier via ntg-context > Cc: Pablo Rodriguez > Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph >

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Pablo Rodriguez via ntg-context
On 12/16/21 12:34 PM, Denis Maier via ntg-context wrote: > Ok, this works: > > \setupnote[footnote][align=l2r] > > Does that have any drawbacks? Hi Denis, I don’t think it may have (other than forgetting other options, such as hz or hanging). > Is it possible to change the text direction for

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Denis Maier via ntg-context
, Denis Christian (UB) Betreff: [NTG-context] LTR footnotes from RTL paragraph Hi Footnotes originating from an RTL paragraph will be also typeset in RTL mode as the following example illustrates: %% \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin

[NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Denis Maier via ntg-context
Hi Footnotes originating from an RTL paragraph will be also typeset in RTL mode as the following example illustrates: %% \setupdelimitedtext[blockquote] [leftmargin=1.5em,rightmargin=0em,] \definedelimitedtext[rtlblockquote] \setupdelimitedtext[rtlblockquote

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Adam Reviczky via ntg-context
her change the float in my document than create more issues. Regards, Adam On Mon, Nov 15, 2021 at 2:00 PM Hans Hagen wrote: > On 11/15/2021 6:26 AM, Adam Reviczky via ntg-context wrote: > > Hi, > > > > Is there a way to allow a paragraph to break over two pages (

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Hans Hagen via ntg-context
On 11/15/2021 6:26 AM, Adam Reviczky via ntg-context wrote: Hi, Is there a way to allow a paragraph to break over two pages (between the paragraph start and the placement of the float) with a hanging float further down the paragraph? MWE: \starttext \input lorem \blank[20*line

[NTG-context] Paragraph break over pages with hanging float

2021-11-14 Thread Adam Reviczky via ntg-context
Hi, Is there a way to allow a paragraph to break over two pages (between the paragraph start and the placement of the float) with a hanging float further down the paragraph? MWE: \starttext \input lorem \blank[20*line] % commenting out the hanging float allows paragraph break \startplacefigure

Re: [NTG-context] Initial caps with short paragraph

2021-07-09 Thread Hans Hagen
={\placeinitial}] \starttext \chapter Hello world! \input ward \stoptext | The output shows that the second paragraph is not indented beyond the bounding box of the drop-cap, resulting in an overlap. This isn't a problem when the first paragraph spans two or more lines. Any ideas for how to resolve

[NTG-context] Initial caps with short paragraph

2021-07-08 Thread Thangalin
! \input ward\stoptext The output shows that the second paragraph is not indented beyond the bounding box of the drop-cap, resulting in an overlap. This isn't a problem when the first paragraph spans two or more lines. Any ideas for how to resolve this without changing the content? Thank you

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-29 Thread Jan U. Hasecke
Hi Wolfgang, I am late as I was busy elsewhere, but thanks a lot for your help. Am 25.06.21 um 13:44 schrieb Wolfgang Schuster: \startsetups [userdata:shiftblock]     \signalrightpage     \doifelserightpage {     \startnarrower[2*left,-2*right]     \getuserdata    

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
onntag, 27. Juni 2021 16:57 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] First line of larger font paragraph on grid > > Thanks, Garulfo. I don't use \definedfont in my real document so I should be > able to port it to my use case. And now I've learned about foregroundstyle

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-27 Thread denis.maier
the underlying issue? Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Garulfo > Gesendet: Samstag, 26. Juni 2021 12:37 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] First line of larger font paragraph on grid > > To have

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
To have the two pages similar There is something linked with the use of \definefont. Don't know if it properly impacts the interlinespace for example. %-- \setuplayout[grid=yes] \showgrid \definefont [BigFont] [Bold at 20pt] [28pt]

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
A proposal === \setuplayout[grid=yes] \showgrid \definefont [BigFont] [Bold at 20pt] [28pt] \unprotect \unexpanded\def\section_command#1#2{% \framed [ width=\textwidth, frame=off, rulethickness=0pt,

[NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Jan U. Hasecke
Dear all, the mwe shows my try to define a paragraph that stand out like this: On right pages xxx xxx xx xx xxx xxx On left pages xxx xxx xx xx xxx xxx My try with setups does not work. The textcolor is restored

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 25.06.2021 um 13:19: Dear all, the mwe shows my try to define a paragraph that stand out like this: On right pages xxx xxx    xx    xx xxx xxx On left pages   xxx   xxx xx xx   xxx   xxx My try with setups

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
Hi, I have some text in a larger font where the first line should be on the grid. Therefore, I've tried to adapt the solution from the wiki: https://wiki.contextgarden.net/Grid_typesetting#Placing_titles_on_the_grid The interesting thing is that the section command indeed places the first line

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-24 Thread Rik Kabel
On 6/23/2021 19:44, Rik Kabel wrote: On 6/23/2021 18:10, Hans Hagen wrote: On 6/22/2021 4:52 AM, Rik Kabel wrote: [...]ome an alternative way to do that.) I'll send you a possible fix but it needs a bit of testing. It has to do with (probably spurious) spaces which means that the

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Rik Kabel
and simplified the example, removing the spaceskip and delimitedtext. New example, in which I get a spurious line after the third and fourth Walt Kelly entries: %% Demonstration of spurious line insertion on full paragraph with bidi \setupdirections [bidi=on,method=unicode

Re: [NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-23 Thread Hans Hagen
On 6/22/2021 4:52 AM, Rik Kabel wrote: Hello all, Last October Denis Maier complained about a spurious empty line generated with protrusion and bidi active and a full paragraph. (See https://www.mail-archive.com/ntg-context@ntg.nl/msg95916.html <https://www.mail-archive.com/ntg-cont

[NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-21 Thread Rik Kabel
Hello all, Last October Denis Maier complained about a spurious empty line generated with protrusion and bidi active and a full paragraph. (See https://www.mail-archive.com/ntg-context@ntg.nl/msg95916.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg95916.html> or similar o

Re: [NTG-context] Floating objects next to text mess up paragraph spacing

2021-04-01 Thread Hans Hagen
On 4/1/2021 6:25 PM, Daniel Barker wrote: Hi all, I have noticed that placing a floating object next to text with location "left", "right", etc. seems to move the current paragraph slightly up, resulting in too little space between the current and previous paragraph. Th

[NTG-context] Floating objects next to text mess up paragraph spacing

2021-04-01 Thread Daniel Barker
Hi all, I have noticed that placing a floating object next to text with location "left", "right", etc. seems to move the current paragraph slightly up, resulting in too little space between the current and previous paragraph. This can be seen quite clearly in the out

[NTG-context] Quote mark missing from first paragraph in quotation when location=text

2020-12-06 Thread Michael Murphy
Hi, I have some long dialogue that I'm trying to typeset and I want to use the convention of repeating the open quotation mark on each paragraph of continued dialogue. I know I can set this up by doing something like \setupdelimitedtext[quotation][repeat=yes, middle=\upperleftdoublesixquote

[NTG-context] LMTX update 2020.11.17 ----> 11.19 | Paragraph indenting

2020-11-21 Thread Richard Mahoney
Hello, I noticed yesterday that paragraph indenting appears to have changed between LMTX 2020.11.17 & 11.19. Usually the first paragraph after a section heading does not indent, as it does with all subsequent paragraphs. With 11.19 the first paragraph does have an indent. I've had to re

Re: [NTG-context] LMTX update 2020.11.17 ----> 11.19 | Paragraph indenting

2020-11-21 Thread Pablo Rodriguez
On 11/21/20 10:44 PM, Richard Mahoney wrote: > Hello, > > I noticed yesterday that paragraph indenting appears to have changed between > LMTX 2020.11.17 & 11.19. Usually the first paragraph after a section heading > does not indent, as it does with all subsequent paragraphs. Wit

[NTG-context] \setfirstline is applied to whole paragraph

2020-08-12 Thread Nicola
When I typeset the example at https://wiki.contextgarden.net/Command/definefirstline (reported below for your convenience), \setfirstline is applied to the whole first paragraph, which is laid out on a single line (hence, it is cropped at the edge of the page). Besides, the second

Re: [NTG-context] Box of certain width (and height?) containing a paragraph of text?

2020-03-30 Thread Aditya Mahajan
Does ConTeXt have a command to create a (non framed) box from a line of text, where the text is typeset as a paragraph inside a box of certain size? You can always fall back to plain tex, but I think that the \framed... interface is nicer: \starttext \vbox{\hsize 3cm \input ward\relax

Re: [NTG-context] Box of certain width (and height?) containing a paragraph of text?

2020-03-30 Thread Willi Egger
Gerben, did you think about using \framedtext, setting the frame off? Willi > On 30 Mar 2020, at 21:45, Gerben Wierda wrote: > > Does ConTeXt have a command to create a (non framed) box from a line of text, > where the text is typeset as a paragraph inside a box of certain

[NTG-context] Box of certain width (and height?) containing a paragraph of text?

2020-03-30 Thread Gerben Wierda
Does ConTeXt have a command to create a (non framed) box from a line of text, where the text is typeset as a paragraph inside a box of certain size? G ___ If your question is of interest to others as well, please add

Re: [NTG-context] reference a paragraph

2020-03-25 Thread Wolfgang Schuster
Alan Braslau schrieb am 25.03.2020 um 15:09: Hello, One creates references for structure elements as, for example, \startsubject [reference=sub:mysubject] ... \stopsubject and then can refer to these using, e.g. \on{page} [sub:subject] How might one reference a *paragraph

  1   2   3   4   5   6   >