[NTG-context] Re: Lucida Bright Fonts from StarOffice

2004-08-21 Thread Patrick Gundlach
[EMAIL PROTECTED] writes:

 For right now, I am giving up on the postscript fonts.  Lets try
 something else.

:-) Those fonts are also postscript fonts.


[...]

 Is there any way I can use these fonts with ConTeXt? If yes, where
 do I need to copy them and what do I rename them to? 

Use the installer from Walter Schmidt's page and install the font as
described. No renaming necessary, the script does it for you.

 Are these fonts exactly the same as the ones that you buy from
 yandy.com?

I don't know.

 Also the above site says On the other hand, only the basic font
 styles (roman, sans serif, typewriter) are available, whereas the
 fonts from YY include many more variants such as true smallcaps,
 sans serif italic, fax, handwriting, blackletter and more) Does
 CoTeXt use the other fonts that are missing?

Only if you ask for them.

 I suppose it would be legal for me to use these fonts with ConTeXt?

As long as you don't distibute them, I'd guess yes. But you shouldn't
ask me...


So, copy the attached file (warning: very experimental!!!) to your
directory and try to use it with:

 \usetypescriptfile[type-lso]

 \definetypeface [lso][rm][serif][lbso] [default][encoding=ec]
 \definetypeface [lso][ss][sans] [lsso] [default][encoding=ec]
 \definetypeface [lso][tt][mono] [lctso][default][encoding=ec]
 \setupbodyfont[lso,12pt]
\starttext
\showbodyfont

\type{The quick brown fox jumps over the 1234567890 lazy dog!}

\switchtobodyfont [ss]
 The quick brown fox jumps over the 1234567890 lazy dog!

\stoptext

-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net
List archive: http://archive.contextgarden.net


type-lso.tex
Description: TeX document
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Ancient Greek

2004-08-21 Thread Adam Lindsay
Steffen Wolfrum said this at Fri, 20 Aug 2004 20:57:05 +0200:

Well, I'd love to use aleph - no doubt! But, as I work with MacOS(X) 
I fear I have to find a solution that will work for pdfetex.

Could someone help me?

Hmm. What's your timeframe?
I'm working on XeTeX drivers for ConTeXt that should get to a 90%
solution soonish... the question will then be what weird ConTeXt
features will you need?

For those not aware, XeTeX is a very interesting eTeX variant that hooks
into MacOSX's advanced typography. It's Unicode-native, and uses native
Mac fonts without any TeXFont-y conversion necessary. It supports Apple's
AAT features as well as OTF features.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay  [EMAIL PROTECTED]
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] XeTEX (was: Ancient Greek)

2004-08-21 Thread Henning Hraban Ramm
Am 21.08.2004 um 20:04 schrieb Adam Lindsay:
For those not aware, XeTeX is a very interesting eTeX variant that 
hooks
into MacOSX's advanced typography. It's Unicode-native, and uses native
Mac fonts without any TeXFont-y conversion necessary. It supports 
Apple's
AAT features as well as OTF features.
Sounds very cool. Where's its homepage?

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTEX (was: Ancient Greek)

2004-08-21 Thread Steve Peter
On Aug 21, 2004, at 2:37 PM, Henning Hraban Ramm wrote:
Sounds very cool. Where's its homepage?
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiitem_id=xetex
Steve
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTEX (was: Ancient Greek)

2004-08-21 Thread Adam Lindsay
Henning Hraban Ramm said this at Sat, 21 Aug 2004 20:37:18 +0200:


Am 21.08.2004 um 20:04 schrieb Adam Lindsay:
 For those not aware, XeTeX is a very interesting eTeX variant that 
 hooks
 into MacOSX's advanced typography. It's Unicode-native, and uses native
 Mac fonts without any TeXFont-y conversion necessary. It supports 
 Apple's
 AAT features as well as OTF features.

Sounds very cool. Where's its homepage?

Oops! I meant to link:
http://scripts.sil.org/xetex/
Mailing list at:
http://tug.org/mailman/listinfo/xetex
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay  [EMAIL PROTECTED]
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTEX (was: Ancient Greek)

2004-08-21 Thread Henning Hraban Ramm
Am 21.08.2004 um 20:43 schrieb Adam Lindsay:
Sounds very cool. Where's its homepage?
Oops! I meant to link:
http://scripts.sil.org/xetex/
Oh, another fine  free project of SIL!
(I very much like their Gentium font, just switched a bimonthly 
magazine that I set with InDesign to Gentium as bodyfont - some of my 
authors tend to use ancient greece quotes, and before I could never set 
them in a appropriate font.)

I'm looking forward to your tXeTonConTeXt and hope it gets part of the 
XeTeX project itself to spread it widely!

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Ancient Greek

2004-08-21 Thread Giuseppe Bilotta
Wednesday, August 18, 2004 Steffen Wolfrum wrote:

 Hi,

 I am about to edit a book with quotes in ancient (polyphonic) greek.
 How can this be done in ConTeXt?

 Searching for answers I found the long and painful thread
 started by Thomas A. Schmitz almost one year ago.

 Do we have an easier way available today?

Download Claudio Beccari's fonts. (cbgreek)

Use the attached cbgreek.tex typescript file (Hans, maybe it's
the case to add it to the distribution?) and you should then be
able to type something like this:

 greektest.tex =

\usetypescriptfile[cbgreek]

\usetypescript [all] [cbgreek]

\def\enablegreek{\language[greek]\catcode`~=\other\catcode`|=\other}
\def\startgreek{\par\begingroup\setupbodyfont[cbgreek]\enablegreek}
\let\stopgreek\endgroup

\def\greek{\groupedcommand{\switchtobodyfont[cbgreek]\enablegreek}{}}

\mainlanguage[english]

\starttext

We can easily use plain English for normal text, and then switch
to greek when we want; as a first try we type the lower and
upper case 26 letters of the latin alphabet and see how they come
out in greek:
\startgreek
a b c d e f g h i j k l m n o p q r s t u v w x y z

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
\stopgreek

As it can be observed, some uppercase letters have strange
outcomes; also, j gives \greek{j} and c gives the
end-of-word sigma \greek{c}; interestingly, s gives either the
normal sigma or the end-of-word one, depending on whether it's at
the of the word or not: \greek{satrapws}.

Of course we can use the various diacritical signs: accents
(\greek{`a, 'a, ~a}), breathings (\greek{r, w, a}) and
subscribed iotas (\greek{a|, h|, w|}) (these last are pretty ugly in my
opinion); observe how they automatically get the correct position
with uppercase letters: (\greek{`A, 'A, ~A, A, A, A|}).

Can the thing be used for serious work?

\startgreek
'Andra moi 'ennepe, Mo~usa, pol'utropon, 'os m'ala poll`a\hfill\break
pl'agqjh, epe`i Tro'ihs er`on ptol'iejron 'eperse;\hfill\break
poll~wn d anjr'wpwn 'iden 'astea ka`i n'oon 'egnw,\hfill\break
poll`a d 'o g en p'ontw| p'ajen 'algea `on kat`a jum'on,\hfill\break
arn'umenos 'hn te yuq`hn ka`i n'oston eta'irwn.
\stopgreek

\stoptext
===


cbgreek.tex
Description: Binary data
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: How to use PostScript font

2004-08-21 Thread Salman Khilji
On Friday 20 August 2004 09:40 am, Patrick Gundlach wrote:


 So [EMAIL PROTECTED] should report again.



Still no luck!!! :-(

Okay, so I got really upset with teTeX so I decided to get rid of it.  Earlier 
I said that I was using Fedora Core 2.  Now I am sitting on a SuSE 8.0 Pro 
machine.  I did the following:

1)  Uninstalled whatever TeX came with SuSE
2)  Downloaded and installed from texlive2003-inst-20030928.iso
3)  I chose not to install latex.  Just context and pdftex alongwith whatever 
texlive said about anything being essential files
4)  Next I wiped off whatever ConTeXt came with texlive and followed 
instructions on this page:

http://home.salamander.com/~wmcclain/context-help.html

to install the latest ConTeXt from pragma website.

5) Then I found that adobekb.tex was still NOT installed on my system---yes 
the latest ConTeXt from pragma-ade still does not have adobekb.tex.  But as 
Hans suggested, I do have the file type-akb.tex.  As Patrick suggested, I 
downloaded and installed adobekb.tex in the TeX tree.

6)  So after all this, I try both type-akb and adobekb and the palatino font 
still refuses to cooperate.

Here are the errors that I am getting:

With this:

\usetypescript[berry][ec] % or [8r]
\usetypescript[palatino][ec] %
\setupbodyfont[palatino]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext

gives me the following:

[EMAIL PROTECTED]:~/Softdev texexec --pdf paltest

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

executable : pdfetex
format : cont-en
 inputfile : paltest
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 \write18 enabled.
 %-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
entering extended mode
(./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.8.15  fmt: 2004.8.21  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 567]
system (E-TEX) : [line 622]
)
system : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.tex)
bodyfont   : 12pt rm is loaded
kpathsea: Running mktextfm msam7
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input msam7
This is METAFONT, Version 2.71828 (Web2C 7.5.2)
(/usr/TeX/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf msam7
! I can't find file `msam7'.
* ...e:=ljfour; mag:=1; nonstopmode; input msam7

Please type another input file name
! Emergency stop.
* ...e:=ljfour; mag:=1; nonstopmode; input msam7

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
msam7' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \*7ptmmma*=msam7 at 7.0pt not loadable: Metric (TFM) file not found.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let 
\localrelativefontsiz...

\dodosetmathfamilyA ...amily \fontsize \endcsname
  \else \ifcsname \fontbody 
...

\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \fontbody 
#3\dodosetm...
inserted text ...\scriptscriptface \c!ma \empty
  \dosetmathfamily \mbfam 
\t...

\synchronizemath ...athfonts \the \mathstrategies
  \fam \mrfam \fi
...
l.1
\usetypescript[berry][ec] % or [8r]
?







And this:

\usetypescript[type-akb][ec] %or whatever your encoding is
\setupbodyfont[pos]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext


gives me the following:

[EMAIL PROTECTED]:~/Softdev texexec --pdf paltest

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

executable : pdfetex
format : cont-en
 inputfile : paltest
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 \write18 enabled.
 %-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
entering extended mode
(./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.8.15  fmt: 2004.8.21  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex

Re: [NTG-context] Re: How to use PostScript font

2004-08-21 Thread Salman Khilji
I found out that while trying to install the latest ConTeXt over whatever came 
with texlive2003-inst-20030928.iso, I screwed up somewhere and ConTeXt would 
not even generate me a pdf file with cmr fonts.

So here is what I did.

1) I deleted everything about TeX from my system
2) Installed TeXLive from the iso with default options.  I did not change 
anything.  Just accepted the defaults.
3) I did not install the latest ConTeXt.  I think I will be fine with whatever 
comes with TeXLive as of Sept, 2003.
4) Now I can generate a hello world pdf file with cmr fonts just fine.
5) Yes, I do have the type-akb.tex on my system.
6) On the following:

\usetypescriptfile[type-akb]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext


I get the following errors:

[EMAIL PROTECTED]:~/Softdev texexec --pdf paltest

 TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003

executable : pdfetex
format : cont-en
 inputfile : paltest
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 %-line parsing enabled.
 (/usr/TeX/texmf/web2c/cp8bit.tcx)
entering extended mode
(./paltest.tex{/usr/TeX/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.9.25  fmt: 2004.8.21  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
)
system : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 
7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : paltest.top loaded
(./paltest.top
specials   : loading definition file tpd
(/usr/TeX/texmf/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/TeX/texmf/tex/context/base/spec-fdf.tex unprotect 3 unprotect 4
system (E-TEX) : [line 1907] \ifcsname
protect 4 protect 3)
specials   : fdf loaded
unprotect 3 protect 3)
specials   : fdf,tpd loaded
)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
fonts  : [palatino] [ec] []
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex
fonts  : [palatino] [rm] [serif] [palatino]
fonts  : [map] [ec] []
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex
pdftex : needs map file: original-ams-cmr.map
pdftex : needs map file: original-ams-euler.map
pdftex : needs map file: ec-adobe-utopia.map
pdftex : needs map file: ec-bit-charter.map
pdftex : needs map file: ec-public-antp.map
pdftex : needs map file: ec-public-antt.map
pdftex : needs map file: ec-urw-bookman.map
pdftex : needs map file: ec-urw-courier.map
pdftex : needs map file: ec-urw-helvetica.map
pdftex : needs map file: ec-urw-palatino.map
pdftex : needs map file: ec-urw-times.map
pdftex : needs map file: ec-urw-zapfchan.map
pdftex : needs map file: original-youngryu-px.map
pdftex : needs map file: original-youngryu-tx.map
pdftex : needs map file: ec-bh-lucida.map
pdftex : needs map file: fourier.map
pdftex : needs map file: fourier-utopia-expert.map
) (/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts  : [serif] [palatino] [name,default,ec,special]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts  : [serif] [default] [size]
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)

Re: [NTG-context] Re: How to use PostScript font (SOLVED)

2004-08-21 Thread Salman Khilji
Okay.  Problem solved.  The thing is that I did not ask the texlive 
distribution to install the extra fonts package.  The palatino fonts were 
part of the extra fonts. 

Now I have another question.  It seems like \setupbodyfont[palatino] produces 
different results than \setupbodyfont[ppl].
The former tries to use palatino in all the variations in the following 
example.  The palatino fonts seems to be missing the serif variant, so the 
\ss and the normal lines look the same---i.e ConTeXt decided to use the same 
roman variant for both the \rm and the \ss line.  Even the equation uses some 
sort of postscript font that I am not familiar with.

The latter---\setupbodyfont[ppl]---is not very forceful---it uses palatino in 
the \rm, \em, and \sl lines.  Everywhere else the CMR font is used.

What causes this behavior?


\usetypescript[berry][ec] % or [8r]
\usetypescript[palatino][ec] %
\setupbodyfont[palatino]
%\setupbodyfont[ppl]

\starttext

{\rm The quick brown fox jumps over the lazy dog. 1234567890}

{\em The quick brown fox jumps over the lazy dog. 1234567890}

{\sl The quick brown fox jumps over the lazy dog. 1234567890}

{\ss The quick brown fox jumps over the lazy dog. 1234567890}

{\bf The quick brown fox jumps over the lazy dog. 1234567890}

{\tt The quick brown fox jumps over the lazy dog. 1234567890}

$$1+\sqrt{x^2}+\sum dx$$

\stoptext

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context