[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-18 Thread Gerion Entrup
runaway error: end of file encountered > > mtx-context | fatal error: return code: 1 > > ``` > > > > Here is the MWE: > > ``` > > [...] > > > > \startsetups[my_chapter] > > \startlocalheadsetup > > \star

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Wolfgang Schuster
\startframed[chapter_frame] \blank[2cm] \startfont[Serif sa 8] \color[darkgray]{\headnumbercontent} \stopfont \blank[5mm] \startfont[SerifBold sa 2]

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Gerion Entrup
r] \startlocalheadsetup \startframed[chapter_frame] \blank[2cm] \startfont[Serif sa 8] \color[darkgray]{\headnumbercontent} \stopfont \blank[5mm]

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

2024-06-01 Thread Wolfgang Schuster
s PhD thesis). When you have a complex layout it is easier to use the \defineheadalternative command to create it. To change the font for each element disable the default settings with \setuphead[style=] and use \startfont (or \definedfont) to apply a different style for the number, title etc.

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

2024-05-30 Thread Gerion Entrup
you have a complex layout it is easier to use the > \defineheadalternative command to create it. > > To change the font for each element disable the default settings with > \setuphead[style=] and use \startfont (or \definedfont) to apply a > different style for the n

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

2024-05-30 Thread Wolfgang Schuster
hange the font for each element disable the default settings with \setuphead[style=] and use \startfont (or \definedfont) to apply a different style for the number, title etc. begin example \defineframed [ChapterFrame] [width=\textwidth, align=flushright, offset=0pt, rulethic

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
eature [halt] [halt=yes] \starttext \setscript[nihongo] \begingroup \showmakeup[glyph,fontkern] % \startfont[file:notosanscjkjpregular*default]「うわアぬすと狐め」と、どなりたてました。\stopfont % % \startfont[file:notosanscjkjpregular*default]「「うわアぬすと狐め」と、「どなりたてました」。\stopfont % % \startfont[file:notosanscjk

Re: [NTG-context] basic fontsizes question

2016-06-08 Thread Thomas Fehige
at 20pt] \input ward \stop \startfont[SansBoldItalic at 18pt] \input ward \stopfont \stoptext Wolfgang Nevertheless, I prefer to keep all the font and fontsize definitions and tweaks together in the preamble. This poster is not the only work I'm planning to do in ConTeXt, and I need to learn to s

Re: [NTG-context] basic fontsizes question

2016-06-06 Thread Wolfgang Schuster
ttext \tf tf\\ \tfa tfa\\ \tfb tfb\\ \tfx tfx\\ \tfx tfx \stoptext When you have only a small amount of text the use of \definebodyfontenvironment is overkill because you can use the \definedfont command to set a certain font size. \starttext \start \definedfont[Serif at 20pt] \input w

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Wolfgang Schuster
makeup environment is the right mechanism. You can combine this with the \setvariables command and create the title page when you set the values. \definemakeup[titlepage][align=middle] \startsetups[titlepage] \startmakeup[titlepage] \startfont[SansBold sa 3] \getvariable{tit

Re: [NTG-context] Font switching on title page

2015-02-02 Thread Wolfgang Schuster
> > {\bfd \ss > > Paper \par} > > \blank > > {\bfa \ss > > by me} > > \blank[4*line] > > {\ss > > my \crlf > information, \crlf > adress \crlf > etc.} > > \stoptitlepagemakeup > > I hope it helps, For a title

Re: [NTG-context] Proper setting of font features for protrusion/expansion

2014-05-04 Thread Hans Hagen
t;default" and extends it with "protrusion=quality". The second text applies the two predefined lists "default" and "quality" (which sets "protrusion=quality" and "expansion=quality"). \definefontfeature[testfeature][default][protrusion=quality

Re: [NTG-context] Proper setting of font features for protrusion/expansion

2014-05-04 Thread Jan Tosovsky
> new featurelist "testfeature" which uses "default" and extends it with > "protrusion=quality". The second text applies the two predefined lists > "default" and "quality" (which sets "protrusion=quality" > and "expansio

Re: [NTG-context] Proper setting of font features for protrusion/expansion

2014-05-04 Thread Wolfgang Schuster
es the new featurelist “testfeature” which uses “default” and extends it with “protrusion=quality”. The second text applies the two predefined lists “default” and “quality” (which sets “protrusion=quality” and “expansion=quality”). \setupalign[hanging] \definefontfeature[testfeature][default][

Re: [NTG-context] Trouble with Cyrillic

2013-10-07 Thread Dmitry Tokarev
 \definefont [Story][StoryRegular.otf] >>>>   \definefont [LozenCondensed][lozencondensed.ttf] >>>> >>>>   \starttext >>>>   \Story test - тест. >>>> >>>>   \LozenCondensed test - тест. >>>>   \stoptext &

Re: [NTG-context] Trouble with Cyrillic

2013-10-07 Thread Hans Hagen
not unicode. \starttext \startfont[file:lozencondensed.ttf] \dostepwiserecurse{33}{273}{1}{#1:~\char#1\relax\space} \stopfont \stoptext so someone has to make a file like dingbats.lfg ... or, as the font is not that pretty anyway, use another font instead Hans

Re: [NTG-context] Trouble with Cyrillic

2013-10-07 Thread Wolfgang Schuster
т. >> \stoptext > > maybe the font has no cyrillic It has but it uses a custom encoding and not unicode. \starttext \startfont[file:lozencondensed.ttf] \dostepwiserecurse{33}{273}{1}{#1:~\char#1\relax\space} \stopfont \stoptext Wolfgang ___

Re: [NTG-context] bad kerning with Garamond

2012-07-16 Thread Hans Hagen
On 16-7-2012 20:59, Peter Münster wrote: On Mon, Jul 16 2012, Wolfgang Schuster wrote: Try this example which doesn’t use simplefonts: \starttext \startfont[file:gara.ttf*default]\input knuth\par\stopfont \startfont[file:garait.ttf*default]\input knuth\par\stopfont \startfont[file:garabd.ttf

Re: [NTG-context] bad kerning with Garamond

2012-07-16 Thread Peter Münster
On Mon, Jul 16 2012, Wolfgang Schuster wrote: > Try this example which doesn’t use simplefonts: > > \starttext > \startfont[file:gara.ttf*default]\input knuth\par\stopfont > \startfont[file:garait.ttf*default]\input knuth\par\stopfont > \startfont[file:garabd.ttf*default]\input

Re: [NTG-context] bad kerning with Garamond

2012-07-16 Thread Wolfgang Schuster
Am 16.07.2012 um 20:03 schrieb Peter Münster: > On Mon, Jul 16 2012, Luis Montgomery wrote: > >> Try with >> >> \setmainfont[gara] > > The result is worse: http://pmrb.free.fr/tmp/gara.pdf Try this example which doesn’t use simplefonts: \starttext \startfon

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-12 Thread Vyatcheslav Yatskovsky
Hi! I'm back again with my question. I really want to get Unicode 'Quarter Note' symbol, either from standard or custom font. The following example does not work, while the font (Symbola) is found. I probably did not define something, but I don't know what. \s

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Vyatcheslav Yatskovsky
On 09.01.2011 20:46, ntg-context-requ...@ntg.nl wrote: \starttext \startfont[file:Symbola sa 2] \fontchar{notequarter} \fontchar{musicalnote} \fontchar{musicalnotedbl} \fontchar{sixteenthnotedbl} \stopfont \stoptext You can define symbols for them. \startfont[file:Symbola602 sa 2] \fontchar

Re: [NTG-context] How to invoke Unicode symbols?

2011-01-09 Thread Wolfgang Schuster
Am 09.01.2011 um 19:14 schrieb Vyatcheslav Yatskovsky: > I can easily get ♪ just by copy-pasting, but I cannot get ♩ ! Even when the > font is specified. When I paste ♩ symbol into TeXWorks, it disappears. That's > why I want how to call it by name. \starttext \startfont[fil

Re: [NTG-context] XeTex & Mara Font

2008-11-18 Thread Bart C. Wise
>> above and change it to the following: > >> > >> \definetypeface[Mara][rm][Xserif][MaraFontNFPlain] > >> \starttext > >> \startfont[Mara] > >> This is a test. > >> \stoptext > > > > I have no idea ... Does it really not work

Re: [NTG-context] XeTex & Mara Font

2008-11-18 Thread Wolfgang Schuster
Am 18.11.2008 um 23:00 schrieb Arthur Reutenauer: >> One quick question (again expressing my ignorance). Why can't I >> take the code >> above and change it to the following: >> >> \definetypeface[Mara][rm][Xserif][MaraFontNFPlain] >> \startt

Re: [NTG-context] XeTex & Mara Font

2008-11-18 Thread Arthur Reutenauer
> One quick question (again expressing my ignorance). Why can't I take the > code > above and change it to the following: > > \definetypeface[Mara][rm][Xserif][MaraFontNFPlain] > \starttext > \startfont[Mara] > This is a test. > \stoptext I have no

Re: [NTG-context] XeTex & Mara Font

2008-11-18 Thread Bart C. Wise
That seems to work. I just renamed the fontname and family (removing the colon), generated a new ttf and loaded that into the system. So this works: \definetypeface[MaraFontNFPlain][rm][Xserif][MaraFontNFPlain] \starttext \startfont[MaraFontNFPlain] This is a test. \stoptext And yes, the url

Re: [NTG-context] XeTex & Mara Font

2008-11-18 Thread Bart C. Wise
of the text without having to write a typescript. That's why I used the \definetypeface and \startfont routines. I just don't know what I'm doing wrong. Bart On Tuesday 18 November 2008 11:54:49 am Arthur Reutenauer wrote: > > I've tried a couple of ways, using both the

[NTG-context] XeTex & Mara Font

2008-11-18 Thread Bart C. Wise
me and the family name, both with and without the ending semi-colons; however, it fails at compile time. Here's some sample code: \definetypeface[Mara][rm][Xserif][MaraFontNF Plain] \starttext \startfont[Mara] This is a test. \stoptext Here's the relevant output from the log file, which l

Re: [NTG-context] AutoScale and AutoSize

2005-04-15 Thread luigi.scarso
% AutoSize seem better, but % I must setup ss and tfb inside body % (I need these) so it's no a general macros % Same problems of previous version. % \def\AutoSize#1#2#3{% #1=string #2=horiz.limit #3=startfont \newdimen\Limit \Limit=#2 % \newdimen\FontSize \FontSize=#3 % \doloop{% \setbox800=

[NTG-context] Re: mag-0008

2004-12-15 Thread Hans Hagen
hdepth\plusone \initializefox \doifelse{\foxstrut}{yes} {\setvalue{fx:p:strut:\the\paragraphdepth}{1}} {\setvalue{fx:p:strut:\the\paragraphdepth}{0}}% \ifcase\getvalue{fx:p:strut:\the\paragraphdepth}\or\begstrut\fi} {\ifcase\getvalue{fx:p:strut:\the\paragraphd

Re: [NTG-context] TIPA in Context

2004-05-26 Thread Adam Lindsay
do you use? \* \; \: \! Do you use the \super macro much? Does it ever get nested? (Hans's \high{} macro acts a little differently.) You can play with the basic set of glyphs with as little as: \startfont[tipa12] [""Ekspl@"[EMAIL PROTECTED] \stopfont ...but I presume you wan