ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font problem...
@ 2003-08-20 17:04 Gilles Pérez-Lambert
  2003-08-21 21:46 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Gilles Pérez-Lambert @ 2003-08-20 17:04 UTC (permalink / raw)


Hello,

I have some problems with using fonts. In the ConTeX test file at the end, `charter' only works (a little) if I use the commented line `\definetypeface[charter][rm][serif][charter][default][encoding=ec]'... But, doing this, small-caps don't work anymore and, strangely, \tt neither!

How does one use a font already described in the type-*.tex files? I tried with Utopia too but no luck. I read mfonts.pdf but I have not seen what I need.


Thanks,

Gilles.

PS:
	TeXExec 3.3 - ConTeXt / PRAGMA ADE 1997-2003
	pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7x)
	ConTeXt  ver: 2003.8.15  fmt: 2003.8.19  int: english  mes: english





%%%%%%%%%%% BEGIN TEST FILE HERE

\setuppapersize[A4][A4]

\setupencoding[default=ec]
\usetypescript[adobekb][\defaultencoding]
\usetypescript[charter][ec]
%\definetypeface[charter][rm][serif][charter][default][encoding=ec]
\setupbodyfont[charter,10pt]

\startbuffer[tufte]
	\input tufte
\stopbuffer

\starttext
	\getbuffer[tufte]
	\blank
	{\it\getbuffer[tufte]}
	\blank
	{\bf\getbuffer[tufte]}
	\blank
	{\sc\getbuffer[tufte]}
	\blank
	{\tt\getbuffer[tufte]}
\stoptext

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Font problem
@ 2008-04-18 17:39 David Arnold
  2008-04-18 18:59 ` Aditya Mahajan
  0 siblings, 1 reply; 14+ messages in thread
From: David Arnold @ 2008-04-18 17:39 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1930 bytes --]

All,

I did a fresh install on a new Macbook:   MacTeX-2007

I am using Aditya's package: http://www.tug.org/pracjourn/2006-4/mahajan/

I believe I have a font problem, as in trying to compile my file I  
come up against what is shown below. Using my new system, how should I  
go about installing the needed font files?

(/usr/local/texlive/2007/../texmf-local/tex/context/base/type- 
akb.tex)kpathsea: Running mktextfm texnansi-uplr8a
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input texnansi-uplr8a
This is METAFONT, Version 2.71828 (Web2C 7.5.6)

kpathsea: Running mktexmf texnansi-uplr8a
! I can't find file `texnansi-uplr8a'.
<*> ... mag:=1; nonstopmode; input texnansi-uplr8a

Please type another input file name
! Emergency stop.
<*> ... mag:=1; nonstopmode; input texnansi-uplr8a

Transcript written on mfput.log.
grep: texnansi-uplr8a.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input texnansi-uplr8a' failed to make texnansi-uplr8a.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \*MyFace12ptrmtfrm*:=texnansi-uplr8a at 12.0pt not loadable:  
Metric (TFM
) file not found.
<to be read again>
                    \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
                                                   \let  
\localrelativefontsiz...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
                                                   \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                   \fi \iftryingfont  
\fontstr...

\synchronizefont ...strategy \the \fontstrategies
                                                   \relax \fi  
\iftryingfont \...
<argument> \getvalue {\@style@ \fontstyle }
                                            \edef \fontstyle  
{\fontstyle }\if...
...
l.56 \stopMPenvironment

?


[-- Attachment #1.2: Type: text/html, Size: 3855 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread
* font problem
@ 2016-03-13 22:04 Alan Bowen
  2016-03-13 22:37 ` Thomas A. Schmitz
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Bowen @ 2016-03-13 22:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1673 bytes --]

​I have had trouble processing text with diacritical marks using the more
recent betas and the Brill font.​ Some of this can be remedied by
re-entering the diacritical marks in the source file. (This works very well
with Greek.) But there remain some problem passages.

Consider:

\definefontfamily[mainface][serif][Brill] %[TeX Gyre Termes]

\setupbodyfont[mainface,10pt]


\starttext
ı̓tn und ı̓tn.t               %Line 1
Altägyptischen            %Line 2
\stoptext

Note:
(a) there is no problem at all with other fonts, e.g., Tex Gyre Termes
(b) with the Brill font, the text fails to process when BOTH Line1 and 2
are included.

The console readout is:

tex error       > tex error on line 1 in file
/Users/bowen1/Desktop/TestTeX/fonttest.tex: ?



\page ->\par

             \dosingleempty \page_breaks_process

\strc_pagenumbers_flush_final_page ...\else \page

                                                  [\p_strc_pagenumbers_page
...

\dostoptext ...\strc_pagenumbers_flush_final_page

                                                  \page \the \everystoptext
...

l.1 \dostoptext



\clf_stoptext ->\luafunction \16>>clf_stoptext



l.10 \stoptext




 1 >>

 2     \definefontfamily[mainface][serif][Brill] %[TeX Gyre Termes]

 3

 4     \setupbodyfont[mainface,10pt]

 5

 6

 7     \starttext

 8     ı̓tn und ı̓tn.t

 9     Altägyptischen

10     \stoptext

11

I have no idea where the problem here lies, whether it is with ConTEXt or
with the Brill font. So, while a fix would be ideal, a diagnosis that I
could relay to Brill would be good too.

Alan

[-- Attachment #1.2: Type: text/html, Size: 5437 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread
* font problem
@ 2021-11-07 21:06 skyhorse--- via ntg-context
  2021-11-07 22:09 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 14+ messages in thread
From: skyhorse--- via ntg-context @ 2021-11-07 21:06 UTC (permalink / raw)
  To: ntg-context; +Cc: skyhorse


I am a beginner and not well versed on font processing needs yet.

I tried the following simple example, but get an error.
I am using the standalone context: "txrun          | ConTeXt TDS Runner Tool 1.32"
Here is my example:

%%%%%%%%
\starttext

    \startformula
       c^2 = a^2 + b^2
    \stopformula

\stoptext
%%%%%

The error I get back from context is:

"   Sorry, but I can't typeset math unless various parameters have been set. This is
    normally done by loading special math fonts into the math family slots. Your font
    set is lacking at least the parameter mentioned earlier.
    mtx-context     | fatal error: return code: 256
"

I don't know what special math fonts there are or what a math family slot is.
Can you help me out.   Or point me to a document that will clear this up for me.

Thank you.

---------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Font Problem
@ 2021-11-10 21:11 skyhorse--- via ntg-context
  2021-11-10 22:21 ` Bruce Horrocks via ntg-context
  2021-11-10 23:26 ` kaddour kardio via ntg-context
  0 siblings, 2 replies; 14+ messages in thread
From: skyhorse--- via ntg-context @ 2021-11-10 21:11 UTC (permalink / raw)
  To: ntg-context; +Cc: skyhorse



I'm using the linux version which is about a week to two weeks old.
I've installed in in:
     /opt/context-lmtx

Which now contains the directories:
    $ ls /opt/context-lmtx
      -->   bin  context-linux-64.zip  installation.pdf  install.sh  tex

Does this help in getting closer to solving the font problem for ubuntu that I'm using with the stand alone?

--------
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

> skyhorse--- via ntg-context schrieb am 07.11.2021 um 22:06:
> > I am a beginner and not well versed on font processing needs yet.
> >
> > I tried the following simple example, but get an error.
> > I am using the standalone context: "txrun          | ConTeXt TDS Runner Tool 1.32"
>
> Which one, there is one available from the ConTeXt wiki [1] and
> another one from the Pragma website [2].
>
> [1] https://wiki.contextgarden.net/Installation
> [2] https://www.pragma-ade.nl/install.htm
>
> It helps also to tell us which system you're using (Windows, Linux etc.).
>
> Wolfgang
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-11-10 23:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-20 17:04 Font problem Gilles Pérez-Lambert
2003-08-21 21:46 ` Hans Hagen
2008-04-18 17:39 David Arnold
2008-04-18 18:59 ` Aditya Mahajan
2008-04-18 21:59   ` Mojca Miklavec
2016-03-13 22:04 font problem Alan Bowen
2016-03-13 22:37 ` Thomas A. Schmitz
2016-03-13 22:47   ` Hans Hagen
2016-03-14  6:57     ` Alan Bowen
2021-11-07 21:06 skyhorse--- via ntg-context
2021-11-07 22:09 ` Wolfgang Schuster via ntg-context
2021-11-10 21:11 Font Problem skyhorse--- via ntg-context
2021-11-10 22:21 ` Bruce Horrocks via ntg-context
2021-11-10 23:26 ` kaddour kardio via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).