RE: [NTG-context] Encoding and mapping glyphs from an expert font

2005-04-10 Thread Idris Samawi Hamid
Hi Thomas, Adam, and all...

= Original Message From Thomas A.Schmitz [EMAIL PROTECTED]
So there is no simple answer to your question. TeX knows to pick up
zerooldstyle instead of zero either
1. because you have a virtual font that says MAPFONT 1, so it knows it
will have to use a different pfb than for the rest, or
2. because the encoding file points to character zerooldstyle within
the ttf.

You are right. I just realized that I misunderstood what Hans meant by 
avoiding virtual fonts:

I was assuming all this time that the

\usetypescript[map][latin-modern-os][texnansi]

setup was mapping latin modern to cmmi10, etc. I looked at the log of a test 
file for latin-modern-os: no mention of cmmi10, etc. I looked at the pdf, 
listed all fonts, and boom, only one font, lmr12.pfb. I opened lmr12 in 
FontLab and, lo and behold, it contains a palette of old style numerals!

So what Hans meant was that there is no need for a virtual font to remap lmr 
itself, not that you could actually map the numerals of lmr to cmmibi without 
a virtual font. The OldStyle to MathItalic mappings are apparently useful for 
local switches like \os, but not for global setups.

Oh well, I certainly learned a lot about fonts and ConTeXt this past 
day-and-a-half, so I guess it was not a total waste of time. Now I guess I 
have to make some virtual fonts (sigh), so it's now on to Thomas' how-to.

Thnx to all
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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


[NTG-context] table won't break across page

2005-04-10 Thread Paul Tremblay
I am trying to create a table that breaks across pages. I used the
example from the wiki. The table repeated its headers like it should
have, but it did not break across a page; it stuck the table on one
page. 

Here is an excerpt from the file:

\placetable[here][tab:insurance]{Percentage of People without health
insurance in US}{\start
\starttablehead
\HL
\VL State \VL 3-year average(2001-2003) \VL 2-year average(2001-2002)  
\VL\SR
\stoptablehead
\starttabletail
\HL[4]
\stoptabletail
\starttables[|l w(30mm)|l|l|]
\VL Alabama   \VL 13.3 \VL 13.5
\VL\FR
\HL
\VL Alaska\VL 17.8 \VL 18.8
\VL\MR
\HL
...
\stoptables
\stop}

Thanks

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] can't get table to work

2005-04-10 Thread Paul Tremblay
On Sun, Apr 10, 2005 at 12:10:26AM -0400, Steve Peter wrote:
 
 The \DL has an explicit \DC in it, so the line should be:
 
 \DL \DL \DR
 

Thanks. That is what I guessed after I fiddled with the tables some
more.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] table won't break across page

2005-04-10 Thread Nikolai Weibull
Paul Tremblay, April 10:

 I am trying to create a table that breaks across pages. I used the
 example from the wiki. The table repeated its headers like it should
 have, but it did not break across a page; it stuck the table on one
 page. 

The example on the wiki is messed up.  I guess I could have fixed it,
but I haven't had time:

\splitfloat
  {\placetable{Percentage of People without}}
  {\starttablehead
   
   \stoptablehead
   \starttabletail
   
   \stoptabletail
   \starttables[]
   
   \stoptables}

Enjoy,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: good-looking tables in context

2005-04-10 Thread Patrick Gundlach
Paul Tremblay [EMAIL PROTECTED] writes:

 On Wed, Apr 06, 2005 at 02:19:18PM +0200, Eckhart Guthöhrlein wrote:
 - left/right trimming of horizontal lines
 

 What do you mean by left/right trimming? 

a line that goes to the border of the cell but not further, i.e. it
does not extend into the space between two cells. So two cells next to
each other would look like this:

 ||  | |
-||  |-|-
 ||  | |

one right trimmed and one left trimmed rule.

this would be the untrimmed variant

 ||  | |
-|-|-
 ||  | |

see the file booktabs.pdf (that describes a LaTeX package) on page
two. Compare the table two and three. Esp. the rule below Item. It
should not advance over the word Description.

 If I am correct, doesn't one use \DL to draw a line at the bottom of
 a cell, \DC to not draw a line, and \DL to end the row? This means
 one can draw lines just for the cells one wants in any manner.

See this table. The middle rule is too wide for me. It needs left and
right timming.


\starttable[]
\HL[2]
\NC test \NC test \NC test \NC \FR
\DC \DL[2] \DR
\NC test \NC test \NC test \NC \MR
\HL[2]
\stoptable


Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] confused on which table

2005-04-10 Thread Henning Hraban Ramm
Am 09.04.2005 um 09:33 schrieb Paul Tremblay:
Yet on looking at all of the different types of tables, I can't exactly
see which ones are deprecated. Are any deprecated?
Hard to say (even if I wrote that text).
Better don't use table(s) any more.
I also see that there are three different types of tables for spanning
across pages (\starttablehead, \bTABLE, and \startlinetable). Do
each of these have strengths and weaknesses?
TABLE should be actual best, linetable will be best sometime, but is
still hardly documented (please prove me wrong).
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Open Type trickery [was Re: Encoding and mapping glyphs from an expert font

2005-04-10 Thread Adam Lindsay
Idris Samawi Hamid said this at Sat, 9 Apr 2005 19:27:21 -0600:

On Sun, 10 Apr 2005 00:22:31 +0100, Adam Lindsay [EMAIL PROTECTED]
wrote:

 But wait, where are you coming from? Are your source fonts really Minion
 .pfbs, or are they from OpenType? With OpenType, you can use some nice
 TeXFont stuff to select the features (OSF, SC, alternates) without having
 to draw from two arbitrary encodings.

I am very interested in the Open Type trickery. I have been wrestling for
quite some time about the problem of multiple accents over ligatures in
Arabic. I can do it in Aleph but the present procedure (due originally to
Yannis) is much too slow and cumbersome, especially when dealing with huge
fonts (my present virtual ovf has about 10,000 characters!). I finally
found a solution that OpenType might help with--multiple glyphs for one
character. I can implement this without OpenType, but OpenType opens the
possiblity for word searches in Acrobat of Arabic text, something that is
well-nigh impossible with the usual pfb approach.

I have to admit that last issue is one that I've stepped lightly around.

While we will still need huge fonts, the processing of complicated accents
should be much faster with the approach I have in mind (smaller otp's and
ovf's).

It sounds a bit tricky with the eTeX line, because of the 256-character-
per-TeX-font limit. Not necessarily impossible, but certainly
contortionate. I'm led to think about XeTeX--a fair number of people on
the list are happy with the AAT/OpenType support they get with some very
sophisticated Arabic fonts. And when you consider the educational price
of a Mac mini, you're still way below the price of some software
packages... :)

 Do you think TeXFont can be tweaked to generate ovf's and ofm's as
well?

From my experience, it's certainly possible. For it to be done, it needs
a confluence of time, motivation, and expertise!
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] table won't break across page

2005-04-10 Thread Nikolai Weibull
Paul Tremblay, April 10:

 On Sun, Apr 10, 2005 at 10:45:37AM +0200, Nikolai Weibull wrote:

  \splitfloat
{\placetable{Percentage of People without???}}
{\starttablehead
 ???
 \stoptablehead
 \starttabletail
 ???
 \stoptabletail
 \starttables[???]
 ???
 \stoptables}

Your mailer seems to mess up the charset.  You're sending us-ascii
responses to utf-8 mail and including the utf-8 sequences (the ???'s),
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] table won't break across page

2005-04-10 Thread Paul Tremblay
On Sun, Apr 10, 2005 at 07:10:07PM +0200, Nikolai Weibull wrote:
 
  On Sun, Apr 10, 2005 at 10:45:37AM +0200, Nikolai Weibull wrote:
 
   \splitfloat
 {\placetable{Percentage of People without???}}
 {\starttablehead
  ???
  \stoptablehead
  \starttabletail
  ???
  \stoptabletail
  \starttables[???]
  ???
  \stoptables}
 
 Your mailer seems to mess up the charset.  You're sending us-ascii
 responses to utf-8 mail and including the utf-8 sequences (the ???'s),
 nikolai

When I got your email, I saw the ???. I assumed you put them in to
indicate I should fill in the blank. What characters were you trying to
convey here? I wasn't aware that my emailer was messing things up. It is
the mutt emailer.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] table won't break across page

2005-04-10 Thread Nikolai Weibull
Paul Tremblay, April 10:

  Your mailer seems to mess up the charset.  You're sending us-ascii
  responses to utf-8 mail and including the utf-8 sequences (the ???'s),

 When I got your email, I saw the ???. I assumed you put them in to
 indicate I should fill in the blank. What characters were you trying to
 convey here? I wasn't aware that my emailer was messing things up. It is
 the mutt emailer.

Those are supposed to be ellipses of the horizontal and vertical kind to
the effect that you perceived them to be (as ?, though).  Anyway, you
can compile mutt with unicode support.  You need to enable unicode
support in ncurses as well.  Anyway, it doesn't matter much I suppose,
but I guess it's another one of those problems with mutt...,
nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] storm font

2005-04-10 Thread Vit Zyka
Hallo ConTeXters,
I filally prepared first version of Storm fonts support. For now next 10 
families are included:
Lido, Aichel, Dynamo RE, Biblon, Libcziowes, Preissig (text+antikva), 
Preissig1918, Solpera, Serapion, Tyfa (text).

Lido is free for non-commertioal use, so you can play with. Since now 
OpenType and TrueType versions of Lido are available from 
www.stormtype.com but unfortunately no Type1 version, I included Type1 
to this distrib (see its licence).

There is a catalog: http://typokvitek.com/stormcontext/stocat-prj.pdf
Files:
stormcontext.zip  support itself
stormcontext-lido.zip support only for Lido font
stormcontext-cat.zip  catalog and its sources
storm-lido.zipType1 Lido: read the licence before installing!
http://typokvitek.com/stormcontext/index.html
I would like to incorporate the distr to the garden, but I believe it 
needs some file/dir name changes. Suggestions are welcomed.

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


Re: [NTG-context] confused on which table

2005-04-10 Thread Henning Hraban Ramm
Am 10.04.2005 um 22:40 schrieb Paul Tremblay:
TABLE should be actual best, linetable will be best sometime, but is
still hardly documented (please prove me wrong).
Unfortunately, I also couldn't find documentation on the linetable. The
actual module says that it is experimental.
There's those few samples at
http://www.contextgarden.net/Linetable
and some remarks the source at
http://source.contextgarden.net/core-ltb.tex
Could you give me an example of how TABLE can put the same heading on
the top of each page. Hopefully, it can!
Hm, perhaps...
in http://source.contextgarden.net/core-ntb.tex
there's TABLE(head|foot|body|next) and (b|e)TH, maybe that does what 
you need (didn't try)

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


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

2005-04-10 Thread David Wooten
I came across the command \WORD{} in the manual (nice place to look, eh?). This does all capitals (it can be more than one word) and doesn't have the issue with diacritics that \uppercased was having for me. 

Thanks,
David

On Mar 25, 2005, at 5:30 PM, 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 earlier with the font in general. For example, with \uppercased{Krbel} I receive: KRBEL. 

Do I need to make a statement of my intent in a typescript file or somewhere else to resolve this?

Kind regards,
David___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Page number in interaction menu

2005-04-10 Thread David Munger
Hello,

Is there a way to remove the page number from the interaction menu? I
might be doing something wrong. Thanks for any clue.

Minimal example:

\setuppapersize [S6][S6]
\setuplayout [height=300pt, bottom=24pt]
\setupbodyfont [20pt]

\setupinteraction [state=start, menu=on]
\startinteractionmenu [bottom]
  Menu: \placelist[chapter]
[alternative=bottom,criterium=all,pagenumber=no]
\stopinteractionmenu

\starttext
\chapter{First}
\page hello
\chapter{Second}
\stoptext


Regards,

David

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


[NTG-context] Another font problem

2005-04-10 Thread Thomas A . Schmitz
I just ran into a smallish yet annoying font problem. After getting the 
Adobe Type Classics for Learning CD, I prepared a couple of fonts for 
work with ConTeXt. I was mostly successful. I wanted to have a Garamond 
with oldstyle figures as default, so I used a custom encoding vector; 
the only difference to texnansi was zerooldstyle etc instead of zero 
etc. This works well, but: in German, (mainlanguage[de]), I can't get 
the baseline double quotes to work. In the normal Garamond, ` in the 
source produces the desired result. In the oldstyle Garamond, I don't 
get the ligature (character 132 in texnansi), but instead what appears 
to be two commas juxtapposed. I assume this is some fallback defined 
somewhere. So the question is: what feature defines this ligature? It 
is language-specific and works only wihtin German text. And, more 
importantly: why doesn't this work with my modified texnansi-variant?

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