Re: [NTG-context] My first week with ConTeXt

2003-09-10 Thread Mari Voipio
On Wed, 10 Sep 2003, Andreas Gschwendtner wrote:
 -- \placefigure (caption) question #1:
 For some of my figures I want to have captions _below_ the figure, but
 the caption should be wider than the figure itself (if the figure is
 0.5\textwidth and centered, I want the caption to be 0.9\textwidth or
 even \textwidth). How do I do that?

Took me a year and a half to find out about this one, but this works for
me now:

\setupcaptions
[width=\textwidth, % makes caption as wide as text
 align=middle]  % aligns caption in the middle (of text + pic)

Note: all my captions (figures + tables) are under the pictures; as I
haven't done anything about it, I'd assume it being the default setting.


Mari

PS. While I cannot share the contents of my ConTeXt files at this point,
I'll be glad to send you the setup part of my file(s) - although I don't
probably do very beautiful ConTeXt code here, it is fairly simple and
well documented (as others will need to understand it as well).
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] My first week with ConTeXt

2003-09-10 Thread Andreas Gschwendtner
On Wednesday, Sep 10, 2003, at 10:40 Europe/Berlin, Mari Voipio wrote:

Took me a year and a half to find out about this one, but this works 
for
me now:

\setupcaptions
[width=\textwidth, % makes caption as wide as text
 align=middle]  % aligns caption in the middle (of text + pic)
Note: all my captions (figures + tables) are under the pictures; as I
haven't done anything about it, I'd assume it being the default 
setting.
Thanks for the reply!
Hmmm... so it is not as trivial as it seems! But for the explained 
reasons, I need captions to be besides the figures as well as below... 
I am sure somebody else must have solved this problem before?!

Andreas

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


Re: [NTG-context] double-lined Z for meaning integers

2003-09-10 Thread Hans Hagen
At 12:15 09/09/2003 -0400, you wrote:
Hi.  I am having trouble finding the right incantation for summoning
the correct Z.  There are some doubly-lined versions of N, Z, Q, and
R, that are used often to signify the sets of natural numbers,
integers, rational numbers, and reals, respectively.
Does anyone know how to get those?  Here's a pic of the Z and Q.  Note
that there's white between the lines -- not fill.
 -
----/ \-
///   | \
   ///|  \
  /// |   \
  |   / | |   |
 /|/  |\
// |  ||
   //  |  ||
  //   |  ||
 //\  |/
//  | |   |
||  \ |   /
   //\\  /
  //  \   |\-
 //-\ /- \
---  -\


math-tex defined:

\definemathcommand [integers]   {\mfunction{Z}}
\definemathcommand [reals]  {\mfunction{R}}
\definemathcommand [rationals]  {\mfunction{Q}}
\definemathcommand [naturalnumbers] {\mfunction{N}}
\definemathcommand [complexes]  {\mfunction{C}}
\definemathcommand [primes] {\mfunction{P}}
support for blackboard letters depends on the fonts you use, so math-ams 
defined:

\definemathcommand [integers]   {\blackboard{Z}}
\definemathcommand [reals]  {\blackboard{R}}
\definemathcommand [rationals]  {\blackboard{Q}}
\definemathcommand [naturalnumbers] {\blackboard{N}}
\definemathcommand [complexes]  {\blackboard{C}}
\definemathcommand [primes] {\blackboard{P}}
so .. if you use the ams fonts, $\integers$ and $\rationals$ should work

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Status update on e-Omega/Aleph

2003-09-10 Thread Hans Hagen
At 09:45 09/09/2003 -0600, you wrote:
 * If my work is entirely in English, is there any benfit of Aleph for
 me?
Sure. Consider, for example, the problem of transliteration. You may want to
define a series of character mappings using otps to avoid using a lot of
control sequences for accents and the like. Let's say u have an accent \.d
that u use often for transliterating some sound. With an otp u can define
the character sequence .d so that it always gives you \.d in the output.
You can group your otp's so that they only take effect when delimited in
some predefined way, e.g. .d
Suppose you want a character to behave as a control sequence but don't want
to make that character active. You can define a character in an otp so that
whenever you type it you get a particular control sequence.
I'm sure there are other creative examples as well.
i suggest that later this year idris/gb/me try to cook up a manual for that 
kind of thingies

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Greek font

2003-09-10 Thread Thomas A . Schmitz
Willi,
thanks for being supportive. In the meantime, I have taken another 
step: by using tftopl, I produced a .pl-file of my font and edited it. 
I inserted a LIGTABLE with ligature (and kerning) information. After 
using pltotf and using the new .tfm, I had partial success: I get a lot 
of the ligatures I want! However, a few problems remain:
1) The space-glyph has vanished. I assume it must somehow have been 
mismapped. Does anybody have an idea how I could remap this?
2) One Greek accent is called by using the ~-character. However, I 
have no idea to which slot it is mapped; the same is true for the 
|-character. How can I find out? And, by what Giuseppe wrote me a 
while ago, I gather that I have to make at least the | inactive. Is 
this done with \catcode`|=\other ?
I'm hopeful that these problems can be solved. And I am looking forward 
to that. I feel a lot like the monkey in a story by Wilhelm Busch: it 
has a coconut, it knows there must be something delicious inside, but 
it doesn't know how to reach it. that's the way i feel about context!
Best
Thomas

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


Re: [NTG-context] finding external figures

2003-09-10 Thread Matthew Huggett
Pawel Jackowski na Onet wrote:

Is there any way to use absolute path for external figure in ConTeXt code?

 

Is the following example from the manual of any help?
   \setupexternalfigures[directory={c:/fig/eps,c:/fig/pdf}]
Note that the path needs /  not \
Matthew

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


Re: [NTG-context] My first week with ConTeXt

2003-09-10 Thread Willi Egger
Hi Andreas,

Though not a wizzard ... Did you try to use the \setupcaption :

\setupcaptions
[location=top|bottom|none|high|low|middle,
 width=fit|broad|max|dimension,
 minwidth=fit|dimension,
 headstyle=normal|bold|slanted|boldslanted|type|cap|small...|command,
 style=normal|bold|slanted|boldslanted|type|cap|small...|command,
 number=yes|no,
 inbetween=command,
 align=left|middle|right|no,
 conversion=numbers|characters|Characters|romannumerals|Romannumerals,
 way=bytext|by*section,
 separator=text,
 command=command,
 distance=dimension]

May be you need to use this command in connection with the figures in
question. May be a \bgroup \egroup around the setupcommand together with the
placefigure command helps to keep everything local. Probably you want to
write a macro which saves typeing


Willi
- Original Message - 
From: Andreas Gschwendtner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 12:21 PM
Subject: Re: [NTG-context] My first week with ConTeXt


 On Wednesday, Sep 10, 2003, at 10:40 Europe/Berlin, Mari Voipio wrote:

  Took me a year and a half to find out about this one, but this works
  for
  me now:
 
  \setupcaptions
  [width=\textwidth, % makes caption as wide as text
  align=middle] % aligns caption in the middle (of text + pic)
 
  Note: all my captions (figures + tables) are under the pictures; as I
  haven't done anything about it, I'd assume it being the default
  setting.

 Thanks for the reply!
 Hmmm... so it is not as trivial as it seems! But for the explained
 reasons, I need captions to be besides the figures as well as below...
 I am sure somebody else must have solved this problem before?!

 Andreas

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


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


Re: [NTG-context] Re: My first week with ConTeXt

2003-09-10 Thread Andreas Gschwendtner
On Wednesday, Sep 10, 2003, at 14:35 Europe/Berlin, Patrick Gundlach 
wrote:

could you provide some examples of what kind of documents you would
like to see and what especially you would like to learn?
Basically I want to typeset scientific documents in the form of a book 
-- nothing to fancy, nothing interactive. As a starting point, I would 
be very happy to have all the functionality back that I am used to with 
LaTeX and KOMA-Script:

- Placing figures and captions (see earlier questions in this thread)
- Different examples of formatting the table of contents (e.g. 
indenting sections and sub(...)sections, setting chapters boldface sans 
serif...)
- How to format the index (divided into sections preceeded by the 
appropriate uppercase letter, pagenumbers aligned right, \dotfill 
between word and pagenumber)
- How to format the bibliography (e. g. vertical space between the 
entrys)
- Define different page styles for the first page of each chapter (e. 
g. no headers) and the following pages

Not that I don't want to read manuals and experiment myself -- it just 
would be a big time saver to see how other people do things like 
that... As always, time is short if you are trying to finish a project 
-- at the moment I spend more time learning than writing text. Thanks 
for any support!

Andreas



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


[NTG-context] Question on \setupencoding[default=ec]

2003-09-10 Thread Steffen Wolfrum
Hallo,

I have re-read the mailings in the archive concerning proper
hyphenation and I saw
that it is a known problem to have hyphenation in words containing
cedilla, accent or umlaut.
As it is solved in LaTeX with the [T1]{fontenc} package some people
wrote that in ConTeXt the equivalent should be:
\setupencoding[default=ec]

But that's not true (at least for german Umlaute).

A ConTeXt  example:

\language[de]
\mainlanguage[de]
\enableregime[mac]
\setupencoding[default=ec]
\starttext

\showhyphens{alter}

\showhyphens{früher}

\stoptext

doesn't recognize früher (frü-her):

Underfull \hbox (badness 1) in paragraph at lines 8--8
[] /cmr10/al-ter
Underfull \hbox (badness 1) in paragraph at lines 10--10
[] /cmr10/fr^^?uher
(the whole log see below)

While a LaTeX example

\documentclass{book}
\usepackage{german}
\usepackage[applemac]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}

\showhyphens{alter}

\showhyphens{früher}

\end{document}

brings the right hyphenation (frü-her)

Underfull \hbox (badness 1) in paragraph at lines 8--8
[] /ecrm1000/al-ter
Underfull \hbox (badness 1) in paragraph at lines 10--10
[] /ecrm1000/fr¸-her
(the whole log see below)



Don't ConTeXt and LaTeX use both the same hyphenation patterns?

So what must be done in ConTeXt that it also works?

Thanks for any reply,

Steffen



*
p.s. context and latex log files:
*
 TeXExec 3.3 - ConTeXt / PRAGMA ADE 1997-2003

executable : pdfetex
format : cont-en
 inputfile : hypcontext
output : pdftex
 interface : en
  current mode : none
   TeX run : 1
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./hypcontext.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg}
ConTeXt  ver: 2003.8.21  fmt: 2003.9.6  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
)
system : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : hypcontext.top loaded
(./hypcontext.top
specials   : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
unprotect 3 unprotect 4
system (E-TEX) : [line 1907] \ifcsname
protect 4 protect 3)
specials   : fdf loaded
unprotect 3 protect 3)
specials   : fdf,tpd loaded
)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
systems: begin file hypcontext at line 6
Underfull \hbox (badness 1) in paragraph at lines 8--8
[] /cmr10/al-ter
Underfull \hbox (badness 1) in paragraph at lines 10--10
[] /cmr10/fr^^?uher
systems: end file hypcontext at line 12
 )
(see the transcript file for additional information)
No pages of output.
Transcript written on hypcontext.log.
   return code : 0
  run time : 2 seconds
  sorting and checking : running texutil
 TeXUtil 7.5 - ConTeXt / PRAGMA ADE 1992-2003

action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : hypcontext.tui
   output file : hypcontext.tuo
   passed commands : 8
 remapped keys : 0
  register entries : 0 - 0 entries 0 references
   synonym entries : 0 - 0 entries
embedded files : 1
 utility file analysis : another run needed
   TeX run : 2
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./hypcontext.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg}
ConTeXt  ver: 2003.8.21  fmt: 2003.9.6  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
)
system : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded

Re: [NTG-context] Re: My first week with ConTeXt

2003-09-10 Thread Holger Schöner
Hi Andreas,

On Wed, 10 Sep 2003, Andreas Gschwendtner wrote:
 Basically I want to typeset scientific documents in the form of a book
 -- nothing to fancy, nothing interactive. As a starting point, I would
 be very happy to have all the functionality back that I am used to with
 LaTeX and KOMA-Script:

 - Placing figures and captions (see earlier questions in this thread)

Unfortunately I cannot help you there (more than already done ...)

 - Different examples of formatting the table of contents (e.g.
 indenting sections and sub(...)sections, setting chapters boldface sans
 serif...)

In ConTeXt the manual (cont-enp.pdf) there are some examples (p. 149ff.).
To achieve formatting dependent on heading level, you can setup their lists
separately, eg. \setuplist[chapter][...] \setuplist[section][...]. These
setups should be kept also in the combined list (content). This way you
could provide different indenting space (margin and distance) for different
sublevels. The key style is understood as well
(\setuplist[chapter][style=bold]), and in case the available style do not
suffice, you can provide commands:
\setuplist[chapter][style={\ss\bf}]
to get sans serif boldface.

 - How to format the index (divided into sections preceeded by the
 appropriate uppercase letter, pagenumbers aligned right, \dotfill
 between word and pagenumber)

I am wondering about that (the uppercase letter) as well.

You can right-align the numbers by typing
\setupregister[index][distance={5pt plus 1fill}]
unfortunately this does not give you the opportunity to fill the space with
dots.

 - How to format the bibliography (e. g. vertical space between the
 entrys)

As far as I remember, the bibliography module uses descriptions to format
the entries; ie. it should be possible to use \setupdescriptions[...][...]
to tune spacing (eg. the keys before, after, inbetween). I remeber
having read about it in the bibliography manual, there should be more in
there.

 - Define different page styles for the first page of each chapter (e.
 g. no headers) and the following pages

You use eg.
\setupheadertexts[text][][section][chapter][]
\setupheader[state=normal,style={\ss},leftwidth=10cm,rightwidth=10cm]
for general setup, and for the chapter pages
\setuphead[chapter][header=high,page=right]
instead of high you can also use empty (first removes header
completely, second leaves the space, although it is empty). You can also
define you own special header/footer texts:
\definetext[chapter][footer][pagenumber]
\setuphead[chapter][header=high,footer=chapter,page=right]
if you need a special footer on chapter pages. This is all in the mentioned
manual (p. 80f.).

But I know how hard it is to keep in memory where everything is written (or
at least, what is written ...) ;-)

-- 
Holger F. Schoener  TU Berlin; Dept. IV: EE and Computer Science
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany



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


Re[2]: [NTG-context] double-lined Z for meaning integers

2003-09-10 Thread Giuseppe Bilotta
Wednesday, September 10, 2003 Ed L Cashin wrote:

 I went grepping around for the commands that you and Giuseppe Bilotta
 refer to, but I couldn't find them.  Perhaps my context version is too
 old? 


   [EMAIL PROTECTED] tmp$ texexec --version
  
TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000
  
AAARGH!

(yes :))

-- 
Giuseppe Oblomov Bilotta




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


Re: [NTG-context] Greek font

2003-09-10 Thread Siep Kroonenberg
On Mon, Sep 08, 2003 at 04:40:31PM +0200, Thomas A. Schmitz wrote:
 Willi,
 thanks for being supportive. In the meantime, I have taken another 
 step: by using tftopl, I produced a .pl-file of my font and edited it. 
 I inserted a LIGTABLE with ligature (and kerning) information. After 
 using pltotf and using the new .tfm, I had partial success: I get a lot 
 of the ligatures I want! However, a few problems remain:
 1) The space-glyph has vanished. I assume it must somehow have been 
 mismapped. Does anybody have an idea how I could remap this?

TeX doesn't use a space glyph. Instead, there is a fontdimen
space and there may be boundarychar kerns and ligatures to replace
space kerns and -ligs.

If you want more complete documentation: get a TeX source tree, run
weave on pltotf.web or vptovf.web and compile the resulting TeX
file.

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


Re: [NTG-context] Question on \setupencoding[default=ec]

2003-09-10 Thread Jens-Uwe Morawski
On Wed, 10 Sep 2003 16:39:23 +0200
Steffen Wolfrum [EMAIL PROTECTED] wrote:

 I have re-read the mailings in the archive concerning proper 
 hyphenation and I saw
 that it is a known problem to have hyphenation in words containing 
 cedilla, accent or umlaut.
 
 As it is solved in LaTeX with the [T1]{fontenc} package some people 
 wrote that in ConTeXt the equivalent should be:

ConTeXt has, AFAIK, no support for ec-encoded CM-like fonts, i.e cm-super.
This will change when the LM-fonts are supported.
 
 \setupencoding[default=ec]
 
 But that's not true (at least for german Umlaute).

use a font that is available in ec

 \language[de]
 \mainlanguage[de]
 \enableregime[mac]
 \setupencoding[default=ec]

\setupbodyfont[pos]

 \starttext
 
 \showhyphens{alter}
 
 \showhyphens{früher}
 
 \stoptext

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


[NTG-context] Re: Question on \setupencoding[default=ec]

2003-09-10 Thread Patrick Gundlach
Hello Steffen,

 I have re-read the mailings in the archive concerning proper
 hyphenation and I saw that it is a known problem to have hyphenation
 in words containing cedilla, accent or umlaut.

Right. 

 As it is solved in LaTeX with the [T1]{fontenc} package some people
 wrote that in ConTeXt the equivalent should be:

 \setupencoding[default=ec]
not quite. This does not really do anything, except storing the
defaultencoding. (see enco-ini.tex)

 But that's not true (at least for german Umlaute).

try this: (you need to setup your regime again)

\mainlanguage[de]
\enableregime[il1]
\showhyphens{Bohrtürme} % 1
\setupencoding[default=ec]
\usetypescript [all][computer-modern][\defaultencoding]
\starttext
\showhyphens{Bohrtürme} %2
\switchtobodyfont[cmr]  %3
\showhyphens{Bohrtürme} %4
\showhyphens{alter}
\showhyphens{früher}
\stoptext


%1 is not surprising: /cmr10/Bohrt^^?urme. Awful. %2 is slightly
surprising (/ecrm1000/Bohrt^^?urme), because one would not expect to have to
reload cmr again and it looks as if ecrm is loaded. But when you start
using text here, no font switch takes place. %3 is the necessary step
to enable ec font. %4 is what you want: /ecrm1000/Bohr-tür-me. But
don't ask me why %2 displays what it does. I expected something like
/cmr10/Bohrt^^?urme.

Patrick

-- 
Silent is the goldfish in its bowl
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Question on \setupencoding[default=ec]

2003-09-10 Thread Patrick Gundlach
Hi Jens,

 ConTeXt has, AFAIK, no support for ec-encoded CM-like fonts, i.e cm-super.
 This will change when the LM-fonts are supported.

see my other mail. ConTeXt has support for Jörg Knappens ec-font-project
and aer. I think that cmsuper is activated via map file (?)

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


Re: [NTG-context] My first week with ConTeXt

2003-09-10 Thread Henning Hraban Ramm
Am Mittwoch, 10.09.03, um 10:25 Uhr (Europe/Zurich) schrieb Andreas 
Gschwendtner:

Learning ConTeXt would be _much_ easier if there were more example 
files around.
I guess from your name that you understand german?
There's a german ConTeXt tutorial (PDF and sources) at my site:
http://www.fiee.net/texnique/?menu=0-1lang=de
It's in no way complete, but it should enlighten your first steps.

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


[NTG-context] Two questions on \setupinterlinespace

2003-09-10 Thread Steffen Wolfrum
Hallo,

as a former LaTeX-user I am quite confused by \setupinterlinespace.

Could you help me with two aspects, please?

1. If I define \setupinterlinespace at the beginning of my document 
then all elements (like bodytext,foonotes, chapter, section etc.) 
are affected. How can I define the interlinespaces for each 
individually?

2. I can use \setupinterlinespace[line=13pt]
which gives a fixed interlinespace for all elements (like 
bodytext,foonotes or section headings)

and I can use \setupinterlinespace[small] or 
\setupinterlinespace[medium] or \setupinterlinespace[big]
which gives different interlinespaces relative to the fontsizes of 
footnotes, headings, text etc. with factor values from 1 to 1.5 (as 
it is written in the manual). How can I define other values - like 
1.1 or 1.75??

Thank you for any reply,

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


Re: [NTG-context] Preventing hyphenation?

2003-09-10 Thread John Culleton
On Wednesday 10 September 2003 06:10, Mari Voipio wrote:
 I know this has been on the list earlier, but I don't seem to be able
 to parse the old messages enough to implement anything...

 My current (urgent) project has a bunch of words/codes with a hyphen:
   K-Patents
   PR-23-XX
   etc.

 These should not get a line break at the hyphen, i.e. not K-
 Patents but K-Patents or K-Pa-tents. As far as I understand it, the
 beginner's manual and the full manual only talk about how to tell
 ConTeXt where the proper hyphenation points are, but not, how to
 prevent hyphenation altogether.

There are a few of plain tex tricks you can try. 

1. If you enclose a word in an \hbox then it should print out but not be 
hyphenated.
2. If you raise the numeric value of \pretolerance then the likelihood 
of the paragaph being hyphenated will be reduced.
3. If the paragraph is long then you can set \looseness=1 which may 
eliminate an hyphenation somewhere along the line.

HTH

-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com




Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Crop marks and Lightning Source

2003-09-10 Thread John Culleton
A popular POD printer in the USA called LIghtning Source wants the 
finished page to be centered on an 8.5 x 11 sheet of paper in the pdf 
file submitted to them. This can be done with \definepapersze and 
\setuppapersize. However this technique shows cropmarks and 
Lighting Source specifies no crop marks.

Question 1: How do I eliminate cropmarks yet still have the smaller page 
centered on the larger page? 

Second, my customer pointed out to me that on my finished pdf the
cropmarks do not exactly delineate the specific size (in this case 5.5 x 
8.5 inches.)   On my laser printer they define a space about 1/32 inch 
shorter than the nominal dimension in both vertical and horizontal 
directions. This is about 2 or 3 points. 

Question 2. Why are the cropmarks apparently imprecise?

All hints appreciated, as always.
-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com




Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Question on \setupencoding[default=ec]

2003-09-10 Thread Hans Hagen
At 18:37 10/09/2003 +0200, you wrote:

ConTeXt has, AFAIK, no support for ec-encoded CM-like fonts, i.e cm-super.
This will change when the LM-fonts are supported.
the aer (almost ec) are supported, with a font handler plug in that takes 
care of missing glyphs (like guillemots from plr); actually the 'almost' as 
well as th eneed for this hack triggered the lm font project -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Greek font

2003-09-10 Thread Hans Hagen
At 15:52 08/09/2003 +0200, you wrote:
Hi Thomas,

This matter is much more complicated than I thought in first instance. - I
must admit, that am of no further help. I do hope, dat Hans is following
this tread. He is the guru to get this matter moving.
sure, but this week i'm in dante+gutenberg meeting mode as well as project 
deadline mode

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Status update on e-Omega/Aleph

2003-09-10 Thread Hans Hagen
At 14:59 09/09/2003 -0600, you wrote:

 (1) What's an otp?
fyi, filt-ini.tex and filt-bas.tex provide a higher level layer around 
(loading) otp's

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Crop marks and Lightning Source

2003-09-10 Thread Erik George Hetzner
John Culleton writes: [cropped to save space]
  Question 1: How do I eliminate cropmarks yet still have the smaller page 
  centered on the larger page? 
  Question 2. Why are the cropmarks apparently imprecise?

First question: \setuplayout[marking=no] or is it marking=off? One of
the two.

Second question: I have no idea. One possible thing which has arisen for
me many times: assuming you are printing from Acrobat, are your
print settings set to either enlarge or shrink pages? This is
something I know I have gotten wrong more than once.

Regards,
Erik Hetzner

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


Re: [NTG-context] Re: XML ConTeXt -- handling many conventions

2003-09-10 Thread Pawel Jackowski na Onet
Hi!

 Hello Pawe³ (I, hope your name comes out OK)[...]

Actually no, but don't worry. I'm aware that polish 'lslash' may not be
displayed properly. But using polish characters is the only way
to protect them from extinction. I will think about some compromise.

 The element chapter title=First Chapter is wrong.  By burying your
 title in an attribute you're making it neither easily searchable nor
 useble by other applications.

That is what I said to my boss. The problem is that J have to build
something more or less universal because
I don't known who will prepare XML documents and which convention will be
used.

 The general rule of thumb for when to use attributes and when to use
 elements is: use elements for presentable data and attributes for
 system data.  In this case where you're presenting the title First
 Chapter to the context-processor to be marked up as a chapter title,
 it is definitely presentable data, and therefore it belongs in an
 element.

Thanks, I will remember. It looks convincing.


Regards, Pawe/l


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