[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
seyal.zav...@gmail.com schrieb am 23.05.2024 um 14:13: Hi all, i want to use tables for constructing poems structure this snippet of code works well: \startsetups tablepoem \setupTABLE[column][each][width=5cm] \stopsetups \starttext \bTABLE[setups=tablepoem] \bTR \bTD One one ons ksl \eTD

[NTG-context] simplify side by side Poems

2024-05-23 Thread seyal . zavira
Hi all, i want to use tables for constructing poems structure this snippet of code works well: \startsetups tablepoem \setupTABLE[column][each][width=5cm] \stopsetups \starttext \bTABLE[setups=tablepoem] \bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR \bTR \bTD One wer s dft

[NTG-context] Re: Playing with math font setup

2024-05-21 Thread Hans Hagen
code! """ \starttypescriptcollection[CustomFontSelection] \starttypescript [serif] [CustomFontSelection] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] % [file:font/Lora-Regular.ttf] [file:font/Lora-Medium.ttf] [features=default,

[NTG-context] Playing with math font setup

2024-05-21 Thread Ali Ali
criptcollection[CustomFontSelection] \starttypescript [serif] [CustomFontSelection] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] % [file:font/Lora-Regular.ttf] [file:font/Lora-Medium.ttf] [features=default,fallbacks=Serif] \definefontsyn

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Wolfgang Schuster
and the frames aline to the margin ok. I tried to put something before the first frame (noindentation, dontleavehmode) because I sometimes read it solves problems, but not the case here. so Why is the first frame protruding and only the first? [...] Include only setups in your examples which

[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-27 Thread Wolfgang Schuster
a way to inherit their options but the "framed" and "counter" mechanism supports it. To use the framed mechanism with your own command replace \installcommandhandler with \installframedcommandhandler. This creates a command named \inherited...framed which can be customi

[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
]   Pr=(\getmarking[Datum][previous])~   Nx=(\getmarking[Datum][next])~   Fi=(\getmarking[Datum][first])~   La=(\getmarking[Datum][last])~   Tp=(\getmarking[Datum][top])~   Bt=(\getmarking[Datum][bottom])~   Cu=(\getmarking[Datum][current])~ \stopsetups \setupheadertexts[text]   [\setup

[NTG-context] Re: Japanese

2024-03-16 Thread Wolfgang Schuster
[kinohanmen:a4]) for each paper size,     2. you can put the fontsize etc. settings in a setups block and load the one needed for each paper size and     3. you can put all of them in a module which can be loaded when writing documents in japanese, the paper size can be passed as argument

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
in principle all the setups and definitions must be before the body of your document which begns with \starttext. Another point i sthat instead of using \par you can leave a blank line, which makes the document more readable. And you don’t need to break the lines by « hand », since ConTeXt does

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
] \enforced\let\\\endgraf \setups[tugboat:abstract:setup] \startAbstracts[title={Abstract}] \stopAbstracts } \stopStreszczenia \stopDane} \stopplacefigure \stopsetups \startsetups

[NTG-context] Re: Local alternative to \input

2024-03-05 Thread Henning Hraban Ramm
Am 04.03.24 um 10:43 schrieb Denis Maier via ntg-context: Hi, Aren’t environments used for setups (and not for textual content). Maybe a buffer may be what you want ? https://wiki.contextgarden.net/Command/startbuffer Yes, buffers are the way to go for (textual) contents, while setups

[NTG-context] Re: Local alternative to \input

2024-03-04 Thread Denis Maier via ntg-context
Hi, Aren’t environments used for setups (and not for textual content). Maybe a buffer may be what you want ? https://wiki.contextgarden.net/Command/startbuffer Best, Denis Von: Jeroen Gesendet: Montag, 4. März 2024 06:15 An: mailing list for ConTeXt users Betreff: [NTG-context

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
> >>[ it={style:regular,features:{*,slanted}}, > >>sl={style:regular,features:{*,slanted}}, > >>bi={style:bold,features:{*,slanted}},force=yes] > >> > >> \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] > >> %\defin

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
family[JapaneseFont][math][Tex Gyre Pagella Math] > >> %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] > >> > >> > >> > >> \setupbodyfont[JapaneseFont,12pt] > >> \setupruby[location=top,voffset=-2ex] > >> \setupwhitespace[big] >

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
] for Korean. I don’t know if the setups for Chinese and Korean are still valid, I just removed \setencoding. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
\mainlanguage[ja], I added it, also \mainlanguage[kr] for Korean. I don’t know if the setups for Chinese and Korean are still valid, I just removed \setencoding. Hraban ___ If your question is of interest to others as well

[NTG-context] Re: How to stop

2024-01-28 Thread Bruce Horrocks
it isn't expected to have any frames at all. > > Note that each unique table is defined inside a macro. > > How can I make these table settings only apply to the a specific table? Use setups, one for each of your 40 variations: e.g: \startsetup formatA \setupTABLE[r][1][align=ragged

[NTG-context] Re: How to stop

2024-01-27 Thread Hraban Ramm
Just use a group (\start ... \stop, \bgroup ... \egroup or {} ) around the setup commands and their table, or use \startsetup mytable ... \stopsetup and \startTABLE[setups=mytable] if you need the same settings for several tables. HR Am 27.01.24 um 22:29 schrieb Joel via ntg-context: I have

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
ase are either natural tables or extreme tables. > Below is a example which uses the table like wrapper for natural tables > which makes adding rules and changing the padding around text very > simple because each table cell is a \framed block with all its options. > \starttext &g

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
em,roffset=.5em]   \setupTABLE [column] [each]  [leftframe=on,rightframe=on]   \setupTABLE [row]    [first] [topframe=on,bottomframe=on,foregroundstyle=bold]   \setupTABLE [row]    [last]  [bottomframe=on] \stopsetups \startTABLE[setups=ruledtable] \NC Year \NC Citizens \NC\NR \NC 1675 \NC ˜428

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
ween >> paragraphs. Are you suggesting that is uncommon, or (showing my >> Context-noobness) is \setupwhitespace not the usual ConTeXt way to do this? > Yes, it’s common, and \setupwhitespace is right. OK, thanks for the confirmation. > I just don’t remember all the setups

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Henning Hraban Ramm
above has whitespace between paragraphs. Are you suggesting that is uncommon, or (showing my Context-noobness) is \setupwhitespace not the usual ConTeXt way to do this? Yes, it’s common, and \setupwhitespace is right. I just don’t remember all the setups in my many environmen

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Henning Hraban Ramm
and just refer to it with something like \localinput or so to a textblock at the bottom of the same file. What would be the easiest way to implement this? Usually, the best way to load setups is using \environment at the top of your file. I don’t understand the sense in placing this in the bottom

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
Hi everyone, being a newbie I just discovered how different setups for the grid may affect my (very simple) document. In the Details manual (which of course I don't understand because of my unexperience) I read that many people don't use the grid, but when I configure grid=no the whole lines

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

2023-11-15 Thread Jim
be at least as good, but alas it needs support from the >> editors. > simpler in the sense that we only output what is needed for the > synchronization to work reliable; fwiw, my collegue already for many years > uses context with synctex enabled with sumatra pdf in pretty compl

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

2023-11-12 Thread Hans Hagen
and should be at least as good, but alas it needs support from the editors. simpler in the sense that we only output what is needed for the synchronization to work reliable; fwiw, my collegue already for many years uses context with synctex enabled with sumatra pdf in pretty complex setups: a mix

[NTG-context] Adobe Source Typescript With Design Sizes

2023-10-31 Thread Vincent Hennebert
designsize, adobesource-nodesignsize-regular, adobesource-nodesignsize-medium, adobesource-nodesignsize-semibold, adobesource-nodesignsize-bold, adobesource-nodesignsize-black, ] [name] \setups[font:fallback:\typescriptone] \definefontsynonym [\typesc

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm
[before]}\endgraf}, after={\endgraf{\ttbf [after]}\endgraf}] \stopsetups \setupnote[footnote][setups=forfootnote] \footnote{\startitemize \startitem Choose the correct answer. \startitemize \item This one

[NTG-context] \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
{\ttbf [after]}\endgraf}] \stopsetups \setupnote[footnote][setups=forfootnote] \footnote{\startitemize \startitem Choose the correct answer. \startitemize \item This one \stopitemize \stopitem \stopitemize} \stoptext

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
> On 15 Sep 2023, at 14:07, Rik Kabel wrote: > > > On 9/15/2023 4:10 AM, Taco Hoekwater wrote: >> >> >>> On 15 Sep 2023, at 09:58, >>> wrote: >>> >>> I thought there should be a setups key on \setupsectionblock, but >

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
On 9/15/2023 4:10 AM, Taco Hoekwater wrote: On 15 Sep 2023, at 09:58,wrote: I thought there should be a setups key on \setupsectionblock, but apparently there isn’t. So, the example below does not work, but maybe it wouldn’t be too hard to add it… There is a ‘before' key, but note

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
> On 15 Sep 2023, at 09:58, wrote: > > I thought there should be a setups key on \setupsectionblock, but apparently > there isn’t. So, the example below does not work, but maybe it wouldn’t be > too hard to add it… There is a ‘before' key, but note that the sectionblock i

[NTG-context] Re: Chapters without new page

2023-09-15 Thread denis.maier
I thought there should be a setups key on \setupsectionblock, but apparently there isn’t. So, the example below does not work, but maybe it wouldn’t be too hard to add it… Best, Denis \setuphead[chapter][page=yes] \setupsectionblock[backmatter][setups={\setuphead[chapter][page

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Andres Conrado Montoya
You can find some examples in the wiki to do something similar: https://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Also you can use setups instead of macro definitions, and create spaces with \space, \par, etc: https://wiki.contextgarden.net/Setups -- Andrés Conrado Montoya

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Ok, \starttexdefinition allows blanks, apparently just like setups. But, it still fails exactly like the version with \def \setuphead[chapter][ before={Before: \structureuservariable{author}\blank}, beforesection={Beforesection: \structureuservariable{author}\blank}, insidesection

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 17:02 schrieb Henning Hraban Ramm: We can discuss the details next week and you put the resulting template on the wiki. Ah, I guess I understand the template mechanism. Yet again glorious setups. Will probably manage. So far: \definepageinjection[chapter:start][ page=left

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
the details next week and you put the resulting template on the wiki. Ah, I guess I understand the template mechanism. Yet again glorious setups. Will probably manage. Hraban ___ If your question is of interest

[NTG-context] Re: Text runs out of Verbatim Frame

2023-09-08 Thread Wolfgang Schuster
[4*medium]}] There is also no need to put \unprotect ... \protect around your setups. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

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

2023-09-04 Thread jbf
of it compiles (for me) in LMTX. So I tried something different, e.g. \definelist[chapter] \setuplist[chapter][label=yes,distance=1.5cm,alternative=c,style=normal,before=\blank] \definelist[section] \setuplist[section] [textcommand=\setups{SecToc}] \setupcombinedlist [content]o [list={chapter

[NTG-context] Re: Better option for a macro with lots of arguments

2023-08-23 Thread Hans Hagen via ntg-context
something based in key=value assignments? setups? datasets? Not really sure, but If you know a better solution or point me in the direction of something I can use to replace that macro, it would be greatly appreciated. \startsetups [document:start] \doifdocumentvariable {englishabstract

[NTG-context] Better option for a macro with lots of arguments

2023-08-22 Thread Andres Conrado Montoya
citation style for this article}{Chicago citation style for this article}{MLA citation style for this article} \stoptext %%% I've been exploring different ways to do it better, but with not much luck, I was thinking something based in key=value assignments? setups? datasets

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Hamid,Idris
ght size to Lua." They were moved to the goodie file (there are every few design size setups in goodie files, minion has one, but i don't have these fonts nor use them. Have just completed a minion-pro-opticals typescript collection with a minion-opticalsizes.lfg. Somehow I didn't even see yours and

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Hans Hagen via ntg-context
es so one can wonder. "at some point the decision was made to kick out these definitions and move the burden of figuring out the right size to Lua." They were moved to the goodie file (there are every few design size setups in goodie files, minion has one, but i don't have these

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

2023-08-22 Thread Hans Hagen via ntg-context
: using setups which are basically macros. The #1 is the current node (but you can store it in a macro and use it later if needed). So, only references are passed around. for thomas: we now also have (in lmtx) \ifxml {id}{pattern} \else \fi \ifxmltext {id}{pattern} \else \fi

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

2023-08-22 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen via ntg-context > Gesendet: Montag, 21. August 2023 19:09 > > you need a bit of imagination because basically (depends a bit on what you > do) one big nested expansion is going on, as Thomas explained: using setups >

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

2023-08-21 Thread Hans Hagen via ntg-context
On 8/21/2023 6:56 PM, Thomas A. Schmitz wrote: On 8/21/23 18:36, Michael Löscher wrote: Thank you so far. But what I would like to understand first ist how the different setups work togehter. How are they processed? What is the order of processing, which are the stets taken by the enginge when

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

2023-08-21 Thread Thomas A. Schmitz
On 8/21/23 18:36, Michael Löscher wrote: Thank you so far. But what I would like to understand first ist how the different setups work togehter. How are they processed? What is the order of processing, which are the stets taken by the enginge when processing an xml document? Without

[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
er" 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 above output? Michael --- xml data: \startbuffer[xmlcontent]         What it is   2023-08-01          

[NTG-context] XML processing beginner's question

2023-08-21 Thread Michael Löscher
"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 above output? Michael --- xml data: \startbuffer[xmlcontent] What it is

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p|] \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
t; \startsetups[mypenalties] > > \setdefaultpenalties > > \setpenalties\clubpenalties{1}{150} > > \setpenalties\widowpenalties{1}{1} > > \setpenalties\displaywidowpenalties{1}{1} > > \stopsetups > > > > \setuplayout[setups=mypenaltie

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
\startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
\startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p

[NTG-context] Penalties and overprinting in tabulate

2023-08-18 Thread denis.maier
\setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwidth)|p|] \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf

[NTG-context] Re: breakpoints in verbatim text

2023-08-18 Thread Hans Hagen
but Hans suggestion to provide a hook which can be used to re-enable the feature, e.g.     \startsetups [typing:mine]         \setbreakpoints[compound]     \stopsetups     \setuptyping [CUSTOM] [setups=typing:mine] The only flaw I can see in the suggestion is the use

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
Thanks, Unfortunatly, it doesn't work (no difference in output with or without the `setups` parameter) I'm not up-to-date, Should I update? Here is my version. mtx-context | current version: 2023.03.10 12:15 Many thanks Le 17/08/23 à 16:32, Hans Hagen a écrit : On 8/17/2023 2:41 PM

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Hans Hagen
gparameter \to \everyinitializeverbatim and then \startsetups typing:mine \setbreakpoints[compound] \stopsetups with \starttyping[lines=yes,setups=typing:mine] I need Wolfgang to check it for possible interferen

[NTG-context] Re: Experiments with \doloopoverlist

2023-08-17 Thread Hans Hagen via ntg-context
% \dorecurse{\datasetsize{autores}}{ % \setups[userdata:idautor] % } % \stopdocument However, i can provide a processor: % \startsetups[userdata:idautor] % \dontleavehmode % \imghref % {\externalfigure[cvlac.pdf][logo]} % {\datasetvariable{autores}{\datasetindex}{vclac}} % \quad

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
}\hfill}][] [\setups{middle}][] How do I deal with the \placefootnotes command so that it ignores this and either gives me no header, or perhaps a new header with 'Notes' in place of [section] (which is achieved in centered position with setups[middle])? Julian I use the following for a notes

[NTG-context] disable header for endnotes

2023-08-16 Thread jbf
be blank with no header), but I am currently getting the header that belongs to the main setup for headers, which happens to be: \startsetups[middle] \hfill \getmarking[section] \hfill \stopsetups \setupheadertexts [{\hfill\documentvariable{metadata:title}\hfill}][] [\setups{middle}][] How

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
? \stopexercici \par \startexercici [exercici:proporcionalitat-directa-antic-18]{Dieta recomanada} A un pot de iogurt de 125 g. hi ha una inscripció que posa \par \startnarrower [2*middle] \quotation {Contingut en calci 104 mg. (26\% del consum diari recomanat)} \stopnarrower \par \startitemize [a] \item Quants milÂ

[NTG-context] Very strange error:

2023-08-14 Thread Xavier B.
s? I a 21? \\stopexercici \\par \\startexercici [exercici:proporcionalitat-directa-antic-20]{preu dels polígrafs} Quatre bolígrafs costen 1,20 €. Completeu aquesta taula: \\par \\placetable [here,none] [taula:preu-boli] {Preu dels bolígrafs} { \\bTABLE [setups={table3:header, table3:frame, tabl

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
r results. The overwhelming majority of hq fonts don't have them, and the few that do do them poorly, etc. (So there is no substitute for full control of these transliteration characters.) So even if we use symbols, would like to feed these setups to the CLD template you provided some days ago

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

2023-08-11 Thread Hans Hagen
[TextConcurrentFrame] [mp=GraphicConcurrent, % mp=mpos:region:draw, method=mpos:region, frame=off, topoffset=1em, leftoffset=1em, before=\blank[2*big], after=\blank, location=paragraph] % And use setups to get a nicer definition: \startsetups concurrent:before \ConcurrentTex

[NTG-context] Re: upload

2023-08-10 Thread Thangalin
s up to the user to decide to use {} (as before) or not but it is less > error prone. > > It is now also possible to nest setups as in > > \starttext > > \startsetups one > \startsetups [three] > HERE > \stopsetups > \stopsetups > > \startsetups two &g

[NTG-context] upload

2023-08-09 Thread Hans Hagen
to decide to use {} (as before) or not but it is less error prone. It is now also possible to nest setups as in \starttext \startsetups one \startsetups [three] HERE \stopsetups \stopsetups \startsetups two \startsetups [three] THERE \stopsetups \stopsetups \setups

[NTG-context] Parallel columns using start/stop setups

2023-08-08 Thread Thangalin
Two concurrent situations can happen, which I'd like to typeset as two parallel columns while keeping the overall page layout (i.e., headers, footers, margins, and such). current version: 2023.07.18 22:07 I'd like to find a way to set up start/stop environments, if possible, to come up with a

[NTG-context] Re: Bibliography cite

2023-08-05 Thread Robert via ntg-context
: >>>> Dear List members, >>>> For my academic work with context I need the following cite according to >>>> Apa standards: >>>> Knuth (1984, p. 12) mentions …. >>>> The matrix is this: >>>> AUTHOR (, p.~n). >>>> I

[NTG-context] Re: Bibliography cite

2023-08-04 Thread Alan Braslau via ntg-context
…. The matrix is this: AUTHOR (, p.~n). I reckon this can somehow be accomplished with the \setupbtx command. (Standard these and other variants are possible: AUTHOR () and AUTHOR , p. n.) I tried different setups: \setupbtx[apa:cite:authoryear], and \setupbtx[apa:cite:authoryears], I played

[NTG-context] Re: Bibliography cite

2023-08-01 Thread Robert via ntg-context
to Apa >> standards: >> Knuth (1984, p. 12) mentions …. >> The matrix is this: >> AUTHOR (, p.~n). >> I reckon this can somehow be accomplished with the \setupbtx command. >> (Standard these and other variants are possible: AUTHOR () and AUTHOR

[NTG-context] Re: Bibliography cite

2023-08-01 Thread Alan Braslau via ntg-context
. n.) I tried different setups: \setupbtx[apa:cite:authoryear], and \setupbtx[apa:cite:authoryears], I played with the lefttext, righttext and other options, but none of them give the desired result. Thank you for any suggestions. Regards, Robert @article{Knuth1984, author={Knuth, Donald E

[NTG-context] Bibliography cite

2023-08-01 Thread Robert via ntg-context
are possible: AUTHOR () and AUTHOR , p. n.) I tried different setups: \setupbtx[apa:cite:authoryear], and \setupbtx[apa:cite:authoryears], I played with the lefttext, righttext and other options, but none of them give the desired result. Thank you for any suggestions. Regards, Robert

[NTG-context] Re: Par Builder Tests

2023-07-30 Thread Keith McKay
: Thanks Hraban, didn't think of that so will give it a try. Best Wishes Keith On Fri, 28 Jul 2023, 17:28 Henning Hraban Ramm, wrote: Am 28.07.23 um 17:04 schrieb Keith McKay: > I played around with the setups for the align:pass:test4 code below, as > Hans sug

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-30 Thread Henning Hraban Ramm
I use \setuptyping for the general style with a background box. But that conflicts with the setups for special cases like code and result side by side. I guess I’ll also include this in the CGJ setup. ... attached an extension that supports inheritance (via category), still honors 'buffer

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
Thanks Hraban, didn't think of that so will give it a try. Best Wishes Keith On Fri, 28 Jul 2023, 17:28 Henning Hraban Ramm, wrote: > Am 28.07.23 um 17:04 schrieb Keith McKay: > > I played around with the setups for the align:pass:test4 code below, as > > Hans suggested, and

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Henning Hraban Ramm
Am 28.07.23 um 17:04 schrieb Keith McKay: I played around with the setups for the align:pass:test4 code below, as Hans suggested, and it was changing the \tolerance value which made the difference. Increasing the \tolerance value to 1000 eliminated all overfull hboxes but still left 79

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
Hi all! Using the example below I have completed a test using a larger book. This time I downloaded War and Peace from the Gutenberg Project and extracted the individual xhtml files for Context. I played around with the setups for the align:pass:test4 code below, as Hans suggested

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
to the files so that my setup for xml was very simple. Here are my setups for the layout of the novels showing some trackers that were used as well: \definepapersize[pagee][width=5.06in,height=7.81in] \setuppapersize[pagee] % XML setups here \startsetups[grid][mypenalties] \setdefaultpenalties

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
simple. Here are my setups for the layout of the novels showing some trackers that were used as well: \definepapersize[pagee][width=5.06in,height=7.81in] \setuppapersize[pagee] % XML setups here \startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{1}{150

[NTG-context] Fwd: Fwd: Re: Fwd: Re: text width shadow background

2023-07-09 Thread Keith McKay
lmt_outline is shifted to the right, if I use it in a macro? no time now but you can do this instead of the lmt_text: draw lmt_outline [ text = "\bf\strut #1", kind = "fillup", fillcolor = "white",      rulethickness = rulesize,

[NTG-context] Re: Fwd: Re: text width shadow background

2023-07-08 Thread Henning Hraban Ramm
[     text = "\bf\strut #1",     kind = "fillup",     fillcolor = "white",     rulethickness = rulesize,     ]; (maybe spaces creep in due to loading font files / setups or so) Thank you! Yes, this works, and with rulethickness

[NTG-context] Fwd: Re: text width shadow background

2023-07-08 Thread Hans Hagen via ntg-context
p in due to loading font files / setups or so) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pra

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 11:58 schrieb Alan Braslau: Maybe it’s also a problem of \startdocument – I always get a first empty page and don’t understand why. One gets an empty first page if there is *any* text content anywhere in the setups or environment files before the \startdocument. My problem

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
ument – I always get a first empty page and don’t understand why. One gets an empty first page if there is *any* text content anywhere in the setups or environment files before the \startdocument. -- Alan

[NTG-context] definedocument, begin & closing

2023-07-06 Thread Henning Hraban Ramm
Hi, if I use \startdocument, the setups "document:start" and "document:stop" get inserted at the beginning and end. But if I define my own document, it doesn’t work. What’s wrong? """ \definedocument[presentation] \startsetups[presentation:start] {\bfd\d

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
[file:LucidaBrightItalic] > \definefontsynonym[LucidaBrightDemiBold] [file:LucidaBrightDemiBold] > \definefontsynonym[LucidaBrightDemiItalic] [file:LucidaBrightDemiItalic] > \stoptypescript > > \starttypescript [mylucidaserif] > \setups[font:fallback:serif] >

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Carlos
DemiItalic] [file:LucidaBrightDemiItalic] \stoptypescript \starttypescript [mylucidaserif] \setups[font:fallback:serif] \definefontsynonym[Serif][LucidaBrightRegular] [features=default] \definefontsynonym[SerifItalic] [LucidaBrightItalic] [features=default] \defi

Re: [NTG-context] right and left arrowfill

2023-06-23 Thread Carlos via ntg-context
rttext > > % \setupexternalfigures > % [location={default,global}] > > % \startsetups adaptive:test > % \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset > -\usedadaptivedepth \bgroup > % \externalfigure > % [cow.pdf] > % [width=\usedadaptiv

Re: [NTG-context] right and left arrowfill

2023-06-23 Thread Hans Hagen via ntg-context
\egroup \stopsetups \dorecurse{5}{ \dostepwiserecurse{1}{150}{1}{% this~#1.##1 is~#1.##1 test~#1.##1 {\adaptivebox[strut=yes,setups=adaptive:test]{\strut}} } \blank } \stoptext (2) If someone wants a plain (or fot that matter latex) solution then one can use

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread Thangalin via ntg-context
It's a tough problem for sure. I'm wondering if there's a general solution? That is, a way to tell ConTeXt to "protect the lettrine" regardless of the source document text? Nothing can be hard-coded because the setups (take a look at keenwrite themes https://github.com/DaveJarvis

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread linguafalsa--- via ntg-context
> > > On Tue, Jun 13, 2023 at 02:01:14PM -0700, Thangalin via ntg-context wrote: > > > Thanks Otared, > > > > > > Unfortunately, that's adding content between \starttext and \stoptext, > > > which isn't tenable in my situation. The user is writing in Mar

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
gt; > > Unfortunately, that's adding content between \starttext and \stoptext, > > which isn't tenable in my situation. The user is writing in Markdown, > which > > is automatically converted to XHTML then passed to ConTeXt, and so the > > setups need to accoun

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread linguafalsa--- via ntg-context
TML then passed to ConTeXt, and so the > setups need to account for this scenario without modifying the source > document. > Yeah yeah yeah, tenable. A lot of things aren't tenable. Anyhow, What source document are you talking about here? You're already sourcing the lines after chapter

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
wrote: > Thanks Otared, > > Unfortunately, that's adding content between \starttext and \stoptext, > which isn't tenable in my situation. The user is writing in Markdown, which > is automatically converted to XHTML then passed to ConTeXt, and so the > setups need to account

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Thangalin via ntg-context
Thanks Otared, Unfortunately, that's adding content between \starttext and \stoptext, which isn't tenable in my situation. The user is writing in Markdown, which is automatically converted to XHTML then passed to ConTeXt, and so the setups need to account for this scenario without modifying

Re: [NTG-context] Protect the lettrine

2023-06-13 Thread Otared Kavian via ntg-context
; the lettrine such that regardless > of whether the first paragraph spans multiple lines, a short first paragraph > will still prevent the second paragraph from overlapping the lettrine? > > That is, the setups should work in both cases, without any knowledge about > t

[NTG-context] Protect the lettrine

2023-06-12 Thread Thangalin via ntg-context
s multiple lines, a short first paragraph will still prevent the second paragraph from overlapping the lettrine? That is, the setups should work in both cases, without any knowledge about the first paragraph length being added between \starttext and \stoptext. ConTeXt LMTX version: 2023.06.04 18:58

Re: [NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-04 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年6月2日周五 19:37写道: > For Japanese I currently use > > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=japanese] > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] >

[NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-02 Thread Gerben Wierda via ntg-context
For Japanese I currently use \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes

  1   2   3   4   5   6   7   8   9   10   >