Re: [NTG-context] Long s in ConTeXt

2007-11-18 Thread Taco Hoekwater
Andreas Hauser wrote:
 How do I go about finding a font that contains all my special characters?

That's the problem, and it depends somewhat on what you are doing.

If your text will be historical, you will probably need lots of old
ligatures and abbreviation glyphs that may not be available in any
current font at all.

If you text is descriptive, perhaps you can get by using one of the SIL
fonts (or perhaps even something mundane like arial).

In both cases, it will be worth the effort to write/email to the editor
or publisher of a reference work in the field that _does_ use the
correct font, or failing that, to talk to a university that has a
large interest in the field you are after. Scholars are generally
willing to share such information.

Searching on the internet is a madmans' work. Almost all fonts online
(whether from big foundries or cheap/free amateur works) are intended
for typical uses (i.e. advertisments), so if they contain a long s at
all, it will definately not be used by default, and there will be almost
certainly no ligatures.

 I have at least ſ (long s), aͤ (a^e SMALL e ABOVE), ʒ etc. Most are from a
 historical context. And a lot of ligatures. As I understand Mac OS is able
 to produce arbitrary ligatures. But will this work on a Linux too?

It will only work if the ligutares glyphs are present in the font. This
is true on linux as well as on osx.

Best wishes,
Taco
___
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] Context replacement for bibitem

2007-08-30 Thread Wolfgang Schuster
Hi Peter,

2007/8/30, Peter Schorsch [EMAIL PROTECTED]:
 Hi,

 first thanks for your help. I got it working at the basic-level. I put it
 into a module for the case that other beginner looking for the
 bibitem-replacement. But two questions are left before I think, that the
 module could be uploaded to the wiki:

 - how to make the 12*broad flexible? \currentmoduleparamter{itemspace}*broad
 is not working :-(
 - how to make that the \item are right-aligned? itemalign=right is also not
 working


 Here is the module-code followed by an appliance-example:
 ---the module:

 \startmodule[biblist]

 \unprotect

 %\setupmodule[itemspace=12]

 \defineitemgroup[bibliography]
 \setupitemgroup[bibliography][levels=1,left={[},right={]},stopper=]
 \setupitemgroup[bibliography][1][n,12*broad]
 %\setupitemgroup[bibliography][1][n
 \currentmoduleparameter{itemspace}*broad]

Replace this line with

\expanded{\setupitemgroup[bibliography][1][n,\currentmoduleparameter{itemspace}*broad]}

to force expansion of \currentmoduleparameter.


You can also use
  \setupbibliography
as a abbreviation for
  \setupitemgroup[bibliography]

Wolfgang

 \def\bibitem[#1]#2{\doifemptyelse{#2}
 {\item[#1]}
 {\sym{\cap{#2}}\textreference[#1]{\cap{#2

 \def\bibref[#1]#2{\doifemptyelse{#2}
 {[\in[#1]]}
 {[\in[#1], #2]}}

 \protect
 \stopmodule
 \endinput

 ---how to use:

 \usemodule[biblist]

 \starttext

 \section{hamha}
 asdfklsj fk~\bibref[keykeykey]{}

 \section{dumdidim}
 asdfsaff alfs hfdsj~\bibref[aha]{Abs. 4.1/1}

 \subject{Bibliography}

 \subsubject{hamha}
 \startbibliography
 \bibitem[keykeykey]{Der Schlüssel}  erstes
 \stopbibliography

 \subsubject{dumdidim}
 \startbibliography[continue]
 \bibitem[aha]{} zweites
 \stopbibliography

 \stoptext
___
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] Write once layout everwhere (?)

2007-06-11 Thread Thomas A. Schmitz

On Jun 11, 2007, at 5:49 AM, Aditya Mahajan wrote:

 Some of the difficulties that I faced with simple documents was:

 1. What is the xml equivalent of ||
 2. What is the xml equivalent of ~ (nbsp; ??)
 3. What is the xml equivalent of

 \abbreviation {EECS} {Electrical Engineering and Computer Science}
 and then \EECS\ and \infull{EECS}.

Hi Aditya,

I've just begun experimenting with xlm (because, as Duncan has  
pointed out, I'm sure that every line I write is for eternity...).  
Anyway, what I say here may be totally wrong, but here's how I treat  
this stuff:

1. For || or |-|, I have defined an entity in my DTD:

!ENTITY conthyph -

In my environment for processing the xml files, I have

\defineXMLentity[conthyph]{|-|}

so I can write contextconthyph;specific and get the output I expect.

2. Yes, I use nbsp; with these definitions:
!ENTITY nbsp #x000A0;
\defineXMLentity[nbsp]{~}

3. Abbreviations: does xtag-ent.tex do what you want?

Not sure if this is what you're looking for, but it does appear to  
work for me.

All best

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Write once layout everwhere (?)

2007-06-11 Thread Aditya Mahajan
Hi Thomas,

On Mon, 11 Jun 2007, Thomas A. Schmitz wrote:


 On Jun 11, 2007, at 5:49 AM, Aditya Mahajan wrote:

 Some of the difficulties that I faced with simple documents was:

 1. What is the xml equivalent of ||
 2. What is the xml equivalent of ~ (nbsp; ??)
 3. What is the xml equivalent of

 \abbreviation {EECS} {Electrical Engineering and Computer Science}
 and then \EECS\ and \infull{EECS}.

 Hi Aditya,

 I've just begun experimenting with xlm (because, as Duncan has
 pointed out, I'm sure that every line I write is for eternity...).
 Anyway, what I say here may be totally wrong, but here's how I treat
 this stuff:

 1. For || or |-|, I have defined an entity in my DTD:

 !ENTITY conthyph -

 In my environment for processing the xml files, I have

 \defineXMLentity[conthyph]{|-|}

 so I can write contextconthyph;specific and get the output I expect.

 2. Yes, I use nbsp; with these definitions:
 !ENTITY nbsp #x000A0;
 \defineXMLentity[nbsp]{~}

Ah. Thanks. This was easy :)

 3. Abbreviations: does xtag-ent.tex do what you want?

 Not sure if this is what you're looking for, but it does appear to
 work for me.

Hmm... somehome I had missed xtag-ent.tex. I was looking at xml 
introductions, and did not look into ConTeXt sources. I will have a 
look and see how it goes.

Thanks,
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] Write once layout everwhere (?)

2007-06-11 Thread Aditya Mahajan
Quoting Wolfgang Schuster [EMAIL PROTECTED]:

 2007/6/11, Aditya Mahajan [EMAIL PROTECTED]:

 Hmm... somehome I had missed xtag-ent.tex. I was looking at xml
 introductions, and did not look into ConTeXt sources. I will have a
 look and see how it goes.

 Thanks,
 Aditya

 Hi Aditya,

 the XML-Document example.pdf is a little bit outdated (Hans changed a few
 commands). The important files for xml are xtag-ini and xtag-ext, you should
 take a look into the contml module.

Thanks. I had not looked at them and some of the things about handling 
at the ConTeXt end are more clear now. But I think that I did not 
explain my question correctly.

What I do not understand how are abbreviations etc. handled by xslt for 
conversion into html. For example, how do I write an xsl style sheet 
that converts this xml input

abbreviation value=EECS, short=EECS, full=Electrical Engineering 
and Computer Science /

p I study abbrev value=EECS which stands for abbrev 
value=EECS, infull=yes /p

into html as

p I study EECS which stands for Electrical Engineering and Computer 
Science /p

I know that this is not the right list to ask this sort of questions, 
but I am hoping that there are xml users here and they will be able to 
point me to the right direction.

Thanks,
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] Write once layout everwhere (?)

2007-06-11 Thread nico
On Mon, 11 Jun 2007 11:42:23 -0400, Aditya Mahajan [EMAIL PROTECTED]  
wrote:



Thanks. I had not looked at them and some of the things about handling
at the ConTeXt end are more clear now. But I think that I did not
explain my question correctly.

What I do not understand how are abbreviations etc. handled by xslt for
conversion into html. For example, how do I write an xsl style sheet
that converts this xml input

abbreviation value=EECS, short=EECS, full=Electrical Engineering
and Computer Science /

p I study abbrev value=EECS which stands for abbrev
value=EECS, infull=yes /p

into html as

p I study EECS which stands for Electrical Engineering and Computer
Science /p

I know that this is not the right list to ask this sort of questions,
but I am hoping that there are xml users here and they will be able to
point me to the right direction.


I haven't followed the thread, but attached an idea of doing what you want  
with XSLT. Note that your example is not valid at all (commas between  
attributes, missing ending '/' for empty elements). BTW, it's not a good  
idea to use the same attribute (value) as an reference identifier, and  
for referencing to another element.


Regards,

myxsl.xsl
Description: Binary data
body
abbreviation value=EECS short=EECS
  full=Electrical Engineering and Computer Science /
 
p I study abbrev value=EECS/ which stands for abbrev 
value=EECS infull=yes/ /p

/body
___
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] Write once layout everwhere (?)

2007-06-11 Thread Aditya Mahajan
Quoting nico [EMAIL PROTECTED]:

 On Mon, 11 Jun 2007 11:42:23 -0400, Aditya Mahajan 
 [EMAIL PROTECTED]  wrote:

 Thanks. I had not looked at them and some of the things about handling
 at the ConTeXt end are more clear now. But I think that I did not
 explain my question correctly.

 What I do not understand how are abbreviations etc. handled by xslt for
 conversion into html. For example, how do I write an xsl style sheet
 that converts this xml input

 abbreviation value=EECS, short=EECS, full=Electrical Engineering
 and Computer Science /

 p I study abbrev value=EECS which stands for abbrev
 value=EECS, infull=yes /p

 into html as

 p I study EECS which stands for Electrical Engineering and Computer
 Science /p

 I know that this is not the right list to ask this sort of questions,
 but I am hoping that there are xml users here and they will be able to
 point me to the right direction.

 I haven't followed the thread, but attached an idea of doing what you 
 want  with XSLT. Note that your example is not valid at all (commas 
 between  attributes, missing ending '/' for empty elements).

Thank you. This is exactly what I wanted. I will now go back to using 
xml for simple documents and see how things go.

 BTW, it's not a good  idea to use the same attribute (value) as an 
 reference identifier, and  for referencing to another element.

Ok. I will keep this in mind.

Thanks,
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] Write once layout everwhere (?)

2007-06-10 Thread Aditya Mahajan
On Sun, 10 Jun 2007, Pepe Barbe wrote:

 Hello,

 I have used ConTeXt in the past and I have been very pleased with it
 and the results obtained, much more than LaTeX.

 Now I am looking into a solution that would allow me to layout the
 content ConTeXt and in other formats that ConTeXt does not (Forgive my
 ignorance, if I am wrong) output, like HTML, Plain Text, or RTF (Those
 are the formats that I can think of that are interesting to me
 currently).

 Reading the Wiki one of those solutions would be XML, but I know very
 little about the subject, so this email is to ask about experiences in
 similar endeavors, other solutions for the same problem and how
 practical this is.

I have been exploring for something like this, but unfortunately have 
not found anything completely satisfactory. For simple documents, 
that is, only text, XML is the easiest. You have to determine a xml 
dtd, and then it is relatively easy to write context commands to parse 
it. It is also easy (but slightly cumbersome) to write a xsl 
stylesheet to parse xml into html. Most browsers do the xslt 
transformation on the fly. I found xml+css to be the easiest way to 
go, since you can do almost a one-to-one mapping of your ConTeXt 
commands. But most xml websites say that it is the old method and 
should not be used.

To get plain text, you can do lynx -dump or something similar. I am 
sure there will be ways to convert xml to rtf, but I have not explored 
them.

Some of the difficulties that I faced with simple documents was:

1. What is the xml equivalent of ||
2. What is the xml equivalent of ~ (nbsp; ??)
3. What is the xml equivalent of

\abbreviation {EECS} {Electrical Engineering and Computer Science}
and then \EECS\ and \infull{EECS}.

I did not have time to explore further, so I left my xml experiments 
there. For me the hardest part was to learn the xml way of thinking.


 I suppose that I would use this for general writing and for academic
 as well (Maths and engineering).

For more complext documents (esp math), I do not like xml as an input 
format. Mathml is too verbose for me to write. Then there is the 
question of how useful is it to have a xml + mathml document. ConTeXt 
can parse it, and so can some of the browsers, but most browsers can 
not. Converting to html + images looks ugly, unless you put in a lot 
of effort. I have not tried converting xml+mathml to rtf or some 
office format. For complicated documents, I do not see the use of 
having an xml document. Most people are happy receiving a pdf. If 
someone wants to edit my files, and cannot edit tex file, he/she will 
not be able to edit xml files. If they use an office application to 
edit the file, I will need to backport the modifications manually. So 
he/she might as well use pdf annotation tools.


If you do want to explore furhter, perhaps the easiest way is to use 
tex4ht, which does a decent job with most context documents and can 
convert to html, xml, and open office format. I do not like tex4ht 
because its html output is too verbose, and its documentation is a bit 
hard to follow.

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] split rotated TABLE

2007-05-31 Thread Wolfgang Schuster
On Thu, 31 May 2007 16:58:11 +0200
Henning Hraban Ramm [EMAIL PROTECTED] wrote:

 This was asked, but not answered before...

Hi Hraban,

I can currently solve a few of your problem but not all at the moment,
spliting tables seems to be only implemented for tables with normal
orientation and not for rotated ones.

 I've a big TABLE that needs to be rotated to fit width, but must  
 break over two or three pages.
 Caption should stay horizontally (but that's not important).

Setting  the column width but my solution below produce a big offset
(difference between textheight and textwidth) at the bottom.

I have to look also how one place the caption below the table and not
on the right side.

 I tried several attempts, some didn't display anything, none breaks  
 the table, e.g.:
 
 \placetable[here,90][tab:religionen]{Götter}%
 {\framed[width=\textheight, height=\textwidth]{\getbuffer[tab- 
 religionen]}}
 % rotation included in the placetable parameters; with page instead  
 of here it didn't display anything.

Text in frame will never be broken, it is more or less a clever \vbox
with a few positioning commands. Each TABLE cell is also a \framed box
and caanot be broken. 

 % another failed attempt:
 \rotate[width=\textheight, height=\textwidth, rotation=90]{%
 \placetable[here][tab:religionen]{Götter}{\getbuffer[tab-religionen]}%
 }
 
 As you can guess, the whole table is in a buffer:
 
 \startbuffer[tab-religionen]
 \bTABLE[split=repeat]
 \bTABLEhead
 \bTR[bottomframe=on]\bTH Land \eTH\bTH Aspekt \eTH\bTH Aspekt \eTH 
 \bTH Aspekt \eTH\bTH Aspekt \eTH\bTH Aspekt \eTH\bTH Aspekt \eTH\bTH  
 Aspekt \eTH\bTH Aspekt\eTH\eTR
 \eTABLEhead
 \bTABLEbody
 ...
 
 \bTABLE[width=\textheight] sets the width of the first column to  
 \textheight - WHY?

width is the width from one cell in a TABLE, it is a abbreviation for
\framed[width=...], you are looking for textwidth=...

 Greetlings from Lake Constance!
 Hraban

You can start with my example below as a workaround til table
splitting a corrected in main files. 

\showframe

\starttext

\dorecurse{10}{\input knuth\relax}

\start

\textheight\textwidth

\page

\placetable
  [90,split]
  [tab:religionen]
  {Götter}
  {\bTABLE[width=5cm]
   \dorecurse{100}{\bTR\bTD Text\eTD\eTR}
   \eTABLE}

\stop

\dorecurse{10}{\input knuth\relax}

\stoptext


Greetings from Ingolstadt

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Headers for natural tables.

2007-03-06 Thread Wolfgang Schuster
On Mon,  5 Mar 2007 11:24:23 -0800
JOHN CULLETON [EMAIL PROTECTED] wrote:

 I hve determined by trial and error that the multiline feature [nr=2] of 
 Natural Tables does not work well, if at all, in the TABLEhead area. But the 
 TABLEhead area is necessary for readable split tables. Currently I use single 
 lines in the header area and suppress some of the rules to create a multiline 
 effect thus: 

Hi John,

 
 \bTABLE [option=stretch,split=repeat]
 \setupTABLE[r][1][height=0cm,width=0cm,frame=off]
 \setupTABLE[c][1][width=1.7in]
 \setupTABLE[r][2][bottomframe=off]
 \setupTABLE[r][3][topframe=off]
 \bTABLEhead
 \bTR  %dummy row
 \bTH \eTH
 \bTH \eTH
 \bTH \eTH
 \eTR
 \bTR %first visible row
 \bTH  
 {\bf Investment} \eTH

\bTH .. \eTH is only a abbreviation for \bTD[style=bold] ... \eTD, this
means your \bf is not neccessary.

 \bTH 
 {\bf Portfolio } \eTH
 \bTH 
 {\bf Average Stock } \eTH
 \eTR
 \bTR
 \bTH  
 {\bf Category} \eTH
 \bTH 
 {\bf Allocation} \eTH
 \bTH 
 {\bf  Market Exposure} \eTH
 \eTR
 \eTABLEhead
 ...
 This example also uses the (apparently) obligatory dummy row as described by 
 others.
 
 Natural Tables have been around for a while. It is unfortunate that no one 
 has come up with a real manual for these tables. All that exists are learn 
 by example documents, which do not describe limitations such as the one I 
 worked around in the above code. 
 
 
 John Culleton
 

I rewrote your example in a better way

\starttext

\bTABLE [option=stretch,split=repeat]
\setupTABLE[c][first][width=1.7in]
\setupTABLE[r][first][style=bold]
\bTABLEhead
  \bTR
\bTD Investment\\ Category \eTD
\bTD Portfolio\\ Allocation \eTD
\bTD Average Stock\\ Market Exposure \eTD
  \eTR
\eTABLEhead
\bTABLEbody
  \dorecurse{100}{\bTR\bTD text \eTD\bTD text \eTD\bTD text \eTD\eTR}
\eTABLEbody
\eTABLE

\stoptext

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bad interaction between listofabbreviations and interlinespace

2007-02-08 Thread Taco Hoekwater
Johan Sandblom wrote:
 Sorry to be a pest, but does anyone have an idea on this?
 
 Johan
 
 Consider the example below. It results in a list of synonyms that are
 vertically misaligned with their meanings. What can I do?

 Regards, Johan
 
 % Example file
 \definesynonyms[abbreviation][abbreviations][\infull]
 \setupsynonyms[abbreviations][criterium=all]
 \setupinterlinespace[auto, big]
 
 \starttext
 
 \completelistofabbreviations
 
 \abbreviation{EEG} {Electroencephalogram}
 \abbreviation{ERP} {Event-Related Potentials}
 
 \EEG, \ERP
 
 \stoptext

I've narrowed the problem down to one of the internal macros. With this:

   \unprotect
   \bgroup
   \def\@@makedescriptionpurebox #1{}
   \completelistofabbreviations
   \egroup
   \protect

the abbreviation list looks ok to me.

However, that is a quick hack that fixes the abbreviations only, at the
expense of breaking (lots) other stuff. I'll convert this message to
a bug tracker item.

Best, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bad interaction between listofabbreviations and interlinespace

2007-02-08 Thread Johan Sandblom
Thank you. It does not appear to break anything in my document, so I am happy.

Johan

2007/2/8, Taco Hoekwater [EMAIL PROTECTED]:
 Johan Sandblom wrote:
  Sorry to be a pest, but does anyone have an idea on this?
 
  Johan
 
  Consider the example below. It results in a list of synonyms that are
  vertically misaligned with their meanings. What can I do?

  Regards, Johan
 
  % Example file
  \definesynonyms[abbreviation][abbreviations][\infull]
  \setupsynonyms[abbreviations][criterium=all]
  \setupinterlinespace[auto, big]
 
  \starttext
 
  \completelistofabbreviations
 
  \abbreviation{EEG} {Electroencephalogram}
  \abbreviation{ERP} {Event-Related Potentials}
 
  \EEG, \ERP
 
  \stoptext

 I've narrowed the problem down to one of the internal macros. With this:

\unprotect
\bgroup
\def\@@makedescriptionpurebox #1{}
\completelistofabbreviations
\egroup
\protect

 the abbreviation list looks ok to me.

 However, that is a quick hack that fixes the abbreviations only, at the
 expense of breaking (lots) other stuff. I'll convert this message to
 a bug tracker item.

 Best, Taco

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context



-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bad interaction between listofabbreviations and interlinespace

2007-02-07 Thread Johan Sandblom
Sorry to be a pest, but does anyone have an idea on this?

Johan

Consider the example below. It results in a list of synonyms that are
vertically misaligned with their meanings. What can I do?

Regards, Johan

% Example file
\definesynonyms[abbreviation][abbreviations][\infull]
\setupsynonyms[abbreviations][criterium=all]
\setupinterlinespace[auto, big]

\starttext

\completelistofabbreviations

\abbreviation{EEG} {Electroencephalogram}
\abbreviation{ERP} {Event-Related Potentials}

\EEG, \ERP

\stoptext


This is Debian, pdftex compiled from source, but otherwise standard
texlive from testing. Last lines of texexec --check:

TeXExec | runtime: 0.397205
TeXExec | end of analysis
TeXExec |
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD
TeXExec |
TeXExec | testing interface en
TeXExec | pdfTeX Version 3.141592-1.40.2 (Web2C 7.5.6)
TeXExec | ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.2.3 int: english/english
TeXExec |
TeXExec | testing interface en
TeXExec | pdfTeX Version 3.141592-1.40.2 (Web2C 7.5.6)
TeXExec | ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.2.3 int: english/english





--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell


-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bad interaction between listofabbreviations and interlinespace

2007-01-31 Thread Johan Sandblom
Consider the example below. It results in a list of synonyms that are
vertically misaligned with their meanings. What can I do?

Regards, Johan

This is Debian, pdftex compiled from source, but otherwise standard
texlive from testing. Last lines of texexec --check:

TeXExec | runtime: 0.397205
TeXExec | end of analysis
TeXExec |
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD
TeXExec |
TeXExec | testing interface en
TeXExec | pdfTeX Version 3.141592-1.40.1 (Web2C 7.5.6)
TeXExec | ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.1.30 int: english/english
TeXExec |
TeXExec | testing interface en
TeXExec | pdfTeX Version 3.141592-1.40.1 (Web2C 7.5.6)
TeXExec | ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.1.30 int: english/english




% Example file
\definesynonyms[abbreviation][abbreviations][\infull]
\setupsynonyms[abbreviations][criterium=all]
\setupinterlinespace[auto, big]

\starttext

\completelistofabbreviations

\abbreviation{EEG} {Electroencephalogram}
\abbreviation{ERP} {Event-Related Potentials}

\EEG, \ERP

\stoptext

-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \@ in ConTeXt

2007-01-29 Thread Aditya Mahajan
Hi,

I was converting some of my old docs from LaTeX to ConTeXt and noticed 
that the macro \@ is not defined in ConTeXt. latex.ltx defines it as

[EMAIL PROTECTED]@m}

with

[EMAIL PROTECTED]

In LaTeX manuals it is recommended to use \@ to control the spacing 
after a period. For example, if you write

   Carrots are good for your eyes since they contain Vitamin A. Have
   you seen any rabbits wearing glasses?

TeX considers the period (.) terminates an abbreviation and uses 
inter-word space rather than inter-sentence space. In LaTeX, it is 
recommened that one writes this as

   Carrots are good for your eyes since they contain Vitamin [EMAIL PROTECTED] 
Have
   you seen any rabbits wearing glasses?


What is the usual way of doing the same in ConTeXt?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] (no subject)

2007-01-29 Thread NY Park
HI Update 2007.1.24 in OSX
but when i texexec -pdf test.tex
next error massage why???
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
bodyfont : 12pt rm is loaded
kpathsea: Running mktextfm lmmi7
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface 
abbreviation mm for lmmi7.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update 
/usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input lmmi7
This is METAFONT, Version 2.71828 (Web2C 7.5.5)
kpathsea: Running mktexmf lmmi7
! I can't find file `lmmi7'.
lt;* ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
Please type another input file name
! Emergency stop.
lt;* ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
Transcript written on mfput.log.
grep: lmmi7.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
lmmi7' failed to make lmmi7.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \*7ptmmmirm*=lmmi7 not loadable: Metric (TFM) file not found.
 
 \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
 \let \localrelativefontsiz...
\dodosetmathfamilyA ...amily \fontsize \endcsname 
 \else \ifcsname \fontbody ...
\dosetmathfamily ...athfamily \scriptscriptfont #1
 \let \fontbody #3\dodosetm...
 ...\scriptscriptface \c!mi \empty 
 \dosetmathfamily \syfam \t...
\synchronizemath ...athfonts \the \mathstrategies 
 \fi 
...
l.1 
 
\starttext 
This Test
\stoptext
?
새로운 기부문화의 씨앗, 해피빈
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Latest ConTeXt and lmmi7

2007-01-18 Thread Alan Bowen
The latest ConTeXt (ver: 2007.01.18 12:57 MKII  fmt: 2007.1.18  int:  
english/english) will not process my files. The log file has:

...
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) 
kpathsea: Running mktextfm lmmi7
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface  
abbreviation mm for lmmi7.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update /usr/ 
local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input lmmi7

This is METAFONT, Version 2.71828 (Web2C 7.5.5)
kpathsea: Running mktexmf lmmi7

! I can't find file `lmmi7'.
* ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
...
grep: lmmi7.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input lmmi7' failed to make lmmi7.tfm.


I installed it just as I have previous versions.

Alan


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Latest ConTeXt and lmmi7

2007-01-18 Thread Hans Hagen
Alan Bowen wrote:
 The latest ConTeXt (ver: 2007.01.18 12:57 MKII  fmt: 2007.1.18  int: 
 english/english) will not process my files. The log file has:
 
 (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))kpathsea: 
 Running mktextfm lmmi7
 /usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface 
 abbreviation mm for lmmi7.
 /usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update 
 /usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
 nonstopmode; input lmmi7
 This is METAFONT, Version 2.71828 (Web2C 7.5.5)
 kpathsea: Running mktexmf lmmi7

 ! I can't find file `lmmi7'.
 * ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
 grep: lmmi7.log: No such file or directory
 mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
 input lmmi7' failed to make lmmi7.tfm.

 I installed it just as I have previous versions.
we're moving towards lm only i.e. now uses lm math

/texmf/fonts/tfm/public/lm/lmmi7.tfm

are you sure that you have a recent latin modern installed? 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Latest ConTeXt and lmmi7

2007-01-18 Thread Hans Hagen
Alan Bowen wrote:
 On Jan 18, 2007, at 8:34 AM, Hans Hagen wrote:

   
 Alan Bowen wrote:
 
 The latest ConTeXt (ver: 2007.01.18 12:57 MKII  fmt: 2007.1.18  int:
 english/english) will not process my files. The log file has:
 
 (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) 
 kpathsea:
 Running mktextfm lmmi7
 /usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface
 abbreviation mm for lmmi7.
 /usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update
 /usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
 nonstopmode; input lmmi7
 This is METAFONT, Version 2.71828 (Web2C 7.5.5)
 kpathsea: Running mktexmf lmmi7

 ! I can't find file `lmmi7'.
 * ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
 grep: lmmi7.log: No such file or directory
 mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
 input lmmi7' failed to make lmmi7.tfm.

 I installed it just as I have previous versions.
   
 we're moving towards lm only i.e. now uses lm math

 /texmf/fonts/tfm/public/lm/lmmi7.tfm

 are you sure that you have a recent latin modern installed?

 Hans
 

 Hans

 I am using an old  (pre-hubbub) installation of teTeX. My hope was to  
 wait until TeX Live 2007 was fixed before moving away from it. But I  
 guess that is not really possible. Is that right?

   
no; we went lm already long ago and it seems that tetex didn't use the 
latest greatest lm

you can download lm here:

http://www.gust.org.pl/projects/fonts/

and just copy them over the old ones (just unzip the lm zips and run 
mktexlsr)

same for gyre fonts ... once they are stable i'm going to default to 
them instead of the numerous variants

Hans

Hans


-- 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Latest ConTeXt and lmmi7

2007-01-18 Thread Alan Bowen
On Jan 18, 2007, at 8:34 AM, Hans Hagen wrote:

 Alan Bowen wrote:
 The latest ConTeXt (ver: 2007.01.18 12:57 MKII  fmt: 2007.1.18  int:
 english/english) will not process my files. The log file has:
 
 (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) 
 kpathsea:
 Running mktextfm lmmi7
 /usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface
 abbreviation mm for lmmi7.
 /usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update
 /usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
 nonstopmode; input lmmi7
 This is METAFONT, Version 2.71828 (Web2C 7.5.5)
 kpathsea: Running mktexmf lmmi7

 ! I can't find file `lmmi7'.
 * ...e:=ljfour; mag:=1; nonstopmode; input lmmi7
 
 grep: lmmi7.log: No such file or directory
 mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
 input lmmi7' failed to make lmmi7.tfm.

 I installed it just as I have previous versions.
 we're moving towards lm only i.e. now uses lm math

 /texmf/fonts/tfm/public/lm/lmmi7.tfm

 are you sure that you have a recent latin modern installed?

 Hans

Hans

I am using an old  (pre-hubbub) installation of teTeX. My hope was to  
wait until TeX Live 2007 was fixed before moving away from it. But I  
guess that is not really possible. Is that right?

Alan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Latest ConTeXt and lmmi7

2007-01-18 Thread Alan Bowen


On Jan 18, 2007, at 8:54 AM, Hans Hagen wrote:


Alan Bowen wrote:

On Jan 18, 2007, at 8:34 AM, Hans Hagen wrote:



Alan Bowen wrote:

The latest ConTeXt (ver: 2007.01.18 12:57 MKII  fmt: 2007.1.18   
int:

english/english) will not process my files. The log file has:

(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
kpathsea:
Running mktextfm lmmi7
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface
abbreviation mm for lmmi7.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update
/usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
nonstopmode; input lmmi7
This is METAFONT, Version 2.71828 (Web2C 7.5.5)
kpathsea: Running mktexmf lmmi7

! I can't find file `lmmi7'.
* ...e:=ljfour; mag:=1; nonstopmode; input lmmi7

grep: lmmi7.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode;

input lmmi7' failed to make lmmi7.tfm.

I installed it just as I have previous versions.


we're moving towards lm only i.e. now uses lm math

/texmf/fonts/tfm/public/lm/lmmi7.tfm

are you sure that you have a recent latin modern installed?

Hans



Hans

I am using an old  (pre-hubbub) installation of teTeX. My hope was to
wait until TeX Live 2007 was fixed before moving away from it. But I
guess that is not really possible. Is that right?



no; we went lm already long ago and it seems that tetex didn't use the
latest greatest lm

you can download lm here:

http://www.gust.org.pl/projects/fonts/

and just copy them over the old ones (just unzip the lm zips and run
mktexlsr)

same for gyre fonts ... once they are stable i'm going to default to
them instead of the numerous variants

Hans


Thanks, Hans.

Will do—once the http://www.gust.org.pl/projects/fonts/ link to the  
lm fonts works.  Right now

http://www.gust.org.pl/projects/e-foundry/latin_modern
gets a
Resource not found
message. (Is there another source?)

Alan

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Spacing after defined word: beginner's question

2006-12-25 Thread Aditya Mahajan
On Mon, 25 Dec 2006, [EMAIL PROTECTED] wrote:

 This must be a beginner's question, but I can't find the answer to it 
 in the manuals...

:) Read below.

 Take this ConTeXt source:
 
 --
 \def\Acme{%
   {\ss\sc ACME}}
 
 Welcome from \Acme. \Acme make fine products.
 
 When this is made into a PDF, it looks like this:
 --
 Welcome from ACME. ACMEmake fine products.

 [snip]

 What am I doing wrong?

You are not doing anything wrong. This is how TeX operates. A macro 
with no argument gobbles the spaces after it. One way to ensure that 
you get a space is to tell TeX that you are done with the macro, for 
example

Welcome from \Acme. \Acme{} makes fine products.

or

Welcome from \Acme. \Acme\ makes fine products.

After a while you get used to adding a \ where you want. There is an 
automated way, but it is (and will remain) undocumented. You can 
append \autoinsertnextspace at the end of your macro. So, something 
like

\def\Acme{{\ss\sc ACME}\autoinsertnextspace}

The reason that this is undocumented is because it makes it harder for 
other parsers to parse TeX.

BTW, ConTeXt has a sorting and abbreviation mechanism for the kind 
of thing that you are doing. With \definesorting or \abbreviation, you 
can also get a list of logos or list of abbreviations free of cost :). 
Look up the manual for details. And as a futher incentive, you can use

\setupsorting[logo][next=\autoinsertnextspace]

to get the behaviour you want.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula, bookmarks and misc

2006-11-03 Thread Wolfgang Schuster
On Wed, 01 Nov 2006 23:57:21 +
Sebastian Rooks [EMAIL PROTECTED] wrote:

 Thank you !
 Any tip for getting numbered bookmarks (question 3) ?
 Regards,
 
   Seb
 
 Wolfgang Schuster wrote:
  
  Hi Sebastian,
  
   
  2006/10/29, Sebastian Rooks [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]:
  
  Dear ConTeXters,
  
  1/ I would like to use a named formula with a reference containing
  several subformulae each with a reference. The closer I can get to
  is to
  add an empty namedformula followed by subformulae (see test file below).
  How can I get rid of the empty line with a number in the pdf ?
  
  2/ I'm using bookmarks but abbreviations in heads do not work properly.
  I've used a workaround some 3 years ago but I cannot remember which. Any
  suggestion ? (see test file below)
  
   
  
  \setupinteraction[state=start]
  
  \appendtoks \def\UK{UK} \to \simplifiedcommands
  
  \placebookmarks[chapter,section,subsection]
  
  \abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern
  Ireland}
  
  \starttext
  
  \chapter{Weather in the \UK}
  \dorecurse {2} {\input dawkins \par}
  
  \stoptext
  
  
  3/ What should I do to get the bookmarks numbered with their
  chapter/section/ etc. number ? (see test file below)
  
  4/ How can I redefine the \vec command in my formulae without having a
  warning system  : command \vec is already defined
  
  5/ I do like a lot the minimum distribution so easy to install. It
  would
  be even better if bibtex can be added. It's only 82.8 KiB
  
  Thanks for ConTeXt (special thanks to Hans and Taco of course), it's
  really a pleasure to work with it.
  
  Regards,
  
  Seb
  
  
  test.tex
  %%%%%
  
  \setupinteraction[state=start]
  
  \placebookmarks[chapter,section,subsection]
  
  \abbreviation [UK]  {UK}{United Kingdom of Great Britain and
  Northern
  Ireland}
  
  \starttext
  \placelist[formula]
  \chapter{Math formulae}
  
 \placenamedformula
   [eq:well_known]
   {Well known equalities}
   \startformula
   \stopformula
 \placesubformula[eq:first]{a}
 \startformula
   1+0=1
 \stopformula
  
 \placesubformula[eq:second]{b}
 \startformula
   1+1=2
 \stopformula
  
  
  \chapter{Weather in the \UK}
  \dorecurse {2} {\input dawkins \par}
  
  \stoptext
  ___
  ntg-context mailing list
  ntg-context@ntg.nl mailto:ntg-context@ntg.nl
  http://www.ntg.nl/mailman/listinfo/ntg-context
  http://www.ntg.nl/mailman/listinfo/ntg-context
  
  
  Wolfgang
   

Hi Sebastian,

I found now solution to your problem.

There was the same question on the list 1998 and Hans gave only a not
working solution, dont't know if there was also working one.

The original message:

message

Berend de Boer wrote:

 Is it possible (and how) to have the chapter and paragraph numbers in the 
 bookmark (outline) for pdf output?
 
 Now I only get the text of the chapter but I would like the 
 part.chapter.paragraph number as well.

(did you ever try \tracebookmarkstrue?)

\def\doinsertsomebookmark#1#2#3#4#5#6%
  {\global\utilitydonetrue
   \global\let\localbookmark=\gobbleoneargument
   \global\let\flushbookmark=\relax
   \doifinstringelse{#1}{\openbookmarklist}
 {\chardef\openbookmark=1}
 {\chardef\openbookmark=0}%
   \iftracebookmarks(#6: #4)\quad(\the\openbookmark)\par\fi
   \doinsertbookmark{#2}{#3}{#4}{#5}{\openbookmark}}

Can you try: 

   \doinsertbookmark{#2}{#3}{#6 #4}{#5}{\openbookmark}} 

I can add an option: sectionnumber=yes/no to a yet non existing setup
command, but first I wanna make sure what way to go. 

Hans

/message

A rather old problem and no solution and no setup.

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula, bookmarks and misc

2006-11-02 Thread Wolfgang Schuster
On Tue, 31 Oct 2006 15:55:08 -0500 (EST)
Aditya Mahajan [EMAIL PROTECTED] wrote:

 On Tue, 31 Oct 2006, Wolfgang Schuster wrote:
 
  2006/10/29, Sebastian Rooks [EMAIL PROTECTED]:
  
  2/ I'm using bookmarks but abbreviations in heads do not work properly.
  I've used a workaround some 3 years ago but I cannot remember which. Any
  suggestion ? (see test file below)
 
  \appendtoks \def\UK{UK} \to \simplifiedcommands
 
 
 Why doesn't
 
 \doglobal\appendtoks\setvalue{#2}{#2}\to\simplifiedcommands
 
 line in the definition of dodocomplexsynonym do this automatically?
 

Hi Aditya,

this was new to me.

You are right, this did work as expected  but only when you place the
definition of the abbreviation and the \placebookmarks command in the
right order.

The following order in the souce works.

\abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern
Ireland}

\placebookmarks[chapter,section,subsection]

The problems is, the token register \simplifiedcommands is called by
the \placebookmarks command and every abbreviations, that follows after
the command is ignored.

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula, bookmarks and misc

2006-11-02 Thread Aditya Mahajan
On Thu, 2 Nov 2006, Wolfgang Schuster wrote:

 On Tue, 31 Oct 2006 15:55:08 -0500 (EST)
 Aditya Mahajan [EMAIL PROTECTED] wrote:

 On Tue, 31 Oct 2006, Wolfgang Schuster wrote:

 2006/10/29, Sebastian Rooks [EMAIL PROTECTED]:

 2/ I'm using bookmarks but abbreviations in heads do not work properly.
 I've used a workaround some 3 years ago but I cannot remember which. Any
 suggestion ? (see test file below)

 \appendtoks \def\UK{UK} \to \simplifiedcommands


 Why doesn't

 \doglobal\appendtoks\setvalue{#2}{#2}\to\simplifiedcommands

 line in the definition of dodocomplexsynonym do this automatically?


 Hi Aditya,

 this was new to me.

 You are right, this did work as expected  but only when you place the
 definition of the abbreviation and the \placebookmarks command in the
 right order.

 The following order in the souce works.

 \abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern
 Ireland}

 \placebookmarks[chapter,section,subsection]

 The problems is, the token register \simplifiedcommands is called by
 the \placebookmarks command and every abbreviations, that follows after
 the command is ignored.

I will call this a bug. Typically, in my workflow, \placebookmark will 
go in the environment file (or the module) and \abbreviation will be 
in the main file.

Hans, is there someway to make sure that this works even when 
abbreviations are defined after \placebookmark. Postponing to 
processing to everystarttext comes to mind, but I do not know how 
rugged that will be.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula, bookmarks and misc

2006-11-01 Thread Sebastian Rooks
Thank you !
Any tip for getting numbered bookmarks (question 3) ?
Regards,

  Seb

Wolfgang Schuster wrote:
 
 Hi Sebastian,
 
  
 2006/10/29, Sebastian Rooks [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]:
 
 Dear ConTeXters,
 
 1/ I would like to use a named formula with a reference containing
 several subformulae each with a reference. The closer I can get to
 is to
 add an empty namedformula followed by subformulae (see test file below).
 How can I get rid of the empty line with a number in the pdf ?
 
 2/ I'm using bookmarks but abbreviations in heads do not work properly.
 I've used a workaround some 3 years ago but I cannot remember which. Any
 suggestion ? (see test file below)
 
  
 
 \setupinteraction[state=start]
 
 \appendtoks \def\UK{UK} \to \simplifiedcommands
 
 \placebookmarks[chapter,section,subsection]
 
 \abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern
 Ireland}
 
 \starttext
 
 \chapter{Weather in the \UK}
 \dorecurse {2} {\input dawkins \par}
 
 \stoptext
 
 
 3/ What should I do to get the bookmarks numbered with their
 chapter/section/ etc. number ? (see test file below)
 
 4/ How can I redefine the \vec command in my formulae without having a
 warning system  : command \vec is already defined
 
 5/ I do like a lot the minimum distribution so easy to install. It
 would
 be even better if bibtex can be added. It's only 82.8 KiB
 
 Thanks for ConTeXt (special thanks to Hans and Taco of course), it's
 really a pleasure to work with it.
 
 Regards,
 
 Seb
 
 
 test.tex
 %%%%%
 
 \setupinteraction[state=start]
 
 \placebookmarks[chapter,section,subsection]
 
 \abbreviation [UK]  {UK}{United Kingdom of Great Britain and
 Northern
 Ireland}
 
 \starttext
 \placelist[formula]
 \chapter{Math formulae}
 
\placenamedformula
  [eq:well_known]
  {Well known equalities}
  \startformula
  \stopformula
\placesubformula[eq:first]{a}
\startformula
  1+0=1
\stopformula
 
\placesubformula[eq:second]{b}
\startformula
  1+1=2
\stopformula
 
 
 \chapter{Weather in the \UK}
 \dorecurse {2} {\input dawkins \par}
 
 \stoptext
 ___
 ntg-context mailing list
 ntg-context@ntg.nl mailto:ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 
 Wolfgang
  
 
 
 
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula, bookmarks and misc

2006-10-31 Thread Wolfgang Schuster
Hi Sebastian,

2006/10/29, Sebastian Rooks [EMAIL PROTECTED]:
Dear ConTeXters,1/ I would like to use a named formula with a reference containingseveral subformulae each with a reference. The closer I can get to is to
add an empty namedformula followed by subformulae (see test file below).How can I get rid of the empty line with a number in the pdf ?2/ I'm using bookmarks but abbreviations in heads do not work properly.
I've used a workaround some 3 years ago but I cannot remember which. Anysuggestion ? (see test file below)


\setupinteraction[state=start]
\appendtoks \def\UK{UK} \to \simplifiedcommands
\placebookmarks[chapter,section,subsection]
\abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern Ireland}
\starttext
\chapter{Weather in the \UK}\dorecurse {2} {\input dawkins \par}
\stoptext
3/ What should I do to get the bookmarks numbered with theirchapter/section/ etc. number ? (see test file below)
4/ How can I redefine the \vec command in my formulae without having awarning system: command \vec is already defined5/ I do like a lot the minimum distribution so easy to install. It would
be even better if bibtex can be added. It's only 82.8 KiBThanks for ConTeXt (special thanks to Hans and Taco of course), it'sreally a pleasure to work with it.Regards,Sebtest.tex
%\setupinteraction[state=start]\placebookmarks[chapter,section,subsection]\abbreviation [UK]{UK}{United Kingdom of Great Britain and Northern
Ireland}\starttext\placelist[formula]\chapter{Math formulae} \placenamedformula [eq:well_known] {Well known equalities} \startformula \stopformula \placesubformula[eq:first]{a}
 \startformula 1+0=1 \stopformula \placesubformula[eq:second]{b} \startformula 1+1=2 \stopformula\chapter{Weather in the \UK}\dorecurse {2} {\input dawkins \par}
\stoptext___ntg-context mailing listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context

Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] formula, bookmarks and misc

2006-10-28 Thread Sebastian Rooks
Dear ConTeXters,

1/ I would like to use a named formula with a reference containing
several subformulae each with a reference. The closer I can get to is to
add an empty namedformula followed by subformulae (see test file below).
How can I get rid of the empty line with a number in the pdf ?

2/ I'm using bookmarks but abbreviations in heads do not work properly.
I've used a workaround some 3 years ago but I cannot remember which. Any
suggestion ? (see test file below)

3/ What should I do to get the bookmarks numbered with their
chapter/section/ etc. number ? (see test file below)

4/ How can I redefine the \vec command in my formulae without having a
warning system  : command \vec is already defined

5/ I do like a lot the minimum distribution so easy to install. It would
be even better if bibtex can be added. It's only 82.8 KiB

Thanks for ConTeXt (special thanks to Hans and Taco of course), it's
really a pleasure to work with it.

Regards,

  Seb


test.tex
%%%%%

\setupinteraction[state=start]

\placebookmarks[chapter,section,subsection]

\abbreviation [UK]  {UK}{United Kingdom of Great Britain and Northern
Ireland}

\starttext
  \placelist[formula]
  \chapter{Math formulae}

\placenamedformula
  [eq:well_known]
  {Well known equalities}
  \startformula
  \stopformula
\placesubformula[eq:first]{a}
\startformula
  1+0=1
\stopformula

\placesubformula[eq:second]{b}
\startformula
  1+1=2
\stopformula


\chapter{Weather in the \UK}
\dorecurse {2} {\input dawkins \par}

\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] frame thickness

2006-10-20 Thread andrea valle
Thanks for the search algorithm :-)

Best
-a-

On 20 Oct 2006, at 16:52, Aditya Mahajan wrote:



 On Fri, 20 Oct 2006, Wolfgang Schuster wrote:

 2006/10/20, andrea valle [EMAIL PROTECTED]:

 By the way, is there a way where the command is listed?


 (I mean, the option ruledthickness indeed)

 -a-


 Andrea Valle


 Hi Anrea,

 the option rulethickness for the framed macro is nowhere listed in
 one if the manuals, it is only mentioned in the wiki als parmater
 for natural Tables 
 http://wiki.contextgarden.net/TABLE#Make_a_cell_bold
 and at the page for the animated euro sign
 http://wiki.contextgarden.net/EuroAnim.

 It is currently missing in the commanindex setup-en.pdf (and the
 neccesary file cont-en.xml).

 The best sources are only the sources if you want to know  which
 options are available for every command.

 True indeed. This is what I usually do to find out about an option. 
 Search
 texwebshow for options. If it is there, read the manual for the
 description.

 If I do not find any relevant option, but know that ConTeXt ought to 
 have
 an option for what I want (which usually means that it will), look in 
 the
 sources. My strategy for searching the sources involves finding out 
 which
 source file defines the option. (search on sources.contextgarden.net 
 work
 for most cases, I use grep for the cases which are more trickier to 
 find).
 Most (all?) commands come with an accompanying \setup command, which
 initiallizes all the options for the command. This way, one knows 
 atleast
 which options a command will accept. In most cases guessing the
 functionality of an option is easy, as ConTeXt uses a consistent 
 interface
 for everything. Sometimes, when I have no clue what that option does, I
 search where the option is used. Most options are stored using
 \getparameters[\??xx] where xx is a two letter abbreviation. Then you 
 can
 search for \@@xxoption to see where it is used. That way, you can 
 usually
 guess what an option does.

 The sources also have some examples that are usually useful in
 understanding a few tricks about the command.

 If I still can not figure out, I ask on the mailing list.

 Aditya
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] beta (processaction |)

2006-10-11 Thread Peter Rolf
Hans Hagen wrote:
 Peter Rolf wrote:
 Hans Hagen wrote:
   
 Peter Rolf wrote:
 
 \processaction[\FOO][
   |=,
   unknown=]
   
   
 hm, | and ~ are always special, put \string in fron tof it, or use 
 \letterbar and \lettertilde 

 
 hm, same error if I use \string| or \letterbar
   
 do you have a minimal tes file?
 
 a solution may be
 
 \let\savedbarcommand=|
 
 \unexpanded\def|{\savedbarcommand}

Yes, this works.

I've tried to create a minimal example, but in the end all points to the
fact, that | is a special character. So even the use of | as
argument of some macro like

 \FOO[data={||abcx}]{..}

is not recommended (without prior catcode change). I use the symbols as
an abbreviation for different MP graphics, and it wouldn't make sense to
write \letterbar every time. Looks like I have to choose a different symbol.

Greetings, Peter

  
 
 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
 -
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] beta (processaction |)

2006-10-11 Thread Hans Hagen
Peter Rolf wrote:
 Hans Hagen wrote:
   
 Peter Rolf wrote:
 
 Hans Hagen wrote:
   
   
 Peter Rolf wrote:
 
 
 \processaction[\FOO][
   |=,
   unknown=]
   
   
   
 hm, | and ~ are always special, put \string in fron tof it, or use 
 \letterbar and \lettertilde 

 
 
 hm, same error if I use \string| or \letterbar
   
   
 do you have a minimal tes file?

 a solution may be

 \let\savedbarcommand=|

 \unexpanded\def|{\savedbarcommand}

 
 Yes, this works.

 I've tried to create a minimal example, but in the end all points to the
 fact, that | is a special character. So even the use of | as
 argument of some macro like

  \FOO[data={||abcx}]{..}

 is not recommended (without prior catcode change). I use the symbols as
 an abbreviation for different MP graphics, and it wouldn't make sense to
 write \letterbar every time. Looks like I have to choose a different symbol.
   
still experimental is that you can change the catcodetable (pseudo in 
mkii, native in mkiv) but i won't bring up it's dirty details here


\let\savedbarcommand=|
 
\unexpanded\def|{\savedbarcommand}

this makes them unexpandable but still using ~ and | for such purposes is kind 
of tricky 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mixed Case Abbreviations

2006-08-26 Thread Wolfgang Schuster
On Fri, 25 Aug 2006 15:29:20 -0500
Pepe Barbe [EMAIL PROTECTED] wrote:

 Hello,
 
 Is it possible to have different cases in an abbreviation? For example mRNA.

\definesynonyms[myabbreviation][myabbreviations][\myabbrev]

\myabbreviation
{mRNA}
{mRNA}

\starttext

\mRNA

\completelistofmyabbreviations
%\placelistofmyabbreviations

\stoptext

or

\definesynonyms[myabbreviation][myabbreviations][\myabbrev]

\myabbreviation
[MRNA]
{mRNA} % shown in Text
{Whatever mRNA means} % Fulltext shown in list

\starttext

\MRNA\ \myabbrev{MRNA}

\completelistofmyabbreviations
%\placelistofmyabbreviations

\stoptext

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Mixed Case Abbreviations

2006-08-25 Thread Pepe Barbe
Hello,

Is it possible to have different cases in an abbreviation? For example mRNA.

Thanks,
Pepe
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Mixed Normal and Bold Math -- Problem with Lucida

2006-08-03 Thread Renaud AUBIN





Hi all,

I use lucida for a document and now I need some bold math fonts so I
have followed the instructions given in "This Way - Mixed Normal and
Bold Math". The resulting test file is:

\starttext
\usetypescript[lucida] [texnansi]
\usetypescript[lucidabfm] [texnansi]
\usetypescript[lucidaboldmath][texnansi]
\setupformulas[method=bold]
\startformula[lucida] 1 \Gamma \alpha x \stopformula
\startformula[lucida] 1 \Gamma {\bfm \alpha x} \stopformula
\startformula[lucidaboldmath] 1 \Gamma \alpha x \stopformula
\startformula[lucidaboldmath] 1 \Gamma {\bfm \alpha x} \stopformula
\stoptext

I have installed lucida with texfont and added some .tfm (lucida.zip
from Hans). Since I'm on debian, I've done some modifications to
/etc/updmap.d/10tetex-base (I use tetex + latest ConTeXt in ~/texmf) +
sudo update-updmap + sudo updmap-sys...
\loadmapfile[texnansi-bh-lucida.map] is in my cont-sys.tex

texexec gives:


TeXExec | processing document 'lucidabfm.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file lucidabfm.top
TeXExec | using randomseed 1128
TeXExec | tex engine: pdfetex
TeXExec | tex format: cont-en
TeXExec | progname: context
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
\write18 enabled.
(/home/renaud/texmf/web2c/natural.tcx)
entering extended mode
(./lucidabfm.tex

ConTeXt ver: 2006.07.28 23:56 fmt: 2006.8.1 int: english mes:
english

language : language en is active
protectionstate 0
system : cont-new loaded
(/home/renaud/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color : palette rollover is available
)
system : cont-old loaded
(/home/renaud/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/home/renaud/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(/home/renaud/texmf/tex/context/user/cont-sys.tex
(/home/renaud/texmf/tex/context/base/type-exa.tex)
(/home/renaud/texmf/tex/context/base/type-syn.tex)
(/home/renaud/texmf/tex/context/base/type-enc.tex)
(/home/renaud/texmf/tex/context/base/type-siz.tex)
(/home/renaud/texmf/tex/context/base/type-map.tex)
(/home/renaud/texmf/tex/context/base/type-spe.tex)
(/home/renaud/texmf/tex/context/base/type-akb.tex))
bodyfont : 12pt rm is loaded
language : patterns nl-texnansi:texnansi-1-2:3
nl-ec:ec-2-2:3 fr-
texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3
de-texnansi:texnansi-5-2:3 de-e
c:ec-6-2:3 it-texnansi:texnansi-7-2:3
it-ec:ec-8-2:3 pt-texnansi:texna
nsi-9-2:3 pt-ec:ec-10-2:3
hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3 pl-ec:e
c-13-2:3 pl-qx:qx-14-2:3
cz-il2:il2-15-2:3 cz-ec:ec-16-2:3 sk-il2:i
l2-17-2:3 sk-ec:ec-18-2:3
sl-ec:ec-19-2:3 en-ec:ec-21-2:3 uk-ec:ec-
22-2:3 us-ec:ec-23-2:3
agr-agr:agr-24-2:3 da-ec:ec-25-2:3 sv-ec:ec-
26-2:3 af-ec:ec-27-2:3 no-ec:ec-28-2:3
deo-ec:ec-29-2:3 es-ec:ec-3
0-2:3 ca-ec:ec-31-2:3 la-ec:ec-32-2:3
ro-ec:ec-33-2:3 tr-ec:ec-34-
2:3 fi-ec:ec-36-2:3 hu-ec:ec-37-2:3 loaded
specials : tex,postscript,rokicki loaded
system : lucidabfm.top loaded
(./lucidabfm.top
specials : loading definition file tpd
(/home/renaud/texmf/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(/home/renaud/texmf/tex/context/base/spec-fdf.tex)
specials : fdf loaded
)
specials : fdf,tpd loaded
)
systems : system commands are enabled
(/home/renaud/texmf/tex/context/base/sort-def.tex)
(/home/renaud/texmf/tex/context/base/sort-lan.tex)
systems : begin file lucidabfm at line 1
(/home/renaud/texmf/tex/context/base/type-buy.tex)
(/home/renaud/texmf/tex/context/base/math-lbr.tex)kpathsea: Running
mktextfm LucidaNewMath-Demibold
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation L
for LucidaNewMath-Demibold.
/usr/share/texmf/web2c/mktexnam: Need to update
/usr/share/texmf-tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
nonstopmode; input LucidaNewMath-Demibold
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf LucidaNewMath-Demibold
! I can't find file `LucidaNewMath-Demibold'.
* ...; nonstopmode; input LucidaNewMath-Demibold

Please type another input file name
! Emergency stop.
* ...; nonstopmode; input LucidaNewMath-Demibold

Transcript written on mfput.log.
grep: LucidaNewMath-Demibold.log: Aucun fichier ou rpertoire de ce type
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input LucidaNewMath-Demibold' failed to make LucidaNewMath-Demibold.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \*lucida7ptmmmrbfrm*:=LucidaNewMath-Demibold at 7.0pt not
loadable: Metr
ic (TFM) file not found.
to be read again
 \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
 \let
\localrelativefontsiz...

\dodosetmathfamilyB ...amily \fontsize \endcsname
 \else \ifcsname
\fontclass...

\dosetmathfamily ...athfamily \scriptscriptfont #1
 \let \fontbody
#3\dodosetm...
inserted text ...scriptface \c!mrbf \

[NTG-context] Still font issues with I-Installer Mac OSX

2006-06-28 Thread Frank
/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type- 
akb.tex)kpathsea: Running mktextfm ec-uhvr8a
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface  
abbreviation c- for ec-uhvr8a.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update  
/usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input ec-uhvr8a

This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf ec-uhvr8a
! I can't find file `ec-uhvr8a'.
* ...jfour; mag:=1; nonstopmode; input ec-uhvr8a

Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input ec-uhvr8a

Transcript written on mfput.log.
grep: ec-uhvr8a.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input ec-uhvr8a' failed to make ec-uhvr8a.tfm.

kpathsea: Appending font creation commands to missfont.log.

! Font \*12ptsstf*=ec-uhvr8a at 12.0pt not loadable: Metric (TFM) file  
not foun

d.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...


\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\ifskipfontchar...

argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle  
}\if...

...
l.5 \setupbodyfont[pos,ss,12pt]

?

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Still font issues with I-Installer Mac OSX

2006-06-28 Thread Frank


On 28-jun-06, at 14:44, Taco Hoekwater wrote:




Frank wrote:

I get the pixel result attached. The output from texexec shows the
inclusion of the font:

/var/tmp/texfonts/pk/modeless/public/lm/ec-lmr12.72pk
Output written on test.pdf (1 page, 10344 bytes).
Transcript written on test.log.


Something is still wrong, because it is downloading the bitmap.
Can you post the test.log?



Here is the log:




test.log
Description: Binary data



The font maps are now set correctly per instructions of Hans Hagen
automatically by the installer. See attached texmf.cnf file


On a second test I tried to use the postscript fonts:

\usetypescript[pos]


Make that

   \usetypescript[pos][ec]

and it should work ok.


Unfortunately no. It has trouble with the font metrics. The log shows:

(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type- 
akb.tex)kpathsea: Running mktextfm ec-uhvr8a
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface  
abbreviation c- for ec-uhvr8a.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update  
/usr/local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input ec-uhvr8a

This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf ec-uhvr8a
! I can't find file `ec-uhvr8a'.
* ...jfour; mag:=1; nonstopmode; input ec-uhvr8a

Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input ec-uhvr8a

Transcript written on mfput.log.
grep: ec-uhvr8a.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input ec-uhvr8a' failed to make ec-uhvr8a.tfm.

kpathsea: Appending font creation commands to missfont.log.

! Font \*12ptsstf*=ec-uhvr8a at 12.0pt not loadable: Metric (TFM) file  
not foun

d.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont  
\fontstr...


\synchronizefont ...strategy \the \fontstrategies
  \relax \fi  
\ifskipfontchar...

argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle  
}\if...

...
l.5 \setupbodyfont[pos,ss,12pt]

?



Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Jyrki Ruuskanen
I made a plain TeX module for simple abbreviation and bibliography  
handling. The problem is it currently uses a temporary file to keep  
track of used bibs / abbreviations. Essentially it writes \addToList 
[\usedAbbreviations]{abbr} and \addToList[\usedReferences]{cite}  
commands to it, and this file is input on the second pass.

After finding out that ConTeXt *really is* well thought of and robust  
I changed the functionality to use TeXutil with \writeutilitycommand.  
Everything seems to work, the commands appear in .tui/.tuo files and  
are executed, but the token lists are empty when execution reaches  
the document. I couldn't figure out how to fix it as I don't yet know  
enough about the anatomy of a ConTeXt run and the system.

Jyrki Ruuskanen

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Taco Hoekwater


Jyrki Ruuskanen wrote:
 I made a plain TeX module for simple abbreviation and bibliography  
 handling. The problem is it currently uses a temporary file to keep  
 track of used bibs / abbreviations. Essentially it writes \addToList 
 [\usedAbbreviations]{abbr} and \addToList[\usedReferences]{cite}  
 commands to it, and this file is input on the second pass.
 
 After finding out that ConTeXt *really is* well thought of and robust  
 I changed the functionality to use TeXutil with \writeutilitycommand.  
 Everything seems to work, the commands appear in .tui/.tuo files and  
 are executed, but the token lists are empty when execution reaches  
 the document. I couldn't figure out how to fix it as I don't yet know  
 enough about the anatomy of a ConTeXt run and the system.

Some small example files would help a lot. We have to know what
*precisely* is in the tui file.

Cheers ,Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Hans Hagen
Jyrki Ruuskanen wrote:
 I made a plain TeX module for simple abbreviation and bibliography  
 handling. The problem is it currently uses a temporary file to keep  
 track of used bibs / abbreviations. Essentially it writes \addToList 
 [\usedAbbreviations]{abbr} and \addToList[\usedReferences]{cite}  
 commands to it, and this file is input on the second pass.

 After finding out that ConTeXt *really is* well thought of and robust  
 I changed the functionality to use TeXutil with \writeutilitycommand.  
 Everything seems to work, the commands appear in .tui/.tuo files and  
 are executed, but the token lists are empty when execution reaches  
 the document. I couldn't figure out how to fix it as I don't yet know  
 enough about the anatomy of a ConTeXt run and the system.
   
can you make a small example? maybe a grouping issue 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Jyrki Ruuskanen
Thanks for the cont-sys tip, good to know.Yes, I have used \definesynonyms, but I need abbreviations to have three levels: the abbreviation itself, the meaning of abbreviation and the description of the abbreviation (for example, "WWW" is short for "World Wide Web" and is described as a "Worldwide interconnected mess of multimedia, which took off in early 90's."). ConTeXt synonyms seem to have two.I'm sure there are a million ways of doing this. I decided to implement it from the ground up to learn some plain TeX. But now I need to integrate my macros with ConTeXt to make passing the lists graceful without extra auxiliary files and forced double runs.And as for the reply button, I guess I have to subscribe to get the mails in my mailbox. I'll do that now ;)Jyrki___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] White space around synonyms

2006-05-08 Thread Hans Hagen
Johannes Graumann wrote:
 Hello,

 please take a look at the output of the code appended. I'm plagued by
 incorrect white space around the output: to much before and after the
 expanded '\infull' and short versions. How to remedy that?

 Thanks ... it sure took me a while to find the '\executeifdefined'
 tidbit ...

 Joh

 % setup 'synonymes' list called 'abbreviations'
 \definesynonyms[abbreviation][abbreviations][\infull]

 % give out in the list the ones used
 \setupsynonyms[abbreviation][criterium=used]

 % abbreviations/ calls the completelist as a 'chapter'
 \defineXMLargument
   [abbreviations]
   {\expanded{\completelistofabbreviations}}

 % abbreviations are defined as follows
 \defineXMLenvironment
   [abbreviationdev]
   [key=]
   {
 \defineXMLsave[short]
 \defineXMLsave[full]
   }
   {
 \abbreviation
   [\XMLop{key}]
   {\XMLflush{short}}
   {\XMLflush{full}}
   }

 % abbreviations are recalled like this (short version is the default)
 \defineXMLargument
   [abbreviation]
   [key=,opt=short]
   {
 \doifelse{\XMLop{opt}}{full}
   {\infull{\XMLop{key}}}
   {\executeifdefined{\XMLop{key}}}
   }
   
end lines in the definitions with % or use setups

(spurious spaces)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] White space around synonyms

2006-05-07 Thread Johannes Graumann
Hello,

please take a look at the output of the code appended. I'm plagued by
incorrect white space around the output: to much before and after the
expanded '\infull' and short versions. How to remedy that?

Thanks ... it sure took me a while to find the '\executeifdefined'
tidbit ...

Joh

% setup 'synonymes' list called 'abbreviations'
\definesynonyms[abbreviation][abbreviations][\infull]

% give out in the list the ones used
\setupsynonyms[abbreviation][criterium=used]

% abbreviations/ calls the completelist as a 'chapter'
\defineXMLargument
  [abbreviations]
  {\expanded{\completelistofabbreviations}}

% abbreviations are defined as follows
\defineXMLenvironment
  [abbreviationdev]
  [key=]
  {
\defineXMLsave[short]
\defineXMLsave[full]
  }
  {
\abbreviation
  [\XMLop{key}]
  {\XMLflush{short}}
  {\XMLflush{full}}
  }

% abbreviations are recalled like this (short version is the default)
\defineXMLargument
  [abbreviation]
  [key=,opt=short]
  {
\doifelse{\XMLop{opt}}{full}
  {\infull{\XMLop{key}}}
  {\executeifdefined{\XMLop{key}}}
  }


\starttext
  \startXMLdata
abbreviationdev key=id
   shortshort/short
   fullfull description of ``short''/full
/abbreviationdev
abbreviations/
Blabla abbreviation key=id opt=short/.
More blabla abbreviation key=id opt=full/.
  \stopXMLdata
\stoptext

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Synonyms and XML - HOWTO?

2006-05-03 Thread Mojca Miklavec
On 5/2/06, Johannes Graumann wrote:
 Hello,

 I'm trying to get the following to work:

 \definesynonyms[abbreviation][abbreviations][\infull]

\setupsynonyms[abbreviation][criterium=all]

Otherwise only the used synonyms will be written to the list. (\infull{short})

 \defineXMLargument
   [abbrev]
   [short=,full=]
   {\expanded{\abbreviation{\XMLop{short}}{\XMLop{full

 \defineXMLargument  [abbreviations]   {\completelistofabbreviations}

 \starttext
   \startXMLdata
 abbreviations/
 Blabla shortabbrev short=short full=slightly longer short/.
   \stopXMLdata
 \stoptext

 But I don't succeede: the synonym is not put out. Any ideas on what I'm
 screwing up?

 Joh

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Synonyms and XML - HOWTO?

2006-05-03 Thread Johannes Graumann
Rather than doing this dirtily and on the fly (as implied by the quoted
code, I'd like to use synonyms in a more cleaner fashion: separate calling
and definition.
I have come up with the following code, but have two problems:
1) 'abb key=key opt=full/' just gives me '[key]' after
defining 'abbreviation key=keyshortshortkey/shortfullslightly
longer key/full/abbreviation'.
2) The '\XMLop{key}' should really be the result of that preceeded by a '\'
to make the short version callable as a command. How to do that?

Thanks for any help,

Joh

% setup 'synonymes' list called 'abbreviations'
\definesynonyms[abbreviation][abbreviations][\infull]

% give all out in the list
\setupsynonyms[abbreviation][criterium=all]

% abbreviations/ calls the completelist as a 'chapter'
\defineXMLargument  [abbreviations]   {\completelistofabbreviations}

% abbreviations are defined as follows
\defineXMLenvironment
  [abbreviation]
  [key=]
  {
\defineXMLsave[short]
\defineXMLsave[full]
  }
  {\expanded{\abbreviation[\XMLop{key}]{\XMLflush{short}}{\XMLflush{full

% abbreviations are recalled like this (short version is the default)
\defineXMLargument
  [abb]
  [key=,opt=short]
  {
\doifelse{\XMLop{opt}}{full}
  {\expanded{\infull{\XMLop{key
  {\XMLop{key}}
  }

Johannes Graumann wrote:
 \definesynonyms[abbreviation][abbreviations][\infull]
 
 \defineXMLargument
   [abbrev]
   [short=,full=]
   {\expanded{\abbreviation{\XMLop{short}}{\XMLop{full
 
 \defineXMLargument  [abbreviations]   {\completelistofabbreviations}
 
 \starttext
   \startXMLdata
 abbreviations/
 Blabla shortabbrev short=short full=slightly longer short/.
   \stopXMLdata
 \stoptext


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Synonyms and XML - HOWTO?

2006-05-01 Thread Johannes Graumann
Hello,

I'm trying to get the following to work:

\definesynonyms[abbreviation][abbreviations][\infull]

\defineXMLargument
  [abbrev]
  [short=,full=]
  {\expanded{\abbreviation{\XMLop{short}}{\XMLop{full

\defineXMLargument  [abbreviations]   {\completelistofabbreviations}

\starttext
  \startXMLdata
abbreviations/
Blabla shortabbrev short=short full=slightly longer short/.
  \stopXMLdata
\stoptext

But I don't succeede: the synonym is not put out. Any ideas on what I'm
screwing up?

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Fonts problems

2006-02-15 Thread Michal Kvasnička
Good afternoon.

I apologize that I bother you once more, but I'm getting desperate. :-( 
I have still problem with fonts in ConTeXt---perhaps I'm not able to 
install it well. I use ConTeXt  ver: 2006.02.03 21:00, pdfeTeX, Version 
3.141592-1.21a-2.2 (Web2C 7.5.4), tetex-3.0-13 under SuSE Linux 9.2 (the 
tetex is grabbed from Suse 9.3). I tried to copy all files where I 
thought they should have been, texhashed, and build formats. Now, some 
things work, but not all of them, and not in an expected way.

Problem 1: I expect that a following file should typeset tufte in 
Latin Modern font.
\setupoutput[pdf]
\starttext
\input tufte
\stoptext
ConTeXt loads some map files (/usr/share/texmf/fonts/map
/dvips/context/original-empty.map}{/usr/share/texmf/fonts/map/dvips/context/ori
ginal-base.map}{/usr/share/texmf/fonts/map/dvips/context/ec-public-lm.map}{/usr
/share/texmf/fonts/map/dvips/context/ec-base.map}{/usr/share/texmf/fonts/map/dv
ips/context/8r-base.map}{/usr/share/texmf/fonts/map/dvips/context/t5-base.map}{
/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}{/usr/share/tex
mf/fonts/map/dvips/context/original-ams-euler.map}{/usr/share/texmf/fonts/map/d
vips/context/original-public-lm.map}), but it clearly isn't able to find 
the right one, since it writes this error message:
kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
ec-lmr12
mktexpk: don't know how to create bitmap font for ec-lmr12.
kpathsea: Appending font creation commands to missfont.log.
 )
Warning: pdfetex (file ec-lmr12): Font ec-lmr12 at 72 not found
I can correct it when I add one more file:
\loadmapfile[psclean.map]
But I was told that I should omit this line. What's the problem? How can 
I correct it?


Problem 2: Let's suppose I add into the previous file this 
B\oh-Bawerk
then the letter \o is missing (a white space is on its place). Isn't 
there a bug in the Latin modern fonts/virtual fonts/metrics, or 
whatever? Moreover, gv views the hyphen over the h and B letters. 
(Acrobat Reader 7 view it all right.) How is that possible.


Problem 3: Some fonts are not used properly. The following file
\setupoutput[pdf]
\loadmapfile[psclean.map]
\usetypescript[ppl] % working pos
\switchtobodyfont[ppl,10pt]
\starttext
\input tufte\par
\stoptext
works well. It works even if I change pos to ppl, ptm, phv, or 
tim. It works even when changed to pcr, but the text is ragged. When 
changed to con, bookman, or iwona, it does nothing---the text is 
typeset in Latin Modern. When changed to ant, I get this error message:
kpathsea: Running mktextfm sy-anttrz
/usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation 
y- for sy-anttrz.
/usr/share/texmf/web2c/mktexnam: Need to update 
/usr/share/texmf/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
nonstopmode; input sy-anttrz
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
kpathsea: Running mktexmf sy-anttrz
! I can't find file `sy-anttrz'.
I think I have installed all these fonts (instead of Adobe fonts I have 
URW ones). What's wrong.



Problem 4: From what afm files were the tfm metrics for Times, 
Helvetica, and Palatino generated? Accents are positioned in a strange 
way and after a tquoteright is a strange hole (bad kerning).  A long 
time ago I've generated myself tfm metrics from afm files of URW fonts, 
and they look much better. Were these afm files used, or were used some 
afm metrics of fonts that do not include accented letter, i.e. are those 
letters just TeX-based composites?



Problem 5: How can I switch back to CS fonts? (Well, I know I bother you 
all, but I still do not like Latin Modern fonts.) :-( I thought that 
something like this could work, but it doesn't:
\setupoutput[pdf]
\loadmapfile[psclean.map]
\loadmapfile[/usr/share/texmf/dvips/context/original-public-csr.map]
\starttypescript [serif] [computer-modern] [il2]
  \definefontsynonym [cmb10][csb10][encoding=il2]
  \definefontsynonym [cmbsy10]  [csbsy10]  [encoding=il2]
   ...
\stoptypescript
\usetypescript[computer-modern][il2]
\switchtobodyfont[computer-modern,10pt]
\starttext
\input tufte
\stoptext
How can I do it?

I apologize for so many questions. Many thanks for your help.
Your thankful
Michal Kvasnicka

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Fonts problems

2006-02-15 Thread Vit Zyka
Michal Kvasnička wrote:
 Good afternoon.
 
 I apologize that I bother you once more, but I'm getting desperate. :-( 
 I have still problem with fonts in ConTeXt---perhaps I'm not able to 
 install it well. I use ConTeXt  ver: 2006.02.03 21:00, pdfeTeX, Version 
 3.141592-1.21a-2.2 (Web2C 7.5.4), tetex-3.0-13 under SuSE Linux 9.2 (the 
 tetex is grabbed from Suse 9.3). I tried to copy all files where I 
 thought they should have been, texhashed, and build formats. Now, some 
 things work, but not all of them, and not in an expected way.
 
 Problem 1: I expect that a following file should typeset tufte in 
 Latin Modern font.
 \setupoutput[pdf]
 \starttext
 \input tufte
 \stoptext
 ConTeXt loads some map files (/usr/share/texmf/fonts/map
 /dvips/context/original-empty.map}{/usr/share/texmf/fonts/map/dvips/context/ori
 ginal-base.map}{/usr/share/texmf/fonts/map/dvips/context/ec-public-lm.map}{/usr
 /share/texmf/fonts/map/dvips/context/ec-base.map}{/usr/share/texmf/fonts/map/dv
 ips/context/8r-base.map}{/usr/share/texmf/fonts/map/dvips/context/t5-base.map}{
 /usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}{/usr/share/tex
 mf/fonts/map/dvips/context/original-ams-euler.map}{/usr/share/texmf/fonts/map/d
 vips/context/original-public-lm.map}), but it clearly isn't able to find 
 the right one, since it writes this error message:
 kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
 ec-lmr12
 mktexpk: don't know how to create bitmap font for ec-lmr12.

Hello,

it seems like old lm package (wrong map files). Try to update from
http://www.tug.org/cgi-bin/dirarchive/tex-archive/fonts/lm/fonts.zip

Vit Zyka

 kpathsea: Appending font creation commands to missfont.log.
  )
 Warning: pdfetex (file ec-lmr12): Font ec-lmr12 at 72 not found
 I can correct it when I add one more file:
 \loadmapfile[psclean.map]
 But I was told that I should omit this line. What's the problem? How can 
 I correct it?
 
 
 Problem 2: Let's suppose I add into the previous file this 
 B\oh-Bawerk
 then the letter \o is missing (a white space is on its place). Isn't 
 there a bug in the Latin modern fonts/virtual fonts/metrics, or 
 whatever? Moreover, gv views the hyphen over the h and B letters. 
 (Acrobat Reader 7 view it all right.) How is that possible.
 
 
 Problem 3: Some fonts are not used properly. The following file
 \setupoutput[pdf]
 \loadmapfile[psclean.map]
 \usetypescript[ppl] % working pos
 \switchtobodyfont[ppl,10pt]
 \starttext
 \input tufte\par
 \stoptext
 works well. It works even if I change pos to ppl, ptm, phv, or 
 tim. It works even when changed to pcr, but the text is ragged. When 
 changed to con, bookman, or iwona, it does nothing---the text is 
 typeset in Latin Modern. When changed to ant, I get this error message:
 kpathsea: Running mktextfm sy-anttrz
 /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation 
 y- for sy-anttrz.
 /usr/share/texmf/web2c/mktexnam: Need to update 
 /usr/share/texmf/fonts/map/fontname/special.map?
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
 nonstopmode; input sy-anttrz
 This is METAFONT, Version 2.71828 (Web2C 7.5.4)
 kpathsea: Running mktexmf sy-anttrz
 ! I can't find file `sy-anttrz'.
 I think I have installed all these fonts (instead of Adobe fonts I have 
 URW ones). What's wrong.
 
 
 
 Problem 4: From what afm files were the tfm metrics for Times, 
 Helvetica, and Palatino generated? Accents are positioned in a strange 
 way and after a tquoteright is a strange hole (bad kerning).  A long 
 time ago I've generated myself tfm metrics from afm files of URW fonts, 
 and they look much better. Were these afm files used, or were used some 
 afm metrics of fonts that do not include accented letter, i.e. are those 
 letters just TeX-based composites?
 
 
 
 Problem 5: How can I switch back to CS fonts? (Well, I know I bother you 
 all, but I still do not like Latin Modern fonts.) :-( I thought that 
 something like this could work, but it doesn't:
 \setupoutput[pdf]
 \loadmapfile[psclean.map]
 \loadmapfile[/usr/share/texmf/dvips/context/original-public-csr.map]
 \starttypescript [serif] [computer-modern] [il2]
   \definefontsynonym [cmb10][csb10][encoding=il2]
   \definefontsynonym [cmbsy10]  [csbsy10]  [encoding=il2]
...
 \stoptypescript
 \usetypescript[computer-modern][il2]
 \switchtobodyfont[computer-modern,10pt]
 \starttext
 \input tufte
 \stoptext
 How can I do it?
 
 I apologize for so many questions. Many thanks for your help.
 Your thankful
 Michal Kvasnicka
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

-- 
===
Ing. Vít Zýka, Ph.D. TYPOkvítek

database publishing

Re: [NTG-context] Implementing xspace

2006-02-09 Thread Hans Hagen
Aditya Mahajan wrote:
 It basically saves the pain of typing \ or {} after all commands. 
 Suppose I have
 \abbreviation {ABC} {Some abbreviation}
   
keep in mind that such mechanism are

(1) incomplete, since not all chars are looked at
(2) don't handle commands following such a call
(3) it's like an input encoding non conforming the default tex parsing
(4) best can be mention ed in a comment at the top of the file
(5) always will be fragile

so, i can provide a hook for such a thing in sort/syn but after that 
you're on your own since i'm not going to add support for this at each level

\unprotect

% core-syn: 

\def\reprocesssort#1#2#3%
  {\processsort{#1}{#3}{#2}%
   \getvalue{\??so#1\c!next}}

\def\preexecutesort#1#2#3%
  {\ifdoinpututilities \else
 \dowritesort{#1}{#2}{#3}%
 \unexpanded\setgvalue{#2}{\reprocesssort{#1}{#3}{#2}}%
   \fi}

\def\executesort#1#2#3%
  {\begingroup
   \let\executesort\thirdofthreearguments 
   \preexecutesort{#1}{#2}{#3}%
   \processsort{#1}{#3}{#2}%
   \endgroup
   \getvalue{\??so#1\c!next}} % not formally documented

\def\reprocesssynonym#1#2#3%
  {\processsynonym{#1}{#3}{#2}%
   \getvalue{\??sm#1\c!next}}

\def\preexecutesynonym#1#2#3#4%
  {\ifdoinpututilities \else
 \dowritesynonym{#1}{#2}{#3}{#4}%
 \unexpanded\setgvalue{#2}{\reprocesssynonym{#1}{#3}{#4}}%
   \fi}

\def\executesynonym#1#2#3#4%
  {\preexecutesynonym{#1}{#2}{#3}{#4}%
   \processsynonym{#1}{#3}{#4}%
   \getvalue{\??sm#1\c!next}} % not formally documented

% cors-spa: 

%D This is a dangerous feature because it makes the \TEX\ source
%D less portable, i.e. any parser now needs to apply exactly the
%D same algorithm when it wants to interpret the source. We
%D strongly recommend not to mention this feature in manuals!

\def\autoinsertnextspace{\futurelet\nexttoken\doautoinsertnextspace}

\def\doautoinsertnextspace % slightly extended version of a user supplied macro
  {\ifx\nexttoken \bgroup\else \ifx\nexttoken\begingroup\else
   \ifx\nexttoken \egroup\else \ifx\nexttoken  \endgroup\else
   \ifx\nexttoken  \/\else \ifx\nexttoken   /\else \ifx\nexttoken   
   ~\else
   \ifx\nexttoken  \ \else \ifx\nexttoken \blankspace\else \ifx\nexttoken 
\space\else
   \ifx\nexttoken   .\else \ifx\nexttoken   ,\else
   \ifx\nexttoken   !\else \ifx\nexttoken   ?\else
   \ifx\nexttoken   :\else \ifx\nexttoken   ;\else
   \ifx\nexttoken   '\else \ifx\nexttoken   \else
   \ifx\nexttoken   )\else
   \ifx\nexttoken   -\else \ifx\nexttoken   |\else
%  \ifx\nexttoken  \%\else \ifx\nexttoken  \\else
 \space
%  \fi\fi
   \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}

\protect

\setupsorting[logo][next=\autoinsertnextspace]

\logo[TEX]{\TeX}

bla bla \TEX test test
bla bla \TEX (test) test
bla bla (\TEX) test

\stoptext

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Implementing xspace

2006-02-08 Thread Aditya Mahajan
--- On Feb 9, Hans Hagen wrote ---

 Aditya Mahajan wrote:
 Hi,

 There was some discussion about this in the past (2002)

 http://archive.contextgarden.net/message/20020117.124319.5d0f9b9e.en.html

 which Hans concluded by saying

 quote
 it should hook into processsynonym but in such a way that it does
 not break other code because synonyms are used (here) for more purposes
 then you want to know.
 /quote

 i've forgotten what thi sis supposed to do (what its' used for)


It basically saves the pain of typing \ or {} after all commands. 
Suppose I have
\abbreviation {ABC} {Some abbreviation}

As we know \ABC is an abbreviation.

Notice that there is no \ or {} after \ABC. Normally tex will gobble 
this space. With xspace one can use something like

\def\ABC{Some abbreviation\xspace}

and it will intelligently decide whether to keep a space or not. 
Adding this feature will not effect existing documents.

More details and deinition from xspace.dtx

% |\xspace| should be used at the end of a macro designed to be used
% mainly in text. It adds a space unless the macro is followed by
% certain punctuation characters.

% After |\newcommand{\gb}{Great Britain\xspace}|\\
% \newcommand{\gb}{Great Britain\xspace}
% |\gb is a very nice place to live.|\\
% \gb is a very nice place to live.\\
% |\gb, a small island off the coast of France.|\\
% \gb, a small island off the coast of France.
%
% |\xspace| saves the user from having to type \verb*+\ + or |{}| after
% most occurrences of a macro name in text. However if either of these
% constructions follows |\xspace|, a space is not added by |\xspace|.
% This means that it is safe to add |\xspace| to the end of an existing
% macro without making too many changes in your document.
%
% Sometimes |\xspace| may make the wrong decision, and add a space when
% it is not required. In these cases follow the macro with |{}|, as this
% has the effect of suppressing the space.
%
% Note that this package must be loaded \emph{after} any language (or
% other) packages that make punctuation characters `active'.

[EMAIL PROTECTED]
   [EMAIL PROTECTED]@token\bgroup\else
   [EMAIL PROTECTED]@token\egroup\else
   [EMAIL PROTECTED]@token\/\else
   [EMAIL PROTECTED]@token\ \else
   [EMAIL PROTECTED]@token~\else
   [EMAIL PROTECTED]@token.\else
   [EMAIL PROTECTED]@token!\else
   [EMAIL PROTECTED]@token,\else
   [EMAIL PROTECTED]@token:\else
   [EMAIL PROTECTED]@token;\else
   [EMAIL PROTECTED]@token?\else
   [EMAIL PROTECTED]@token/\else
   [EMAIL PROTECTED]@token'\else
   [EMAIL PROTECTED]@token)\else
   [EMAIL PROTECTED]@token-\else
   [EMAIL PROTECTED]@[EMAIL PROTECTED]
   [EMAIL PROTECTED]@token\space\else
   [EMAIL PROTECTED]@[EMAIL PROTECTED]
\space
  \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}


-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Units -- a few things

2006-01-20 Thread Ville Voipio
There seems to be a small glitch in m-units.tex. The unit \Bit typesets 
Bit. This is wrong, as bits are always in lowercase first letter:


  a single bit: bit
  a byte: B

It is also possible to use b (for bit) and Byte (for B). However, bits 
are always small and Bytes large. The best practice seems to be to spell 
bits out (bit) and use abbreviation for Bytes (B). This minimizes confusion.


I fixed this problem in my ConTeXt installation by tweaking rows 664 and 
666.


For more discussion, see:

  http://en.wikipedia.org/wiki/Byte

It might be worth it to implement the octet (o), as well. It is a good 
unit (more precise and descriptive than byte) but the abbreviation is 
horrible.


---

Another related thing is whether ConTeXt should implement IEC 60027-2 
binary prefices (Ki, Mi, Gi, Ti). More info on this:


  http://www.iec.ch/zone/si/si_bytes.htm

---

Well, then to a more practical thing... This is a very trivial question, 
but still. When writing a number and the unit, it would be nice to have 
automatic formatting. What I mean is that when I have a million two 
hundred thousand kilograms, I would like it to be typeset:


 1(small space)200(small space)000(small space)kg

Everything on a single row despite where it is. Now I write:

 1\,200\,000\,\Kilo\Gram

It would be more legible, if I could just write:

 \unit{120}{\Kilo\Gram}

Taking care of all the fancy small spaces should be computer's problem. 
not mine... (Or does this mechanism already exist?)


- Ville
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context 2006.01.09 released

2006-01-09 Thread VnPenguin
On 1/9/06, Hans Hagen [EMAIL PROTECTED] wrote:
 
 Just update to this release, and ... ConTeXt stops work with my files :(
 
 
 ah ... sorry ... i hate this font name mess

 in type-akb.tex search for:

 \starttypescript [adobekb,berry] [t5]

 and comment this typescript (see attached file)

 if that works ok, i'll make a new zip

 Now this is a persistent problem

 - some distributions only ship with the u* font files
 - others with the p* font files
 - it even changes now and then
 - and it was suggested that nowadays p* would work everywhere
 - which it doesn't
 - because vietnamese does not have p* files
 - so we need to use u* ones
 - till someone tells me to use p* ones
 - which, of course, then will not be available everywhere
 - and so on

 so, now it looks like we end up with a mixture of p* for non vietnamese
 and u* for vietnamese

 (an option is to use the cont-fnt zip file and forget about
 adobekb/berry naming but i didn't test it with vietnamese [yet])

 Hans


I updated the file, rebuild data (texexec --make --all . like wiki page)
But that does not help, there are now another errors:

...
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-map.tex)
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-spe.tex)
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-akb.tex))kpathsea:
Running mktextfm t5-uplr8a
/work/apps/teTeX/share/texmf/web2c/mktexnam: Could not map typeface
abbreviation 5- for t5-uplr8a.
/work/apps/teTeX/share/texmf/web2c/mktexnam: Need to update
/work/apps/teTeX/share/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfive; mag:=1;
nonstopmode; input t5-uplr8a
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

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

Please type another input file name
! Emergency stop.
* ...jfive; mag:=1; nonstopmode; input t5-uplr8a

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

! Font \*palatino12ptrmtf*:=t5-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 [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.176   \setupbodyfont[palatino,12pt]


FYI,

Cheers,
--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Chinese

2005-12-09 Thread Richard Gabriel




Hi guys,I can confirm that the UTF-8 input doesn't work for me too. If I convert the file info GBK (CP936), it works fine [I suggest to use the 'iconv' utility for the conversion :-)].I tested the UTF-8 output the followin ways:1) \enableregime[utf]\usemodule[chinese]Processing a file with this setup ends with an error:--- cut ---kpathsea: Running mktextfm gbsong80mktextfm: Could not map typeface abbreviation bs for gbsong80.mktextfm: Need to update c:/WinApp/TeXLive/texmf-dist/fonts/map/fontname/special.map?mktextfm: Running mf "\mode:=ljfour; mag:=1; nonstopmode; input gbsong80"This is METAFONT, Version 2.71828 (Web2c 7.5.5)kpathsea: Running mktexmf gbsong80mktexmf: empty or non-existent rootfile!! I can't find file `gbsong80'.* ...ljfour; mag:=1; nonstopmode; input gbsong80Please type another input file name! Emergency stop.* ...ljfour; mag:=1; nonstopmode; input gbsong80Transcript written on mfput.log.mktextfm: warning: can't open log file gbsong80.log.mktextfm: `mf "\mode:=ljfour; mag:=1; nonstopmode; input gbsong80"' failed.kpathsea: Appending font creation commands to missfont.log.! Font \unicodefont=gbsong80 at 24.88806pt not loadable: Metric (TFM) file notfound.--- cut ---
I cannot figure out why it wants "gbsong80" when the encoding vector set starts from the 0x81 offset. Maybe some error in the UTF mapping?2)\usemodule[chinese]
\enableregime[utf]
No error, but not output!The PDF contains only black squares instead of glyphs.The log shows that no fonts were used at all!-RichardFrom: Xiao Jianfeng [mailto:[EMAIL PROTECTED]To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED]Sent: Fri, 09 Dec 2005 15:24:22 +0100Subject: Re: [NTG-context] ChineseTobias Burnus wrote: Hi, Xiao Jianfeng wrote: What would be needed to get UTF-8 input running with Chinese? If you use vim to edit your tex file, maybe you can try "set  encoding=utf8", then save and compile. As far as I know, GBK is compatible with unicode. No, that does not work - that is the reason I started this mail thread. You get the wrong characters and you may get some TeX errors. (And that is the reason Lutz wrote a UTF-8 to GBK converted.) Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-contextWhat is the value of your environment variables about LC_CTYPE and LANG ?___ntg-context mailing listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Iwona font

2005-11-25 Thread David Arnold

All,


Found this link. Helpful reading.

http://www.math.uiuc.edu/~hartke/latex/survey/survey.html

I downloaded:

ftp://tug.ctan.org/pub/tex-archive/fonts/iwona.zip

Unzipped and put only the afm's and the pfb's in ~/tmp/iwona. Ran:

iwona $ sudo texfont --ve=public --co=iwona --ma --in

That seemed to go well and I compiled:

iwona $ texexec --pdf texnansi-public-iwona.tex

That went well. Got a nice pdf. Acrobat Professional reports that I  
have a slew of Iwona fonts in the document. Now, this little test file:


iwona $ cat junk.tex
%output=pdf

\definetypeface[iwona][ss][sans][iwona][default][encoding=texnansi]
\definetypeface[iwona][mm][math][iwona][default][encoding=texnansi]

\setupbodyfont[iwona][texnansi]

\starttext

\input knuth

\stoptext


Stops with:

(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) 
kpathsea: Running mktextfm rm-iwonar
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface  
abbreviation -i for rm-iwonar.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update /usr/ 
local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input rm-iwonar

This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf rm-iwonar
! I can't find file `rm-iwonar'.
* ...jfour; mag:=1; nonstopmode; input rm-iwonar

Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input rm-iwonar

Transcript written on mfput.log.
grep: rm-iwonar.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input rm-iwonar' failed to make rm-iwonar.tfm.

kpathsea: Appending font creation commands to missfont.log.

! Font \*iwona7ptmmmr*:=rm-iwonar at 7.0pt not loadable: Metric (TFM)  
file not

found.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\dodosetmathfamilyB ...amily \fontsize \endcsname
  \else \ifcsname  
\fontclass...


\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \fontbody #3 
\dodosetm...

inserted text ...ptscriptface \c!mr \mrfallback
  \dosetmathfamily  
\mifam \t...


\synchronizemath ...athfonts \the \mathstrategies
  \fi
...
l.6 \setupbodyfont[iwona]
 [texnansi]
?

I wish I could get a better handle on what is going on. I feel like I  
am spinning my wheels. There's gotta be a typescript file for this  
iwona somewhere in the distribution. Can someone tell me where it is?


David


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Iwona font

2005-11-25 Thread David Arnold
My best guess is the zip file didn't contain all the iwona fonts  
needed. Am I correct?


On Nov 25, 2005, at 7:35 PM, David Arnold wrote:


All,


Found this link. Helpful reading.

http://www.math.uiuc.edu/~hartke/latex/survey/survey.html

I downloaded:

ftp://tug.ctan.org/pub/tex-archive/fonts/iwona.zip

Unzipped and put only the afm's and the pfb's in ~/tmp/iwona. Ran:

iwona $ sudo texfont --ve=public --co=iwona --ma --in

That seemed to go well and I compiled:

iwona $ texexec --pdf texnansi-public-iwona.tex

That went well. Got a nice pdf. Acrobat Professional reports that I  
have a slew of Iwona fonts in the document. Now, this little test  
file:


iwona $ cat junk.tex
%output=pdf

\definetypeface[iwona][ss][sans][iwona][default][encoding=texnansi]
\definetypeface[iwona][mm][math][iwona][default][encoding=texnansi]

\setupbodyfont[iwona][texnansi]

\starttext

\input knuth

\stoptext


Stops with:

(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) 
kpathsea: Running mktextfm rm-iwonar
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface  
abbreviation -i for rm-iwonar.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update /usr/ 
local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input rm-iwonar

This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf rm-iwonar
! I can't find file `rm-iwonar'.
* ...jfour; mag:=1; nonstopmode; input rm-iwonar

Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input rm-iwonar

Transcript written on mfput.log.
grep: rm-iwonar.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input rm-iwonar' failed to make rm-iwonar.tfm.

kpathsea: Appending font creation commands to missfont.log.

! Font \*iwona7ptmmmr*:=rm-iwonar at 7.0pt not loadable: Metric  
(TFM) file not

found.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let  
\localrelativefontsiz...


\dodosetmathfamilyB ...amily \fontsize \endcsname
  \else \ifcsname  
\fontclass...


\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \fontbody #3 
\dodosetm...

inserted text ...ptscriptface \c!mr \mrfallback
  \dosetmathfamily  
\mifam \t...


\synchronizemath ...athfonts \the \mathstrategies
  \fi
...
l.6 \setupbodyfont[iwona]
 [texnansi]
?

I wish I could get a better handle on what is going on. I feel like  
I am spinning my wheels. There's gotta be a typescript file for  
this iwona somewhere in the distribution. Can someone tell me where  
it is?


David


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




David


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] mfonts.tex from manuals

2005-11-24 Thread David Arnold

Adam,

Making these changes on my system:

% output=pdftex
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa



\preloadtypescripts   % I wanted to speed things up a bit!
\startnotmode[atpragma]
\startMPenvironment[global]
  % Current bug in distribution
\definefontsynonym [LMSans-Italic] [LMSans-Oblique]
\definefontsynonym [LMSans-BoldItalic] [LMSans-BoldOblique]
  % lucida gets called all over the place
\definetypescriptsynonym [lucida] [palatino]
\usetypescript[adobekb][8r,ec]
\stopMPenvironment
\stopnotmode

\usetypescriptfile [type-buy]
\usetypescriptfile [typeface]

\environment ../allkind/mcommon.tex



% we assume that there are fontfiles demofont.afm/pfb
%
% runtools mfonts.rb

\loadmapfile[texnansi-test-test.map]

\usetypescript[map][modern][ec]
\usetypescript[map][modern][texnansi]
\usetypescript[map][modern][qx]
\usetypescript[map][modern][t5]

% title page

\startmode[atpragma]

  \startMPenvironment[global]
\usetypescript[casual,map][informal][default]
\definefontsynonym[TitlePage-Bold][Informal-Bold]
  \stopMPenvironment

\stopmode

\startnotmode[atpragma]

  \startMPenvironment[global]
%\usetypescript[handwriting,map][lucida][texnansi]
%\definefontsynonym[TitlePage-Bold][LucidaHandwriting-Italic]
usetypescript[calligraphy,map][chancery][texnansi]
definefontsynonym[TitlePage-Bold][Chancery]
%usetypescript[sans,map][iwona][texnansi]
%definefontsynonym[TitlePage-Bold][Iwona-BoldItalic]
  \stopMPenvironment

\stopnotmode


Causes my system to halt with:

This is MetaPost, Version 0.901 (Web2C 7.5.5)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
(mfonts-mpgraph.mpkpathsea: Running mktextfm TitlePage-Bold.tfm
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map source  
abbreviation T for TitlePage-Bold.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update /usr/ 
local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;  
nonstopmode; input TitlePage-Bold

This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf TitlePage-Bold
! I can't find file `TitlePage-Bold'.
* ...; mag:=1; nonstopmode; input TitlePage-Bold

Please type another input file name
! Emergency stop.
* ...; mag:=1; nonstopmode; input TitlePage-Bold

Transcript written on mfput.log.
grep: TitlePage-Bold.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input TitlePage-Bold' failed to make TitlePage-Bold.tfm.

kpathsea: Appending font creation commands to missfont.log.

! Font TitlePage-Bold not usable: TFM file not found.
forever ...=substring(n-1,n)of.s.infont.f.scaled
  5;p:=p.shifted- 
(center.p)s...

l.145 endfor
 ;
?


On Nov 23, 2005, at 7:14 AM, Adam Lindsay wrote:



I tried to run texfont demofont.dat, but failed.
First off, Hans, am I missing a runtools.rb? I can't find it.

Secondly, I think the current demofont.dat has a bug because it  
triggers
an obscure texfont filtering feature. I changed the comments at the  
head

of the file to work around it:

# we assume that demofont.afm and demofont.pfb are present
# run with:
# texfont demofont.dat

# test test

--ve=test --co=test --ma --indemofont
--ve=test --co=test --ma --in --sla=.167 demofont
--ve=test --co=test --ma --in --ext=1.50 demofont
--ve=test --co=test --ma --in --cap=.750 demofont
--ve=test --co=test --ma --in --nol  demofont


...and by running:
 texfont --ve=test --co=test --ma --in demofont.dat
...I do indeed get the modified Iwona fonts.

more below...

Taco Hoekwater said this at Wed, 23 Nov 2005 08:27:14 +0100:



  \usetypescript[adobekb][8r,ec]
  \usetypescriptfile [type-buy]
  \usetypescriptfile [typeface]
  \environment ../allkind/mcommon.tex

That fixed the problem with Palatino (It now says I have
missing LucidaBright (texnansi-lbXXX) fonts, but I believe
that is correct because it is from an example, and at least
one hurdle is taken).



Okay, another couple hacks to cross further hurdles:

The top of my mfonts.tex now looks like:

\preloadtypescripts   % I wanted to speed things up a bit!
\startnotmode[atpragma]
\startMPenvironment[global]
  % Current bug in distribution
 \definefontsynonym [LMSans-Italic] [LMSans-Oblique]
 \definefontsynonym [LMSans-BoldItalic] [LMSans-BoldOblique]
  % lucida gets called all over the place
 \definetypescriptsynonym [lucida] [palatino]
 \usetypescript[adobekb][8r,ec]
\stopMPenvironment
\stopnotmode

\usetypescriptfile [type-buy]
\usetypescriptfile [typeface]

\environment ../allkind/mcommon.tex

... That much ought to fix the main body (though with the synonyms and
substitutions, the fonts it mentions in the text are not always  
going to

match the actual fonts used now!)

Go down a little bit, and you'll

Re: [NTG-context] bug with \setupsynonyms

2005-04-18 Thread Eckhart Guthöhrlein
On Wed, 13 Apr 2005 at 18:44:35+0100, Adam Lindsay wrote:
 Eckhart Guthöhrlein said this at Wed, 13 Apr 2005 17:08:29 +0200:
 
 formatting synonyms with \setupsynonyms does not work when these are
 part of e.g. section headers. Example:
 
 I think this is not as it should be.
 
 It might not be as you expected, but it is as it should be. How about this?
 
 \definealternativestyle[mybold] [\emphbf][\emphbf]
 \definealternativestyle[myslant][\emphsl][\emphsl]
 \abbreviation{XYZ}{whatever}
 \setupabbreviations[textstyle=mybold,synonymstyle=myslant]
   This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
   \section{This ist not: \XYZ/\infull{XYZ}}
 
 
 bold is defined this way, meaning that it avoids applying bold in headings:
  \definealternativestyle [bold] [\bf]  []

Ah, I see. That does it. Thanks for the hint,

Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bug with \setupsynonyms

2005-04-13 Thread Eckhart Guthöhrlein
Hi,

formatting synonyms with \setupsynonyms does not work when these are
part of e.g. section headers. Example:

\abbreviation{XYZ}{whatever}
\setupabbreviations[textstyle=bold,synonymstyle=slanted]
\starttext
This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
\section{This ist not: \XYZ/\infull{XYZ}}
\stoptext

I think this is not as it should be.

Greetings,
-- 
Eckhart
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bug with \setupsynonyms

2005-04-13 Thread Adam Lindsay
Eckhart Guthöhrlein said this at Wed, 13 Apr 2005 17:08:29 +0200:

formatting synonyms with \setupsynonyms does not work when these are
part of e.g. section headers. Example:

I think this is not as it should be.

It might not be as you expected, but it is as it should be. How about this?

\definealternativestyle[mybold] [\emphbf][\emphbf]
\definealternativestyle[myslant][\emphsl][\emphsl]
\abbreviation{XYZ}{whatever}
\setupabbreviations[textstyle=mybold,synonymstyle=myslant]
This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
\section{This ist not: \XYZ/\infull{XYZ}}


bold is defined this way, meaning that it avoids applying bold in headings:
 \definealternativestyle [bold] [\bf]  []
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font encoding: \uppercased

2005-04-08 Thread David Wooten
Greetings Vit, all,
Thanks for the response.
I'm finally getting around to looking into this again. My first 
attempts haven't yielded any good results. Could you (or someone) say a 
little more (newbie-explicit)? I assume that the enco-*.tex files 
you're referring to are in .../context/base/, where there are a series 
of 30 or so such files. It isn't clear to me which one to use. Does the 
encoding refer to font encoding? in which case there is no 
enco-8r.tex or to something else?  enco-pdf.tex for example.

Thanks very much,
David Wooten
On Mar 26, 2005, at 11:35 AM, Vit Zyka wrote:
David Wooten wrote:
Greetings all,
Taco mentioned the command \uppercased{to get all uppercase letters}, 
and it works just fineuntil I try to use my self-installed fonts. 
The quirks come up with diacritics, and this leads me to believe that 
there is an [encoding] or [regime]/ /issue here, as I had similar 
issues
Yes, \uccode and \lccode are encoding-dependent and are defined in 
enco-*.tex files. So, look into the encoding file you are using and 
add the their definition between
  \startmapping[st1]
\definecasemap 152 184 152
  \stopmapping
with meaning: character 152 has lower counterpart 184 and upper one 
152 (152 is uppercase letter).

(or for continuous sequence there is abbreviation
  \definecasemaps 160 to 188 lc +32 uc 0
 with meaning:
  \definecasemap 160 182 160
  \definecasemap 161 183 161
  ...
  \definecasemap 188 220 188
)
vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] bibmodule: two small questions

2005-03-30 Thread Stefano
Thomas,

I was able to set the spacing between items in the publications list by
using

\placepublications[before={\setupwhitespace[5pt]}]

Using \setupwhitespace before \placepublications did not work for me.


Stefano

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Thomas A.Schmitz
 Sent: Tuesday, March 29, 2005 15:16
 To: mailing list for ConTeXt users
 Subject: Re: [NTG-context] bibmodule: two small questions


 Thanks Taco!

 Actually, the \switchtobodyfont works even with \completepublications.

 But the spacing seems to have a problem even in newer versions --I use
 the latest and greatest:

 TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005

 texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
 context : ver: 2005.03.16
 cont-en : ver: 2005.03.16  fmt: 2005.3.23  mes: english

 Nevertheless, the space between items in the publicationlist is
 slightly smaller than between normal lines. You can observe it best if
 you set the interlinespace to something like 5ex.

 I tried something like

 \setuppublicationlist
  [after={\vskip2pt}]

 but this is just a guesstimate and will have to be adapted when I
 change the bodyfont or the interlinespace.

 On an unrelated note: A couple of months ago, somebody posted about
 problems with cross-references. You supplied a workaround then:

 \setbox0\vbox{\placepublications}
 \completepublications

 This still works, but any chance that the bug will be fixed?

 But most importantly: thanks for providing this wonderful tool!

 Best

 Thomas

 On Mar 29, 2005, at 6:05 PM, Taco Hoekwater wrote:

 
  Hi Thomas,
 
 
  Thomas A.Schmitz wrote:
  I've been playing with Taco's bibmodule, and I'm absolutely thrilled
  how easy it is to customize things. Once you've groked how things
  work, you can simply copy code from bibl-apa.tex and modify, it's
  just wonderful (OT: what does apa stand for in this abbreviation?
  For me, it's the American Philological Association, but I guess
  that's not meant here.)
 
  American Psychological Association, http://www.apastyle.org
 
  1. Is  there a general option to have the publicationlist typeset in
  a smaller font size? The default seems to be the general bodyfont,
  but I couldn't see where this could be modified.
 
  The easiest solution is not to use \completepublications, but
  \placepublications, something like this (untested):
 
\section{References}
\switchtobodyfont[8pt]
\placepublications
 
 
  2. The space between the items does not follow the normal
  interlinespace, but is fixed to a somewhat smaller value, which looks
  a bit bizarre. Is there any way to modify this behavior.
 
  I believe this may depend a bit on your ConTeXt  bib module
  version(s).
 
  The current one looks fine (I think), but I know for a fact that there
  have been some problems with older versions, and perhaps they have
  not been resolved properly. See the options to \setuplist in texshow,
  if you want to tweak the spacing between items, you can use all those
  options inside a \setuppublicationlist command.
 
  Greetings, Taco
  ___
  ntg-context mailing list
  ntg-context@ntg.nl
  http://www.ntg.nl/mailman/listinfo/ntg-context
 

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bibmodule: two small questions

2005-03-30 Thread Thomas A . Schmitz
Stefano,
thanks for the reply. This command has a very weird behavior: when I 
set it to

\placepublications[before={\setupwhitespace[0pt]}]
I still get too little whitespace between items. When I set it to any 
value, like

\placepublications[before={\setupwhitespace[.1pt]}]
I get a blank of approx. half a line. But I can't achieve what I want: 
exactly the same interlinespace within items and between items. So it 
must be something hidden somewhere in the macros.

All best
Thomas
On Mar 30, 2005, at 4:18 PM, Stefano wrote:
Thomas,
I was able to set the spacing between items in the publications list by
using
\placepublications[before={\setupwhitespace[5pt]}]
Using \setupwhitespace before \placepublications did not work for me.
Stefano
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Thomas A.Schmitz
Sent: Tuesday, March 29, 2005 15:16
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] bibmodule: two small questions
Thanks Taco!
Actually, the \switchtobodyfont works even with \completepublications.
But the spacing seems to have a problem even in newer versions --I use
the latest and greatest:
TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 
1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 
1992-2004
tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
context : ver: 2005.03.16
cont-en : ver: 2005.03.16  fmt: 2005.3.23  mes: 
english

Nevertheless, the space between items in the publicationlist is
slightly smaller than between normal lines. You can observe it best if
you set the interlinespace to something like 5ex.
I tried something like
\setuppublicationlist
 [after={\vskip2pt}]
but this is just a guesstimate and will have to be adapted when I
change the bodyfont or the interlinespace.
On an unrelated note: A couple of months ago, somebody posted about
problems with cross-references. You supplied a workaround then:
\setbox0\vbox{\placepublications}
\completepublications
This still works, but any chance that the bug will be fixed?
But most importantly: thanks for providing this wonderful tool!
Best
Thomas
On Mar 29, 2005, at 6:05 PM, Taco Hoekwater wrote:
Hi Thomas,
Thomas A.Schmitz wrote:
I've been playing with Taco's bibmodule, and I'm absolutely thrilled
how easy it is to customize things. Once you've groked how things
work, you can simply copy code from bibl-apa.tex and modify, it's
just wonderful (OT: what does apa stand for in this abbreviation?
For me, it's the American Philological Association, but I guess
that's not meant here.)
American Psychological Association, http://www.apastyle.org
1. Is  there a general option to have the publicationlist typeset in
a smaller font size? The default seems to be the general bodyfont,
but I couldn't see where this could be modified.
The easiest solution is not to use \completepublications, but
\placepublications, something like this (untested):
  \section{References}
  \switchtobodyfont[8pt]
  \placepublications

2. The space between the items does not follow the normal
interlinespace, but is fixed to a somewhat smaller value, which 
looks
a bit bizarre. Is there any way to modify this behavior.
I believe this may depend a bit on your ConTeXt  bib module
version(s).
The current one looks fine (I think), but I know for a fact that 
there
have been some problems with older versions, and perhaps they have
not been resolved properly. See the options to \setuplist in texshow,
if you want to tweak the spacing between items, you can use all those
options inside a \setuppublicationlist command.

Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bibmodule: two small questions

2005-03-29 Thread Thomas A . Schmitz
I've been playing with Taco's bibmodule, and I'm absolutely thrilled 
how easy it is to customize things. Once you've groked how things work, 
you can simply copy code from bibl-apa.tex and modify, it's just 
wonderful (OT: what does apa stand for in this abbreviation? For me, 
it's the American Philological Association, but I guess that's not 
meant here.) I even managed to typeset the numbers of my bibliography 
flushright in a \hbox and was very proud of myself.

Two small questions remain:
1. Is  there a general option to have the publicationlist typeset in a 
smaller font size? The default seems to be the general bodyfont, but I 
couldn't see where this could be modified.

2. The space between the items does not follow the normal 
interlinespace, but is fixed to a somewhat smaller value, which looks a 
bit bizarre. Is there any way to modify this behavior.

But these are just cosmetic flaws, overall, the module works 
wonderfully. Very impressive!

Best
Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bibmodule: two small questions

2005-03-29 Thread Taco Hoekwater
Hi Thomas,
Thomas A.Schmitz wrote:
I've been playing with Taco's bibmodule, and I'm absolutely thrilled how 
easy it is to customize things. Once you've groked how things work, you 
can simply copy code from bibl-apa.tex and modify, it's just wonderful 
(OT: what does apa stand for in this abbreviation? For me, it's the 
American Philological Association, but I guess that's not meant here.) 
American Psychological Association, http://www.apastyle.org
1. Is  there a general option to have the publicationlist typeset in a 
smaller font size? The default seems to be the general bodyfont, but I 
couldn't see where this could be modified.
The easiest solution is not to use \completepublications, but
\placepublications, something like this (untested):
  \section{References}
  \switchtobodyfont[8pt]
  \placepublications

2. The space between the items does not follow the normal 
interlinespace, but is fixed to a somewhat smaller value, which looks a 
bit bizarre. Is there any way to modify this behavior.
I believe this may depend a bit on your ConTeXt  bib module version(s).
The current one looks fine (I think), but I know for a fact that there
have been some problems with older versions, and perhaps they have
not been resolved properly. See the options to \setuplist in texshow,
if you want to tweak the spacing between items, you can use all those
options inside a \setuppublicationlist command.
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bibmodule: two small questions

2005-03-29 Thread Thomas A . Schmitz
Thanks Taco!
Actually, the \switchtobodyfont works even with \completepublications.
But the spacing seems to have a problem even in newer versions --I use 
the latest and greatest:

TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
   texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
   context : ver: 2005.03.16
   cont-en : ver: 2005.03.16  fmt: 2005.3.23  mes: english
Nevertheless, the space between items in the publicationlist is 
slightly smaller than between normal lines. You can observe it best if 
you set the interlinespace to something like 5ex.

I tried something like
\setuppublicationlist
[after={\vskip2pt}]
but this is just a guesstimate and will have to be adapted when I 
change the bodyfont or the interlinespace.

On an unrelated note: A couple of months ago, somebody posted about 
problems with cross-references. You supplied a workaround then:

\setbox0\vbox{\placepublications}
\completepublications
This still works, but any chance that the bug will be fixed?
But most importantly: thanks for providing this wonderful tool!
Best
Thomas
On Mar 29, 2005, at 6:05 PM, Taco Hoekwater wrote:
Hi Thomas,
Thomas A.Schmitz wrote:
I've been playing with Taco's bibmodule, and I'm absolutely thrilled 
how easy it is to customize things. Once you've groked how things 
work, you can simply copy code from bibl-apa.tex and modify, it's 
just wonderful (OT: what does apa stand for in this abbreviation? 
For me, it's the American Philological Association, but I guess 
that's not meant here.)
American Psychological Association, http://www.apastyle.org
1. Is  there a general option to have the publicationlist typeset in 
a smaller font size? The default seems to be the general bodyfont, 
but I couldn't see where this could be modified.
The easiest solution is not to use \completepublications, but
\placepublications, something like this (untested):
  \section{References}
  \switchtobodyfont[8pt]
  \placepublications

2. The space between the items does not follow the normal 
interlinespace, but is fixed to a somewhat smaller value, which looks 
a bit bizarre. Is there any way to modify this behavior.
I believe this may depend a bit on your ConTeXt  bib module 
version(s).

The current one looks fine (I think), but I know for a fact that there
have been some problems with older versions, and perhaps they have
not been resolved properly. See the options to \setuplist in texshow,
if you want to tweak the spacing between items, you can use all those
options inside a \setuppublicationlist command.
Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font encoding: \uppercased

2005-03-26 Thread Vit Zyka
David Wooten wrote:
Greetings all,
Taco mentioned the command \uppercased{to get all uppercase letters}, 
and it works just fineuntil I try to use my self-installed fonts. The 
quirks come up with diacritics, and this leads me to believe that there 
is an [encoding] or [regime]/ /issue here, as I had similar issues 
Yes, \uccode and \lccode are encoding-dependent and are defined in 
enco-*.tex files. So, look into the encoding file you are using and add 
the their definition between
  \startmapping[st1]
\definecasemap 152 184 152
  \stopmapping
with meaning: character 152 has lower counterpart 184 and upper one 152 
(152 is uppercase letter).

(or for continuous sequence there is abbreviation
  \definecasemaps 160 to 188 lc +32 uc 0
 with meaning:
  \definecasemap 160 182 160
  \definecasemap 161 183 161
  ...
  \definecasemap 188 220 188
)
vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to use Times Roman font

2005-03-20 Thread Xue Ruini
Hi Matthias!

Unfortunately, error again:
---

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

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

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./a.tex{/usr/local/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2005.3.19  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname 
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/usr/share/texmf/tex/context/base/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-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 : a.top loaded
(./a.top)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
typescript : [adobekb] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-pre.tex
typescript : [serif] [times] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript : [sans] [helvetica] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript : [mono] [courier] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript : [serif,sans,mono] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
typescript : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/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
) (/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm 
ec-utmr8a
/usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for 
ec-utmr8a.
/usr/share/texmf/web2c/mktexnam: Need to update 
/usr/share/texmf/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-utmr8a
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

kpathsea: Running mktexmf ec-utmr8a
! I can't find file `ec-utmr8a'.
* ...jfour; mag:=1; nonstopmode; input ec-utmr8a
  
Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input ec

Re: [NTG-context] how to use Times Roman font

2005-03-20 Thread Matthias Weber
 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
) (/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running 
mktextfm ec-utmr8a
/usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation 
c- for ec-utmr8a.
/usr/share/texmf/web2c/mktexnam: Need to update 
/usr/share/texmf/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
nonstopmode; input ec-utmr8a
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

kpathsea: Running mktexmf ec-utmr8a
! I can't find file `ec-utmr8a'.
* ...jfour; mag:=1; nonstopmode; input ec-utmr8a
Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input ec-utmr8a
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-utmr8a' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \*12ptrmtf*=ec-utmr8a at 12.0pt not loadable: Metric (TFM) file 
not foun
d.
to be read again
   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let 
\localrelativefontsiz...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
  \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
  \fi \iftryingfont 
\fontstr...

\synchronizefont ...strategy \the \fontstrategies
  \relax \fi 
\ifskipfontchar...
argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle 
{\fontstyle }\if...
..
l.2 \setupbodyfont[pos]

?








O Sunday, 20 Mar 2005, Matthias Weber wrote:
The following should work with the stable ConTeXt from January:
\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]
\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]
\starttext
\input knuth
\bigskip
\stoptext
If not, please post the error message together with version 
information
of your system.

Matthias
On Mar 18, 2005, at 10:41 PM, Xue Ruini wrote:
Hello everyone,
  I am a newbie to ConTeXt. I have no idea how to use the Times Roman
font
  in ConTeXt. (in Latex, just \usepackage{times})
  I found something like this:
(http://home.salamander.com/~wmcclain/context-help.html)
  % Times font
  \usetypescript[berry][ec] % or [8r]
  \setupbodyfont[pos]
  \starttext
  hellow, world
  \stoptext
  but an error occours:
-
kpathsea: Running mktexmf utmr8t
! I can't find file `utmr8t'.
* ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Please type another input file name
! Emergency stop.
* ...:=ljfour; mag:=1; nonstopmode; input utmr8t
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input utmr8t' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtf*=utmr8t at 12.0pt not loadable: Metric (TFM) file
not found.
to be read again
  \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
 \let
\localrelativefontsiz...
\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
 \tryingfontfalse \fi
inserted text ...yle \fontalternative \fontsize
 \fi \iftryingfont
\fontstr...
\synchronizefont ...strategy \the \fontstrategies
 \relax \fi
\ifskipfontchar...
argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
  \edef \fontstyle
{\fontstyle }\if...
...
l.2 \setupbodyfont[pos]
?
--
I want to know what I can do with it. Thanks!
Leo


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Best Regards!
---
Xue Ruini
Institute of High Performance Computing
Tsinghua University
Beijing, 100084 China
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl

[NTG-context] Font definitions.

2004-11-02 Thread Dirar BOUGATEF
Hi all,
Am trying to define a synonym of my font at 24pt where am not sure at which 
size my font is installed -should be 12pt- (The ttf includes all the 
following sizes 12, 18, 24,36, 48, 60, .. but as i've done the install from 
the pfb + afm that comes with it, i don't really know what size i have now).

Anyway i have tryed the following which turns to an error:
\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\definefont[TitleFont][karat at 24pt]
\starttext
\TitleFont Hello
\stoptext
I have tryed to change the 24 to 12 and it does not work too.
This is the error message:
fonts  : [karat] [] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex
fonts  : [karat] [ss] [sans] [karat] / texnansi
fonts  : [map] [texnansi] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)
fonts  : [sans,map] [karat] [name,default,texnansi,special]
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex
fonts  : [sans] [fallback] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex))
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)
fonts  : [sans] [default] [size]
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)) (./Typescript2.tuo
systems: possible problem with 8 bit output
) (./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo)
(./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo) 
(./Typescript2.tuo)
(./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo) 
(./Typescript2.tuo)
(./Typescript2.tuo)
fonts  : using map file: texnansi-base.map
fonts  : using map file: texnansi-rubicon-karatmedium.map
fonts  : using map file: ec-public-lm.map
fonts  : using map file: original-base.map
systems: begin file Typescript2 at line 7
kpathsea: Running mktextfm karat
mktextfm: Could not map typeface abbreviation ar for karat.
mktextfm: Need to update c:/TeXLive/texmf/fontname/special.map?
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input karat
This is METAFONT, Version 2.71828 (Web2c 7.5.2)
(c:/TeXLive/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf karat
mktexmf: empty or non-existent rootfile!
! I can't find file `karat'.
* ...e:=ljfour; mag:=1; nonstopmode; input karat
Please type another input file name
! Emergency stop.
* ...e:=ljfour; mag:=1; nonstopmode; input karat
Transcript written on mfput.log.
mktextfm: warning: can't open log file karat.log.
mktextfm: `mf \mode:=ljfour; mag:=1; nonstopmode; input karat' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \**TitleFont**=karat at 24.0pt not loadable: Metric (TFM) file not 
found
.
to be read again
  \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
 \let 
\localrelativefontsiz...
l.8 \TitleFont
  Hello

Any idea ?
Thanks.
Dirar.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

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


[NTG-context] Re: Ancient Greek (bodyfont conflict?)

2004-09-02 Thread Steffen Wolfrum
,default,ec,special]
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/user/type-cbg.tex)
fonts  : [serif] [cb-greek] [size]
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/user/type-cbg.tex)))
(./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo)
(./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo)
(./TEST.tuo) (./TEST.tuo)kpathsea: Running mktextfm GBGreek-Regular-Medium-Normal
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map source abbreviation G for 
GBGreek-Regular-Medium-Normal.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update 
/usr/local/teTeX/share/texmf.tetex/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
GBGreek-Regular-Medium-Normal
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf GBGreek-Regular-Medium-Normal

! I can't find file `GBGreek-Regular-Medium-Normal'.
* ...opmode; input GBGreek-Regular-Medium-Normal
  
Please type another input file name
! Emergency stop.
* ...opmode; input GBGreek-Regular-Medium-Normal
  
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
GBGreek-Regular-Medium-Normal' failed.
kpathsea: Appending font creation commands to missfont.log.

fonts  : needs map file: ec-base.map
fonts  : needs map file: cbgreek.map
fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file TEST at line 16
! Font \*cbgreek10.2ptrmtf*:=GBGreek-Regular-Medium-Normal at 10.2pt not loadab
le: Metric (TFM) file not found.
to be read again 
   \let 
\xxdododefinefont ... {#4}\newfontidentifier \let 
  \localrelativefontsize \de...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname 
  \tryingfontfalse \fi 
inserted text ...yle \fontalternative \fontsize 
  \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies 
  \relax \fi \ifskipfontchar...
argument \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.23 \startgreek

? 
___
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
/context/base/type-akb.tex)
fonts  : [palatino] [mm] [math] [palatino]
fonts  : [map] [default] []
(/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-micropress-informal.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  : [math] [palatino] [name,default,default,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  : [math] [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)
(/usr/TeX/texmf/tex/context/base/type-akb.tex)
fonts  : [palatino] [tt] [mono] [computer-modern]
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)
(/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  : [mono] [computer-modern] [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  : [mono] [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)
(/usr/TeX/texmf/tex/context/base/type-akb.tex))
(/usr/TeX/texmf/tex/context/base/type-akb.tex)kpathsea: Running mktextfm 
ec-uplr8a
/usr/TeX/texmf/web2c/mktexnam: Could not map typeface abbreviation c- for 
ec-uplr8a.
/usr/TeX/texmf/web2c/mktexnam: Need to update 
/usr/TeX/texmf/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-uplr8a
This is METAFONT, Version 2.71828 (Web2C 7.5.2)
(/usr/TeX/texmf/web2c/cp8bit.tcx)

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

Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input ec-uplr8a

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
ec-uplr8a' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \*palatino12ptrmtf*:=ec-uplr8a at 12.0pt not loadable: Metric (TFM) 
file
 not found.
to be read again
   \let
\xxdododefinefont ... {#4}\newfontidentifier \let
  \localrelativefontsize 
\de...

\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 [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle 
}\if...
...
l.3 \setupbodyfont[palatino,12pt]

?

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


Re: [NTG-context] Re: when trying to setup Arial fonts...

2004-06-22 Thread jimarin
)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [postscript] [ss] [sans] [helvetica] / ec
fonts  : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [sans,map] [helvetica] [name,default,ec,special]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [sans] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [postscript] [tt] [mono] [courier] / ec
fonts  : [map] [ec] []
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [mono,map] [courier] [name,default,ec,special]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [mono] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex))
(/usr/share/texmf/tex/context/base/type-pre.tex
fonts  : [serif] [times] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [sans] [helvetica] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [mono] [courier] [name,ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [serif,sans,mono] [default] [size]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
fonts  : [all] [times,helvetica,courier] [ec]
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex))kpathsea: Running mktextfm ec-uhvr8a
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation  for ec-uhvr8a.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
ec-uhvr8a
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

kpathsea: Running mktexmf ec-uhvr8a
! I can't find file `ec-uhvr8a'.
* ...jfour; mag:=1; nonstopmode; input ec-uhvr8a
  
Please type another input file name
! Emergency stop.
* ...jfour; mag:=1; nonstopmode; input ec-uhvr8a
  
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-uhvr8a' 
failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \*12ptsstf*=ec-uhvr8a at 12.0pt not loadable: Metric (TFM) file not foun
d.
to be read again

<    1   2   3