[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
erring to then? If each line is a paragraph, what's this group of paragraphs then? Can you manually switch to the next one? The inbetween setting works because ConTeXt checks at the start of each line whether it's empty (in this case the value is used) or not. When you add a \par you ju

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Wolfgang Schuster
nce here. BTW: ConTeXt has a module for poems which can be loaded with \usemodule[format]. Wolfgang Ok. I'll have a look at this module. Just two questions: 1. so did this behavior change? 2. What is inbetween referring to then? If each line is a paragraph, what's this group of paragraph

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
loaded with \usemodule[format]. Wolfgang Ok. I'll have a look at this module. Just two questions: 1. so did this behavior change?  2. What is inbetween referring to then? If each line is a paragraph, what's this group of paragraphs then? Can you ma

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
a good ideal all along. >> >> \stopitemize >> >> ``` >> >> Now the distance between the items is equal to the blank space between >> paragraphs. >> >> I want to reduce it equal to the distance between the lines of a paragraph. > &g

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
. \stopitemize ``` Now the distance between the items is equal to the blank space between paragraphs. I want to reduce it equal to the distance between the lines of a paragraph. You asked for a list, that is e.g. a table of contents (list of numbered items like sections or floats). If you want to affect

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
is equal to the blank space between paragraphs. I want to reduce it equal to the distance between the lines of a paragraph. Best, Hong April 25, 2024 at 4:22 PM, "Henning Hraban Ramm" wrote: > Am 25.04.24 um 10:20 schrieb h...@hongfeng.ch: > >> which parameter i

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Henning Hraban Ramm
like the first two paragraphs. The question is “what is ConTeXt,” and the answer is “we’re not LaTeX.” And why “infamous”? I agree. It sounds the same as "we're not msword" or "we're not google docs". (In the end the only thing that latex and context have in common is t

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Hans Hagen
On 4/17/2024 8:32 AM, Thomas A. Schmitz wrote: On 16. Apr 2024, at 21:56, Peter Hopcroft via ntg-context wrote: On 17/04/2024, at 7:11 AM, Henning Hraban Ramm wrote: In my poster (still WIP) I wrote: … Excellent No, I must admit I don’t like the first two paragraphs. The question

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Thomas A. Schmitz
> On 16. Apr 2024, at 21:56, Peter Hopcroft via ntg-context > wrote: > > > >> On 17/04/2024, at 7:11 AM, Henning Hraban Ramm wrote: >> >> In my poster (still WIP) I wrote: >> … > > Excellent No, I must admit I don’t like the first two

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
ommand/ note Command/ ornament Command/ paragraphs Command/ placecombinedlist Command/ placefloat Command/ placelistoffloats Command/ placelistofsorts Command/ placelistofsynonyms Command/ placement Command/ placepairedbox Command/ placeregister Command/ presetlabeltext Command/ referenceformat Comma

[NTG-context] Re: Visually balanced columns

2024-03-27 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 27.03.2024 um 14:02: Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same

[NTG-context] Visually balanced columns

2024-03-27 Thread Alexey Kryukov
Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same vertical position -- no matter, how many lines

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
ig3_1_15 et al, and > > https://www.w3.org/TR/jlreq/#fig3_1_4 > > • positioning of yokugo-ruby https://www.w3.org/TR/jlreq/#fig2_3_24 > > • inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 > > • emphasis with sesame dot or bullet > > • itemization http

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
ositioning of yokugo-ruby https://www.w3.org/TR/jlreq/#fig2_3_24 > > • inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 > > • emphasis with sesame dot or bullet > > • itemization https://www.w3.org/TR/jlreq/#fig2_5_6 > > • indenting of quotation para

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
rg/TR/jlreq/#fig2_3_24 > • inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 > • emphasis with sesame dot or bullet > • itemization https://www.w3.org/TR/jlreq/#fig2_5_6 > • indenting of quotation paragraphs > https://www.w3.org/TR/jlreq/#f

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 Use the narrower or blockquote environment for this. * tab setting https://www.w3.org/TR/jlreq/#fig2_6_1 Just use a table. * furiwake https://www.w3.org/TR/jlreq/#fig2_7_2 * jidori https://www.w3.org/TR/jlreq/#fig2_7_4

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
* inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 * emphasis with sesame dot or bullet * itemization https://www.w3.org/TR/jlreq/#fig2_5_6 * indenting of quotation paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 * tab setting https://www.w3.org/TR/jlreq

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
/#fig2_3_24 inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 emphasis with sesame dot or bullet itemization https://www.w3.org/TR/jlreq/#fig2_5_6 indenting of quotation paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 tab setting https://www.w3.org/TR/jlreq/#fig2_6_1 furiwake https

[NTG-context] Re: Japanese

2024-02-28 Thread Wolfgang Schuster
ine length is longer than 35 characters./ I like the standard line gap which is provided by ConTeXt, which is equivalent to \setupwhitespace/[0pt]/. Even when using ruby, it works well. I found the best voffset for ruby to be -1.7ex. The \setupwhitespace setting controls the distance between

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

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

2024-02-27 Thread Ursula Hermann
Dear List, At Work everything works fine now. Many thanks for those, who have written me. I have a question to my paragraphs: \definetextbackground[Paragaph][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize

[NTG-context] How to Create Asymmetrical Continuous Columns in ConTeXt?

2024-01-18 Thread seyal . zavira
Hi all, I have a lengthy text that I wish to seamlessly incorporate using the \input{mytext} command in ConTeXt. Additionally, I aim to present it in asymmetrical continuous columns, where the text flows over several pages. I have tried paragraphs and columns, but in paragraphs, I can't flow

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
"packed,joineup", but apparently not if whitespace is active. >> "Usually" is in the eye of the beholder. ;-) >> I would have thought that having non-zero whitespace between paragraphs is >> common. For example, Aditya's blog linked to above has whitespace bet

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Henning Hraban Ramm
d "nowhite". Usually that’s synonymous to "packed,joineup", but apparently not if whitespace is active. "Usually" is in the eye of the beholder. ;-) I would have thought that having non-zero whitespace between paragraphs is common. For example, Aditya's blog linked to

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
On Mon, Jan 15, 2024 at 17:39 (+0100), Wolfgang Schuster wrote: > Jim schrieb am 15.01.2024 um 01:42: >> I have >> \setupwhitespace [big] >> so that I get "a blank line" between paragraphs. >> I would like to *not* have "blank lines" before and af

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Wolfgang Schuster
Jim schrieb am 15.01.2024 um 01:42: I have \setupwhitespace [big] so that I get "a blank line" between paragraphs. I would like to *not* have "blank lines" before and after my items. For example, if there is more "paragraph text" after the last item I wo

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
espace is active. "Usually" is in the eye of the beholder. ;-) I would have thought that having non-zero whitespace between paragraphs is common. For example, Aditya's blog linked to above has whitespace between paragraphs. Are you suggesting that is uncommon, or (showin

[NTG-context] Looking for itemize help

2024-01-14 Thread Jim
I have \setupwhitespace [big] so that I get "a blank line" between paragraphs. I would like to *not* have "blank lines" before and after my items. For example, if there is more "paragraph text" after the last item I wo

[NTG-context] Re: Experiments with \doloopoverlist

2023-08-18 Thread Andres Conrado Montoya
ng similar to: %% Given this data structure ... \setdataset[authors][ nombre={Andrés Conrado Montoya Acosta}, bio={This is a bio, it could be two or three paragraphs long}, email={loremip...@email.edu.co}, cvlac={ https://scienti.minciencias.gov.co/cvlac/visualizador/generarCurriculoCv

[NTG-context] Re: new align option

2023-08-16 Thread Hans Hagen via ntg-context
On 8/16/2023 11:54 AM, Hraban Ramm wrote: Hi, I don’t really understand this option. With paragraphs, it’s like flushright, but the last line is right-indented. Within typing, in your eaxmple it’s flushright except the first line; with my code examples with long lines it looks just flushleft

[NTG-context] Re: new align option

2023-08-16 Thread Hraban Ramm
Hi, I don’t really understand this option. With paragraphs, it’s like flushright, but the last line is right-indented. Within typing, in your eaxmple it’s flushright except the first line; with my code examples with long lines it looks just flushleft without line breaking? Would you please

[NTG-context] Re: side-by-side paragraphs broken?

2023-08-13 Thread Hans Hagen
On 8/13/2023 6:12 PM, Thomas A. Schmitz wrote: Hi, in more recent versions of lmtx, the side-by-side mechanism appears to be broken; example below. The right-hand paragraph does not respect the margin and backspace setting. The output looks fine in mkiv and with older versions of lmtx (the

[NTG-context] side-by-side paragraphs broken?

2023-08-13 Thread Thomas A. Schmitz
Hi, in more recent versions of lmtx, the side-by-side mechanism appears to be broken; example below. The right-hand paragraph does not respect the margin and backspace setting. The output looks fine in mkiv and with older versions of lmtx (the one from texlive, so 2023.03.10). Not sure if

[NTG-context] Re: Pass string into text background graphic

2023-08-11 Thread Hans Hagen
On 8/11/2023 9:57 PM, Thangalin wrote: Hi list, I'm attempting to make a stylized border around paragraphs that can span pages. The border runs along the side and the top. (Ideally the top border wouldn't repeat, but that's a minor issue.) The issue I'm having is that the title for the text

[NTG-context] Pass string into text background graphic

2023-08-11 Thread Thangalin
Hi list, I'm attempting to make a stylized border around paragraphs that can span pages. The border runs along the side and the top. (Ideally the top border wouldn't repeat, but that's a minor issue.) The issue I'm having is that the title for the text doesn't always appear. Instead, there's

Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-05 Thread Berend de Boer via ntg-context
Hi Wolfgang, \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|] One more on this actually: how can I influence the white space between the columns? I tried to set distance, but that didn't do anything. Setting p(4cm) or so, made the paragraphs

Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-05 Thread Berend de Boer via ntg-context
Hi Wolfgang, You can use the tabulate environment to create parallel paragraphs. Just one thing for others, this solution as the same problem as paragraphs: \placeinitial won't work. I.e. this: \setupinitial[text=#1]\placeinitial inside the tabulate or paragraphs doesn't work (but here

Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-05 Thread Berend de Boer via ntg-context
Hi Wolfgang, You can use the tabulate environment to create parallel paragraphs. Ah yes, that's working! Thank you so much! One question on the pA{normal,verytolerant,stretch}: what does that do exactly? From the manual I got that A only takes one key, what does specifying three keys mean

Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Wolfgang Schuster via ntg-context
Berend de Boer via ntg-context schrieb am 05.06.2023 um 00:02: Dear all, I've noticed that \defineparagraphs does not break across pages. That would be a huge page saver in my case. Do I have any options for page breaking across a set of parallel paragraphs? Initially I just had a \hbox{\vtop

[NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Berend de Boer via ntg-context
Dear all, I've noticed that \defineparagraphs does not break across pages. That would be a huge page saver in my case. Do I have any options for page breaking across a set of parallel paragraphs? Initially I just had a \hbox{\vtop{#1}\hfil\vtop{#2}} but obviously that doesn't break, so went

Re: [NTG-context] knuth

2023-06-02 Thread Carlos via ntg-context
t now if by the time chatgpt had decided to use ‹challenging› was implying afterwards or after the establishment of the church, and the excommunications that followed and so forth. All I know is that it rewrote it with different paragraphs after I pointed it out. Very well put nevertheless. But its main a

Re: [NTG-context] Change in flushleft alignment?

2023-06-01 Thread Rik Kabel via ntg-context
On 2023-06-01 03:02, Hans Hagen via ntg-context wrote: On 6/1/2023 4:17 AM, Rik Kabel via ntg-context wrote: Previously (May 7) flushleft paragraphs were as wide as possible within the text area. Now (May 30) they appear to be re-wrapped to a much narrower width. Here is the same paragraph

Re: [NTG-context] Change in flushleft alignment?

2023-06-01 Thread Hans Hagen via ntg-context
On 6/1/2023 4:17 AM, Rik Kabel via ntg-context wrote: Previously (May 7) flushleft paragraphs were as wide as possible within the text area. Now (May 30) they appear to be re-wrapped to a much narrower width. Here is the same paragraph, showing the difference: and It looks like every

Re: [NTG-context] Change in flushleft alignment?

2023-06-01 Thread Henning Hraban Ramm via ntg-context
Am 01.06.23 um 04:17 schrieb Rik Kabel via ntg-context: Previously (May 7) flushleft paragraphs were as wide as possible within the text area. Now (May 30) they appear to be re-wrapped to a much narrower width. Here is the same paragraph, showing the difference: and It looks like every

[NTG-context] Change in flushleft alignment?

2023-05-31 Thread Rik Kabel via ntg-context
Previously (May 7) flushleft paragraphs were as wide as possible within the text area. Now (May 30) they appear to be re-wrapped to a much narrower width. Here is the same paragraph, showing the difference: and It looks like every paragraph has been run through par. This does not seem

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread jbf via ntg-context
Yes, tabulate is a solution, though as I have just described for Denis who also responded to this issue, by some careful manipulation (which was possible for the circumstance I was dealing with) I simply noted where the page break occurred and started a new set of paragraphs after

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread mf via ntg-context
paragraphs. If I have one relatively short \startTwo followed by one that is much longer, it will be forced to start on the next page, leaving too much empty space on the previous page. It is probable that getting this environment to split across pages is not possible. I can try very different

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread Denis Maier via ntg-context
difficulty is that while there is only ever just a couple of numbers in the left-hand 'column', the right-hand 'column' may have several lengthy paragraphs. If I have one relatively short \startTwo followed by one that is much longer, it will be forced to start on the next page, leaving too much

[NTG-context] \setupparagraphs - can they run over two pages?

2023-02-23 Thread jbf via ntg-context
of numbers in the left-hand 'column', the right-hand 'column' may have several lengthy paragraphs. If I have one relatively short \startTwo followed by one that is much longer, it will be forced to start on the next page, leaving too much empty space on the previous page. It is probable that getting

[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] Hyphenation in multi-language projects

2022-09-14 Thread Steffen Wolfrum via ntg-context
… \replaceword should be the correct way for proper hyphenation?? st. > Am 14.09.2022 um 08:35 schrieb Max Chernoff : > > > Hi Steffen, > >> The idea is to set the hyphenation for certain words regardless of the >> language that is used in the surrounding paragra

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Max Chernoff via ntg-context
Hi Steffen, > The idea is to set the hyphenation for certain words regardless of the > language that is used in the surrounding paragraphs. > > In this example it should stay: «steff-en» > > How do i set this to all non-english paragraphs (without using > \hyphenation on

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Denis Maier via ntg-context
. The idea is to set the hyphenation for certain words regardless of the language that is used in the surrounding paragraphs. In this example it should stay: «steff-en» How do i set this to all non-english paragraphs (without using \hyphenation on each language-switch)? Best, Steffen — \starttext

[NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Steffen Wolfrum via ntg-context
Hi, please have a look at this minimal example. The idea is to set the hyphenation for certain words regardless of the language that is used in the surrounding paragraphs. In this example it should stay: «steff-en» How do i set this to all non-english paragraphs (without using \hyphenation

[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
ve between \starttextbackground[exampleFrame] and \starttextbackground[exampleFrame] also a figure in addition to text paragraphs. Would it be possible to also draw a rule next to it? Best regards, Alex ___ If you

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
t; > reference, see the attached PNG. This was done with paragraphs, and > > works as longs as this stays on a single page. One is one long stanza, > > the other one consists of multiple smaller stanzas.) > You need to be more prececise in defining what you want .. this example is

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Hans Hagen via ntg-context
. This was done with paragraphs, and works as longs as this stays on a single page. One is one long stanza, the other one consists of multiple smaller stanzas.) You need to be more prececise in defining what you want .. this example is not a parallel obe right? Just two columns. Hans

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
etry.sidebyside defined twice? If I understand correctly, depending on the > input one or the other will be used, but I don't see where that happens... > the first can be commented as it is the first simple variant > I see. Thanks for the updated version. So, that means the basic restr

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
oes not quite work as tabulate does not seem to allow blanks between > > the stanzas. See MWE below. Am I missing someting? Is there a better > > way to achieve this? > > How about columnsets or paragraphs? > > \definecolumnset[Zwei][n=2] > \startcolumnset[Zwei] >

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
ly, I use the tabulate > environment for typesetting parallel texts. However, for poems this does > not quite work as tabulate does not seem to allow blanks between the > stanzas. See MWE below. Am I missing someting? Is there a better way to > achieve this? How about col

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Henning Hraban Ramm via ntg-context
below. Am I missing someting? Is there a better way to achieve this? How about columnsets or paragraphs? \definecolumnset[Zwei][n=2] \startcolumnset[Zwei] \startlines Starlight, star bright, first star I see tonight; \stoplines \column \startlines I wish I may, I wish I might have the wish I wish

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-26 Thread Hans Hagen via ntg-context
stopbuffer \startxmlsetups xml:xhtml \xmlsetsetup{\xmldocument}{*}{-} \xmlsetsetup{\xmldocument}{html|p|em}{xml:*}\stopxmlsetups \startxmlsetups xml:html \startdocument \xmlflush{#1} \stopdocument\stopxmlsetups % Paragraphs are followed by a paragraph break, but only if

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-25 Thread Thangalin via ntg-context
mldocument}{*}{-} \xmlsetsetup{\xmldocument}{html|p|em}{xml:*}\stopxmlsetups \startxmlsetups xml:html \startdocument \xmlflush{#1} \stopdocument\stopxmlsetups % Paragraphs are followed by a paragraph break, but only if not nested.\startxmlsetups xml:p \xmlfunction{#1}{p} \par\sto

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
x \ruby{aaa}{bbb} x > > \stop > > > > \start \setupruby[color=blue] > > \type{\setupruby[color=blue]}\quad x \ruby{aaa}{bbb} x > > \stop > > > > \start \setupruby[voffset=-1.2ex] > > \type{\

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-16 Thread amano.kenji via ntg-context
; \stoptext > end example > > > What about vertical text? > > > ConTeXt has a mechanism to produce vertical text but there is nothing > yet which can > be used out of the box to produce a complete document with vertical > paragraphs. > > Wolfgang > > ___

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-15 Thread Wolfgang Schuster via ntg-context
with vertical paragraphs. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
res. You also want the paragraphs to look somewhat ok. Folks who enforce such demands on authors never wonder where the tools do do that come from (publishers and probably most designers are not interested in that anyway: thinking probably stops at the number '120'). Attached a proof of concept that

Re: [NTG-context] upload

2022-07-08 Thread Hans Hagen via ntg-context
run during the output routine     tex.nest.ptr > 1 -- Don't run inside boxes     then     return head     end so I think that I'm only processing actual top-level paragraphs here. There is no 'callback sequence handler' for the par builder (currently i see no need for it, also given the extra overh

Re: [NTG-context] upload

2022-07-08 Thread Max Chernoff via ntg-context
ide boxes then return head end so I think that I'm only processing actual top-level paragraphs here. There is no 'callback sequence handler' for the par builder (currently i see no need for it, also given the extra overhead involved) but this what what you can

Re: [NTG-context] Count (and limit) glyphs per line?

2022-06-26 Thread Hans Hagen via ntg-context
ation, current paragrph properties, etc. and you don't want interference with other features. You also want the paragraphs to look somewhat ok. Folks who enforce such demands on authors never wonder where the tools do do that come from (publishers and probably most designers are not interested

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

2022-06-08 Thread Albert Krewinkel via ntg-context
(Side note: pandoc already produces the new syntax, but only when >called with `--section-divs`.) > > 2. Similarly, I'd like to start wrapping paragraphs with >`\startparagraph`/`\stopparagraph`. It is important for me to get >properly tagged PDF, but this

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 remember

[NTG-context] pages with facing text

2022-06-06 Thread Pablo Rodriguez via ntg-context
\setbox\scratchboxfour\vsplit\scratchboxone to \textheight \vbox to \vsize{\box\scratchboxfour\vss}% \setbox\scratchboxfive\vsplit\scratchboxtwo to \textheight \vbox to \vsize{\box\scratchboxfive\vss}% \fi} \stoptext I’m afraid that after my mixture, matching paragraphs don’t

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

2022-06-05 Thread Albert Krewinkel via ntg-context
by pandoc, >>> 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 >>>     `\s

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

2022-06-05 Thread Albert Krewinkel via ntg-context
ia > ntg-context: >> 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 that something that you would find b

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

2022-06-05 Thread Wolfgang Schuster via ntg-context
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 that something that you

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

2022-06-05 Thread Hans Hagen via ntg-context
will stay forever. 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 that something that you would find bothering, or do you see adding

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

2022-06-05 Thread Denis Maier via ntg-context
, > > I'm currently trying to improve the ConTeXt output generated by pandoc, 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: > [...] > >

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

2022-06-05 Thread Denis Maier via ntg-context
hear that, as my cooperative uses pandoc to produce print stuff with > ConTeXt, we are always happy, when there are improvements. > > Am Sun, Jun 05, 2022 at 09:07:37AM +0200 schrieb Albert Krewinkel via ntg- > context: > > 2. Similarly, I'd like to start wrapping parag

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

2022-06-05 Thread juh via ntg-context
Dear Albert, great to hear that, as my cooperative uses pandoc to produce print stuff with ConTeXt, we are always happy, when there are improvements. Am Sun, Jun 05, 2022 at 09:07:37AM +0200 schrieb Albert Krewinkel via ntg-context: > 2. Similarly, I'd like to start wrapping paragra

[NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Albert Krewinkel via ntg-context
with `--section-divs`.) 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 that something that you would find bothering, or do you see adding

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Aditya Mahajan via ntg-context
k, "Theorems, Maps, and Trees" all paragraphs are typeset as complete rectangles! See a sample here: https://www.principiae.be/book/pdfs/TM > The whole idea of his fascinating approach is that the page is quantized in 2 > dimensions and that all positioning, even graphical e

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-28 Thread Eduardo Bohoyo via ntg-context
on my file? Then you can get a better idea of what I mean by the end of some pages when I comment grid=yes (apart from the mischief that happens with the horizontal spaces in some paragraphs of the bibliographic section). Or, if you prefer, and you need more feedback, I can send you my current

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-28 Thread Max Chernoff via ntg-context
actually acting on my file? Then you can get a better idea of what I mean by the end of some pages when I comment grid=yes (apart from the mischief that happens with the horizontal spaces in some paragraphs of the bibliographic section). Or, if you prefer, and you need more feedback, I can send you my

[NTG-context] Fwd: lua-widow-control module error in LMTX

2022-04-27 Thread Eduardo Bohoyo via ntg-context
understand that lwc can have problems with a text whose chapters have capital letters and small caps on the first page with less text than on the following pages; with long quotations that involve paragraphs of different layout and separated from the main text; with more than one footnot

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-27 Thread Max Chernoff via ntg-context
ups[*default] \directsetup{*reset} \clubpenalty=\lwcparameter{orphanpenalty} \widowpenalty=\lwcparameter{widowpenalty} \displaywidowpenalty=\lwcparameter{widowpenalty} \brokenpenalty=\lwcparameter{brokenpenalty} \stopsetups If that doesn't

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-26 Thread Eduardo Bohoyo via ntg-context
ose source    > level 2, order 4, name '/opt/luametatex/texmf-modules/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl' module  > lua-widow-control > Already enabled On the other hand, the distribution and size of my paragraphs take great care that their "

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-26 Thread Eduardo Bohoyo via ntg-context
-widow-control/t-lua-widow-control.mkxl' module  > lua-widow-control > Already enabled On the other hand, the distribution and size of my paragraphs take great care that their "design" optimises the module's goodness, except, of course, for the first pages of each o

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-25 Thread Max Chernoff via ntg-context
gt; Widow/orphan detected. Attempting to remove. module > lua-widow-control > Widow/Orphan NOT removed on page X. then that means that lwc found a widow/orphan, but gave up. This usually only happens if the page has only really short paragraphs, but it can also happen if there

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
Hi Hans [Inline Response to message by Hans Hagen via ntg-context, Mi, 2022-04- 20 19:18 +0200: Answers and comments below corresponding cited paragraphs.] > We had to adapt the lfg file for lm (other fonts are ok) so i'll make > an > update. > > If you're in a h

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Hans Hagen via ntg-context
On 4/20/2022 7:07 PM, Christoph Hintermüller via ntg-context wrote: Hi Michael [Inline Response to message by Mikael Sundqvist via ntg-context, Mi, 2022-04-20 17:12 +0200: Answers and comments below corresponding cited paragraphs.] The strange thing with fractions seems to be due

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
Hi Michael [Inline Response to message by Mikael Sundqvist via ntg-context, Mi, 2022-04-20 17:12 +0200: Answers and comments below corresponding cited paragraphs.] > > The strange thing with fractions seems to be due to the parameter > FractionNumeratorDisplayStyleShiftUp in lm.lf

Re: [NTG-context] embedding tex and lua code in

2022-03-24 Thread mf via ntg-context
Hans prompted me to use xml.content() instead of xml.text(). The first one preserves newlines, so short comments don't extend to the next line. *  *  * Here's another problem related to space in elements. This code: --   <script type="text/vnd.context">

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
lated to space in elements. This code: -- <script type="text/vnd.context"> % default setup for paragraphs \startxmlsetups myHtml:p \dontleavehmode\red\xmlflush{#1}\par \stopxmlsetups % default setup for it

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
topxmlsetups   \startxmlsetups myHtml:p \dontleavehmode\red\xmlflush{#1}\par   \stopxmlsetups     nested-xmlsetup.xhtml Description: application/xhtml \startxmlsetups html \xmlsetsetup{#1}{{html|head}}{html:flush} \xmlsetsetup{#1}{{html head script}}{html:script:context} \

Re: [NTG-context] Few quick questions

2022-03-09 Thread Hans Hagen via ntg-context
line in my sources. Does this implicit definition of paragraphs cause any hickups in exporter and would it be adviseable to enclose each paragraph in \startparagraph and \stopparagraph? Or should that be no issue for xmlexporter and would ensuring clean recent install be more efficient in this case

Re: [NTG-context] Few quick questions

2022-03-09 Thread Christoph Hintermüller via ntg-context
Ok replaced everything i could find with \start* \stop* pairs which got me far down the document just the last about 4 pages. The only thing when comparing with examples for using exporter which still differs is that i use blank line in my sources. Does this implicit definition of paragraphs

Re: [NTG-context] Few quick questions

2022-03-09 Thread Christoph Hintermüller via ntg-context
ART OF HEADING fonts > stop missing characters error logging > stop possible issues OK, I guess I figured the cause of why xml export aborts in the middle of the document. It came to me while writing the above lines and wanting to report that i see some warnings about fuzzy pa

[NTG-context] XML, dealing with whitespace

2022-01-15 Thread Denis Maier via ntg-context
ent="no", but that produces a rather unreadable file. xsl:strip-space has had no effect. Maybe someone knows a solution how to improve that step? Is there a way to convince an xslt-processor not to introduce the newlines after certain tags? Something like, treat paragraphs as a single uni

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
that they have one (often they do or they have standard locations like a few ligatures have) My bigger technical problem is that I need to combine paragraphs of normally typeset prose with other paragraphs where I don't want the typesetting engine to change a single glyph, or too much of the spacing

  1   2   3   4   5   6   7   8   9   10   >