Re: [NTG-context] Enable hyphenation or how to check it is enabled

2006-08-16 Thread Thomas A. Schmitz

 I tried this:

 \starttext

 \hyphenatedword{transformational} \hyphenatedword{transformational}
 \hyphenatedword{transformational} \hyphenatedword{transformational}
 \hyphenatedword{transformational} \hyphenatedword{transformational}
 \hyphenatedword{transformational} \hyphenatedword{transformational}

 \stoptext


 Overfull message, but no hyphens.

 - --
 All the best,

 Berend de Boer

OK, this is where the fun begins... Sorry, I did not read your first  
message properly. You say you have this in your format log:

 language: no patterns en for en (n=1,e=ec,m=ec) (lang- 
 en.pat,ukhyph.tex
 )
 language: hyphenations en for en loaded (n=1,e=ec,m=ec)
 (/usr/TeX/texmf/tex/context/patterns/lang-us.hyp))
 language: patterns en for en loaded (n=1,e=*,m=*)
 language: hyphenations en for en loaded (n=1,e=*,m=*)
 language: no patterns uk for uk (n=2,e=ec,m=ec) (lang- 
 uk.pat,ukhyph.tex
 )
 language: hyphenations uk for uk loaded (n=2,e=ec,m=ec)

I have this at an earlier stage. Later, there's a message that the  
patterns get loaded:

language: patterns en for en loaded (n=22,e=ec,m=ec)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
language: patterns uk for uk loaded (n=23,e=ec,m=ec)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.hyp)
language: patterns us for us loaded (n=24,e=ec,m=ec)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
language: patterns agr for agr loaded (n=25,e=agr,m=agr)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.hyp)

and so on.

Do you have these messages as well? Otherwise: no patterns == no  
hyphenation.

Best

Thomas


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


Re: [NTG-context] nonbreakablespace

2006-08-16 Thread Taco Hoekwater
Aditya Mahajan wrote:
 On Wed, 16 Aug 2006, Sanjoy Mahajan wrote:
 
 
\starttext
A~B
\stoptext

It works fine here with vanilla ConTeXt ver 2006.08.08 21:51, texexec
6.2.0, tetex 3.0 on Ubuntu (generating pdf).


For me, this makes context hang!!

Where does it hang?  Running tex or pdftex, or in texexec?
 
 
 Running texexec. Everything else is running fine, so I can not figure 
 out why this is happening.

If you can't interrupt the process, try adding \tracingall to your
input. It will generate lots and lots of output, and you will probably
see an expansion loop occuring (if not, then it may be a ruby issue).

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


Re: [NTG-context] How to make startalignment middle not change the linewidth

2006-08-16 Thread Taco Hoekwater
Aditya Mahajan wrote:
 On Tue, 15 Aug 2006, Aditya Mahajan wrote:
 
 
Hi,
 It seems that startalignment[middle] does not like long lines.
Consider the following example (not strictly minimal, but I can not
get such a marginal case with default setup).


I get the same actual line breaks in both cases, but I wager the
problem is that the 'normal space width' is not equal to the
\spaceskip value that is used inside the alignment.

This in turn is caused by the 'natural' space of the times font
is 1/4 of an em, not 1/3. Try adding

   \def\raggedspaceamount{0.25em}

to your setup and see if that is more to your liking.

Cheers, taco


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


Re: [NTG-context] Enable hyphenation or how to check it is enabled

2006-08-16 Thread Hans Hagen
Berend de Boer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

   
 Thomas == Thomas A Schmitz [EMAIL PROTECTED] writes:
 

 Thomas Easiest test would be to try some long and weird words
 Thomas with \hyphenatedword{transformational}

 Thomas in your source. If you get proper hyphens there, the
 Thomas problem must lie elsewhere.

 I tried this:

 \starttext

 \hyphenatedword{transformational} \hyphenatedword{transformational}
 \hyphenatedword{transformational} \hyphenatedword{transformational}
 \hyphenatedword{transformational} \hyphenatedword{transformational}
 \hyphenatedword{transformational} \hyphenatedword{transformational}

 \stoptext


 Overfull message, but no hyphens.
   
what does context report with respect to loaded patterns ... 

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 ru-t2a:t2a-21-2:3 en-ec:e
c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25-2:3 da-ec:e
c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3 deo-ec:ec-
30-2:3 es-ec:ec-31-2:3 ca-ec:ec-32-2:3 la-ec:ec-33-2:3 ro-ec:ec-34
-2:3 tr-ec:ec-35-2:3 fi-ec:ec-37-2:3 hu-ec:ec-38-2:3 loaded

if you run an old version it may be that there ar eno us patterens (there were 
tex live's with name changes, aliases etc unknown to context etc) 

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

2006-08-16 Thread Hans Hagen
Taco Hoekwater wrote:
 Aditya Mahajan wrote:
   
 On Wed, 16 Aug 2006, Sanjoy Mahajan wrote:


 
 \starttext
 A~B
 \stoptext
 
 It works fine here with vanilla ConTeXt ver 2006.08.08 21:51, texexec
 6.2.0, tetex 3.0 on Ubuntu (generating pdf).


   
 For me, this makes context hang!!
 
 Where does it hang?  Running tex or pdftex, or in texexec?
   
 Running texexec. Everything else is running fine, so I can not figure 
 out why this is happening.
 

 If you can't interrupt the process, try adding \tracingall to your
 input. It will generate lots and lots of output, and you will probably
 see an expansion loop occuring (if not, then it may be a ruby issue).

   
i just ran into the loop as well, 

it has to do with a change in load order of modules, i'll fix it (i'm trying to 
get rid of funny dependencies and this alpha/beta release was actually for 
taco's eyes only -) 

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] compiling project files

2006-08-16 Thread Mojca Miklavec
On 8/15/06, Aditya Mahajan wrote:

  2. When compiling projects that include MPgraphics, I have to run that
  texmfstart line
above twice to see changes to MPgraphics in my pdf. I thought
 that one
  idea behind
texexec is that it takes care of all incantations, like make in
  programming.
 

 This should not happen.

I agree with the fact that it should not happen, but it does (perhaps
I should say did, because the last time when I had the problem was
once in May; a whole lot of changes have been made since then and I'm
not sure if I can find the file which caused me problems again).

Can you send a minimal example?

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


Re: [NTG-context] compiling project files

2006-08-16 Thread Taco Hoekwater


Mojca Miklavec wrote:
 On 8/15/06, Aditya Mahajan wrote:
 
 
2. When compiling projects that include MPgraphics, I have to run that
texmfstart line
  above twice to see changes to MPgraphics in my pdf. I thought

that one

idea behind
  texexec is that it takes care of all incantations, like make in
programming.


This should not happen.
 
 
 I agree with the fact that it should not happen, but it does (perhaps
 I should say did, because the last time when I had the problem was
 once in May; a whole lot of changes have been made since then and I'm
 not sure if I can find the file which caused me problems again).

IIRC, this problem only crops up when \runMPgraphicstrue is not set
(so that mpost is run by texexec between TeX runs)

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


Re: [NTG-context] figure directory is sort of searched

2006-08-16 Thread Mojca Miklavec
On 8/15/06, Taco Hoekwater wrote:

 Hi,

 Sanjoy Mahajan wrote:
  I still can't figure this problem one out, from a few months ago, and it
  happens with a recent ConTeXt (2006.08.08 21:51).  The figure searching
  code gets confused if a file of the same basename (but in a different
  directory) has already been loaded.  Here is a minimal min.tex to show
  what I mean:

 I remember I ran into that as well (more than a year ago) and I ended
 up renaming my figures to figure1-1.pdf etc. It actually turned out
 to be easier for me, because that way I could use the figure filename
 as the reference.

While reading Taco's response something else came to my mind: here's
what I did in one of the presentations:

\startsetups award:gold
\useexternalfigure[medal][medal_gold][height=7.5cm]
\stopsetups

\startsetups award:silver
\useexternalfigure[medal][medal_silver][height=7.5cm]
\stopsetups

\startsetups award:bronze
\useexternalfigure[medal][medal_bronze][height=7.5cm]
\stopsetups

After that I just issued \setups{award:gold} at the top of product
file for gold medallists while using the same page layout for all the
medallists (with a simple \externalfigure[medal] which was good for
any medallist).

I guess that you could also do something like

\startsetups chapter:1
\useexternalfigure[fig-1][1/fig-1.pdf]
\useexternalfigure[fig-2][1/fig-2.pdf]
\stopsetups

\startsetups chapter:2
\useexternalfigure[fig-1][2/fig-1.pdf]
...
\stopsetups

\starttext
\setups{chapter:1}
\externalfigure[fig-1]
\externalfigure[fig-2]
\setups{chapter:2}
\externalfigure[fig-1]
\stoptext


Just out of curiosity I tried the following:

\startsetups chapter:1

\dorecurse{10}{\useexternalfigure[fig-\recurselevel][1/fig-\recurselevel.pdf]}
\stopsetups

\startsetups chapter:2

\dorecurse{10}{\useexternalfigure[fig-\recurselevel][2/fig-\recurselevel.pdf]}
\stopsetups

But you should ask someone else where to expand stuff to make it work.

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


Re: [NTG-context] Extra vertical space in intertext

2006-08-16 Thread Mojca Miklavec
On 8/16/06, Aditya Mahajan wrote:
 On Tue, 15 Aug 2006, Taco Hoekwater wrote:

 
  Hi,
 
  Aditya Mahajan wrote:
  Hi,
There is an extra vertical space in the first set of formulas, while
  the vertical spacing in the second set appears to be fine. I can not
  figure out why this should happen. Even if you comment the
 
  That is related to \openup. Adding \def\displayopenupvalue{0pt}
  makes (nearly) all whitespace go away.

 Should this be included in the definition of \dointertext (or
 \forgetall) or would that be too drastic?

The problem with TEXpage is not only related to math. Another example
with strange results:

\starttext
\startTEXpage
\chapter{Bla}
Hello world!\crlf
Hello world!
\stopTEXpage
\stoptext

I guess that \startTEXpage should be fixed before you start hacking
any math settings.

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


Re: [NTG-context] nonbreakablespace

2006-08-16 Thread Aditya Mahajan
On Wed, 16 Aug 2006, Hans Hagen wrote:

 Taco Hoekwater wrote:
 Aditya Mahajan wrote:

 On Wed, 16 Aug 2006, Sanjoy Mahajan wrote:



 \starttext
 A~B
 \stoptext

 It works fine here with vanilla ConTeXt ver 2006.08.08 21:51, texexec
 6.2.0, tetex 3.0 on Ubuntu (generating pdf).



 For me, this makes context hang!!

 Where does it hang?  Running tex or pdftex, or in texexec?

 Running texexec. Everything else is running fine, so I can not figure
 out why this is happening.


 If you can't interrupt the process, try adding \tracingall to your
 input. It will generate lots and lots of output, and you will probably
 see an expansion loop occuring (if not, then it may be a ruby issue).


 i just ran into the loop as well,

 it has to do with a change in load order of modules, i'll fix it

It works fine with the new version.


 (i'm trying to get rid of funny dependencies and this alpha/beta 
 release was actually for taco's eyes only -)

I should start taking your warning more seriously :)

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


[NTG-context] Purpose(s) of texmfstart

2006-08-16 Thread John R. Culleton
I have read a great deal about the details of texmfstart. I still
don't have a handle on what its purpose is. Did anyone write a
manual on the program or create a comprehensive wiki entry?

BTW I solved my problem with texmfstart and with upgrading
Context in general by creating the separate, standalone minimal
Context-Linux installation as described in an earlier post, which
pointed to a long wiki, which fortunately I could take and use as
a script. 

-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com


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


Re: [NTG-context] How to make startalignment middle not change the linewidth

2006-08-16 Thread Aditya Mahajan
On Wed, 16 Aug 2006, Taco Hoekwater wrote:

 Aditya Mahajan wrote:
 On Tue, 15 Aug 2006, Aditya Mahajan wrote:


 Hi,
 It seems that startalignment[middle] does not like long lines.
 Consider the following example (not strictly minimal, but I can not
 get such a marginal case with default setup).


 I get the same actual line breaks in both cases, but I wager the
 problem is that the 'normal space width' is not equal to the
 \spaceskip value that is used inside the alignment.

 This in turn is caused by the 'natural' space of the times font
 is 1/4 of an em, not 1/3. Try adding

   \def\raggedspaceamount{0.25em}

 to your setup and see if that is more to your liking.

Thanks. With this definition, I get the same line breaks.

Aditya

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


Re: [NTG-context] Purpose(s) of texmfstart

2006-08-16 Thread Taco Hoekwater
John R. Culleton wrote:
 I have read a great deal about the details of texmfstart. I still
 don't have a handle on what its purpose is. Did anyone write a
 manual on the program or create a comprehensive wiki entry?

I love easy questions:

   http://www.pragma-ade.com/general/manuals/mtexmfstart.pdf

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


[NTG-context] typeface question: no small capped

2006-08-16 Thread Aditya Mahajan
Hi,
  I do not get a small capped with the following setup. Can someone 
explain what I am missing in the definitions.

\definetypeface[ieee] [rm]  [serif] [times] [default] 
[encoding=texnansi]
\definetypeface[ieee] [ss]  [sans]  [helvetica] [default] 
[rscale=0.9,encoding=texnansi]
\definetypeface[ieee] [tt]  [mono]  [courier]   [default] 
[rscale=1.1,encoding=texnansi]
\definetypeface[ieee] [mm]  [maths] [modern][default] 
[encoding=texnansi]

\setupbodyfont[ieee,10pt]
\setupinterlinespace[line=12pt]

\starttext
{\sc test}
\stoptext

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


[NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
I asked this question a couple of days ago, but didn't get any takers. I
don't want to be a pest, but it's frustrating to be so close yet unable
to solve this final problem. Let's see if rephrasing the question helps.

I'm trying to use \doifnumberelse in a \setuplist numbercommand= but it
isn't working.

The simplified example below shows the very specific table of contents
layout I'm trying to accomplish. You will note that both the chapter
number and the appendix letter are labeled with Appendix when in fact
I want the chapter to be labeled Chapter.

Does anyone know either (a) how to get \doifnumberelse to work in this
situation or (b) if there's a better way I should have done this
instead.

-

\def\mychapterlistnumber#1{\vbox{%
  \doifnumberelse{#1}{Chapter}{Appendix} #1\crlf}}
\def\mysectionlistnumber#1{\emspace\emspace}
\def\mysectionlisttext#1{%
  \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}}
\setuplist[chapter][width=1em,numberstyle=bold,%
  numbercommand=\mychapterlistnumber,textstyle=bold]
\setuplist[section][width=2em,numbercommand=\mysectionlistnumber,%
  textcommand=\mysectionlisttext]

\starttext
\bgroup{}Table of Contents\egroup\par
\startcolumns[n=2,distance=.3in,balance=no]
\bgroup
\placelist[chapter,section][criterium=all,alternative=b]
\egroup
\stopcolumns
\page
\chapter{Foo}
\section{Bar}
\input knuth
\startappendices
\chapter{Corge}
\section{Grault}
\input zapf
\stopappendices
\stoptext

-


-- 
Stuart Jansen [EMAIL PROTECTED]
Guru Labs, L.C.


signature.asc
Description: This is a digitally signed message part
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] A few questions (mostly about fonts)

2006-08-16 Thread Jeff Smith
Hi!

I'm fairly new to ConTeXt (which I greatly admire, by the way) and
after reading a couple of provided manuals, I have some lingering
questions. I thank anyone in advance for replying to any number of
them.

The fonts manual mentions how TeX is often qualified as 'the font
mess'. Well, yeah, my head hurts right now... :-( Here are some
font-related issues that are very important to me:

a) Somehow I can't come up with small caps in a Times font. Is this
normal? This happens either by using \sc or \setupcapitals[sc=yes]
along with \cap.

b) LaTeX has a package for the International Phonetic Alphabet called
tipa. Is it possible to use it in ConTeXt? If not, can anybody point
me to the relevant manuals that will help me incorporate official IPA
fonts (say, the TTF version) in my ConTeXt installation? I'm using the
stand-alone Windows distribution, btw.

Two language related issues:

c) There was a French language specific package in LaTeX that made
possible the direct use of accented characters in the source text
(like é, à, ô) without using the explicit commands themselves. Can
this be achieved in ConTeXt (because right now their direct use simply
halts the compiling)? I would believe so, since the manual for French
documents by Peter Münster shows how to set up automatic spacing
before the strong punctuation marks (! ? ; :) without explicit
commands every time. I'm guessing the strategy would be the same with
accented characters, but so far I haven't been able to make it work.

d) Is it possible to build some sort of macro that would automatically
make \quotation marks different when inside another \quotation
command? Basically, we use « » (the French guillemets) as standard
quotation marks, but we use single quotes instead inside another
quotation. At this point, I'd only need a yes or no answer. It would
ease my mind to know there can be a way to streamline this usage of
quotation marks, thereby simplifying greatly the input text.

And finally, a silly question:

e) If purists say that LaTeX is to be pronounced latek, is ConTeXt to
be pronounced contekt? :-)

Thanks for your help!
Jeff Smith
Québec, Canada
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] typeface question: no small capped

2006-08-16 Thread Thomas A. Schmitz

On Aug 16, 2006, at 8:42 PM, Aditya Mahajan wrote:

 Hi,
   I do not get a small capped with the following setup. Can someone
 explain what I am missing in the definitions.


I'd be very surprised if the free times font has any small caps. I  
fyou want them, you'll have to fake 'em (but I would recommend  
against that, it's really ugly).

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


Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Mojca Miklavec
On 8/16/06, Stuart Jansen wrote:
 I asked this question a couple of days ago, but didn't get any takers. I
 don't want to be a pest, but it's frustrating to be so close yet unable
 to solve this final problem. Let's see if rephrasing the question helps.

 I'm trying to use \doifnumberelse in a \setuplist numbercommand= but it
 isn't working.

 The simplified example below shows the very specific table of contents
 layout I'm trying to accomplish. You will note that both the chapter
 number and the appendix letter are labeled with Appendix when in fact
 I want the chapter to be labeled Chapter.

 Does anyone know either (a) how to get \doifnumberelse to work in this
 situation or (b) if there's a better way I should have done this
 instead.

My guess is that \doifnunmberelse won't work since it's not only the
number hidden there, but also formatting, conversion, ... etc.

But I have no idea how to do it in some other way. You may take a look
at the following, but it has the side-effect that it will not only be
used in TOC, but also in text which is most probably not what you
want:

\def\mychapterlistnumber#1{\vbox{#1\crlf}}
\def\mysectionlistnumber#1{\emspace\emspace}
\def\mysectionlisttext#1{%
 \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}}
\setuplist[chapter][width=1em,numberstyle=bold,%
 numbercommand=\mychapterlistnumber,textstyle=bold]
\setuplist[section][width=2em,numbercommand=\mysectionlistnumber,%
 textcommand=\mysectionlisttext]

\unprotect

\setupsection
  [\s!section-2]
  [\v!appendix\c!conversion=appendixconversion,
   \c!conversion=chapterconversion,]

\protect

\def\appendixconversion#1{Appendix #1}
\defineconversion[appendixconversion][\appendixconversion]

\def\chapterconversion#1{Chapter #1}
\defineconversion[chapterconversion][\chapterconversion]

\starttext
\bgroup{}Table of Contents\egroup\par
\startcolumns[n=2,distance=.3in,balance=no]
\bgroup
\placelist[chapter,section][criterium=all,alternative=b]
\egroup
\stopcolumns
\page
\chapter{Foo}
\section{Bar}
\input knuth
\startappendices
\chapter{Corge}
\section{Grault}
\input zapf
\stopappendices
\stoptext


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


Re: [NTG-context] A few questions (mostly about fonts)

2006-08-16 Thread Mojca Miklavec
On 8/16/06, Jeff Smith wrote:
 Hi!

 I'm fairly new to ConTeXt (which I greatly admire, by the way) and
 after reading a couple of provided manuals, I have some lingering
 questions. I thank anyone in advance for replying to any number of
 them.

 The fonts manual mentions how TeX is often qualified as 'the font
 mess'. Well, yeah, my head hurts right now... :-( Here are some
 font-related issues that are very important to me:

Some of the font mess might disappear when the new pdfTeX comes out
(next year). If you're a font fan and if you're in a hurry, you might
try XeTeX (it supports Unicode  OpenType fonts, which are much easier
to use than if you want to install your own font into TeX tree and use
it with standard pdfTeX), but when I last tried it, it didn't support
inclusion of external figures on Windows. (I don't know if Hans has
included it into the standalone Windows version already.)

 a) Somehow I can't come up with small caps in a Times font. Is this
 normal? This happens either by using \sc or \setupcapitals[sc=yes]
 along with \cap.

Left for someone else to answer.

 b) LaTeX has a package for the International Phonetic Alphabet called
 tipa. Is it possible to use it in ConTeXt? If not, can anybody point
 me to the relevant manuals that will help me incorporate official IPA
 fonts (say, the TTF version) in my ConTeXt installation? I'm using the
 stand-alone Windows distribution, btw.

It's not there yet, but as far as I can remember someone (probably
Taco?, I might be wrong) was willing to help incorporating it if one
of the users would describe what exactly is neeeded and help testing
it.

(with XeTeX and a proper OpenType font you would probably get them
out-of-the-box)

 Two language related issues:

 c) There was a French language specific package in LaTeX that made
 possible the direct use of accented characters in the source text
 (like é, à, ô) without using the explicit commands themselves. Can
 this be achieved in ConTeXt (because right now their direct use simply
 halts the compiling)? I would believe so, since the manual for French
 documents by Peter Münster shows how to set up automatic spacing
 before the strong punctuation marks (! ? ; :) without explicit
 commands every time. I'm guessing the strategy would be the same with
 accented characters, but so far I haven't been able to make it work.

 d) Is it possible to build some sort of macro that would automatically
 make \quotation marks different when inside another \quotation
 command? Basically, we use « » (the French guillemets) as standard
 quotation marks, but we use single quotes instead inside another
 quotation. At this point, I'd only need a yes or no answer. It would
 ease my mind to know there can be a way to streamline this usage of
 quotation marks, thereby simplifying greatly the input text.

The answer to both questions:

\enableregime[utf-8] % or latin9/iso-8859-15 or cp1252
\mainlanguage[fr]

See lang-ita.tex. I didn't understand which quotes exactly you want to
have, but if you want the english ones for some reason:

\setuplanguage[fr]
   [leftquote=\upperleftsinglesixquote,
rightquote=\upperrightsingleninequote]

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


Re: [NTG-context] A few questions (mostly about fonts)

2006-08-16 Thread Ricard Roca
Hi!

Quick answers:

 a) Somehow I can't come up with small caps in a Times font. Is this
 normal? This happens either by using \sc or \setupcapitals[sc=yes]
 along with \cap.

Times font that comes with TeX distros doesn't have real small caps, but \cap 
should work, as with any font. The only Times with real small caps is sold by 
Adobe (and others, probably).

 b) LaTeX has a package for the International Phonetic Alphabet called
 tipa. Is it possible to use it in ConTeXt? If not, can anybody point
 me to the relevant manuals that will help me incorporate official IPA
 fonts (say, the TTF version) in my ConTeXt installation? I'm using the
 stand-alone Windows distribution, btw.

Well, some time ago an experimental tipa module for Context was posted in this 
list, but it was never finished. It works only for simple characters (no 
accents, diacritics, tonal marks, etc.; this part was not adapted). I can 
send you it if you want to test a bit. Using non-tipa (computer modern like) 
ipa fonts is difficult, because you would have to write encoding files for 
dvips, ConTeXt, etc. (if you don't understand this terms, better forget 
that). But this happens with pdfTeX...
 I think the way to do ipa typesetting with ConTeXt is using XeTeX. With XeTeX 
you can use ipa *unicode* fonts (not old fonts), like Gentium, Lucida Sans, 
new versions of Doulos, etc., using directly unicode ipa input in your text 
which was not possible with tipa.

 Two language related issues:

 c) There was a French language specific package in LaTeX that made
 possible the direct use of accented characters in the source text
 (like é, à, ô) without using the explicit commands themselves. Can
 this be achieved in ConTeXt (because right now their direct use simply
 halts the compiling)? I would believe so, since the manual for French
 documents by Peter Münster shows how to set up automatic spacing
 before the strong punctuation marks (! ? ; :) without explicit
 commands every time. I'm guessing the strategy would be the same with
 accented characters, but so far I haven't been able to make it work.

You can use accented characters in the source with latin1 or utf8 encodings 
(use \enableregime[il1] or [utf]). You can get colon spacing using 
\useencoding[ffr] *before* \mainlanguage[fr] or \fr.

 d) Is it possible to build some sort of macro that would automatically
 make \quotation marks different when inside another \quotation
 command? Basically, we use « » (the French guillemets) as standard
 quotation marks, but we use single quotes instead inside another
 quotation. At this point, I'd only need a yes or no answer. It would
 ease my mind to know there can be a way to streamline this usage of
 quotation marks, thereby simplifying greatly the input text.

Don't know. Possibly, but I'm not a TeX guru.

 And finally, a silly question:

 e) If purists say that LaTeX is to be pronounced latek, is ConTeXt to
 be pronounced contekt? :-)

I think it is correct to pronounce ['leiteks] too.

 Thanks for your help!
 Jeff Smith
 Québec, Canada
 ___
 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] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
On Wed, 2006-08-16 at 21:46 +0200, Mojca Miklavec wrote:
 My guess is that \doifnunmberelse won't work since it's not only the
 number hidden there, but also formatting, conversion, ... etc.

You're probably right.

 But I have no idea how to do it in some other way. You may take a look
 at the following, but it has the side-effect that it will not only be
 used in TOC, but also in text which is most probably not what you
 want:

Unfortunately, your solution didn't work for me. It did, however, get me
thinking in the right direction. In case anyone is every crazy enough to
follow the same path, here's a much more simple solution that doesn't
even need \doifnumberelse:

-

\definehead[appendix][chapter]
\def\myappendixlistnumber#1{\vbox{Appendix #1\crlf}}
\def\mychapterlistnumber#1{\vbox{Chapter #1\crlf}}
\def\mysectionlistnumber#1{\emspace\emspace}
\def\mysectionlisttext#1{%
  \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}}
\setuplist[appendix][width=1em,numberstyle=bold,%
  numbercommand=\myappendixlistnumber,textstyle=bold]
\setuplist[chapter][width=1em,numberstyle=bold,%
  numbercommand=\mychapterlistnumber,textstyle=bold]
\setuplist[section][width=2em,numbercommand=\mysectionlistnumber,%
  textcommand=\mysectionlisttext]

\starttext
\bgroup{}Table of Contents\egroup\par
\startcolumns[n=2,distance=.3in,balance=no]
\bgroup
\placelist[chapter,appendix,section][criterium=all,alternative=b]
\egroup
\stopcolumns
\page
\chapter{Foo}
\section{Bar}
\input knuth
\writetolist[section]{}{Lab Tasks}
\input douglas
\section{Baz}
\startappendices
\appendix{Corge}
\section{Grault}
\input zapf
\stopappendices
\stoptext

-

-- 
Stuart Jansen [EMAIL PROTECTED]
Guru Labs, L.C.


signature.asc
Description: This is a digitally signed message part
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Purpose(s) of texmfstart

2006-08-16 Thread John R. Culleton
On Wednesday 16 August 2006 14:09, Taco Hoekwater wrote:
 John R. Culleton wrote:
  I have read a great deal about the details of texmfstart. I still
  don't have a handle on what its purpose is. Did anyone write a
  manual on the program or create a comprehensive wiki entry?

 I love easy questions:

http://www.pragma-ade.com/general/manuals/mtexmfstart.pdf

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

Hmm. It seems to be a solution to problems I have not yet
encountered. So I will proceed with just plain texexec
unless/until someone says texmfstart is required for some reason.

Thanks as always for a prompt and useful reply. 
-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com


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


Re: [NTG-context] typeface question: no small capped

2006-08-16 Thread Aditya Mahajan
On Wed, 16 Aug 2006, Thomas A. Schmitz wrote:


 On Aug 16, 2006, at 8:42 PM, Aditya Mahajan wrote:

 Hi,
   I do not get a small capped with the following setup. Can someone
 explain what I am missing in the definitions.


 I'd be very surprised if the free times font has any small caps. I
 fyou want them, you'll have to fake 'em (but I would recommend
 against that, it's really ugly).

I want to write a conference paper according to IEEE (latex) format, 
and this involves copying all the bad font choices in IEEEtran.cls 
(Times text, cm math, ughh...). I need smallcaps only for section 
titles, so right now I am doing a local switch to latin modern for the 
section titles. This is what IEEEtran.cls also does. Do you think that 
faking smallcaps from Times will look better? If so, how can I fake 
smallcaps?

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


Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Hans Hagen
Stuart Jansen wrote:
 I asked this question a couple of days ago, but didn't get any takers. I
 don't want to be a pest, but it's frustrating to be so close yet unable
 to solve this final problem. Let's see if rephrasing the question helps.

 I'm trying to use \doifnumberelse in a \setuplist numbercommand= but it
 isn't working.
   
as mojca said ... #1 is not a simple thing (try \showargument{#1})

here's a solution, tricky but in this case ok

\definesymbol[list][whatever][\DoWhatever]

\def\DoWhatever{\doifnumberelse{\currentlistnumber}{Chapter}{Appendix} 
\currentlistnumber}

\setuplist[chapter][width=fit,distance=1em,numberstyle=bold,textstyle=bold,symbol=whatever]

\starttext
\startfrontmatter
\title{Table of Contents}
\placelist[chapter,section][criterium=text,alternative=b]
\stopfrontmatter
\startbodymatter
\chapter{Foo} \section{Bar} \input knuth
\stopbodymatter
\startappendices
\chapter{Corge} \section{Grault} \input zapf
\stopappendices
\stoptext

some time ago i made this plugable so you're lucky

a better solution would be something

\placelist[chapter,section][criterium=frontmatter,alternative=b,numbercommand=]
\placelist[chapter,section][criterium=bodymatter,alternative=b,numbercommand=]
etc

so you may register that (at the collector or the wiki) as a feature 
request


wikifyable anyway
 The simplified example below shows the very specific table of contents
 layout I'm trying to accomplish. You will note that both the chapter
 number and the appendix letter are labeled with Appendix when in fact
 I want the chapter to be labeled Chapter.

 Does anyone know either (a) how to get \doifnumberelse to work in this
 situation or (b) if there's a better way I should have done this
 instead.

 -

 \def\mychapterlistnumber#1{\vbox{%
   \doifnumberelse{#1}{Chapter}{Appendix} #1\crlf}}
 \def\mysectionlistnumber#1{\emspace\emspace}
 \def\mysectionlisttext#1{%
   \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}}
 \setuplist[chapter][width=1em,numberstyle=bold,%
   numbercommand=\mychapterlistnumber,textstyle=bold]
 \setuplist[section][width=2em,numbercommand=\mysectionlistnumber,%
   textcommand=\mysectionlisttext]

 \starttext
 \bgroup{}Table of Contents\egroup\par
 \startcolumns[n=2,distance=.3in,balance=no]
 \bgroup
 \placelist[chapter,section][criterium=all,alternative=b]
 \egroup
 \stopcolumns
 \page
 \chapter{Foo}
 \section{Bar}
 \input knuth
 \startappendices
 \chapter{Corge}
 \section{Grault}
 \input zapf
 \stopappendices
 \stoptext

 -


   
 

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


-- 

-
  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] A few questions (mostly about fonts)

2006-08-16 Thread Hans Hagen
Mojca Miklavec wrote:
 On 8/16/06, Jeff Smith wrote:
   
 Hi!

 I'm fairly new to ConTeXt (which I greatly admire, by the way) and
 after reading a couple of provided manuals, I have some lingering
 questions. I thank anyone in advance for replying to any number of
 them.

 The fonts manual mentions how TeX is often qualified as 'the font
 mess'. Well, yeah, my head hurts right now... :-( Here are some
 font-related issues that are very important to me:
 
don't forget that when tex came around much of this digital font was 
still unexplored

also, any font related mechanism is complex as soon as math gets 
involved; if computer modern would not have had design sizes much would 
have been simplier as well; another factor is that  most font 
subsystems  were written when tex's hash was still small and font memory 
expensive ; of course the (sometimes global) character of font settings 
also plays havoc

anyhow, tex users will always demand features beyond what is easy

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] A few questions (mostly about fonts)

2006-08-16 Thread Taco Hoekwater
Mojca Miklavec wrote:
 
b) LaTeX has a package for the International Phonetic Alphabet called
tipa. Is it possible to use it in ConTeXt? If not, can anybody point
me to the relevant manuals that will help me incorporate official IPA
fonts (say, the TTF version) in my ConTeXt installation? I'm using the
stand-alone Windows distribution, btw.
 
 It's not there yet, but as far as I can remember someone (probably
 Taco?, I might be wrong) was willing to help incorporating it if one
 of the users would describe what exactly is neeeded and help testing
 it.

Yes that was me. Progress would be made faster if I could keep the 
beta-testers from vapourising right after I receide their agreement
email to test stuff.

 (with XeTeX and a proper OpenType font you would probably get them
 out-of-the-box)

Ricard mentioned this also. Anyway, if you want to spend some time
helping me port the functionality of tipa, drop me a line.

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


Re: [NTG-context] compiling project files

2006-08-16 Thread Hans Hagen
Taco Hoekwater wrote:
 Mojca Miklavec wrote:
   
 On 8/15/06, Aditya Mahajan wrote:


 
 2. When compiling projects that include MPgraphics, I have to run that
 texmfstart line
  above twice to see changes to MPgraphics in my pdf. I thought
 
 that one

   
 idea behind
  texexec is that it takes care of all incantations, like make in
 programming.

 
 This should not happen.
   
 I agree with the fact that it should not happen, but it does (perhaps
 I should say did, because the last time when I had the problem was
 once in May; a whole lot of changes have been made since then and I'm
 not sure if I can find the file which caused me problems again).
 

 IIRC, this problem only crops up when \runMPgraphicstrue is not set
 (so that mpost is run by texexec between TeX runs)
   
normally checksums are made; i must see the failing example 

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] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
On Wed, 2006-08-16 at 23:36 +0200, Hans Hagen wrote:
 some time ago i made this plugable so you're lucky

Thanks! Although my \definehead solution worked in simple documents, in
didn't work in my more complex layout. Your solution works perfectly.

 a better solution would be something
 
 \placelist[chapter,section][criterium=frontmatter,alternative=b,numbercommand=]
 \placelist[chapter,section][criterium=bodymatter,alternative=b,numbercommand=]
 etc
 
 so you may register that (at the collector or the wiki) as a feature 
 request

Registered. 

-- 
Stuart Jansen [EMAIL PROTECTED]
Guru Labs, L.C.


signature.asc
Description: This is a digitally signed message part
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Different formatting of section numbers for title and references.

2006-08-16 Thread Aditya Mahajan
Hi,
  I want a setup in which section numbers are Roman (I, II, etc.) and 
subsection numbers are Character (A, B, etc. without the section 
number prefixed). This is easy to achieve using

\setupsection[section-3][bodypartconversion=Romannumerals]
\setupsection[section-4][bodypartconversion=Character,
  previousnumber=no]

However, when I reference these sections, I want
\in[section] to give I (which it does happens) and \in[subsection] to 
give I-A. How can I achieve the correct reference numbering for 
subsections?

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


Re: [NTG-context] A few questions (mostly about fonts)

2006-08-16 Thread Jeff Smith
Thank you all for your answers!

A quick follow-up, and a new question at the end:

Ad question a) My problem with Times and small caps was just a bad
mapping of names on my side. So I'm told that \cap should work, and
well, of course it does! :-)

Ad question b) Ricard Roca said:

I think the way to do ipa typesetting with ConTeXt is using XeTeX.
With XeTeX you can use ipa *unicode* fonts (not old fonts), like
Gentium, Lucida Sans,new versions of Doulos, etc., using directly
unicode ipa input in your text which was not possible with tipa.

This sounds like very, very beautiful music to my ears! Now I'm a
happy man. Still, I have no idea yet how to use XeTeX with ConTeXt,
but I will investigate shortly. This truly is the best solution for my
needs. Thanks!

Ad question c) I already had \enableregime[utf] in my source but it
doesn't work for a reason I still don't know. \enableregime[il1] does
make things work like I wanted, however, but I had to remove the line
\usemodule[french] which I took from the French template I mentioned
in my other mail. So thanks a lot again!

Ad question d) Still waiting to see if someone will come up with an
idea. To explain it in other words, I want to use only one command
(namely, \quote or \quotation) but I want two different types of quote
characters to be used depending on the context. For example:

This quote has 'quotes' in it.

which would be

\quotation{This quote has \quotation{quotes} in it.}

I'm just inquiring as to the possibility of this being macroed.

New question:

All the examples that I find of \setupparagraphs in the manuals are
cases of different paragraphs layed out in columns. Is it still this
command I have to use in order to style in advance single-column
custom paragraphs that I can apply anywhere according to my needs?
This would seem much better than styling individual paragraphs all
throughout. The thing is, in the document I am typesetting with
ConTeXt (an etymological dictionary), the main organizing unit is the
paragraph, not the chapter, section, and such.

Thanks again for your patience with me! It's greatly appreciated.
Jeff Smith
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] A few questions (mostly about fonts)

2006-08-16 Thread Mojca Miklavec
On 8/17/06, Jeff Smith wrote:
 Thank you all for your answers!

 A quick follow-up, and a new question at the end:

 Ad question a) My problem with Times and small caps was just a bad
 mapping of names on my side. So I'm told that \cap should work, and
 well, of course it does! :-)

 Ad question b) Ricard Roca said:

 I think the way to do ipa typesetting with ConTeXt is using XeTeX.
 With XeTeX you can use ipa *unicode* fonts (not old fonts), like
 Gentium, Lucida Sans,new versions of Doulos, etc., using directly
 unicode ipa input in your text which was not possible with tipa.

 This sounds like very, very beautiful music to my ears! Now I'm a
 happy man. Still, I have no idea yet how to use XeTeX with ConTeXt,
 but I will investigate shortly. This truly is the best solution for my
 needs. Thanks!

There are two options:
a) ask Hans to include it into the standalone windows distribution (it
might be that he did that already, but I didn't check since it's 200
MB, but it's been updated to the new version today anyway, so it might
be worth refreshing it anyway)

b) Download ftp://akagi.ms.u-tokyo.ac.jp/pub/TeX/win32/xetex-w32.tar.bz2
(I unpack it with Total Commander; you need a plugin for it, available
on the official website)

copy the content of bin into texmf-mswin/bin (just the missing
files, or simply overwrite them all, I don't think that it makes much
difference)

Copy the content of share/texmf to texmf. If you really mind, you
can delete the following before copying (but it's not necessary):
- tex/xetex/xelatex
- tex/xetex/generic/hyphen
- tex/xetex/generic/ifxetex
- web2c/xetex/xe[la]tex.fmt
- (doc in case you don't need it)

(web2c/xetex/xetex.pool should better go to texmf-mswin/web2c/, but
that doesn't make that much difference either)

Open setuptex.bat and add the following three lines (surrounded by the
best place where they should be put):

set HOMETEXMF=

set FONTCONFIG_FILE=fonts.conf
set FONTCONFIG_PATH=%TEXMFMAIN%\fonts\conf
set PKGCACHEDIR=%TEXMFMAIN%\fonts\cache

if not %CTXDEVTXPATH%== SET CTXDEVTXPATH=


Next step is not necessary, but might be handy of you only want to
access some fonts with TeX, but not with OS.

I added the following line to C:\Programs\context\texmf\fonts\conf\fonts.conf:

dirc:/Programs/context/texmf/fonts/opentype/public/lm/dir


Then go to command line and say
fc-cache -f -v (you have to do that every time when you install a
new font if you want to use it in XeTeX)

texexec --xtx --make --all

You can then compile your document using
texexec --xtx filename

See http://wiki.contextgarden.net/Fonts_in_XeTeX for some further instructions.

Basically all you need to do is something like

\definetypeface[gentium][rm][Xserif][Gentium]
\setupbodyfont[gentium,12pt]

\starttext
ɸ β f v θ ð s z ʃ ʒ ʂ ʐ ç ʝ
\stoptext

(But you need an editor suitable for Unicode. See
http://pub.mojca.org/tex/temp/ipa.pdf for the result.)

You can retrieve a list of fonts available on your system with something like:
fc-list namelist.txt

I should put that to
http://wiki.contextgarden.net/Windows_Installation, but if Hans ads it
to standalone, the instructions will become obsolete anyway.

 Ad question c) I already had \enableregime[utf] in my source but it
 doesn't work for a reason I still don't know. \enableregime[il1] does
 make things work like I wanted, however, but I had to remove the line
 \usemodule[french] which I took from the French template I mentioned
 in my other mail. So thanks a lot again!

If your document is in latin1 then utf cannot/won't work. (If you also
need the Euro symbol, you should use \enableregime[il9] or [latin9] or
[iso-8859-15] instead of [il1].)

 Ad question d) Still waiting to see if someone will come up with an
 idea. To explain it in other words, I want to use only one command
 (namely, \quote or \quotation) but I want two different types of quote
 characters to be used depending on the context. For example:

 This quote has 'quotes' in it.

 which would be

 \quotation{This quote has \quotation{quotes} in it.}

 I'm just inquiring as to the possibility of this being macroed.

\let\normalquotation=\quotation
\def\quotation#1
{\bgroup\def\quotation##1{\quote{##1}}\normalquotation{#1}\egroup}

Leaving your last question to the others ...

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


� char

2006-08-16 Thread Horacio Suarez

hello

I need this caracter: ¿
I´ve load a module, enco-ec, but I can´t see the ¿.
I also tryed \usetypescript[modern][ec] but didn´t work either.

I have another problem. It´s a two column document. In a page, the first 
column is overlaping a footnote. Column balance is on.


Thankyou all for the answers to the previous questions.

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


[NTG-context] feature request: external figures with XeTeX

2006-08-16 Thread Mojca Miklavec
Hello Hans,

Would it be possible to add high-level support (\externalfigure) for
inclusion of external figures in XeTeX? (I didn't know that it worked
- I remember a failed experiment from some time ago, but it might have
been my fault.)

There are two commands:
   \XeTeXpdffile filename optional options for PDF (supporting
inclusion of different pages)
   \XeTeXpicfile filename optional options for everything else

So for example this should work:
   \XeTeXpicfile abc.png width 8cm (or  xscaled 1000 yscaled 2000 for example)
(However I don't know which all the available options are.)

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


Re: [NTG-context] X char

2006-08-16 Thread Aditya Mahajan
On Thu, 17 Aug 2006, Horacio Suarez wrote:

 hello

 I need this caracter: ¿
 I´ve load a module, enco-ec, but I can´t see the ¿.
 I also tryed \usetypescript[modern][ec] but didn´t work either.


It is much simpler than that. Just use utf regime.

\enableregime[utf]
\starttext
  ¿
\stoptext


 I have another problem. It´s a two column document. In a page, the first 
 column is overlaping a footnote. Column balance is on.

Do you use start stop columns or columnsets?

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


Re: [NTG-context] A few questions (mostly about fonts)

2006-08-16 Thread Aditya Mahajan
On Wed, 16 Aug 2006, Jeff Smith wrote:

Mojka answered your other questions.

 New question:

 All the examples that I find of \setupparagraphs in the manuals are
 cases of different paragraphs layed out in columns. Is it still this
 command I have to use in order to style in advance single-column
 custom paragraphs that I can apply anywhere according to my needs?
 This would seem much better than styling individual paragraphs all
 throughout. The thing is, in the document I am typesetting with
 ConTeXt (an etymological dictionary), the main organizing unit is the
 paragraph, not the chapter, section, and such.

If I understand you correctly, you can get this by a custom 
environment. For example

\def\startMYLAYOUT%
{\begingroup
  whatever settings you want}

\def\stopMYLAYOUT{\endgroup\endgraf}

and then you can use

\startMYLAYOUT

\stopMYLAYOUT

in your text.

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


Re: [NTG-context] Enable hyphenation or how to check it is enabled

2006-08-16 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Thomas == Thomas A Schmitz [EMAIL PROTECTED] writes:

Thomas I have this at an earlier stage. Later, there's a message
Thomas that the patterns get loaded:

Thomas language : patterns en for en loaded (n=22,e=ec,m=ec)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
Thomas language : patterns uk for uk loaded (n=23,e=ec,m=ec)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.pat)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.hyp)
Thomas language : patterns us for us loaded (n=24,e=ec,m=ec)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
Thomas language : patterns agr for agr loaded (n=25,e=agr,m=agr)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat)
Thomas 
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.hyp)

Thomas and so on.

Thomas Do you have these messages as well? Otherwise: no patterns
Thomas == no hyphenation.

None at all when compiling my .tex file

- -- 
All the best,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFE4/80IyuuaiRyjTYRAtg3AJ4jI7iFpG0EdJSlWSiIgbhXt2krXwCaAvro
Bc/8UJL6pviWhQt7wYm8p70=
=0ONU
-END PGP SIGNATURE-

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


Re: [NTG-context] typeface question: no small capped

2006-08-16 Thread Thomas A. Schmitz

On Aug 16, 2006, at 11:27 PM, Aditya Mahajan wrote:


 I want to write a conference paper according to IEEE (latex) format,
 and this involves copying all the bad font choices in IEEEtran.cls
 (Times text, cm math, ughh...). I need smallcaps only for section
 titles, so right now I am doing a local switch to latin modern for the
 section titles. This is what IEEEtran.cls also does. Do you think that
 faking smallcaps from Times will look better? If so, how can I fake
 smallcaps?

 Thanks,
 Aditya

Faking is already implemented: \kap{foo} (see cont-eni, chapter 5.7).  
You decide if this is uglier than using latin modern for section  
titles. I have actually bought a couple of professional fonts, and  
once you've seen the real McCoy, you'll find the fake ones repulsive.  
But most people won't even realize, I guess.

HTH

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