[NTG-context] (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Felix
numbers, use this \setuphead[section][ sectionstopper={.}, % Add period after numbers conversion=R, before=, after=, style=sc, % Small caps style align=middle, % Center the section titles ] \startsetups document:start \centerline{\documentvariable{title}} \centerline

[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
nd=\groupedcommand{}{.} % Add period after numbers ] \setuphead[part, chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection, subject, subsubject, subsubsubject, subsubsubsubject, subsubsubsubsection][ before=, after=, style=sc, % Small caps style align=middle

[NTG-context] How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get any re

2024-08-22 Thread Felix
period after numbers ] \setuphead[part, chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection, subject, subsubject, subsubsubject, subsubsubsubject, subsubsubsubsection][ before=, after=, style=sc, % Small caps style align=middle, % Center the section titles

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, Finally got it working with:; \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \define[2]\MyChapterCommand {\framed[align=flushright, width=\textwidth, frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}} \framed[backgroundcolor=maincolor, background=color

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, My final version is below: \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \define[2]\MyChapterCommand {\framed[align=flushright, frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}} \framed[backgroundcolor=maincolor, background=color, frame=off

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
This is what I came up with: \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \setupinteraction [ state=start, color=maincolor, contrastcolor=maincolor, style=, ] \define[2]\MyChapterCommand% {\rotate[rotation=90]{\rm\small\sc \headtext{chapter

[NTG-context] Re: Cite-proc Lua - Following up

2024-06-12 Thread Max Chernoff
["@font-style/normal"] = [[\normal{%s}]], ["@font-style/italic"] = [[\italic{%s}]], ["@font-style/oblique"] = [[\slanted{%s}]], ["@font-variant/normal"] = "[[\normal{%s}]]", ["@font-variant

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

2024-05-15 Thread Wolfgang Schuster
\s!bf=SerifBold    sa 1,    \s!it=SerifItalic  sa 1,    \s!sl=SerifSlanted sa 1,    \s!bi=SerifBoldItalic  sa 1,    \s!bs=SerifBoldSlanted sa 1,    \s!sc=SerifCaps    sa 1] % obsolete, is a font feature now Wol

[NTG-context] compatibility between \startshapetext and \startsection ?

2024-05-14 Thread garulfo
}] %== \starttext %== {\sc\bfd Version A, without sectionning, pages 1\ampersand 2} \startshapetext[mp1, mp1, mp1, mp1, mp1, mp1] \setupalign[hz,hanging,verytolerant

[NTG-context] Re: error with \sc

2024-04-04 Thread Pablo Rodriguez via ntg-context
On 4/3/24 07:16, Peter Münster wrote: > On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > >> You shouldn't run context as root in any case. > > I don’t run context as root. But I need to erase the cache in > /opt/context/tex/texmf-cache as root, because the user doesn’t have the > permission to

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > You shouldn't run context as root in any case. I don’t run context as root. But I need to erase the cache in /opt/context/tex/texmf-cache as root, because the user doesn’t have the permission to do that. -- Peter __

[NTG-context] Re: error with \sc

2024-04-02 Thread Andres Conrado Montoya
You shouldn't run context as root in any case. But glad it worked. El mar, 2 abr 2024 a las 15:34, Peter Münster () escribió: > On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > > > mtxrun --script cache --erase && mtxrun --generate > > Thanks. It did not work after doing it as root

[NTG-context] Re: error with \sc

2024-04-02 Thread Peter Münster
On Tue, Apr 02 2024, Pablo Rodriguez via ntg-context wrote: > mtxrun --script cache --erase && mtxrun --generate Thanks. It did not work after doing it as root, but then I saw, that there is also a cache in the user home-directory, so I’ve done it as the user too, and now it works. --

[NTG-context] Re: error with \sc

2024-04-02 Thread Pablo Rodriguez via ntg-context
On 4/2/24 21:23, Mikael Sundqvist wrote: > On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: >> [...] >> TIA for any hints, > > Hans wrote in his email: > -- If you have troubles (crash) you need to wipe the cache due to a > change in lua bytecode storage (no easy way to catch it). > > Did you d

[NTG-context] Re: error with \sc

2024-04-02 Thread Mikael Sundqvist
Hi, On Tue, Apr 2, 2024 at 9:16 PM Peter Münster wrote: > > Hi, > > With ConTeXt version 2024.04.01, the \sc command produces an error: > > fonts > preloading latin modern fonts (second stage) > fonts > 'fallback modern rm 12pt' is loaded

[NTG-context] error with \sc

2024-04-02 Thread Peter Münster
Hi, With ConTeXt version 2024.04.01, the \sc command produces an error: fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pages > flushing realpage 1, userpage 1, subpage 1 close source>

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

2024-03-01 Thread Jean-Pierre Delange
=cjkunifiedideographs] % Choose between two Arabic fonts %\definefallbackfamily[mainface] [serif] [nafeesnastaleeq] [range=arabic] \definefallbackfamily[mainface] [serif] [hussaininastaleeq] [range=arabic] \definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC] \definefontfamily [mainface

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
erant}] \starttext A paragraph before calling the subject. \subject{\sc The subject} A paragrapf after the subject was called. \stoptext I use the \subject command within a columnset, could that be the problem? Yes, because text in column(sets)s is typeset on a grid. Try \showgrid to visualize.

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
nk[none]},align={flushleft,nothyphenated,tolerant}] > > \starttext > A paragraph before calling the subject. > > \subject{\sc The subject} > > A paragrapf after the subject was called. > \stoptext > > I use the \subject command within a columnset, could that be the pro

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
bject{\sc The subject} A paragrapf after the subject was called. \stoptext I use the \subject command within a columnset, could that be the problem? Gerard ___ If your question is of interest to others as well, please a

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

2023-12-23 Thread Bruce Horrocks
> \definesynonyms[abbreviation] [abbreviations] [\AbbreviationsFull] > \setupsynonyms [abbreviation] [textstyle=bold] > > \starttext > > \contextversion > \abbreviation{NTG}{Nederlandstalige TeX Gebruikersgroep} > > Test 1 : \NTG . > > Test 2 : \Ab

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
ng a style description like /em/, /\em/, /bf/, /\bf/, /\sc,/ does produce the suggested result. The wiki and mail repository are full of examples with the former style names. Using /style=cap/ (which would change the number as well) also results in a failed compilation, while using /style=bolditalic/ w

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

2023-09-02 Thread Pablo Rodriguez
On 9/2/23 12:18, Wolfgang Schuster wrote: > Hans Hagen schrieb am 02.09.2023 um 11:53: > [...] >> in lpdf-lmt.lmt you can try: >> >> l 593 >> >> tmsy = tmsy * sc >> >> l 610 >> >> tmsy = tmsy * f_y_scale > > I get now with LMTX the

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

2023-09-02 Thread Wolfgang Schuster
*slanted]\vrule\relax S\vrule\relax lanted}\par} \stoptext in lpdf-lmt.lmt you can try: l 593 tmsy = tmsy * sc l 610 tmsy = tmsy * f_y_scale I get now with LMTX the same output as I get with MkIV, the slant stays the same for all sizes. Wolfgang

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

2023-09-02 Thread Hans Hagen
}\par} \stoptext in lpdf-lmt.lmt you can try: l 593 tmsy = tmsy * sc l 610 tmsy = tmsy * f_y_scale - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

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

2023-08-19 Thread Hamid,Idris
] [\setsmallcaps] [\setsmallcaps] : \unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps}} So on the wiki we should say that \sc is a deprecated/legacy command that no longer makes sense in an opentype-features world. New users should no longer use it. It depends on the font, e.g. Latin Modern still

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

2023-08-19 Thread Hamid,Idris
}} So on the wiki we should say that \sc is a deprecated/legacy command that no longer makes sense in an opentype-features world. New users should no longer use it. It depends on the font, e.g. Latin Modern still requires \sc because it provides a separate file for smallcaps but no smcp feature

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

2023-08-19 Thread Wolfgang Schuster
Hamid,Idris schrieb am 19.08.2023 um 20:36: Many thanks. From font-pre.mkiv: \definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps] : \unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps}} So on the wiki we should say that \sc is a deprecated/legacy command that no longer

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

2023-08-19 Thread Hamid,Idris
Many thanks, Pablo. Yes, you are right. As mentioned in the reply to Wolfgang, will edit the wiki to reflect the legacy\deprecated status of \sc. As for grep: Normally I use the nice "find in files" feature of Notepad++ -) Am editing the wiki and have moved the original link to the mo

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

2023-08-19 Thread Hamid,Idris
Many thanks. From font-pre.mkiv: \definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps] : \unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps}} So on the wiki we should say that \sc is a deprecated/legacy command that no longer makes sense in an opentype-features world. New

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

2023-08-19 Thread Pablo Rodriguez
On 8/19/23 16:03, Hamid,Idris wrote: > [...] > Yes, there is an easy workaround: > > \definefontfeature[smallcaps][smcp=yes] Hi Idris, just a minor comment. This is already defined in lines 96-99 of font-pre.mkxl: \definefontfeature [smallcaps] [always] [smcp=yes] And also in lines 7

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

2023-08-19 Thread Wolfgang Schuster
Hamid,Idris schrieb am 19.08.2023 um 16:03: Dear gang, Consider the following typescript template: \definefontfeature   [myfont-tf-sc]   [mode=node,script=latn,language=dflt,trep=no,    protrusion=quality,expansion=quality,    compose=yes,combine=yes,tlig=yes,    kern=yes,liga=yes,onum=yes

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

2023-08-19 Thread Hamid,Idris
Dear gang, Consider the following typescript template: \definefontfeature [myfont-tf-sc] [mode=node,script=latn,language=dflt,trep=no, protrusion=quality,expansion=quality, compose=yes,combine=yes,tlig=yes, kern=yes,liga=yes,onum=yes,cpsp=yes,smcp=yes, % smcp activie trnsl=force

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

2023-06-03 Thread 李延瑞
t; to my project. Hiragino Sans GB has both Japanese and Chinese but only W3,W6 > > I have no knowledge of what is elegant in these fonts. Can someone advise > me? No bitmap fonts. > > There are Noto Serif/Sans CJK fonts (including HK/JP/KR/SC/TC ) developed by Google. But

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Aditya Mahajan via ntg-context
0; for n = 1 upto length (s) - 1: if substring (n-1,n+1) of s = ",,": substring (anchor, n-1) of s & hide (anchor := n) fi endfor substring (anchor, length s) of s enddef; vardef split_string (suffix comp) (expr s) = save n, anchor; numeric comp.first, comp.l

Re: [NTG-context] problem with Segoe Ui Symbol as fallback font

2023-01-04 Thread Jacob Kauffmann via ntg-context
\getbuffer}\par {\tt \getbuffer}\par {\bf \getbuffer}\par {\it \getbuffer}\par {\sl \getbuffer}\par {\bi \getbuffer}\par {\bs \getbuffer}\par {\sc \getbuffer} Should be Palatino: $x + y$ $f({\bi x})$ Should be Latin Modern: ${\cal I}$ $\mathcal{I}$ $\mathscr{I}$ \stoptext signature.asc Description

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
wbodyfont % \showbodyfontenvironment \useexternaldocument[m001][master001][Whispering of Inscriptions, Vol.~{\sc ii}] \startfrontmatter \component tlpg000 { \setupheadtext[content=Contents of Vol.~i.] \setupheadertexts[Contents of Vol.~i.][pagenumber][pagenumber][Contents of Vol.~i.] \noheaderandfo

Re: [NTG-context] Non-standard font alternatives

2022-12-14 Thread Wolfgang Schuster via ntg-context
ansMedium sa 1,       mi=SansMediumItalic sa 1,       bf=SansBold sa 1,       bi=SansBoldItalic sa 1,       sc=SansCaps sa 1] \stoptypescript \definetypeface[roboto][rm][sans][roboto][default] Replace [rm] with [ss]: \definetypeface [roboto] [ss] [sans] [ro

[NTG-context] Non-standard font alternatives

2022-12-13 Thread Matthew McCabe via ntg-context
f=SansBold sa 1, bi=SansBoldItalic sa 1, sc=SansCaps sa 1] \stoptypescript \definetypeface[roboto][rm][sans][roboto][default] \setupbodyfont[roboto] \starttext \lf Light \li LightItalic \tf Regular \it Italic \md Medium \mi MediumItalic \bf Bold \bi BoldItalic \sc SmallCaps \stoptext - The

[NTG-context] Perceptrons

2022-10-16 Thread Thangalin via ntg-context
HT - (vbc mod 2 * HHEIGHT); % Draw a large nodes at the starting/ending coordinates. addto perceptrons also image( draw (offset_ac, offset_ar) withcolor colour_node withpen pencircle scaled vertex_lg; draw (offset_bc, offset_br) withcolor colou

Re: [NTG-context] faltal error: return code: 1

2022-08-25 Thread Pablo Rodriguez via ntg-context
On 8/25/22 19:41, Hans Hagen via ntg-context wrote: > [...] > you're missing an \egroup > > \starttext > \doloopoverlist{\tf,\ss,\tt} >{\bgroup > \recursestring > \doloopoverlist{\tf,\it,\bf,\bi,\sc} >{\bgroup >

Re: [NTG-context] faltal error: return code: 1

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 7:21 PM, Pablo Rodriguez via ntg-context wrote: Hans, using latest from today (and the previous one) with the following source: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring% \doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup

[NTG-context] faltal error: return code: 1

2022-08-25 Thread Pablo Rodriguez via ntg-context
Hans, using latest from today (and the previous one) with the following source: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring% \doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26} {\character{\recurselevel}̱ }\par

Re: [NTG-context] C with macron

2022-08-25 Thread Hans Hagen via ntg-context
little too far to the left I don’t know how ConTeXt handles it internally, but placement to main character differs with each letter: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26

Re: [NTG-context] C with macron

2022-08-25 Thread Pablo Rodriguez via ntg-context
r to the left >> >> I don’t know how ConTeXt handles it internally, but placement to main >> character differs with each letter: >> >>\starttext >> \doloopoverlist{\tf,\ss,\tt} >>{\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
with each letter: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26} {\character{\recurselevel}̱ }\par}\egroup} \stoptext just run the attached

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
t{\tf,\ss,\tt} {\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring\dorecurse{26} {\character{\recurselevel}̱ }\par}\egroup} \stoptext Pablo ___ If your quest

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
w, this works in ConTeXt: \starttext \doloopoverlist{\tf,\ss,\tt} {\bgroup\recursestring\doloopoverlist{\tf,\it,\bf,\bi,\sc} {\bgroup\recursestring a̱ḇc̱ a̲b̲c̲\quad\egroup}\egroup\par} \stoptext Just

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

2022-08-21 Thread 黄复雄 via ntg-context
t; plus5pt\vtop{\setupinterlinespace[line=0.5em]\box1\box2}% under line > > } > > ``` > > usage as follows: > > > > ```lmtx > > \pinyin{寖備}{jìn bèi} > > ``` > > The ruby command has no problem with chinese but you need a font which > has support for i

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

2022-08-21 Thread 黄复雄 via ntg-context
\wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi% > > \setbox1 = \hbox to \maxwd{\hfill \box1 \hfill}% > > \setbox2 = \hbox to \maxwd{\hfill \box2 \hfill}% > > \hskip0pt plus5pt\vbox{\setupinterlinespace[line=0.5em]\box2\box1}% > > above line > > %

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

2022-08-21 Thread Hans Hagen via ntg-context
[NotoCJKvertical][NotoSanstc-Regular*default,vertical @ 24pt] \definefont[NotoCJKverticalBold][NotoSanstc-Bold*default,vertical @ 48pt] \definefallbackfamily [documentfont] [rm] [Noto Serif CJK SC] [preset=range:chinese,features={default,vertical}] \definefallbackfamily [documentfont] [ss

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

2022-08-21 Thread Wolfgang Schuster via ntg-context
has support for it. As can be seen in my previous example you can use the style-key to switch to a different font for the annotation (e.g. \setupruby[style=\pinyinfont]). begin example \definefallbackfamily [documentfont] [rm] [Noto Serif CJK SC] [preset=range:chinese] \definefallbackfam

Re: [NTG-context] Small caps as a separate font

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Regular.otf I tried \definefontfamily[DTL-Documenta-Sans-T][ss][DTL-Documenta-Sans-T] but it does not work with \sc. On Wed, May 25, 2022 at 10:30 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 25.05.22 um 22:23 schrieb Stefan Nedeljkovic via ntg-context: >

Re: [NTG-context] Small caps as a separate font

2022-05-25 Thread Henning Hraban Ramm via ntg-context
] \definefontsynonym[SansItalic] [name:dtldocumentasanstitalic][features=default] \definefontsynonym[SansCaps][name:dtldocumentasanstcaps][features=default] \stoptypescript \starttypescript [sans] [dtl-documenta-sans-t-sc] \definefontsynonym[Sans] [name:dtldocumentasanstcaps][features=default

[NTG-context] Small caps as a separate font

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
=default] \stoptypescript \starttypescript [sans] [dtl-documenta-sans-t-sc] \definefontsynonym[Sans] [name:dtldocumentasanstcaps][features=default] \definefontsynonym[SansItalic] [name:dtldocumentasanstcapsitalic][features=default] \stoptypescript How can I define dtl-documenta-sans such that I can do

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Richard Mahoney via ntg-context
Bruce, I tend to do something such as the following: \startplacefigure[reference={fig:0007},location={here},title={{\it Vīkṣya}, 5b},list={Ch.\ {\sc ix}\TI {\it Vīkṣya}, 5b}] \externalfigure[plates/01-09/01-09-07- c.jpg][scale=1000,frame=off,equalwidth=325pt] {{\NI}{\tfx \copyright\ 2012

Re: [NTG-context] How do I define a smallcaps font?

2022-04-25 Thread Joel via ntg-context
Replacing \smallcaps with \sc fixed it. I had assumed they were synonyms---the same as \bf vs \boldface, \it vs \italicface, but it seems they are different entirely? Thanks! --Joel On Sunday, April 24, 2022, 11:19:10 AM MDT, Henning Hraban Ramm via ntg-context wrote: Am 24.04.22 um

Re: [NTG-context] How do I define a smallcaps font?

2022-04-24 Thread Henning Hraban Ramm via ntg-context
is should be in smallcaps.}     {\WORD This should be regular text, but capitalized, not really smallcaps.} \stoptext SerifCaps etc. works with the traditional \sc, don’t know about \smallcaps. Are you sure your fonts are found? mtxrun --script fonts --list --all --pattern=EBGaramond If your r

Re: [NTG-context] Transliteration

2022-02-03 Thread Hans Hagen via ntg-context
rds are to be typeset in small caps. If that first letter is Љ (or other two letters that transliterate as digraphs), then the second letter of the digraph is not typeset in small caps because it gets injected before the group that turns on small caps. For example: \placeinitial Љ{\sc уди

[NTG-context] Transliteration

2022-02-03 Thread Ivan Pešić via ntg-context
of the digraph is not typeset in small caps because it gets injected before the group that turns on small caps. For example: \placeinitial Љ{\sc уди нису знали} but this is quite a special case... Regards, Ivan return { transliterations = { ["c2l"] = { mappi

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
clabel][toclabel][\TOCLabel] \setupsynonyms[toclabel][textstyle=\sc] \toclabel{TOCNumberLabel}{Chapter} \toclabel{TOCTitleLabel}{Title} \toclabel{TOCPageLabel}{Page} Then compute the width of the chapter-number and page-number labels \setwidthof\TOCLabel{TOCNumberLab

[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all: In the example below: \setuppagenumbering[alternative=doublesided, location={footer,right},page=no] \newdimen\Margin \Margin=2cm \newdimen\MarginRaise \MarginRaise=56ex \setuptexttexts[margin][][\setups{text a}][\setups{text b}][] \setuptext[leftstyle=\sc,rightstyle=\em

Re: [NTG-context] Macro for a comma separated list of authors

2021-11-24 Thread Jairo A. del Rio via ntg-context
Hola. Maybe you need \commalistsentence? \def\Autores{% {Luis David Gómez-Méndez, Ph. D.}, {Adriana del Pilar Pulido-Villamarín, M. Sc.}, {Rubiela Castañeda-Salazar, M. Sc.}, {Juan Carlos Ulloa-Rubiano, Ph. D.}, {Adriana Matiz-Villamil, M. Sc.}, {Fidson Juarismy Vesga-Pérez, Ph. D

[NTG-context] Macro for a comma separated list of authors

2021-11-24 Thread Andres Conrado Montoya via ntg-context
I'm trying to produce a document with several authors, using macros for comma separated lists. My MWE is as follows: %% \def\autores{% {Luis David Gómez-Méndez, Ph. D.}, {Adriana del Pilar Pulido-Villamarín, M. Sc.}, {Rubiela Castañeda-Salazar, M. Sc.}, {Juan C

Re: [NTG-context] fixing indentation of xtable inside item

2021-11-22 Thread fv leung via ntg-context
artwme > \starttext > \startitemize > \item > Determine la {\sc an} de cada objetivo del microscopio, con los ángulos > de la tabla y teniendo en cuenta lo siguiente: $n_{\text{aire}} = 1$ y > $n_{\text{aceite de inmersión}} = 1.515$: > \blank > \startxtable[align=middle,option

[NTG-context] fixing indentation of xtable inside item

2021-11-22 Thread Andres Conrado Montoya via ntg-context
ent 4 hours looking for it in the manuals and I can't find it. :( Any help would be appreciated. %-startwme \starttext \startitemize \item Determine la {\sc an} de cada objetivo del microscopio, con los ángulos de la tabla y teniendo en cuenta lo siguiente: $n_{

Re: [NTG-context] Using old fonts

2021-11-18 Thread Hans Hagen via ntg-context
contain small caps (in place of lowercase characters) and old style figures (in place of digits), and other variant glyphs and additional ligatures (usually the font name contains OsF, SC, Alt, or Exp). Sometimes these are not allocated to a Unicode point, but only identified by name (e.g

[NTG-context] Using old fonts

2021-11-18 Thread Gérard Milmeister via ntg-context
Often there are additional font files which contain small caps (in place of lowercase characters) and old style figures (in place of digits), and other variant glyphs and additional ligatures (usually the font name contains OsF, SC, Alt, or Exp). Sometimes these are not allocated to a Unicode point

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-24 Thread Wolfgang Schuster via ntg-context
mmand (the \sc column is the fallback style). \swapface is unchanged and I'm not sure about its output because it uses the \em code for italic and slanted which means \setupbodyfontenvironment[default][em=blue] affects also the \swapface results. Thank you very much for attacking and clar

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Henning Hraban Ramm via ntg-context
comparisons between \em and \italicface aside and talk only > about the results from \italicface we have a common ground. > > You're right the results from \italicface aren't predictable and a fix is > needed but the same applies also to \boldface, \slantedface and \typeface. &g

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Wolfgang Schuster via ntg-context
ren't predictable and a fix is needed but the same applies also to \boldface, \slantedface and \typeface. Attached is the output from a modified version of the styling command (the \sc column is the fallback style). \swapface is unchanged and I'm not sure about its output because it uses t

[NTG-context] Changing the style of author’s surname in a custom bibliographical style

2021-09-11 Thread Tomáš V via ntg-context
caps (e.g. KNUTH, Donald). If I wanted to change the whole name to small caps I’d do something like this: \btxdoif {author} {     {\sc \btxflush{author}}     \btxperiod } How do I change the “font” of the surname only? Can this be done by redefining a TeX macro (like in BibLaTeX’s

Re: [NTG-context] numbered exercises

2021-08-24 Thread Gavin via ntg-context
In the environment file: % Example Problems \defineenumeration[example] \setupenumeration[example][ margin=no, headstyle=\ss\sc, text=Example, % This text is part of the number, e.g. "Example 2.3" style=\ss, alternative=serried, title=no, %

[NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Gerben Wierda
Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no] \starttext \lettrine{S}{\kap{\bf uppose we}} have a system for the approval of loans. \input knuth \stoptext Result: tex error > tex error on li

Re: [NTG-context] LMTX and lettrine

2021-07-19 Thread Wolfgang Schuster
=0, 27                    Raise=0, 28                    Findent=0pt, 29                    Nindent=0em, 30                    Slope=0em, 31                    Ante=, 32                    FontHook=, 33                    TextFont=\sc, 34                    Image=no] to lmtx. (Basically, ConTeXtgarden gives my mike in

Re: [NTG-context] LMTX and lettrine

2021-07-18 Thread Pablo Rodriguez
28                    Findent=0pt, > 29                    Nindent=0em, > 30                    Slope=0em, > 31                    Ante=, > 32                    FontHook=, > 33                    TextFont=\sc, > 34                    Image=no] > > to lmtx. (Basically, Con

[NTG-context] LMTX and lettrine

2021-07-18 Thread Gerben Wierda
em, 30Slope=0em, 31Ante=, 32FontHook=, 33TextFont=\sc, 34Image=no] to lmtx. (Basically, ConTeXtgarden gives my mike info for lettrine) Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>) R&

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
t; > A snippet from the publ-imp-deu.mkvi: > > ``` > > \definebtx > > [deu:list] > > [deu] > > [authorconversion=normal] > > > > \definebtx > > [deu:cite] > > [deu] > > [authorconversion=normalshort, > > alternative=a

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
ive=authortitle] \startsetups btx:deu:list:book {\sc \btxflush{author}}\btxcolon \btxflush{title} \btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod \btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year} \btxdoif{series}{ (\btxflush{series} \btxflush{volume})}\btxperiod \stopsetups `

[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
[deu] [authorconversion=normalshort, alternative=authortitle] \startsetups btx:deu:list:book {\sc \btxflush{author}}\btxcolon \btxflush{title} \btxdoif{subtitle}{\btxperiod\btxflush{subtitle}}\btxperiod \btxflush{address}\btxcolon \btxflush{publisher} \btxflush{year} \btxdoif{series}{ (\btxfl

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Hans Hagen
extgarden.net/Simple_Typescript_Example> Not meant as a criticism - just a naive question from someone who is puzzled. Yes, you could also abuse \sc for another style. Small caps are a bit special though, nowadays they’re often contained in fonts and you address them via OpenType f

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Henning Hraban Ramm
t a naive question from someone who is puzzled. Yes, you could also abuse \sc for another style. Small caps are a bit special though, nowadays they’re often contained in fonts and you address them via OpenType features. Hraban _

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Hans Hagen
=darkgray,font=adellesemibold at 46pt,distance=3pt,n=3] \starttext \placeinitial{M}{\sc aking sense of the world} at any time is a fraught exercise... \stoptext fixed in next upload - Hans

[NTG-context] lmtx and defined placeinitial color

2021-05-24 Thread jbf
,distance=3pt,n=3] \starttext \placeinitial{M}{\sc aking sense of the world} at any time is a fraught exercise... \stoptext Julian ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
nging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup You can add this to cont-new.mkxl (assuming lmtx) \unprotect \permanent\tolerant\protected\def\flushin

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
otros que  podáis,  elegid  entre  las dos  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \h

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
dos  situaciones  a  voluntad; yo,  por  mi  parte, continuaré como he empezado. \stopalignment \startalignment[hanging,flushright,nothyphenated] \blank[0.8cm,force]{\tfa\sc  Geofrey Chaucer,\hspace[big]} \blank[0.1cm,force]{\tfa\em The Canterbury Tales \hspace[big]} \stopalignment \stopmakeup Ed

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Pablo Rodriguez
g t he d iff e r ences be t ween good and bad ty pog r aph i c des i gn . Man y peop l e a r e j us t f asc i na t ed b y t he ir PC ' s tri cks , and t h i nk t ha t a w i de ly -- p r a i sed p r og r am , ca ll ed up on t he sc r een , w ill make e v e ryt h i ng au t oma ti c f

Re: [NTG-context] Change to wordright behavior?

2021-04-21 Thread Rik Kabel
On 4/18/2021 22:12, Rik Kabel wrote: Dear all, At some time in the last couple of years the behavior of \wordright seems to have changed, at least in the following situation. With the following example: \starttext \hsize3cm   Aaa\wordright{Aaa}\par   \sc{Bbb\wordright{Bbb

[NTG-context] Change to wordright behavior?

2021-04-18 Thread Rik Kabel
Dear all, At some time in the last couple of years the behavior of \wordright seems to have changed, at least in the following situation. With the following example: \starttext \hsize3cm   Aaa\wordright{Aaa}\par   \sc{Bbb\wordright{Bbb}}\par   {\sc Ccc\wordright{Ccc}}\par

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
boo \project testproject \product testproduct000 \useexternaldocument[m001][master001][Test Product, Vol.~{\sc ii}] \chapter[oeps]{oeps} test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::one] {[}test page one{]} test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::page- reference

Re: [NTG-context] Problem with \Caps

2020-12-21 Thread Otared Kavian
Hi Joaquín, Actually it depends on the font you are using, but on th eother hand it seems that \Caps is broken in LMTX. The following gives a correct result in mkiv but results in an error in LMTX: \setupbodyfont[lucidaot] \starttext Test {\sc Test} {\Caps Test} {\smallcaps Test} \meaning

[NTG-context] Problem with \Caps

2020-12-20 Thread Joaquín Ataz López
file that I used to compile well, an error is generated because the \Caps macro is not recognized. I can't get the desired effect with \sc, it has to be with \Caps. I have tried to compile it with LMTX but there too is considered that \Caps is an undefined control sequence. -- Joaquín

[NTG-context] messages on undefined control sequences

2020-11-06 Thread Pablo Rodriguez
**de,**de-de,**de-at,**de-ch] {\hiddentitle {[Bildtitelseite]}}\stopmodeset }\doifdefined {hiddentitle}{\CoverPageTitle } \setupbodyfont [svb]{\scale [width=.35\textwidth ]{\sc \getvariable {coverpage}{author}}}\vfill \scale [width=\textwidth]... \setuppapersize[A6] Would it be poss

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
[mainface] [serif] [nafeesnastaleeq] [range=arabic] \definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC] \definefontfamily [mainface] [sans] [FreeSans] [rscale=0.7] \definefontfamily[mainface] [serif] [GFS Didot] \setupbodyfont[mainface] \setupcolors[state=start] \setupindenting[1.5em

Re: [NTG-context] defining font family for several options

2020-09-03 Thread jbf
;t bother the list with these extra bits so am writing off list. Here is what my font definitions now look like (new one highlighted): \definefontfamily [mainface] [rm] [alegreya] [sc=file:alegreyasc-bold] \definefontfamily [mainface] [ss] [dax][tf=file:dax-regular,bf=file:dax-medium] \definef

[NTG-context] own answer to part of the question re typeface options

2020-09-01 Thread jbf
look (the solutions are highlighted): \definefontfamily [mainface] [rm] [alegreya] *[sc=file:alegreyasc-bold]* \definefontfamily [mainface] [ss] [dax][tf=file:dax-regular] \definefontfamily [mainface] [mm] [alegreya] \setupbodyfont[mainface] This now enables me to do: {\sc text in small caps

[NTG-context] a little more specific on switching fonts

2020-09-01 Thread jbf
s follows: {\sc The text I need in small caps} and the rest of the paragraph follows... But the result is that the entire document is now in small caps. Clearly I am doing something wrong. \definefontfamily [mainface] [rm] [alegreya] \definefontfamily [mainface] [sc] [alegreyasc][[tf=file:

[NTG-context] Chapter numbering that does not follow a regular pattern

2020-07-12 Thread jbf
--- Now, I can achieve what I want by putting something like the following for a 'normal' chapter (by which I mean one that needs to be numbered, but would otherwise be out of sequence): \chapter[title={\sc My chapter title that needs a different number},ownnumber=2] And in the c

Re: [NTG-context] long caption in 2-page spread

2020-05-07 Thread jbf
artspread     \startplacefigure[location=here,title={{\sc Plates 12/13.} \switchtobodyfont[9.5pt] My very, very,_very long\\ caption for this_ figure}]     \externalfigure[plate12-13.jpg][height=.8\textheight]%     \stopplacefigure     \stopspread     \setuppagenumbering[state=start]

  1   2   3   4   5   6   7   8   9   10   >