[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
Hi Tomáš, first, thank you for the answer. Am Donnerstag, 30. Mai 2024, 16:47:36 MESZ schrieb Tomáš Hála: > Hi Gebrion, > > > ## Font size + ## Bold text > > for font size etc., you can use > \setuphead [chapter] [style={\setupbodyfont[11pt]}] or > \setuph

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Tomáš Hála
Hi Gebrion, > ## Font size + ## Bold text for font size etc., you can use \setuphead [chapter] [style={\setupbodyfont[11pt]}] or \setuphead [chapter] [style=\tf] \setuphead [chapter] [style=\bf] > ## Line breaks + ## Framed > How can I achieve line breaks? \define[2]\

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
ight environment > but do not know how. I tried: > ``` > \define[2]\MyChapter{% > \startalignment[flushright] > #1 #2:\\ > \structureuservariable{subtitle}\\ > \stopalignment > \structureuservariable{intro} > } > ``` > (see 4.pdf, no cha

[NTG-context] setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
(see 4.pdf, no change) ## Bold text I tried to get the text bold. However, `#1` and `#2` does not seem to follow this. ``` \define[2]\MyChapter{% \bold #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) } ``` ## Makeups The best solution, I had so far, was to define a mak

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

2024-05-21 Thread Hans Hagen
. $x$ will use the 'x' glyph from current serif italic font, and $\bf x$ will use the 'x' glyph from current serif bold font! I would appreciate any suggestions and help! Suppose we have all the required font files in the 'font' directory of the working directory, and below is the minimal source

[NTG-context] Playing with math font setup

2024-05-21 Thread Ali Ali
serif italic font, and $\bf x$ will use the 'x' glyph from current serif bold font! I would appreciate any suggestions and help! Suppose we have all the required font files in the 'font' directory of the working directory, and below is the minimal source code! """ \starttypes

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Luc Chabassier
? >> I did, but as far as I know they place the text on the margin next to >> the \inmargin invocation in the text, so they may overlap, which is what >> I want to avoid. > > \setupmarginblocks[inbetween=] > > \starttext > > \dorecurse{100} >{\bold{#1:}

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Wolfgang Schuster
vm via ntg-context schrieb am 21.05.2024 um 16:07: On 21/05/2024 15:54, Wolfgang Schuster wrote: \setupmarginblocks[inbetween=] \starttext \dorecurse{100}    {\bold{#1:} \samplefile{ward}%     \startmarginblock Note #1\stopmarginblock     \par} \stoptext when I compile this, i get per

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread vm via ntg-context
just noticed that if the notes need more margin space then are pages available by the text, they get lost. e.g. this mwe generates 10 pages with 100 par but only 80 notes will show up. \setupmarginblocks[inbetween=] \starttext \dorecurse{100} {\bold{#1:} \samplefile{ward

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread vm via ntg-context
On 21/05/2024 15:54, Wolfgang Schuster wrote: \setupmarginblocks[inbetween=] \starttext \dorecurse{100}   {\bold{#1:} \samplefile{ward}%    \startmarginblock Note #1\stopmarginblock    \par} \stoptext when I compile this, i get per page with \par 1..10 -> the notes 1..11 \par 11.

[NTG-context] Re: LUA API for page numbers

2024-05-21 Thread Wolfgang Schuster
to the \inmargin invocation in the text, so they may overlap, which is what I want to avoid. \setupmarginblocks[inbetween=] \starttext \dorecurse{100} {\bold{#1:} \samplefile{ward}% \startmarginblock Note #1\stopmarginblock \par} \stoptext Wolfgang

[NTG-context] what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
] [file:/fonts/LibertinusSerif-Italic.otf] \definefontsynonym[LibertinusSerif-Bold] [file:/fonts/LibertinusSerif-Semibold.otf] \definefontsynonym[LibertinusSerif-BoldItalic] [file:/fonts/LibertinusSerif-SemiboldItalic.otf] \definefontsynonym[LibertinusSerif-Slanted

[NTG-context] Re: Why is this description environment not showing the correct title?

2024-05-05 Thread Wolfgang Schuster
Mikael Sundqvist schrieb am 05.05.2024 um 16:45: Hi On Sun, May 5, 2024 at 4:40 PM Joel via ntg-context wrote: \definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft, alternative=hanging, width=broad, margin=1cm] \starttext \latexdesc{1540} some event happened

[NTG-context] Re: Why is this description environment not showing the correct title?

2024-05-05 Thread Mikael Sundqvist
Hi On Sun, May 5, 2024 at 4:40 PM Joel via ntg-context wrote: > > > \definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft, > alternative=hanging, width=broad, margin=1cm] > > \starttext > > \latexdesc{1540} some event happened > \latex

[NTG-context] Why is this description environment not showing the correct title?

2024-05-05 Thread Joel via ntg-context
\definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft, alternative=hanging, width=broad, margin=1cm] \starttext     \latexdesc{1540} some event happened     \latexdesc{1541} some other event happened     \latexdesc{1542} some event happened quite different \stoptext I

[NTG-context] Re: Switch number and enumeration text

2024-05-04 Thread Wolfgang Schuster
=Theorem,   style=italic,   headstyle=bold,   headcommand=\groupedcommand{}{.}, ] \defineenumeration [theorem] [..., text=, stopper=., numbercommand=\groupedcommand{}{ Theorem}, ...] or \defineenumeration [theorem] [..., text=, stopper=., right={ Theorem

[NTG-context] Re: Switch number and enumeration text

2024-05-04 Thread Henning Hraban Ramm
=Theorem,   style=italic,   headstyle=bold,   headcommand=\groupedcommand{}{.}, ] \starttext Did you try: text=, stopper={ Theorem}, ? There are so many parameters in https://wiki.contextgarden.net/Command/setupenumeration and https://wiki.contextgarden.net/Command/setupcounter … Hraban

[NTG-context] Switch number and enumeration text

2024-05-03 Thread Jethro Djan
Dear List, I would like to get something like: 1.1 Theorem instead of Theorem 1.1. Seems simple enough but can't figure out how to switch the number and the text. I have the following MWE: \defineenumeration[theorem][ prefix=chapter, text=Theorem, style=italic, headstyle=bold

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
] \strut \blank \bold{[\Schema]} \vfill This is page \recurselevel \vfill \stopbuffer \starttext \dorecurse{\Pages}{\getbuffer[Fakepage]\page} \stoptext ___ If your question is of interest to others

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
: \setupmargindata[inmargin][style={\tf}] It does for me but but unless you want a certain style it is better to use a empty argument for the style key. \starttext \inmargin{Bold?}\samplefile{lorem} \setupmargindata[inmargin][style=] \inmargin{Bold?}\samplefile{lorem} \stoptext Wolfgang

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
{\framed[width=130mm,align=right,leftframe=on, rulethickness=0.8pt]{#2}}% \egroup} \setuplabeltext[chapter=Boek~] \setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold] ... \startchapter [title={Algemene Beginselen}, ownnumber={I}] Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 15:38: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hraban Ramm
Am 19.03.24 um 15:38 schrieb Jeroen: For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hans van der Meer via ntg-context
I am using: \margindata[]{group to isolate change e.g. {\rm \it etc}} yours sincerely dr. Hans van der Meer > On 19 Mar 2024, at 15:38, Jeroen wrote: > > For comments that are placed in the margin, the \inleft{}, \inouter{} etc > will place text in the margin in bold. C

[NTG-context] Comments placed in the margin

2024-03-19 Thread Jeroen
For comments that are placed in the margin, the \inleft{}, \inouter{} etc will place text in the margin in bold. Can this text be placed in the margin in regular text or possibly in slightly smaller font size compared to the regular text in the document

[NTG-context] Re: additional font faces

2024-03-08 Thread Hans Hagen
-MediumItalic]   \definefontsynonym[AlegreyaSans-Bold][name:AlegreyaSans-Bold] \definefontsynonym[AlegreyaSans-BoldItalic][name:AlegreyaSans-BoldItalic]   \definefontsynonym[AlegreyaSans-BoldCaps][name:AlegreyaSansSC-Bold] \definefontsynonym[AlegreyaSans-BoldItalicCaps][name:AlegreyaSansSC-BoldItalic

[NTG-context] additional font faces

2024-03-08 Thread Henning Hraban Ramm
-MediumItalic] \definefontsynonym[AlegreyaSans-Bold][name:AlegreyaSans-Bold] \definefontsynonym[AlegreyaSans-BoldItalic][name:AlegreyaSans-BoldItalic] \definefontsynonym[AlegreyaSans-BoldCaps][name:AlegreyaSansSC-Bold] \definefontsynonym[AlegreyaSans-BoldItalicCaps][name:AlegreyaSansSC-BoldItalic

[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Henning Hraban Ramm
r][first][style=bold] \setupTABLE[r][each][ topoffset=1em,bottomoffset=0.5em, background=sketchylines, % would be nice if the background wouldn’t start at each column ] \setupTABLE[c][each][frame=off] \bTABLE[] \bTR \bTD{Stadt}\eTD \bTD{Land}\eTD \bTD{Fluss}\eTD \eTR \dorecurse

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Wolfgang Schuster
eywords)) local cfg = utilities.parsers.settings_to_hash(keywords) if cfg['emph'] ~= nil then context("\\emph{" .. text .. "}") elseif cfg['bold'] ~= nil then context("\\bold{" .. text .. "}") els

[NTG-context] Re: Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-29 Thread Taco Hoekwater
to_hash(keywords) > > if cfg['emph'] ~= nil then > context("\\emph{" .. text .. "}") > elseif cfg['bold'] ~= nil then > context("\\bold{" .. text .. "}") > else > context(text) > end > end > \stopluacode > > % without tha

[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] Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-25 Thread Gerion Entrup
ngs_to_hash(keywords) if cfg['emph'] ~= nil then context("\\emph{" .. text .. "}") elseif cfg['bold'] ~= nil then context("\\bold{" .. text .. "}") else context(text) e

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Mikael Sundqvist
yfontenvironment[16pt] > \setupbodyfont[mainface, 16pt] > \starttext > \startmakeup[standard][style=\bf] > \switchtobodyfont[coverface] > This is a cover. > \stopmakeup > > This is text. > \stoptext > > Compiling the sample with current latest (2024.01.08 11:23),

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Henning Hraban Ramm
ern-math.otf, texgyrepagella-bold.otf, texgyrepagella-regular.otf Apparently Pagella bold is loaded, but not used. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maill

[NTG-context] issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Pablo Rodriguez via ntg-context
This is text. \stoptext Compiling the sample with current latest (2024.01.08 11:23), LMTX puts Latin Modern Roman (no bold) and MkIV puts Termes (no bold). The results with previous latest (2023.09.26 18:19), cover is in Termes bold with LMTX and in Termes regular with MkIV. I guess there might

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

2024-01-06 Thread Emanuel Han via ntg-context
t drawn at all. If the > > >> line « draw textext("T="(currentime)) scaled 2 shifted(0,2in) > > >> withcolor magenta ; » is commented out, the first textext() inside the > > >> for k=1 endfor loop is not drawn neither. It must be an issue with > > >> texte

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-24 Thread Wolfgang Schuster
Garulfo schrieb am 23.12.2023 um 12:41: Hi all, the following  minimum working example is properly typesetted with textstyle=bold, but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) A number should have been here; I inserted '0'. (If you can't figure out why I needed

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-23 Thread Bruce Horrocks
> On 23 Dec 2023, at 11:41, Garulfo wrote: > > Hi all, > > the following minimum working example is properly typesetted with > textstyle=bold, > but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) > > A number should have been here; I inserted '0

[NTG-context] \setupsynonyms textstyle=cap failing

2023-12-23 Thread Garulfo
Hi all, the following  minimum working example is properly typesetted with textstyle=bold, but it fails with textstyle=cap (ConTeXt version : 2023.09.26 18:19) A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
:44, Ursula Hermann wrote: > > If I change the name of the textbackground with my example, I sent yesterday, > there is no color in the paragraph. > Try the following version of your example which incoporates Hraban's and Wolfgang's suggestions. Also take care over changing sty

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
take care over changing style so use \bold{this is bold} or {\bf this is bold} but not \bf{this is bold}. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper

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

2023-12-04 Thread Fabrice L
ableregime[utf] % enable unicoded input > >> > >> \definefontfamily [RomanFont] [rm] [calluna] > >> > >> \definefontfamily [KoreanFont] [rm] [applemyungjo] > >> > >> \definefontfamily [JapaneseFont] [rm] [hannotatesc] > >>

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

2023-12-02 Thread Emanuel Han via ntg-context
() which occurs inside the for k=1 endfor loop. All other > > >> textext() inside the for k=1 endfor loop are not drawn at all. If the > > >> line « draw textext("T="(currentime)) scaled 2 shifted(0,2in) > > >> withcolor magenta ; » is co

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

2023-12-02 Thread Mikael Sundqvist
wn. > >> > >> Adjusted mwe: > >> > >> \enableregime[utf] % enable unicoded input > >> > >> \definefontfamily [RomanFont] [rm] [calluna] > >> > >> \definefontfamily [KoreanFont] [rm] [applemyungjo] > >> > >> \definef

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

2023-12-02 Thread Emanuel Han via ntg-context
] > >> > >> \definefontfamily [KoreanFont] [rm] [applemyungjo] > >> > >> \definefontfamily [JapaneseFont] [rm] [hannotatesc] > >> > >> \definefontfeature > >> [fea] > >> [mode=node,language=dflt,script=arab, > >> init

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

2023-12-02 Thread Mikael Sundqvist
gt;> [mode=node,language=dflt,script=arab, >> init=yes, >> medi=yes, >> fina=yes, >> isol=yes, >> calt=yes, >> rlig=yes, >> tlig=yes, >> trep=yes, >> curs=yes, >> kern=yes, >> mark=yes >> ] >> >>

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

2023-12-02 Thread fv leung
ontfeature > [fea] > [mode=node,language=dflt,script=arab, > init=yes, > medi=yes, > fina=yes, > isol=yes, > calt=yes, > rlig=yes, > tlig=yes, > trep=yes, > curs=yes, > kern=yes, > mark=yes > ] > > \starttypescript [serif] [notonaskh

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

2023-12-02 Thread Emanuel Han via ntg-context
atesc] > \definefontfeature > [fea] > [mode=node,language=dflt,script=arab, > init=yes, > medi=yes, > fina=yes, > isol=yes, > calt=yes, > rlig=yes, > tlig=yes, > trep=yes, > curs=yes, > kern=yes, > mark=yes > ] > > \starttypescript [seri

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Marco Patzer
On Fri, 1 Dec 2023 15:09:32 +0100 Wolfgang Schuster wrote: > You get the same error with Latin Modern as soon as you use a non > predefined font size in combination with bold math. True, thanks for pointing that out. I wasn't aware and frankly, that's rather unexpected behaviour. So

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Wolfgang Schuster
[mainface, 8.5pt] \starttext \bold{\math{x_y}} \stoptext You get the same error with Latin Modern as soon as you use a non predefined font size in combination with bold math. begin example % \starttypescript [math] [default] [size] %   \definebodyfont [8.5pt] [mm] [default

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
m] [math] [pagella] \definetypeface generates the same error message if the font size is changed: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \definetypeface [mainface] [mm] [math] [pagella] %% 8pt works \setupbodyfont [mainface, 8.5pt]

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > > %% comment/remove this line and it works > > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > Use the \definetypeface command to load the math font. That example was taken straight from

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 20:43: Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works

[NTG-context] Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math

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

2023-11-29 Thread Emanuel Han via ntg-context
age=dflt,script=arab, init=yes, medi=yes, fina=yes, isol=yes, calt=yes, rlig=yes, tlig=yes, trep=yes, curs=yes, kern=yes, mark=yes ] \starttypescript [serif] [notonaskharabic] \definefontsynonym [notonaskharabic-Light] [name:notonaskharabic] [features=fea] \definefontsynonym [

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

2023-11-27 Thread Fabrice L
t; trep=yes, > curs=yes, > kern=yes, > mark=yes > ] > > \starttypescript [serif] [notonaskharabic] > \definefontsynonym [notonaskharabic-Light] [name:notonaskharabic] > [features=fea] > \definefontsynonym [notonaskharabic-Bold][name:notonas

[NTG-context] multipage metapost output from ConTeXt

2023-11-27 Thread Emanuel Han via ntg-context
=yes, rlig=yes, tlig=yes, trep=yes, curs=yes, kern=yes, mark=yes ] \starttypescript [serif] [notonaskharabic] \definefontsynonym [notonaskharabic-Light] [name:notonaskharabic] [features=fea] \definefontsynonym [notonaskharabic-Bold] [name:notonaskharabic] [features=fea] \definefontsynonym

[NTG-context] Re: It works after a few changes but ..

2023-11-23 Thread Ursula Hermann
25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic,

[NTG-context] Re: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
tomframe=on,rulethickness=1pt,width=1cm] > \margintext{\blackrule[color=black, height=0.25ex, > width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] > \setupenumerations [ before={\blank[big]}, > after={\blank[big]}, > location=serried, > width=broad

[NTG-context] Re: It works after a few changes but ..

2023-11-20 Thread Ursula Hermann
25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic,

[NTG-context] Re: It works after a few changes but ..

2023-11-18 Thread Bruce Horrocks
\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theor

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
, ] \starttext \startchapter    [title={Oops!}] \input knuth-gpt \par \stopchapter \stoptext Replacing the textstyle /cap/ by any of /bold/, /slanted/, /smallcaps/, and /italic/ results in a clean compilation but the indicated style is not applied. Using a style

[NTG-context] It works after a few changes but ..

2023-11-17 Thread Ursula Hermann
[ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic, list=all

[NTG-context] Re: Text and Remark

2023-11-17 Thread Ursula Hermann
An: ntg-context mailing list Betreff: [NTG-context] Re: Text and Remark On 16 Nov 2023, at 12:52, Ursula Hermann wrote: > > \defineenumeration > [remark] > [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] Does [alternative=left,text=Rema

[NTG-context] Re: Text and Remark

2023-11-16 Thread Bruce Horrocks
On 16 Nov 2023, at 12:52, Ursula Hermann wrote: > > \defineenumeration > [remark] > [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] Does [alternative=left,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in

[NTG-context] Text and Remark

2023-11-16 Thread Ursula Hermann
Dear List: I would like to have text next to the Remark Number \setupindenting[yes,small,first] \defineenumeration [remark] [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] \starttext \remark An enumeration (\tex{remark}, in this case

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-02 Thread Vincent Hennebert
access to the design sizes (in case one would want a narrower version for body text, or a bolder and more expanded version for titles, etc.). Here they are, again in all their weights: adobesource-caption-extralight, adobesource-smtext-light, adobesource-subhead, adobesource-display-bold, etc

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-01 Thread Hans Hagen via ntg-context
: adobesource-caption-extralight, adobesource-smtext-light, adobesource-subhead, adobesource-display-bold, etc. The ‘regular’ design size is accessed by simply using adobesource-nodesignsize. Questions For the Experts = To avoid a gigantic typescript file with a lot

[NTG-context] Adobe Source Typescript With Design Sizes

2023-10-31 Thread Vincent Hennebert
for titles, etc.). Here they are, again in all their weights: adobesource-caption-extralight, adobesource-smtext-light, adobesource-subhead, adobesource-display-bold, etc. The ‘regular’ design size is accessed by simply using adobesource-nodesignsize. Questions For the Experts

[NTG-context] Re: Install fonts on MS Windows

2023-09-24 Thread Jean-Pierre Delange
Everything compiles correctly, and the font is used. Since it's only a single font file with no variants, you don´t get italics, bold etc. But the font is being used. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.com http://chi

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Andres Conrado Montoya
put aristotle-grc \stoptext Everything compiles correctly, and the font is used. Since it's only a single font file with no variants, you don´t get italics, bold etc. But the font is being used. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier87.

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
On 9/2/23 12:42, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 02.09.2023 um 12:35: >> [...] >> Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I >> know I should know better, but I‘m stuck at this): >> >> \definefontfamily[mai

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.09.2023 um 12:35: [...] Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I know I should know better, but I‘m stuck at this): \definefontfamily[mainface][rm][DejaVu Sans] [sl≃style:bf] You're using the wrong symbol (you have a math

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
same output as I get with MkIV, the slant stays > the same for all sizes. This works also perfectly fine for me now. Many thanks for the fix and the help, Hans and Wolfgang. Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I know I should know better, but I‘m stuck at t

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

2023-08-21 Thread Thomas A. Schmitz
} {content}\par} \stopxmlsetups This will process the name in bold and the date in italic. But I'm sure you can do better after reading and digesting the chapter I referred to. Thomas ___ If your question

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

2023-08-21 Thread Michael Löscher
ke it from there; that's easier than writing the whole setup for you. Thomas On 8/21/23 17:29, Michael Löscher wrote: Hello list, having the xml data at the bottom, I would like to process it so that the result is like this: --- What it is (e.g. bold formatted) date: 2023-08-01 (italic) D

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

2023-08-21 Thread Thomas A. Schmitz
t, having the xml data at the bottom, I would like to process it so that the result is like this: --- What it is (e.g. bold formatted) date: 2023-08-01 (italic) Description (small font size) Another text (small font size) hd1 - Header 1 § 1 First  (A first short description) AA BB

[NTG-context] XML processing beginner's question

2023-08-21 Thread Michael Löscher
Hello list, having the xml data at the bottom, I would like to process it so that the result is like this: --- What it is (e.g. bold formatted) date: 2023-08-01 (italic) Description (small font size) Another text (small font size) hd1 - Header 1 § 1 First (A first short description

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
Dear gang, The following two wiki pages have been edited/added: https://wiki.contextgarden.net/Small_caps_across_styles_(bold,_italics,_etc.) https://wiki.contextgarden.net/Small_caps_and_other_styles Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
re general title https://wiki.contextgarden.net/Small_caps_across_styles_(bold,_italics,_etc.) Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 On Aug 19, 2023, 11:39 AM -0600, Pablo Rodriguez , wrote: ** Caution: EXTER

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
-Regular] % [features=myfont-tf] \definefontsynonym [MyFontItalic] [file:MyFont-It] % [features=myfont-it] \definefontsynonym [MyFontBold][file:MyFont-Bold]% [features=myfont-tf] \definefontsynonym [MyFontBoldItalic] [file:MyFont-BoldIt] % [features=myfont

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Wolfgang Schuster
]   \definefontsynonym [MyFontRegular]     [file:MyFont-Regular] % [features=myfont-tf]   \definefontsynonym [MyFontItalic]      [file:MyFont-It]      % [features=myfont-it]   \definefontsynonym [MyFontBold]        [file:MyFont-Bold]    % [features=myfont-tf]   \definefontsynonym [MyFontBoldItalic]  [file:MyFont

[NTG-context] Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
] [file:MyFont-Regular] % [features=myfont-tf] \definefontsynonym [MyFontItalic] [file:MyFont-It] % [features=myfont-it] \definefontsynonym [MyFontBold][file:MyFont-Bold]% [features=myfont-tf] \definefontsynonym [MyFontBoldItalic] [file:MyFont-BoldIt] % [features=myfont

[NTG-context] Enable interaction on custom apa cite variant

2023-08-19 Thread Jethro Djan
[medium]}, alternative=serried, right=, headcommand=\groupedcommand{}{.}, distance=0.5em, width=fit, headstyle=bold, titlestyle=bold, way=bytext, conversion=numbers, prefix=chapter, list=all, title=yes, indentnext=no, ] \defineenumeration[definition][ text=Defintion, style

[NTG-context] Re: How to override parts of a typescript

2023-08-11 Thread Hans Hagen
] [source] [name] \definefontsynonym [Serif] [file:SourceSerif4-Regular] [features=default] \definefontsynonym [SerifItalic] [file:SourceSerif4-It] [features=default] \definefontsynonym [SerifBold] [file:SourceSerif4-Bold] [features=default

[NTG-context] How to override parts of a typescript

2023-08-11 Thread Vincent Hennebert
] [file:SourceSerif4-Regular] [features=default] \definefontsynonym [SerifItalic] [file:SourceSerif4-It] [features=default] \definefontsynonym [SerifBold] [file:SourceSerif4-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [file:SourceSerif4

[NTG-context] Re: Typing with text wrapping

2023-08-07 Thread Hans Hagen via ntg-context
On 8/5/2023 5:36 PM, Alex Leray wrote: Hi all, I'm having another issue with my project. I'm trying to typeset fragments of HTML, including tabs and (repeating) spaces. I'd like to have my snippet with some words in bold. So I used `typing` together with the `escape` option. But now, I'd

[NTG-context] Typing with text wrapping

2023-08-05 Thread Alex Leray
Hi all, I'm having another issue with my project. I'm trying to typeset fragments of HTML, including tabs and (repeating) spaces. I'd like to have my snippet with some words in bold. So I used `typing` together with the `escape` option. But now, I'd like my snippets to wrap when the lines

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen
On 7/19/2023 12:36 AM, Gerben Wierda wrote: This file: \setupinteraction [state=start, color=blue, style=bold] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi

[NTG-context] Ukrainian hyphenation?

2023-07-18 Thread Gerben Wierda
This file: \setupinteraction [state=start, color=blue, style=bold] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily

[NTG-context] Re: text width shadow background

2023-07-08 Thread Henning Hraban Ramm
ontSize/steps/3; for step = 1 upto steps: draw lmt_outline [ text = "\bf\strut #1", kind = "fillup", fillcolor = "tshade", rulethickness = (step*rulesize), ]; endfor; draw lmt_text [

[NTG-context] Re: text width shadow background

2023-07-06 Thread Henning Hraban Ramm
: """ \setupbodyfont[ss,24pt] \definecolor[tshade][t=.05,a=1,k=1] \starttexdefinition MyCaption #1 \startMPcode{doublefun} steps := 10 ; rulesize := BodyFontSize/steps/3; for step = 1 upto steps: draw lmt_outline [ text = "\bf #1", %style = "bold",

[NTG-context] text width shadow background

2023-07-06 Thread Henning Hraban Ramm
3; for step = 1 upto steps: draw lmt_outline [ text = "\bf #1", %style = "bold", % doesn’t work kind = "both", fillcolor = "white", drawcolor = "tshade",

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Carlos via ntg-context
I read and followed some publications about > > the aformentioned extension and just went over them recently, to > > have an idea what did and did not work. In regards to typefaces, > > its goal was unmatched, or so I think. > > It might be comforting to know that right from the sta

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Hans Hagen via ntg-context
in Adobe programs like InDesign (and not TeX). I found some flared-sans fonts, but not one with at least regular, italic, bold, and bold-italic. Is there really not a single flared-sans font that is really free (so also for commercial use) to use out there? Not free but good value: Fontspring

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Bruce Horrocks via ntg-context
used in Adobe programs like InDesign > (and not TeX). > > I found some flared-sans fonts, but not one with at least regular, italic, > bold, and bold-italic. > > Is there really not a single flared-sans font that is really free (so also > for commercial use) to use out there? Not

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-17 Thread Hans Hagen via ntg-context
a lot possible wrt fonts (runtime manipulation) and was also one of the first to support variable fonts, color fonts etc (not that many care about that). And with luametatex we go even further. I found some flared-sans fonts, but not one with at least regular, italic, bold, and bold-italic

[NTG-context] Can I use 'extend' and 'slant' in \definefontfamily to create fake italics etc.?

2023-06-16 Thread Gerben Wierda via ntg-context
Libertinus Sans does not have Bold Italic. With this, I come close in ConTeXt: \definefontfeature [fakeitalic] [slant=0.25] \definefontfamily [archimate] [ss] [Libertinus Sans] [rscale=1.0395] [tf=style:Regular, bf=style:Bold, it=style:Italic, bi={style:Bold,features:fakeitalic

  1   2   3   4   5   6   7   8   9   10   >