Re: [NTG-context] Font Problem

2021-11-10 Thread kaddour kardio via ntg-context
It appears that context is not yet installed, you must run the installation
script from the application root:
sh install.sh

Le mer. 10 nov. 2021 à 22:16, skyhorse--- via ntg-context <
ntg-context@ntg.nl> a écrit :

>
>
> 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  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
>
> ___
>
___
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
___


Re: [NTG-context] Font Problem

2021-11-10 Thread Bruce Horrocks via ntg-context


> On 10 Nov 2021, at 21:11, skyhorse--- via ntg-context  
> wrote:
> 
> 
> 
> 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?

That looks right for the root directory but there's a lot more than that for a 
working install, of course.

In your first email you said you used the command "txrun": I've no idea what 
that is because I've never needed it.

I just use the 'context' command so all you need do to check the install is 
working is (from your home directory) to run the command

  $ context --version

If that gives sensible output (about 6 lines) then do

  $ context my_example.tex

where "my_example.tex" is the name of the file containing your maths expression 
example as plain text. Hopefully you will get a successful run through 
resulting in a 'my_example.pdf' file containing a typeset version of the 
expression.

If after that it's still not working then report back to this mailing list with 
the error details.

Regards,
—
Bruce Horrocks
Hampshire, UK

___
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
___


Re: [NTG-context] Font Problem

2021-11-10 Thread skyhorse--- via ntg-context


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  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
___


Re: [NTG-context] font problem

2021-11-07 Thread Wolfgang Schuster via ntg-context

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
___


[NTG-context] font problem

2021-11-07 Thread skyhorse--- via ntg-context

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
___


Re: [NTG-context] font problem

2016-03-14 Thread Alan Bowen
Thomas, Hans—many thanks! That change in the latest beta fixes the problem
nicely.

Alan


On Sun, Mar 13, 2016 at 6:47 PM, Hans Hagen  wrote:

> On 3/13/2016 11:37 PM, Thomas A. Schmitz wrote:
>
>> On 03/13/2016 11:04 PM, Alan Bowen wrote:
>>
>>> 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:
>>>
>>
>> Can you try this:
>>
>> in line 1323 of tex/texmf-context/tex/context/base/mkiv/font-otj.lua:
>>
>> setdisc(current,pre,post.replace)
>>
>> replace this with
>>
>> setdisc(current,pre,post,replace)
>>
>> regenerate the format and try compiling again. I get a pdf which appears
>> to be correct. I think this is just a small typo which Hans will fix.
>> However, the error message I saw was different from the one you posted.
>> This is with the latest beta and the latest version of the Brill font
>> (2.06 51).
>>
>
> yes, that's what i saw too (probably a bit older bug) .. i uploaded a new
> version
>
> thanks,
>
> Hans
>
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
> -
>
>
> ___
> 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
>
> ___
>
___
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
___

Re: [NTG-context] font problem

2016-03-13 Thread Hans Hagen

On 3/13/2016 11:37 PM, Thomas A. Schmitz wrote:

On 03/13/2016 11:04 PM, Alan Bowen wrote:

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:


Can you try this:

in line 1323 of tex/texmf-context/tex/context/base/mkiv/font-otj.lua:

setdisc(current,pre,post.replace)

replace this with

setdisc(current,pre,post,replace)

regenerate the format and try compiling again. I get a pdf which appears
to be correct. I think this is just a small typo which Hans will fix.
However, the error message I saw was different from the one you posted.
This is with the latest beta and the latest version of the Brill font
(2.06 51).


yes, that's what i saw too (probably a bit older bug) .. i uploaded a 
new version


thanks,

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] font problem

2016-03-13 Thread Thomas A. Schmitz

On 03/13/2016 11:04 PM, Alan Bowen wrote:

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:


Can you try this:

in line 1323 of tex/texmf-context/tex/context/base/mkiv/font-otj.lua:

setdisc(current,pre,post.replace)

replace this with

setdisc(current,pre,post,replace)

regenerate the format and try compiling again. I get a pdf which appears 
to be correct. I think this is just a small typo which Hans will fix. 
However, the error message I saw was different from the one you posted. 
This is with the latest beta and the latest version of the Brill font 
(2.06 51).


Thomas
___
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
___

[NTG-context] font problem

2016-03-13 Thread Alan Bowen
​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
___
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
___

[NTG-context] Font problem and font question

2008-09-14 Thread Eric DÉTREZ
Hello again

In Context Manual it is said that we can define new fonts.
There is an example : \definebodyfont[10pt,11pt,12pt][rm][tfe =  
Regular at 48pt]
I tried the text :
***
\definebodyfont[10pt,11pt,12pt][rm][tfe = Regular at 48pt]

\starttext

\tfe gros texte

\stoptext
***

and the compiler answers
***
! Undefined control sequence
I.5 \tfe
   gros texte
***

I don't understand .



Now a font question :

is it a way to define casual (or cs) as italic, boldface or  
handwriting ?

I wish to type {\cs casual} to get the world casual written with my  
LucideCasual font.

Thank's for any enlightment
___
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
___


Re: [NTG-context] Font problem

2008-04-18 Thread Aditya Mahajan
On Fri, 18 Apr 2008, David Arnold wrote:

 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

This is because urw palatino fonts are not installed on your system. I do 
not know what is the correct way of installing them on MacTeX. You can 
always download them from CTAN but installing fonts manually can be a bit 
tricky.

Another option is to use the TeX-gyre pagella fonts. I think that if you 
just add

\usetypescriptfile[type-gyr]

before the typescript definition, it should work.

Aditya
___
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
___


Re: [NTG-context] Font problem

2008-04-18 Thread Mojca Miklavec
On Fri, Apr 18, 2008 at 8:59 PM, Aditya Mahajan wrote:
 On Fri, 18 Apr 2008, David Arnold wrote:

   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

  This is because urw palatino fonts are not installed on your system. I do
  not know what is the correct way of installing them on MacTeX. You can
  always download them from CTAN but installing fonts manually can be a bit
  tricky.

  Another option is to use the TeX-gyre pagella fonts. I think that if you
  just add

  \usetypescriptfile[type-gyr]

  before the typescript definition, it should work.

  Aditya

Judging from the traces  locations of those files on my computer -
these fonts were probably either part of some external ConTeXt
package (there have always been some font metrics files around) or
Hans has removed them from the main ConTeXt distribution.

In any case, try to put  \usetypescriptfile[type-gyr] to your
cont-sys.tex (if you don't have it, just create one) and remake the
formats. This will become the default setting in TeX Live 2008 anyway.

Mojca
___
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
___