runaway error: end of file encountered
> > mtx-context | fatal error: return code: 1
> > ```
> >
> > Here is the MWE:
> > ```
> > [...]
> >
> > \startsetups[my_chapter]
> > \startlocalheadsetup
> > \star
\startframed[chapter_frame]
\blank[2cm]
\startfont[Serif sa 8]
\color[darkgray]{\headnumbercontent}
\stopfont
\blank[5mm]
\startfont[SerifBold sa 2]
r]
\startlocalheadsetup
\startframed[chapter_frame]
\blank[2cm]
\startfont[Serif sa 8]
\color[darkgray]{\headnumbercontent}
\stopfont
\blank[5mm]
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.
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
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
eature [halt] [halt=yes]
\starttext
\setscript[nihongo]
\begingroup \showmakeup[glyph,fontkern]
% \startfont[file:notosanscjkjpregular*default]「うわアぬすと狐め」と、どなりたてました。\stopfont
%
% \startfont[file:notosanscjkjpregular*default]「「うわアぬすと狐め」と、「どなりたてました」。\stopfont
%
%
\startfont[file:notosanscjk
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
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
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
>
> {\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
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
> 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
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][
\definefont [Story][StoryRegular.otf]
>>>> \definefont [LozenCondensed][lozencondensed.ttf]
>>>>
>>>> \starttext
>>>> \Story test - тест.
>>>>
>>>> \LozenCondensed test - тест.
>>>> \stoptext
&
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
т.
>> \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
___
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
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
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
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
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
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
>> 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
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
> 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
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
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
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
% 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=
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
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
32 matches
Mail list logo