Re: [NTG-context] \startfrontmatter Co.

2008-07-21 Thread Wolfgang Schuster
On Sat, Jul 19, 2008 at 1:01 PM, Alan Stone
[EMAIL PROTECTED] wrote:
 itself (search for bodyfontenvironment in the mail archive).

 The most, though still scarce information is available at
 http://texshow.contextgarden.net

Sorry, I meat \setupsectionblock and \startsectionblockenvironment.

Regards,
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] \index versus makeindex.

2008-07-21 Thread Wolfgang Schuster
On Fri, Jul 18, 2008 at 7:38 PM, John Culleton [EMAIL PROTECTED] wrote:
 Usually I use makeindex for indexing but for my current job I thought
 the Context \index command would be convenient. However I discovered
 that the \index command does not provide for page ranges. If I index
 the same item on pages 46, 47, 48, and 49 makeindex will collapse
 this into a range of 46-49.  Context won't.

 I looked at the book.tuo file but it does not look like something I
 can hand-modify.

 Is there a work-around I have missed or must I revert to makeindex to
 get a proper index?

 I am ccing Hans because my posts don't seem to make their way to the
 list for some reason.  Perhaps Comcast has torpedoed me once again.

\placeindex[compress=yes]

Regards,
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-21 Thread Wolfgang Schuster
On Sun, Jul 20, 2008 at 1:13 PM, Alan Stone
[EMAIL PROTECTED] wrote:
 \starttypescript[myFonts]
 \definetypeface [mySerifFont] [rm] [serif] [mySerifFont] [default]
 \definetypeface [mySansFont] [ss] [sans] [mySansFont] [default]
 \stoptypescript

 \starttypescript[myFonts]
 \definetypeface [myFonts] [rm] [serif] [mySerifFont] [default]
 \definetypeface [myFonts] [ss] [sans] [mySansFont] [default]
 \stoptypescript

 You need the same name for both typefaces.

 Are you sure ?

You're playing games with me, do you?

 This works though...

 \setuppapersize [A4][A4]

 \starttypescript [serif] [mySerifFont]
 \definefontsynonym [mySerifFontRegular] [name:Times New Roman]
 [features=default]
 \definefontsynonym [mySerifFontItalic] [name:Times New Roman Italic]
 [features=default]
 \definefontsynonym [mySerifFontBold] [name:Times New Roman Bold]
 [features=default]
 \definefontsynonym [mySerifFontBoldItalic] [name:Times New Roman Bold
 Italic] [features=default]
 \stoptypescript
 \starttypescript [serif] [mySerifFont]
 \setups[font:fallback:serif]
 \definefontsynonym [Serif] [mySerifFontRegular]
 \definefontsynonym [SerifItalic] [mySerifFontItalic]
 \definefontsynonym [SerifBold] [mySerifFontBold]
 \definefontsynonym [SerifBoldItalic] [mySerifFontBoldItalic]
 \stoptypescript

 \starttypescript [sans] [mySansFont]
 \definefontsynonym [mySansFontRegular] [name:Arial] [features=default]
 \definefontsynonym [mySansFontItalic] [name:Arial Italic]
 [features=default]
 \definefontsynonym [mySansFontBold] [name:Arial Bold] [features=default]
 \definefontsynonym [mySansFontBoldItalic] [name:Arial Bold Italic]
 [features=default]
 \stoptypescript
 \starttypescript [sans] [mySansFont]
 \setups[font:fallback:sans]
 \definefontsynonym [Sans] [mySansFontRegular]
 \definefontsynonym [SansItalic] [mySansFontItalic]
 \definefontsynonym [SansBold] [mySansFontBold]
 \definefontsynonym [SansBoldItalic] [mySansFontBoldItalic]
 \stoptypescript

 \starttypescript[myFonts]
 \definetypeface [mySerifFont] [rm] [serif] [mySerifFont] [default]
 \definetypeface [mySansFont] [ss] [sans] [mySansFont] [default]
 \stoptypescript

 \usetypescript[myFonts]

 \setupbodyfont[mySerifFont,12pt]

 \definefont[myChapterFont][mySansFontRegular sa 1.728]

 \setuphead[chapter][style=\mySansFont\myChapterFont]

This works ow because you load the typeface in the chapter settings
but in your last mail you used only the \myChapter Font without the
default typeface from \setupbodyfont.

 \starttext

 \chapter{chapter test}

 \section{section test}

 text test

 \stoptext

Regards,
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-21 Thread Wolfgang Schuster
On Sat, Jul 19, 2008 at 3:25 PM, John Culleton [EMAIL PROTECTED] wrote:
 On Saturday 19 July 2008 06:03:43 am Alan Stone wrote:
 On Sat, Jul 19, 2008 at 6:49 AM, Charles P. Schaum
 [EMAIL PROTECTED]

 wrote:
  With Ubuntu and fonts there are several things going on.

 Which begets the question...

 Regarding font installation, detection and other (non font related)
 issues which occur recurrently when working with (Con)TeX(t), which
 GNU/Linux distribution(s) is(/are) most user-friendly ?

 Alan

 I just avoid font miseries by relying mostly on the \font primitive.
 The complexities of creating and using typescripts etc. take too much
 time and too much head scratching. I do use the Texfont utility to
 create the necessary font bits and pieces when I buy a new type 1
 font.

Typescript for XeTeX and LuaTeX are written in a few minutes and you
can use all font switches you can't use if you define them with \font.

  All the aliases etc. in Context don't help me much. I simply define
 the needed fonts in the sizes I will use. If I need another size I
 just copy the \font statement, change the font name and change the
 size parameter.   For nimbus bold condensed I end up with fonts named
 numbux nimbuy nimbua etc.

 This is of course not the Context way, but it saves me time and grief.

 I depend on texlive in my Slackware 12.1 distro.   Slack  comes with
 tetex but AFAIK that is no longer updated.  Therefore I don't bother
 to include it when building Slack. I install texlive from the cdr and
 then modify /etc/profile by adding
 /usr/local/texlive/2007/bin/i386-linux:
 to the PATH= string.
 Thus far the versions of Context (mkii) and pdftex etc. found on
 texlive have been stable and reliable.

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] Footnotes

2008-07-21 Thread Ulrich Dirr
Hi Aditya,

thank you for your help!

On 2008-07-20 Aditya Mahajan wrote:
 On Sun, 20 Jul 2008, Ulrich Dirr wrote:
 I'm recently testing mkiv/luatex (ConTeXt ver: 2008.07.18 18:38 MKIV fmt:
 2008.7.19 installed; compiling with 'context file') for a new project.
 I don't know if my questions depend on mkii or mkiv specifics.
 
 I have some problems figuring out what kind of parameters I can use
 to setup footnotes in a multicolumn layout (is it better to use
 column sets and define areas?).
 
 When I'm using location=lastcolumn then footnotes get placed in the
 last column *inside* the text column while when using firstcolumn as
 an option they will be placed below the first column but outside the
 text column at the end of the page. And both columns don't get balanced.
 
 How can I get two text columns balanced and footnotes place on the
 last column at the end of the page?
[...] 
 I do not know whether this is possible with columnsets.

I will test this with columnsets.
 
 How can I get footnote numbers aligned with the left margin of the
 text/column block (margindistance=0em doesn't help)? Footnotes
 should run as a 'normal' paragraph (no hanging).
 
 Add
 
 \setupfootnotedefinition[location=normal,distance=0.5em]

Ah, interesting. I didn't find this option for location in the docs.

 I'm also quiet lost what options I can set with \setupfootnotes,
 because they are not explained in the manual (ma-cb-en-print.pdf, p.
 46; cont-eni.pdf, p. 101) ...
 
 Yes, at places the documentation is lagging behind. I can write about
 footnotes in the TUGBoat column about ConTeXt.
 
 When the manual is inadequate, I look at the sources. Once you figure
 out how to scan them for information, they are easy to understand. In
 this case, core-not.tex says that the options of \setupfootnotes are
 
   [\c!location=\v!page,
\c!way=\v!by\v!part,
\c!sectionnumber=\v!no,
\c!conversion=,
\c!rule=\v!on,
\c!before=\blank,
\c!bodyfont=\v!small,
\c!style=,
\c!color=,
\c!after=,
\c!rulecolor=,
\c!rulethickness=\linewidth,
\c!frame=\v!off,
\c!margindistance=.5em,
\c!columndistance=1em,
\c!distance=.125em,
\c!align=\v!normal,
\c!tolerance=\v!tolerant,
\c!split=\v!tolerant,
   %\c!width=\makeupwidth,
   %\c!width=\ifdim\hsize\makeupwidth\hsize\else\makeupwidth\fi,
\c!width=\defaultnotewidth, \c!height=\textheight,
\c!numbercommand=\high,
\c!command=\noteparameter\c!numbercommand, % downward compatible
\c!separator=\@@koseparator, \c!textcommand=\high,
\c!textstyle=\tx, \c!textcolor=, \c!interaction=\v!yes,
\c!factor=, \c!scope=, % \v!text \v!page \c!n=1]%
 
 
 Aditya

O.k. I could look in the source too, but where did you read
'location=normal'? Also I don't know what other option are allowed, e.g., in
\numbercommand or \split. Only the default values are here as I understand.

Anyway. How can I get that footnotes just flows as a standard paragraph (no
hanging indentation)?

Best regards,
Ulrich



___
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-21 Thread Alan Stone

 You're playing games with me, do you?


Nope. I'm playing with ctx/ltx, testing by trial and error what's possible.


   You need the same name for both typefaces.


Hmmm... I was definitely interpreting this too literally then.

Thanks for your support enabling me to better understand ctx/ltx font
handling and typescripts.

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

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


[NTG-context] OpenType beginners question

2008-07-21 Thread Ulrich Dirr
Hi,

I've adapted the complete luatex/markiv typescript example at
http://wiki.contextgarden.net/Mark_IV#Opentype_features
for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore
fiddling with font installation!).

\starttypescript [sans] [kievit]

\definefontsynonym [KievitProRegular] [name:KievitPro-Regular]
[features=default]
\definefontsynonym [KievitProMedium]  [name:KievitPro-Medium]
[features=default]
\definefontsynonym [KievitProExtraBold]   [name:KievitPro-ExtraBold]
[features=default]
 
\definefontsynonym [KievitProItalic]  [name:KievitPro-Italic]
[features=default]
\definefontsynonym [KievitProMediumItalic]
[name:KievitPro-MediumItalic][features=default]
\definefontsynonym [KievitProExtraBoldItalic]
[name:KievitPro-ExtraBoldItalic] [features=default]

\stoptypescript

\starttypescript [sans] [kievit]

\definefontsynonym [Sans][KievitProRegular]
[features=default]
\definefontsynonym [SansItalic]  [KievitProItalic]
[features=default]
\definefontsynonym [SansBold][KievitProMedium]
[features=default]
\definefontsynonym [SansSlanted] [SansItalic]
[features=default]
\definefontsynonym [SansBoldSlanted] [SansBoldItalic]
[features=default]
\definefontsynonym [SansCaps][Sans]
[features=smallcaps]

\stoptypescript

\definetypeface[kievit][rm][sans][kievit][default]
\definetypeface[kievit][ss][sans][kievit][default]
\definetypeface[kievit][tt][mono][modern]  [default][rscale=1.12]
\definetypeface[kievit][mm][math][iwona]   [default][rscale=1.02]

\setupbodyfont[kievit,ss,10pt]

Now \bf \it works perfectly well but \sc doesn't. Do I need some extra
definition?

Best regards,
Ulrich

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


[NTG-context] End notes and compile per chapter question

2008-07-21 Thread Gerben Wierda
I have a book project with a structure I copied a few years ago from  
some instructional page. The product file looks like this:

 \startproduct prd_book
 \project project_teoada

 \starttext
 \start
 \startstandardmakeup \ss
 \hairline \start
 \switchtobodyfont[20pt]\bf
 \leftaligned{Test Project Title}%
 \stop \hairline \blank[line]\rightaligned{Gerben Wierda}%
 \blank[10cm]\start\leftskip=10cm\hairline\stop
 \rightaligned{1995--2006}%
 \stopstandardmakeup
 \stop

 \startfrontmatter
   \completecontent
   \component c_foo
 \stopfrontmatter
 \startbodymatter
   \component c_bar
   \component c_foobar
 \stopbodymatter
 \startappendices
   \component c_endnotes
 \stopappendices

 \stoptext

 \stopproduct

My book has per page notes as well as more lengthy end notes which end  
up in a chapter at the end of the book. c_endnotes.tex looks like this:

 \startcomponent c_endnotes
 \product prd_book
 \project project_teoada

 \starttext
 \startbuffer [chapter:quote]
 ToDo
 \stopbuffer
 \chapter[h:endnotes]{Notes}

 \placenotes[endnote]

 \stoptext

 \stopcomponent


But I would at this stage like to compile the chapters per chapter.  
This works, but if I compile c_chapter1.tex, I do not get the endnotes  
of the chapter.

How do I go about it that when compiling per chapter, I get the  
endnotes for that chapter at the end of that file, while when  
compiling the entire book they go at the end of the book as they should?

Thanks,

G
___
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] OpenType beginners question

2008-07-21 Thread Mojca Miklavec
On Mon, Jul 21, 2008 at 10:05 AM, Ulrich Dirr wrote:
 Hi,

 I've adapted the complete luatex/markiv typescript example at
 http://wiki.contextgarden.net/Mark_IV#Opentype_features
 for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore
 fiddling with font installation!).

 \starttypescript [sans] [kievit]

\definefontsynonym [KievitProRegular] [name:KievitPro-Regular]
 [features=default]
\definefontsynonym [KievitProMedium]  [name:KievitPro-Medium]
 [features=default]
\definefontsynonym [KievitProExtraBold]   [name:KievitPro-ExtraBold]
 [features=default]

\definefontsynonym [KievitProItalic]  [name:KievitPro-Italic]
 [features=default]
\definefontsynonym [KievitProMediumItalic]
 [name:KievitPro-MediumItalic][features=default]
\definefontsynonym [KievitProExtraBoldItalic]
 [name:KievitPro-ExtraBoldItalic] [features=default]

 \stoptypescript

 \starttypescript [sans] [kievit]

\definefontsynonym [Sans][KievitProRegular]
 [features=default]
\definefontsynonym [SansItalic]  [KievitProItalic]
 [features=default]
\definefontsynonym [SansBold][KievitProMedium]
 [features=default]
\definefontsynonym [SansSlanted] [SansItalic]
 [features=default]
\definefontsynonym [SansBoldSlanted] [SansBoldItalic]
 [features=default]
\definefontsynonym [SansCaps][Sans]
 [features=smallcaps]

 \stoptypescript

 \definetypeface[kievit][rm][sans][kievit][default]
 \definetypeface[kievit][ss][sans][kievit][default]
 \definetypeface[kievit][tt][mono][modern]  [default][rscale=1.12]
 \definetypeface[kievit][mm][math][iwona]   [default][rscale=1.02]

 \setupbodyfont[kievit,ss,10pt]

 Now \bf \it works perfectly well but \sc doesn't. Do I need some extra
 definition?

I'm only guessing without trying:

You have

\definefontsynonym [KievitProRegular] [name:KievitPro-Regular]
[features=default]
\definefontsynonym [Sans] [KievitProRegular] [features=default]
\definefontsynonym [SansCaps] [Sans] [features=smallcaps]

I suspect that features=default is taking precedence (ask Hans once
he's back about the phylosophy behind this mechanism). I don't say
that it should be that way, but for the moment try to define a new
font instance with features=smallcaps from the beginning.

Something like:

\definefontsynonym [KievitProRegularCaps] [name:KievitPro-Regular]
[features=smallcaps]

\definefontsynonym [SansCaps] [KievitProRegularCaps]

You also have \addfontfeature available where you can enable small
caps. To be honest, \sc could work without so much trickery in XeTeX
and LuaTeX (it could simply add +smcp to the current font), but
definition of \sc has not been adapted to work like that yet.

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

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


Re: [NTG-context] OpenType beginners question

2008-07-21 Thread Wolfgang Schuster
On Mon, Jul 21, 2008 at 10:05 AM, Ulrich Dirr [EMAIL PROTECTED] wrote:
 Hi,

 I've adapted the complete luatex/markiv typescript example at
 http://wiki.contextgarden.net/Mark_IV#Opentype_features
 for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore
 fiddling with font installation!).

 \starttypescript [sans] [kievit]

\definefontsynonym [KievitProRegular] [name:KievitPro-Regular] 
 [features=default]
\definefontsynonym [KievitProMedium]  [name:KievitPro-Medium] 
 [features=default]
\definefontsynonym [KievitProExtraBold]   [name:KievitPro-ExtraBold] 
 [features=default]

\definefontsynonym [KievitProItalic]  [name:KievitPro-Italic] 
 [features=default]
\definefontsynonym [KievitProMediumItalic] [name:KievitPro-MediumItalic]   
  [features=default]
\definefontsynonym [KievitProExtraBoldItalic] 
 [name:KievitPro-ExtraBoldItalic] [features=default]

 \stoptypescript

 \starttypescript [sans] [kievit]

\definefontsynonym [Sans][KievitProRegular] [features=default]
\definefontsynonym [SansItalic]  [KievitProItalic] [features=default]
\definefontsynonym [SansBold][KievitProMedium] [features=default]
\definefontsynonym [SansSlanted] [SansItalic] [features=default]
\definefontsynonym [SansBoldSlanted] [SansBoldItalic] [features=default]
\definefontsynonym [SansCaps][Sans] [features=smallcaps]

 \stoptypescript

 \definetypeface[kievit][rm][sans][kievit][default]
 \definetypeface[kievit][ss][sans][kievit][default]
 \definetypeface[kievit][tt][mono][modern]  [default][rscale=1.12]
 \definetypeface[kievit][mm][math][iwona]   [default][rscale=1.02]

 \setupbodyfont[kievit,ss,10pt]

 Now \bf \it works perfectly well but \sc doesn't. Do I need some extra
 definition?

Place this at the top of your typescript

\definefontfeature[latin-smallcaps][smallcaps][script=latn]

and replace smallcaps in the following line with latin-smallcaps.

\definefontsynonym [SansCaps][Sans] [features=smallcaps]

Regards,
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] OpenType beginners question

2008-07-21 Thread Thomas A. Schmitz

On Jul 21, 2008, at 11:09 AM, Mojca Miklavec wrote:

 I'm only guessing without trying:

 You have

 \definefontsynonym [KievitProRegular] [name:KievitPro-Regular]
 [features=default]
 \definefontsynonym [Sans] [KievitProRegular] [features=default]
 \definefontsynonym [SansCaps] [Sans] [features=smallcaps]

 I suspect that features=default is taking precedence (ask Hans once
 he's back about the phylosophy behind this mechanism). I don't say
 that it should be that way, but for the moment try to define a new
 font instance with features=smallcaps from the beginning.

I just tested this with one of my fonts. I'm sure that this method  
used to work; it was the recommended way to enable smallcaps; it  
doesn't work anymore, and neither does the method you suggest, Mojca.  
So I guess something is broken in the current version of luatex or  
mkiv. I'm afraid this will have to wait till Hans and Taco are back.

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] OpenType beginners question

2008-07-21 Thread Andrea Valle

Really, let's try to update/increase docs.

I'm sorry, I know I'm asking other people to work for me.
To be clear, I'm quite grateful to devs and helpers (and I'd really  
like to come to Bohinj...), but IMHO it does not make much sense to  
keep on posting code snippets without giving general infos on what's  
going on.
So that people simply copy and paste them without understanding  
what's going on. Is it working? No Ah, then try with this etc

It's pretty evident that fonts are a problematic issue.

At the moment, I'm blocked with the project I have to develop for  
university. Waiting for light.


Best


-a-


On 21 Jul 2008, at 11:37, Diego Depaoli wrote:


2008/7/21 Wolfgang Schuster [EMAIL PROTECTED]:


Place this at the top of your typescript

\definefontfeature[latin-smallcaps][smallcaps][script=latn]

and replace smallcaps in the following line with latin-smallcaps.

\definefontsynonym [SansCaps][Sans] [features=smallcaps]



We have to do something for fonts :-)

--
Diego Depaoli
__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] mkii and xetex with tl2008: invalid fontname errors

2008-07-21 Thread Mojca Miklavec
On Sat, Jul 19, 2008 at 5:05 AM, Jesse Alama [EMAIL PROTECTED] wrote:
 Mojca Miklavec [EMAIL PROTECTED] writes:

 On Fri, Jul 18, 2008 at 2:55 AM, Jesse Alama [EMAIL PROTECTED] wrote:
 Mojca Miklavec [EMAIL PROTECTED] writes:

 On Thu, Jul 17, 2008 at 9:24 PM, Jesse Alama [EMAIL PROTECTED] wrote:
 Using XeTeX and ConTeXt MkII with the TeX Live 2008 developer snapshot
 (as of a few days ago), I run into a bunch of invalid fontname errors
 when compiling some documents:

 $ texmfstart texexec --xtx file.tex
 TeXExec | processing document 'file.tex'
 TeXExec | no ctx file found
 TeXExec | tex processing method: context
 TeXExec | TeX run 1
 TeXExec | writing option file file.top
 TeXExec | using randomseed 518
 TeXExec | tex engine: xetex
 TeXExec | tex format: cont-en
 This is XeTeXk, Version 3.1415926-2.2-0.999.2 (Web2C 7.5.7)
  %-line parsing enabled.
 entering extended mode
 (./file.tex

 ConTeXt  ver: 2008.07.14 18:07 MKII  fmt: 2008.7.15  int: english/english
 [snip]
 kpathsea: Invalid fontname 
 `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 kpathsea: Invalid fontname 
 `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 kpathsea: Invalid fontname 
 `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 kpathsea: Invalid fontname 
 `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 kpathsea: Invalid fontname 
 `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 kpathsea: Invalid fontname 
 `texgyrepagella-bolditalic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 kpathsea: Invalid fontname 
 `texgyrepagella-bolditalic:+liga;+kern;mapping=tlig;+trep;', contains ':'
 [many more errors like that]

 Can you please send a minimal example that fails?

 \definetypeface
  [busted] [rm] [serif] [palatino] [default]
 \setupbodyfont  [busted]
 \starttext
 \input tufte
 \stoptext

 Hmm, perhaps the tex-gyre fonts are incorrectly installed?

Do you have the file texgyrepagella-italic.otf? What does
kpsewhich texgyrepagella-italic.otf
return you? Or put in other words - do you have
fonts/opentype/public/tex-gyre/texgyrepagella-italic.otf?

You can also try to reinstall or update packages. I'm not sure how
well packaging works, but texgyre has now been added to
scheme-context.

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

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


[NTG-context] How to read sources? (was:) Footnotes

2008-07-21 Thread Joachim Kreimer-de Fries

Goden Dag,
although my primary field of ConTeXt questions is marginal notes, I  
use to read the footnote threads on NTG-context with curiousness as  
well .


Am 20.07.2008 um 19:50 schrieb Aditya Mahajan:

When the manual is inadequate, I look at the sources.


= Which sorces, wich directory and kind of files are meant, if one  
says look at the source, where do I find them? (On my TeX-life  
distribution on Mac OSX 10.4x Tiger with actualized ConTeXt I didn't  
find the later mentioned core-not.tex)



Once you figure out how to scan them for information,


= Could one comunicate how to scan them for infomation or must  
that stay a secret?



they are easy to understand.

[I repeat: easy to understand!]

In this case, core-not.tex says that the options of \setupfootnotes  
are


  [\c!location=\v!page,
   \c!way=\v!by\v!part,
   \c!sectionnumber=\v!no,
   \c!conversion=,
   \c!rule=\v!on,

[etc. and so on...]

Nothing of this and the following code lines I can understand, so it  
is not easy - albeit that one knows the syntax and meanings of  
these commands.


= Where can I find an explanation of this, not to write this kind of  
code myself but to understand off it, which kind of commands I can  
use with footnotes (in this case)?


Ulrich Dirr, who had posed the question about his kind of footnotes  
asked back 21.07.2008 at 09:09:

O.k. I could look in the source too, but where did you read
'location=normal'? Also I don't know what other option are allowed,  
e.g., in
\numbercommand or \split. Only the default values are here as I  
understand.


I support this question (only that I don't know how to look in the  
sorce yet...)


Goutgaun!
Joachim Kreimer-de Fries,
simpel user and beginner in ConTeXt
P. S.
An OT-question besides: does anyone know an file manager program  
instead of the mac Finder, which allows me to find files in the  
hidden directories of Mac-OSX in a GUI way instead of unix terminal  
commands cd, ls and find?



___
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] How to read sources?

2008-07-21 Thread Jörg Hagmann

Joachim Kreimer-de Fries wrote:

 P. S.
 An OT-question besides: does anyone know an file manager program 
 instead of the mac Finder, which allows me to find files in the hidden 
 directories of Mac-OSX in a GUI way instead of unix terminal commands 
 cd, ls and find
you can type open /path/to/the directory you want/ in your terminal,
and then use the finder with the previously hidden dirs.

Cheers, Jörg
___
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] How to read sources? (was:) Footnotes

2008-07-21 Thread Thomas A. Schmitz

On Jul 21, 2008, at 1:28 PM, Joachim Kreimer-de Fries wrote:


 = Which sorces, wich directory and kind of files are meant, if one  
 says look at the source, where do I find them? (On my TeX-life  
 distribution on Mac OSX 10.4x Tiger with actualized ConTeXt I didn't  
 find the later mentioned core-not.tex)

It is part of any ConTeXt installation. In a terminal window, type

kpsewhere core-not.tex

and you'll see that you have at least one instance of this file on  
your system. man kpsewhich may be interesting to read if you want to  
know how to find files in your TeX installation, possibly more than one.

 Once you figure out how to scan them for information,

 = Could one comunicate how to scan them for infomation or must  
 that stay a secret?

You could grep for terms that you're looking for:

grep setupfootnotes /usr/local/texlive/texmf-local/tex/context/base/*

 An OT-question besides: does anyone know an file manager program  
 instead of the mac Finder, which allows me to find files in the  
 hidden directories of Mac-OSX in a GUI way instead of unix terminal  
 commands cd, ls and find?

We had an interesting discussion about GUI and command line recently.  
I rest my case: you shouldn't be looking for a GUI tool, but learn to  
use the command line. By the way, there is n option to make the Mac  
Finder display hidden directories, but to enable it, you'll have to  
use the command line...

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] How to read sources?

2008-07-21 Thread Wolfgang Schuster
On Mon, Jul 21, 2008 at 2:01 PM, Jörg Hagmann [EMAIL PROTECTED] wrote:

 Joachim Kreimer-de Fries wrote:

 P. S.
 An OT-question besides: does anyone know an file manager program
 instead of the mac Finder, which allows me to find files in the hidden
 directories of Mac-OSX in a GUI way instead of unix terminal commands
 cd, ls and find
 you can type open /path/to/the directory you want/ in your terminal,
 and then use the finder with the previously hidden dirs.

Finder - Go - Goto

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] How to read sources?

2008-07-21 Thread Andrea Valle


Finder - Go - Goto


Yes, if you know where to go:

Open the Terminal and type

defaults write com.apple.Finder AppleShowAllFiles YES

relaunch the Finder and you can see everything
(and back with NO and relaunch)

Best

-a-




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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] How to read sources? (was:) Footnotes

2008-07-21 Thread Andrea Valle


= Could one comunicate how to scan them for infomation or must  
that stay a secret?



they are easy to understand.

[I repeat: easy to understand!]


I totally agree with you, it's really useless to invite to read the  
sources without providing a tutorial on source reading for non expert  
TeX users.




Ulrich Dirr, who had posed the question about his kind of footnotes  
asked back 21.07.2008 at 09:09:

O.k. I could look in the source too, but where did you read
'location=normal'? Also I don't know what other option are  
allowed, e.g., in
\numbercommand or \split. Only the default values are here as I  
understand.


I support this question (only that I don't know how to look in the  
sorce yet...)


Me too

Best

-a-

--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] OpenType beginners question

2008-07-21 Thread Aditya Mahajan
On Mon, 21 Jul 2008, Mojca Miklavec wrote:

 caps. To be honest, \sc could work without so much trickery in XeTeX
 and LuaTeX (it could simply add +smcp to the current font), but
 definition of \sc has not been adapted to work like that yet.

Following a suggestion on this list, I sometimes use

\def\sc{\setfontfeature{smallcaps}}

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] Footnotes

2008-07-21 Thread Aditya Mahajan
On Mon, 21 Jul 2008, Ulrich Dirr wrote:

 O.k. I could look in the source too, but where did you read
 'location=normal'?

That is just from knowing how the footnotes work. In ConTeXt footnotes 
consist of two this, a number and the note definition. The note definition 
is defined as a description, location=normal is an option for 
descriptions.

  Also I don't know what other option are allowed, e.g., in
 \numbercommand or \split. Only the default values are here as I understand.

numbercommand can be any predefined (or one that you define on your 
own) ConTeXt macro. By default, it is \inleft, and hence you see the 
footnotes in the margin. I do not know what split does, but just by seeing 
that by default it is defined to be tolerant, the other options should be
verystrict, strict, tolerant, verytolerant, and they should control how 
the splitting of columns work.

This is the good thing about ConTeXt; key value options are extremently 
consistent, once you know what values a particular key takes for one 
environment, you can guess what it will do for others (well, I could be 
wrong in case of footnotes, but ...)

 Anyway. How can I get that footnotes just flows as a standard paragraph (no
 hanging indentation)?

\setupfootnotedefinition[location=serried, distance=0.5em]

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] How to read sources? (was:) Footnotes

2008-07-21 Thread Aditya Mahajan
On Mon, 21 Jul 2008, Joachim Kreimer-de Fries wrote:

 Goden Dag,
 although my primary field of ConTeXt questions is marginal notes, I use to 
 read the footnote threads on NTG-context with curiousness as well .

 Am 20.07.2008 um 19:50 schrieb Aditya Mahajan:
 When the manual is inadequate, I look at the sources.

 = Which sorces, wich directory and kind of files are meant, if one says 
 look at the source, where do I find them? (On my TeX-life distribution on 
 Mac OSX 10.4x Tiger with actualized ConTeXt I didn't find the later mentioned 
 core-not.tex)


I do not know how the file explorer in Mac works. And I do not know where 
a typical installation installs context in Mac. Suppose it is installed in 
/usr/local/texlive/2007.

The all the context files will be in

/usr/local/texlive/2007/texmf-dist/tex/context/base

Basically, INSTALL-LOCATION/texmf or INTSTALL-LOCATION/texmf-dist or 
INSTALL-LOCATION/texmf-context and then tex/context/base directory inside 
it.

 Once you figure out how to scan them for information,

 = Could one comunicate how to scan them for infomation or must that stay a 
 secret?

The basic idea is to first understand how a particular command is defined. 
Here is what I do: go to tex/context/base directory and search (by any 
means, I use grep, but you can as well use any program that allows you to 
search inside files) for the command you are looking for: in this case 
footnote. You may either get a huge number of results, or a few results. 
If you get a few results, check them manually, to see which file defines a 
command. A command is usually defined as

\def\commandname

or (rarely)

\edef\commandname

\xdef\commandname

\gdef\commandname

or (more frequently)

\definesomething[\v!commandname]

here something can be any text.

If your search gives a lot of results, you need to use a regular 
expression to filter it to one of the above. I don't know if Finder in Mac 
allows for regular expressions.

 they are easy to understand.
 [I repeat: easy to understand!]

I know what you mean here :)

 In this case, core-not.tex says that the options of \setupfootnotes are

  [\c!location=\v!page,
   \c!way=\v!by\v!part,
   \c!sectionnumber=\v!no,
   \c!conversion=,
   \c!rule=\v!on,
 [etc. and so on...]

 Nothing of this and the following code lines I can understand, so it is not 
 easy - albeit that one knows the syntax and meanings of these commands.

As far as syntax goes, just ignore those funny \c! \v! thingies. Then you 
can read them as
 [location=page,
  way=bypart,
  sectionnumber=no,
  conversion=,
  rule=on,
[etc..]

These mean, that

i) Footnotes should be located per page.

ii) They should be numbered per part. That is, if you start a new part, 
footnote numbering restarts.

iii) I don't know what sectionnumber does, so I ignore it.

iv) The number should not be converted to anything. You can convert them 
to characters, Characters, romannumerals, Romannumberals, etc.

v) The footnotes should be proceeded by a rule, etc.

You see, most of the keys for all environments take command key-value 
options. If they are explained in the manual, then great; if they are not, 
start guessing what they mean, and experiment if you get the right 
result. Try three times, and if you don't get hit the right answer, ask on 
the mailing list. Hopefully, someone will reply. Then you know, what a 
particular option does for *all environments*. If you don't get an answer, 
well... then ask what you want to achieve, and hopefully someone will tell 
you if it is possible or not.

 = Where can I find an explanation of this, not to write this kind of code 
 myself but to understand off it, which kind of commands I can use with 
 footnotes (in this case)?

I explained above how I started to understand these things. I am sure that 
other people have different approaches. I do not understand how TeX works, 
but reading ConTeXt sources are much easier than reading latex sources. I 
started with LaTeX, and in LaTeX I could never manage to understand 80% of 
the what was written in the sources. In ConTeXt, I can understand 50-60%, 
that is what I meant my easy.

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] Footnotes

2008-07-21 Thread Ulrich Dirr
Hi Aditya,

Thank you very much for your explanations. Where in the documentation did
you find 'serried'? I think my biggest problem is that I don't know which
values are possible options and what's the meaning (this should be in the
docs I think).

Best regards,
Ulrich

On 2008-07-21 Aditya Mahajan wrote:
 On Mon, 21 Jul 2008, Ulrich Dirr wrote:
 
 O.k. I could look in the source too, but where did you read
 'location=normal'?
 
 That is just from knowing how the footnotes work. In ConTeXt footnotes
 consist of two this, a number and the note definition. The note
 definition is defined as a description, location=normal is an option for
descriptions.
 
  Also I don't know what other option are allowed, e.g., in
 \numbercommand or \split. Only the default values are here as I
 understand.
 
 numbercommand can be any predefined (or one that you define on your
 own) ConTeXt macro. By default, it is \inleft, and hence you see the
 footnotes in the margin. I do not know what split does, but just by
 seeing that by default it is defined to be tolerant, the other options
 should be verystrict, strict, tolerant, verytolerant, and they should
 control how the splitting of columns work.
 
 This is the good thing about ConTeXt; key value options are
 extremently consistent, once you know what values a particular key
 takes for one environment, you can guess what it will do for others
 (well, I could be wrong in case of footnotes, but ...)
 
 Anyway. How can I get that footnotes just flows as a standard
 paragraph (no hanging indentation)?
 
 \setupfootnotedefinition[location=serried, distance=0.5em]
 
 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
 __
 __ ___


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

2008-07-21 Thread Aditya Mahajan
On Mon, 21 Jul 2008, Ulrich Dirr wrote:

 Hi Aditya,

 Thank you very much for your explanations. Where in the documentation did
 you find 'serried'?

serried is in the documentation for desciprtions. texshow also lists 
serried as one of the options for descriptions. I know the options for 
descriptions and enumerations very well because I spent about three months 
in extending enumerations for taking care of theorems and stuff.

 I think my biggest problem is that I don't know which
 values are possible options and what's the meaning (this should be in the
 docs I think).

Most old options are in the docs, many of the new ones are not. The manual 
can never be uptodate with the rate at which ConTeXt is developing, but we 
definitely need to work at specialized manuals which describe one of the 
features of ConTeXt in great detail.


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] OpenType beginners question

2008-07-21 Thread Ulrich Dirr
Hi Wolfgang,

this works perfectly well, thanks.

On 2008-07-21 Wolfgang Schuster wrote:
 On Mon, Jul 21, 2008 at 10:05 AM, Ulrich Dirr [EMAIL PROTECTED] wrote:
 Hi,
 
 I've adapted the complete luatex/markiv typescript example at 
 http://wiki.contextgarden.net/Mark_IV#Opentype_features
 for FF Kievit Pro I. It works quiet nice out of the box (aaah, nomore 
 fiddling with font installation!).
 
 \starttypescript [sans] [kievit]
 
\definefontsynonym [KievitProRegular]
[name:KievitPro-Regular] [features=default] \definefontsynonym
[KievitProMedium]  [name:KievitPro-Medium]
[features=default] \definefontsynonym [KievitProExtraBold]  
[name:KievitPro-
 ExtraBold] [features=default]
 
\definefontsynonym [KievitProItalic] 
[name:KievitPro-Italic] [features=default] \definefontsynonym
[KievitProMediumItalic] [name:KievitPro- MediumItalic]   
[features=default] \definefontsynonym [KievitProExtraBoldItalic] 
 [name:KievitPro-ExtraBoldItalic] [features=default]
 
 \stoptypescript
 
 \starttypescript [sans] [kievit]
 
\definefontsynonym [Sans][KievitProRegular]
[features=default] \definefontsynonym [SansItalic] 
[KievitProItalic] [features=default] \definefontsynonym [SansBold]  
 [KievitProMedium] [features=default] \definefontsynonym
[SansSlanted] [SansItalic] [features=default] \definefontsynonym
[SansBoldSlanted] [SansBoldItalic] [features=default]
\definefontsynonym [SansCaps][Sans] [features=smallcaps]
 
 \stoptypescript
 
 \definetypeface[kievit][rm][sans][kievit][default]
 \definetypeface[kievit][ss][sans][kievit][default]
 \definetypeface[kievit][tt][mono][modern]  [default][rscale=1.12]
 \definetypeface[kievit][mm][math][iwona]   [default][rscale=1.02]
 
 \setupbodyfont[kievit,ss,10pt]
 
 Now \bf \it works perfectly well but \sc doesn't. Do I need some 
 extra definition?
 
 Place this at the top of your typescript
 
 \definefontfeature[latin-smallcaps][smallcaps][script=latn]
 
 and replace smallcaps in the following line with latin-smallcaps.
 
 \definefontsynonym [SansCaps][Sans] [features=smallcaps]
 
 Regards,
 Wolfgang

Best regards,
Ulrich


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


[NTG-context] greek again

2008-07-21 Thread cidadaum

On Mon, 21 Jul 2008, cidadaum at sapo.pt wrote:


 Where did you unzip the module?

 Aditya

Here:

[EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek ls
t-ancientgreek.mkii  t-ancientgreek.tex  type-agr.mkii  type-agr.tex
t-ancientgreek.mkiv  t-oldgreek.tex  type-agr.mkiv
[EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek

The fonts are in:
[EMAIL PROTECTED]:~/context/tex/texmf/fonts/

Thanks for your help!
Armando



___
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] greek again

2008-07-21 Thread Aditya Mahajan
On Mon, 21 Jul 2008, [EMAIL PROTECTED] wrote:


 On Mon, 21 Jul 2008, cidadaum at sapo.pt wrote:


 Where did you unzip the module?

 Aditya

 Here:

 [EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek ls
 t-ancientgreek.mkii  t-ancientgreek.tex  type-agr.mkii  type-agr.tex
 t-ancientgreek.mkiv  t-oldgreek.tex  type-agr.mkiv
 [EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek

 The fonts are in:
 [EMAIL PROTECTED]:~/context/tex/texmf/fonts/

If you are in the directory of your document, what does

kpsewhich t-ancientgreek.tex

and

luatools t-ancientgreek.tex

return?

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
___


[NTG-context] cont-enp.pdf on lulu

2008-07-21 Thread abbg770
Hi,

Why not submit cont-enp.pdf (ConTeXt the manual) to lulu? I do appreciate 
the hard work that's going into the documentation, but at some places the 
english doesn't flow that well. Out of curiosity how many people proof read 
the documentation before they're released?

-- 
Thanks
Mohamed Bana
___
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] cont-enp.pdf on lulu

2008-07-21 Thread John Culleton
On Monday 21 July 2008 07:58:55 pm [EMAIL PROTECTED] wrote:
 Hi,

 Why not submit cont-enp.pdf (ConTeXt the manual) to lulu? I do
 appreciate the hard work that's going into the documentation, but
 at some places the english doesn't flow that well. Out of curiosity
 how many people proof read the documentation before they're
 released?

The cont-en manual, which I use reguarly, dates back to 2001 or so. No 
attempt is ever made to update it. New manuals each covering a 
feature or set of features abound.  And of course there is 
Contextgarden.  

There are days when I feel like collecting all the bits and pieces and 
writing somthing myself. But then I lie down until the fit passes.  

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm
___
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] greek again

2008-07-21 Thread cidadaum

Citando Aditya Mahajan [EMAIL PROTECTED]:

 On Mon, 21 Jul 2008, [EMAIL PROTECTED] wrote:


 On Mon, 21 Jul 2008, cidadaum at sapo.pt wrote:


 Where did you unzip the module?

 Aditya

 Here:

 [EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek ls
 t-ancientgreek.mkii  t-ancientgreek.tex  type-agr.mkii  type-agr.tex
 t-ancientgreek.mkiv  t-oldgreek.tex  type-agr.mkiv
 [EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek

 The fonts are in:
 [EMAIL PROTECTED]:~/context/tex/texmf/fonts/

 If you are in the directory of your document, what does

 kpsewhich t-ancientgreek.tex

 and

 luatools t-ancientgreek.tex

 return?

Humm... this:

[EMAIL PROTECTED]:~ kpsewhich t-ancientgreek.tex
[EMAIL PROTECTED]:~ luatools t-ancientgreek.tex
the file 'luatools.lua' is not found
[EMAIL PROTECTED]:~

(Suppose something is wrong...). By the way I am using TexLive from a  
CD along with context minimals.


 Aditya


Armando



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


___
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] greek again

2008-07-21 Thread Aditya Mahajan
On Tue, 22 Jul 2008, [EMAIL PROTECTED] wrote:


 Citando Aditya Mahajan [EMAIL PROTECTED]:

 On Mon, 21 Jul 2008, [EMAIL PROTECTED] wrote:


 On Mon, 21 Jul 2008, cidadaum at sapo.pt wrote:


 Where did you unzip the module?

 Aditya

 Here:

 [EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek ls
 t-ancientgreek.mkii  t-ancientgreek.tex  type-agr.mkii  type-agr.tex
 t-ancientgreek.mkiv  t-oldgreek.tex  type-agr.mkiv
 [EMAIL PROTECTED]:~/context/tex/texmf-context/tex/context/third/greek

 The fonts are in:
 [EMAIL PROTECTED]:~/context/tex/texmf/fonts/

 If you are in the directory of your document, what does

 kpsewhich t-ancientgreek.tex

 and

 luatools t-ancientgreek.tex

 return?

 Humm... this:

 [EMAIL PROTECTED]:~ kpsewhich t-ancientgreek.tex
 [EMAIL PROTECTED]:~ luatools t-ancientgreek.tex
 the file 'luatools.lua' is not found
 [EMAIL PROTECTED]:~

 (Suppose something is wrong...). By the way I am using TexLive from a
 CD along with context minimals.

The fact that luatools is not working does not matter too much since you 
are using mkii. But kpsewhich not returning anything means that ConTeXt 
does not know where the greek module is, and hence cannot find it. Try 
running

mktexlsr

and see if kpsewhich t-ancientgreek.tex returns a path to the file.

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
___