[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
] [renderingsetup=list:startendpages] \startsetups[list:startendpages] {\ToCEntry} \vglue1pc \stopsetups \starttext {\tfa\bf Contents} \blank[line, fixed] \WORD{Sources} \blank[halfline, fixed] \placelist[SourceTitle][criterium=all] \blank[line, fixed] \WORD{Studies} \blank[halfline, fixed] \placelist

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
(sur la base d'une feuille de style Word) du document que l'on veut publier. Mais parfois, s'il s'agit d'un dossier de plusieurs articles, voire d'une édition avec une aide financière à la publication, on aimerait avoir la main sur la qualité du document imprimé. C'est une des raisons qui f

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

2024-02-27 Thread Pablo Rodriguez via ntg-context
y? The right command? And > using \startnarrower, \stopnarrower? Narrower refers to margins. Extra space between words would be something different (at least, as far as I get it). That being said, I have no idea how to get different inter-word spacing.

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
8:19 am, Mikael Sundqvist wrote: > > > > > > Hi > > > > > > On Thu, Feb 15, 2024 at 1:03 AM Emanuel Han via ntg-context > > > wrote: > > > > > > > > Dear list, > > > > > > > > the attached .tex file is the minimal

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Mikael Sundqvist
gt; Dear list, > > > > > > the attached .tex file is the minimal working example we discussed today > > > in the online meeting. > > > > > > I realized that the approach of looping through k of p[k] is not fitting > > > my needs, because it's not flexible

[NTG-context] Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
top using p as an array, because with the layer sets approach we don't have a fixed order of the layers.> >> > So the definition of the layers would be something like> >> > picture layerA;> > layerA:=image(> > label("Word 1", z1);> > );> &g

[NTG-context] Re: manuals

2024-02-18 Thread Jean-Pierre Delange
d learning ConTeXt, all the vocabulary that existed around page layout (in French: Grand fond, petit fond, blanc de tête, blanc de pied, etc.), vocabulary that we ignore when we come from Word office automation (see here: http://www.lesfichesabebert.fr/TeX/context/MiseEnPage.html). Over the years,

[NTG-context] Re: Working with layer sets with Metapost

2024-02-17 Thread Emanuel Han via ntg-context
at the approach of looping through k of p[k] is not fitting > > > my needs, because it's not flexible enough. > > > > > > I need another approach, one which works with layer sets. > > > > > > I would stop using p as an array, because with the

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Mikael Sundqvist
ting. > > > > I realized that the approach of looping through k of p[k] is not fitting my > > needs, because it's not flexible enough. > > > > I need another approach, one which works with layer sets. > > > > I would stop using p as an array, because with the lay

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
s with layer sets. > > > > > > > > I would stop using p as an array, because with the layer sets approach > > > > we don't have a fixed order of the layers. > > > > > > > > So the definition of the layers would be something like > > > > >

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
p[k] is not fitting > > > my needs, because it's not flexible enough. > > > > > > I need another approach, one which works with layer sets. > > > > > > I would stop using p as an array, because with the layer sets approach we > > > don't have

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
> So the definition of the layers would be something like > > > > picture layerA; > > layerA:=image( > > label("Word 1", z1); > > ); > > > > picture layerW; > > layerW:=image( > > label("Mot 2", z2); > > ); > > >

[NTG-context] Re: Working with layer sets with Metapost

2024-02-14 Thread Mikael Sundqvist
ing like > > picture layerA; > layerA:=image( > label("Word 1", z1); > ); > > picture layerW; > layerW:=image( > label("Mot 2", z2); > ); > > picture layerM; > layerM:=image( >

[NTG-context] Working with layer sets with Metapost

2024-02-14 Thread Emanuel Han via ntg-context
using p as an array, because with the layer sets approach we don't have a fixed order of the layers. So the definition of the layers would be something like picture layerA; layerA:=image( label("Word 1", z1); ); picture layerW; layerW:=image( label("Mot 2", z2); ); picture l

[NTG-context] Re: Seeindex with zie instead of see?

2024-02-14 Thread Henning Hraban Ramm
Am 14.02.24 um 10:42 schrieb G.C.H.M. Verhaag via ntg-context: Hi ConTeXt users, Wondering whether there is a possibility to modify the word *see* into the Dutch word *zie* in the use of the \seeindex command? Did you set \mainlanguage[nl]? Hraban

[NTG-context] Seeindex with zie instead of see?

2024-02-14 Thread Gerard Verhaag via ntg-context
Hi ConTeXt users, Wondering whether there is a possibility to modify the word 'see' into the Dutch word 'zie' in the use of the \seeindex command? Regards, Gerard ___ If your question is of interest to others

[NTG-context] Seeindex with zie instead of see?

2024-02-14 Thread G.C.H.M. Verhaag via ntg-context
Hi ConTeXt users, Wondering whether there is a possibility to modify the word *see* into the Dutch word *zie* in the use of the \seeindex command? Regards, Gerard ___ If your question is of interest to others

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
t; Taking you literally in that you want a *file* listing the occurences and not a typeset page listing the occurrences then you could try using the following in your document at the places where you currently put \requirementA etc: \writestatus{RequirementMet}{Requirement A is met in sectio

[NTG-context] Re: cont-new.mkiv and \everymathematics

2024-01-21 Thread Hans Hagen via ntg-context
: “\mathword{word} typesets “word” in math mode in a normal text font, somewhat like \text{word}, and \w is an abbreviation of it that is added to \everymathematics on startup.” adding to \everymathematics can work fine as long as you're the last one adding when you overload built in commands

[NTG-context] cont-new.mkiv and \everymathematics

2024-01-20 Thread Rogers, Michael K
a while to track down the bug it created for me. In particular, they overwrote my definition only in math mode, and “\show\w” did not work in math mode. Frustrating. I could add a wikipage, I suppose, but I’m not proud of the extent of my knowledge: “\mathword{word} typesets “word” in math mode

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

2024-01-18 Thread seyal . zavira
reaches the end of the line and there is not enough space for another line in that frame, it continues the text in another frame that is already specified? in other word How do you make text flow to another part of a page? Thanks in advance. Best regards, Seyal

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
Am 11.01.24 um 22:04 schrieb Bruce Horrocks: 1. "ConTeXt" should be the biggest word - or as an obvious title for the poster, away from the actual drawing. This will be only a part of the poster. I imagine a 3x3 grid with a title above and some information (website etc.) bel

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Bruce Horrocks
e.g. what is the distinction between the 'source' (lua tex) and the > 'resources' (fonts icc lib) and the 'frontend' (tex xml png ...mp) > (no lua?) Agreed. In no particular order: 1. "ConTeXt" should be the biggest word - or as an obvious title for the poster, away from the

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-11 Thread Fabrice L
iously outdated. > > Some elements that might fit: > – some example code (like from Mikael’s BachoTeX presentation) > – anatomy of a word and a formula (with all those little boxes and measures), > maybe also in Arabic > – dodo & cow drawings from Mikael’s math manual >

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-07 Thread Henning Hraban Ramm
a Tux with its TikZ source code in the back.) We also had posters that show the architecture of TeX/LaTeX, but they were seriously outdated. Some elements that might fit: – some example code (like from Mikael’s BachoTeX presentation) – anatomy of a word and a formula (with all those little boxes

[NTG-context] Re: multipage metapost output from ConTeXt

2024-01-06 Thread Emanuel Han via ntg-context
; TheFrame := fullsquare scaled 5in ; z1 = (60,40); z2 = (40,90); z3 = (10,70); p1:=image( label("Word 1", z1); ); p2:=image( label("Mot 2", z2); ); p3:=image( label("Parola 3", z3); ); \stopuseMPgraphic \starttext \dorecurse{3}{ % Frame \startMPpage[pagestate

[NTG-context] How to implement word corrections

2023-12-27 Thread Jairo A. del Rio
Hi, list! I'm writing a small module to print word corrections, e.g., things like "irregardless" > "regardless"or "alverja" > "arveja" ('pea' in Spanish) with overstrikes and underlines, but I want feedback to make a module in the ConTeXt fashion.

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-04 Thread Fabrice L
Dear Emanuel, > Le 2 déc. 2023 à 12:08, Emanuel Han via ntg-context a > écrit : > > Hi Mikael, > > here's a very simple mwe for the label(textext()) issue. On page 1, the text > "Word 1" should be drawn in position z1. On page 2, the same text in the sam

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
hic{base} > picture p[]; > path TheFrame ; > TheFrame := fullsquare scaled 5in ; > z1 = (60,40); > z2 = (40,90); > z3 = (10,70); > > p1:=image( > label("Word 1", z1); > ); > > p2:=image( > label("Mot 2", z2); > ); > > p3:=image(

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
( label("Word 1", z1); ); p2:=image( label("Mot 2", z2); ); p3:=image( label("Parola 3", z3); ); \stopuseMPgraphic \starttext \dorecurse{3}{ % Frame \startMPpage[pagestate=start] \includeMPgraphic{base} currentime := #1 ; % Just for learning : draw TheFrame

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
Hi Mikael, here's a very simple mwe for the label(textext()) issue. On page 1, the text "Word 1" should be drawn in position z1. On page 2, the same text in the same position should be visible, and the text "Mot 2" in position p2 should be added. And so on. \startMPinclusio

[NTG-context] Re: [ how to force hyphenation all words ]

2023-11-16 Thread Marco Patzer
On Thu, 16 Nov 2023 21:40:08 +0100 vm via ntg-context wrote: > Is there a command in context to force every word in a text to > hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes" Like this? \starttext \hyphenatedword{\samplefile{knuth}}

[NTG-context] [ how to force hyphenation all words ]

2023-11-16 Thread vm via ntg-context
Is there a command in context to force every word in a text to hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes" Thanks .Floris ___ If your question is of interest to others as well, please ad

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
ut a translating wrapper script, but didn’t do > anything yet.) So much code to write, so little time ...:-) My immediate concern is forward search (i.e., editor tells viewer which page to display) and that one should be easy for me to create a wrapper. (I use emacs + auctex, which calls

[NTG-context] Re: checkbox in fields show the word yes

2023-10-05 Thread juh via ntg-context
Hi, three years later I would like to hint to this thread again and ask if there is hope that checkboxes will work better in Acrobat any time soon. Am Fri, Dec 11, 2020 at 06:28:36PM +0100 schrieb Hans Hagen: > On 12/11/2020 6:13 PM, Andres Conrado Montoya wrote: > > Firefox doesn't show the

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-23 Thread Hamid,Idris
e Lotus designers thought that giving them width makes them easier to edit, which is indeed the case. And perhaps they were satisfied that Word/InDesign would be able, as needed, to toggle the metrics on and off as well as the shape. That WYSIWYG-DTP curse again.. \setcharacterstripping[1] gives

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
? And in what stage? If they are zero width it is simple to ignore them in the backend, if they have dimensions (w/h/d) then they contributed and wiping is tricky Since Word rules the world, most font designers target it. Since Word provides for toggling the symbols -- needed for editing pur

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
graphy targets Uniscribe applications which allows for toggling, the font developers (commercial or free) don't have to concern themselves with this issue. ? Since Word rules the world, most font designers target it. Since Word provides for toggling the symbols -- needed for editing purposes -- the

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
ozen unresticted copies for context developers Except for Linotype Lotus, each of the Arabic-script fonts mentioned above is free, not commercial -) (There is also a free version of Lotus -- it also has the symbolic rendering of the contol chars.) Uniscribe applications like Notepad/Word allow for togg

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
Arabic -- all free fonts. Industry workhorses like Linotype Lotus (Arabic) also have them. i'm not interested in those .. can't afford them for playing around purposes .. we only look into commercial fonts if we get a dozen unresticted copies for context developers Uniscribe applications l

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
ri, Uthmanic, and Noto Naskh Arabic -- all free fonts. Industry workhorses like Linotype Lotus (Arabic) also have them. Uniscribe applications like Notepad/Word allow for toggling in a WYSIWYG context -- can't speak for HarfBuzz -- so there is no harm in having explicit symbols in the font.

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread Taco Hoekwater
\stopchapter > \stopxmlsetups > \startxmlsetups xml:p > \xmlflush{#1}\par > \stopxmlsetups > \startluacode > function xml.functions.getMarking(t) > _,n = t.dt[1]:gsub("%S+","") >

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread denis.maier
\xmlflush{#1}\par \stopxmlsetups \startluacode function xml.functions.getMarking(t) _,n = t.dt[1]:gsub("%S+","") if n > 10 then local words = {} for word in t.dt[1]:gmatch

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Wolfgang Schuster
Lukas via ntg-context schrieb am 04.09.2023 um 13:33: Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavb

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Henning Hraban Ramm
Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the green vertical line) but to appear on the next line? I played with "strict", "verytolerant" and similar options but they seem not to affect

[NTG-context] Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
předpokládanou technologii stavby (přístupy, přívody el. energie, skladovací plochy, mon- tážní a pomocné plochy, montážní a pomocné konstrukce, ...) " IOW to force the word "stavby" not to cross the right border (see the green vertical line) but to appear on the next line? I playe

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Michael Löscher
The first element contains a tag and so it differs from the other ones. The second element's tag contains the word "Header" which makes it different again. The other elements contain a tag that they all have in common. What could be the appropriate xml setups to generate the ab

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
§ 2 Second (A second short description) CC DD § 3 Third (A third short description) EE FF --- How can I process the s differently? The first element contains a tag and so it differs from the other ones. The second element's tag contains the word "Head

[NTG-context] XML processing beginner's question

2023-08-21 Thread Michael Löscher
) AA BB § 2 Second (A second short description) CC DD § 3 Third (A third short description) EE FF --- How can I process the s differently? The first element contains a tag and so it differs from the other ones. The second element's tag contains the word

[NTG-context] unsubscribe

2023-08-18 Thread Thomas Floeren via ntg-context
t does the changing >> of font have to do with this?) > > latin modern. >> >>> >>> Bear with me here, in the current state, for example, and as long as say >>> >>> «…person.␣{\obeylines Once the initial is >>> complete…» though feasible

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
ar with me here, in the current state, for example, and as long as say > > > > > > «…person.␣{\obeylines Once the initial is > > > complete…» though feasible enough, leaves any prior \␣ at the mercy of > > > whatever fontsize and/or set width happens to be. And this is

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
at the mercy of > > whatever fontsize and/or set width happens to be. And this is just plain > > wrong. > > What? > > > > > Likewise, if a word sequence such as \TeX\ occurs as in {\ss The separation > > of any of these four components would have hurt \TeX\

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
tial is > > complete…» though feasible enough, leaves any prior \␣ at the mercy of > > whatever fontsize and/or set width happens to be. And this is just plain > > wrong. > > What? > > > > > Likewise, if a word sequence such as \TeX\ occurs as in {\ss The s

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Mikael Sundqvist
n.␣{\obeylines Once the initial is > complete…» though feasible enough, leaves any prior \␣ at the mercy of > whatever fontsize and/or set width happens to be. And this is just plain > wrong. What? > > Likewise, if a word sequence such as \TeX\ occurs as in {\ss The separation > of a

[NTG-context] redefine space to be the same as \␣ similar to knuthian approach

2023-08-18 Thread Carlos
\␣ at the mercy of whatever fontsize and/or set width happens to be. And this is just plain wrong. Likewise, if a word sequence such as \TeX\ occurs as in {\ss The separation of any of these four components would have hurt \TeX\ significantly. } The next sentence: «If I had not participated…» does

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread Hans Hagen via ntg-context
-- 2. Remove trailing punctuation function removeTrailingPunctuation (x) if string.find(x, ',') then return x:sub(1, -2) else return x end end -- test if word is in second list function inList (x, list) for k,v in ipairs(list) do if v == x t

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread denis.maier
ind(x, ',') then return x:sub(1, -2) else return x end end -- test if word is in second list function inList (x, list) for k,v in ipairs(list) do if v == x then return true end end return nil end -- Filter hyphenated words based on

[NTG-context] Reinserting a section title followed by (continued) after a page break

2023-07-30 Thread Calvin Ross
in columns: --- open --- Alice Bob John, you fool.John, you imbecile. --- page break --- Alice (cont'd) Don't you know that everyone uses Word to typeset their plays? --- end --- How can I do this kind of thing in ConTeXt

Re: [NTG-context] knuth

2023-06-02 Thread Carlos via ntg-context
ng parts I remember that the point that chatgpt was trying to make, was in that the printing press challenged the authority of the church. And I remember I had to go back and forth with it and question that very verb/use of the word challenging. If anything seemed clear to me years ago. a

Re: [NTG-context] ntg-context Digest, Vol 227, Issue 15

2023-05-09 Thread Sebastian Ørsted via ntg-context
The SAG, as the book is affectionately called, is one of the > corner stones of the Linux Documentation Project. ``We at the LDP feel > that we wouldn't be able to produce anything at all, that all our work > would be futile, if it weren't for the SAG,'' s

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Carlos via ntg-context
ercialization, the SAG will probably remain free. ``Even more dough,'' promises the author. The author refuses to comment on Windows NT and Windows 96 versions, claiming not to understand what the question is about. Industry gossip, however, tells that Bill Gates, co-founder and CEO of Mi

Re: [NTG-context] new units

2023-05-07 Thread Alan Braslau via ntg-context
cohol. We have an opportunity to make up for this missed occasion this year by attending the annual ConTeXt meeting. Of course, these two meetings are complementary and ideally one should aim at attending *both*. As to the Dutch left and right thumbs, the French word is also "pouce" for the

[NTG-context] help wanted: English native speaker as co-editor

2023-04-16 Thread Henning Hraban Ramm via ntg-context
. BTW I never thought of offering “our” articles to TUG and NTG, while I sometimes got articles that were published in TUGboat or MAPS first. (And I’m writing/translating for DANTE’s DTK regularly.) I’ll start to do that, since “recycling” makes sense, and it also can’t hurt to spread the word

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-11 Thread Carlos via ntg-context
; ___ > -- "We invented a new protocol and called it Kermit, after Kermit the Frog, star of "The Muppet Show." [3] [3] Why? Mostly because there was a Muppets calendar on the wall when we were trying to thin

Re: [NTG-context] Printing problem

2023-03-16 Thread lynx--- via ntg-context
e to do with type3 fonts. > > I attach a pdf file that does not print on our printer at work. Or > well, it prints almost all of the page, but stops at the word > "negativa" (or was it "egenvärden", I do not have the printout here > right now). Then the printe

Re: [NTG-context] Printing problem

2023-03-16 Thread Henning Hraban Ramm via ntg-context
of memory or if the pdf files are somehow corrupted. It might have to do with type3 fonts. I attach a pdf file that does not print on our printer at work. Or well, it prints almost all of the page, but stops at the word "negativa" (or was it "egenvärden", I do not have the printout her

Re: [NTG-context] Printing problem

2023-03-16 Thread Keith McKay via ntg-context
r to Hans, we have discussed this a bit) whether it is > the printer that has a lack of memory or if the pdf files are somehow > corrupted. It might have to do with type3 fonts. > > I attach a pdf file that does not print on our printer at work. Or > well, it prints almost all o

Re: [NTG-context] Printing problem

2023-03-16 Thread Willi Egger via ntg-context
gt; I attach a pdf file that does not print on our printer at work. Or > well, it prints almost all of the page, but stops at the word > "negativa" (or was it "egenvärden", I do not have the printout here > right now). Then the printer also prints an error report about some

Re: [NTG-context] Printing problem

2023-03-16 Thread Martin C. Moncrieffe via ntg-context
that has a lack of memory or if the pdf files are somehow corrupted. It might have to do with type3 fonts. I attach a pdf file that does not print on our printer at work. Or well, it prints almost all of the page, but stops at the word "negativa" (or was it "egenvärden", I do not ha

[NTG-context] Printing problem

2023-03-16 Thread Mikael Sundqvist via ntg-context
not print on our printer at work. Or well, it prints almost all of the page, but stops at the word "negativa" (or was it "egenvärden", I do not have the printout here right now). Then the printer also prints an error report about some "offending command". So, a reque

[NTG-context] issue with custom hyphenator

2023-02-10 Thread Pablo Rodriguez via ntg-context
, } languages.hyphenators.traditional.installmethod("test", function(dictionary,word,n) local t = { } for i=1,#word do local w = word[i] if subset[w] then t[i] = { before

Re: [NTG-context] Bug in verbatim wrapping examples on wiki

2023-02-05 Thread Pablo Rodriguez via ntg-context
local shared = { start = 1, length = 1, before = utf.char(0xFE000), after = nil, left = false, right = false, } local all = table.setmetatableindex({ }, function(t,k) return shared end) languages.hyphenators.traditional.installmetho

Re: [NTG-context] Bug in verbatim wrapping examples on wiki

2023-02-05 Thread Hans Hagen via ntg-context
function(dictionary,word,n) -- local t = { } -- for i=1,#word do -- t[i] = shared -- end -- return t -- end -- ) -- or more efficient when used often: -- local all = { } -- f

Re: [NTG-context] Bug in verbatim wrapping examples on wiki

2023-02-05 Thread Pablo Rodriguez via ntg-context
t = false, --right = false, --} local shared = { start = 1, length = 1, before = utf.char(0xB7), after = nil, left = false, right = false, } -- languages.hyphenators.traditional.installmethod

[NTG-context] Is the Society of Biblical Literature (SBL) style files for ConTeXt incompatible with \setupinteraction[state=start]?

2023-01-15 Thread Joel via ntg-context
ngroup \letbtxparameter {punct}\empty \def \currentbtxcitealternative {inline}\def \currentbtxcategory {\btxfield {category}}\def \currentbtxloctext     {\btxparameter {loctex \normalexpanded     \Word {\fastsetup {btx:sbl:cite:inline}     }\doif {\btxparameter {righttext}}{\empty } {\btx

Re: [NTG-context] TUG 2023

2023-01-04 Thread Joseph Wright via ntg-context
ll be more peaceful and less pandemic... But to my topic: the official announcement for TUG 2023 is out. It will be in Bonn, Germany, in a building literally (literally!) just across the street from my university office. So I feel somewhat motivated to go and give a talk on ConTeXt and spread the w

[NTG-context] TUG 2023

2023-01-04 Thread Thomas A. Schmitz via ntg-context
e official announcement for TUG 2023 is out. It will be in Bonn, Germany, in a building literally (literally!) just across the street from my university office. So I feel somewhat motivated to go and give a talk on ConTeXt and spread the word. Since I'm a simple user and no developer, I'm a bit hesit

Re: [NTG-context] Ajami script

2023-01-01 Thread George N. White III via ntg-context
On Sun, Jan 1, 2023 at 2:14 PM BPJ via ntg-context wrote: It's a bit confusing because the word ʿajamī simply means anything written > in a non-Arabic language with Arabic script. Africa is certainly not the > only place where that term has been used. It is also the case that Arabic &g

Re: [NTG-context] Ajami script

2023-01-01 Thread BPJ via ntg-context
It's a bit confusing because the word ʿajamī simply means anything written in a non-Arabic language with Arabic script. Africa is certainly not the only place where that term has been used. It is also the case that Arabic script has been used to write West African languages for very many

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
es] \starttext \startTEXpage[offset=1em, width=4em] \hsize\zeropoint\tt \hyphenatedword{legibility-legible} \stopTEXpage \stoptext Results are the same with "\mainlanguage[es]" or "\mainlanguage[nl]". If "\mainlanguage" is placed after "\setuplanguage&qu

Re: [NTG-context] Why are my captions overlapping next text in combinations?

2022-11-26 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 25.11.2022 um 23:25: I have some combinations used throughout my document like this: \starttext \startcombination[4*2]             {%  \framed[width=.25\textwidth, height=.25\textwidth]{}%  }{%                 \strut word \\ \thinrule\hairline\hairline

[NTG-context] Why are my captions overlapping next text in combinations?

2022-11-25 Thread Joel via ntg-context
I have some combinations used throughout my document like this: \starttext   \startcombination[4*2]            {%                 \framed[width=.25\textwidth, height=.25\textwidth]{}%             }{%                 \strut word \\ \thinrule\hairline\hairline

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Fabrice Couvreur via ntg-context
-context@ntg.nl> a écrit : > Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: > > On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: > >> PS : What is the exact meaning of the word "blobs" because my English > >> is average ? > > in or

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing corners with &qu

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Hans Hagen via ntg-context
On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the tw

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Fabrice Couvreur via ntg-context
Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? Le mar. 27 sept. 2022 à 22:04, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 9/27/20

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

2022-09-14 Thread Steffen Wolfrum via ntg-context
he Plain TeX >> command "\discretionary{-}{}{}", so >> >> \replaceword[hyphenations][steffen][steff{-}{}{}en] >> >> acts just like "steff\-en". TeX won't otherwise hyphenate a word with >> discretionaries, so this means that "steff-en"

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

2022-09-14 Thread Denis Maier via ntg-context
t; discretionary. The discretionary hyphen "\-" is equivalent to the Plain TeX > command "\discretionary{-}{}{}", so > >\replaceword[hyphenations][steffen][steff{-}{}{}en] > > acts just like "steff\-en". TeX won't otherwise hyphenate a word with &

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

2022-09-14 Thread Max Chernoff via ntg-context
;\-" is equivalent to the Plain TeX command "\discretionary{-}{}{}", so \replaceword[hyphenations][steffen][steff{-}{}{}en] acts just like "steff\-en". TeX won't otherwise hyphenate a word with discretionaries, so this means that "steff-en&

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

2022-08-26 Thread Hans Hagen via ntg-context
cy. Second is that the processing function would have to be called for every XML element to capture the replacement. My original post asked about applying regex word substitution in a ConTeXt way, such as: \definereplacement[SubstMac][ match={Mc([A-Z].*)}, replace={\Mac \\1} ] \definereplacement[SubstPostmeridi

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

2022-08-25 Thread Thangalin via ntg-context
every XML element to capture the replacement. My original post asked about applying regex word substitution in a ConTeXt way, such as: \definereplacement[SubstMac][ match={Mc([A-Z].*)}, replace={\Mac \\1} ] \definereplacement[SubstPostmeridian][ match={[Pp]\\.[Mm]\\.}, replace={\cap{pm}} ] That

[NTG-context] Suggestions for project structures, environment inheritance, local overrides

2022-08-17 Thread Denis Maier via ntg-context
. Currently, my folder structure looks roughly like this : 2022 -- _assets -- article1 source md xml pdf html -- article2 etc. Usually, I receive Word files that get transformed via pandoc to markdown, polished, and from there to XML. HTML is produced via XSLT, PDF via

[NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Marcin Ciura via ntg-context
://live.contextgarden.net/cgi-bin/result.cgi?id=UnSfnS Best regards, Marcin \setupalign[nothyphenated,flushleft] \starttext \startitemize[n,nowhite,columns,two] % The word '(boków' sticks through the right % margin of the left column. \item {\bf Wielokąt} to figura na płaszczyźnie, której brzeg składa się z

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Hamid,Idris via ntg-context
] suppresses it. Endnotes are evil  But the reason for this is that I'm converting to WORD using Abobe and NitroPDF, and I'm trying to make things as easy for the editor of the book as easy as possible. The conversion will look right but the dozens of footnotes will, of course, be unlinked

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread Hans Hagen via ntg-context
- Hello word What would you cover? Project structure? Style creation? In my experience, most participants will know LaTeX, i.e. you must tell them to forget everything they believe to know about TeX ;P Oh, and don’t tell them that ConTeXt LMTX is much, much faster than any LaTeX, because that’s

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread Henning Hraban Ramm via ntg-context
Am 09.07.22 um 19:27 schrieb Henning Hraban Ramm via ntg-context: Am 09.07.22 um 17:48 schrieb juh+ntg-context--- via ntg-context: My workshop was accepted. What shall I cover? It's a workshop for beginners? - Installation - Hello word What would you cover? Project structure? Style creation

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread Henning Hraban Ramm via ntg-context
Am 09.07.22 um 17:48 schrieb juh+ntg-context--- via ntg-context: My workshop was accepted. What shall I cover? It's a workshop for beginners? - Installation - Hello word What would you cover? Project structure? Style creation? In my experience, most participants will know LaTeX, i.e. you must

Re: [NTG-context] Workshop at FrOSCon

2022-07-09 Thread juh+ntg-context--- via ntg-context
were extended. I'll keep you updated. My workshop was accepted. What shall I cover? It's a workshop for beginners? - Installation - Hello word What would you cover? Project structure? Style creation? I think one part will be: Where to find documentation? Any hints appreciated. And if you

Re: [NTG-context] error with sbl bibliography on latest LMTX

2022-07-09 Thread Joey McCollum via ntg-context
his necessary? For some reason, \btx_sbl_doifendswithpunctelse is not recognized within the footnote environment... \def\currentbtxcitealternative{footnote} \def\currentbtxcategory{\btxfield{category}} \def\currentbtxloctext{\btxparameter{loctext}} \def\currentbtxaltloctext{\btxparameter{altloctex

  1   2   3   4   5   6   7   8   9   10   >