Re: Re[4]: [NTG-context] Insufficient symbol fonts error

2005-10-31 Thread Alan Bowen

Giuseppe—

Thanks for the tip about \high. That works (and looks cleaner in the  
source file too). But


\grk{\overbar{\grk{kj}} Kull'hnhc  d\high{\tfx\grk{ou}} med'eonta  
ka`i Arkad'ihc polum'hlou}


still chokes on \overbar and returns the “insufficient symbol fonts”  
error.


Alan

On Oct 30, 2005, at 12:31 PM, Giuseppe Bilotta wrote:


Sunday, October 30, 2005 Alan Bowen wrote:



Giuseppe—





Actually, it can happen with a very short document too:





\starttext
\grk{\overbar{\grk{kj}} Kull'hnhc
d$^{\hbox{\tfx\grk{ou}}}$ med'eonta
ka`i Arkad'ihc polum'hlou}





\stoptext





will produce the
 ! Math formula deleted: Insufficient symbol fonts error.





To generalize: all my attempts to enter mathmode when the bodyfont is
Greek (using one of the fonts in Thomas Schmitz’ Greek module) fail
because of insufficient symbol fonts.





I wonder if this bears of the fact that in this module the fonts have
to be defined at every size used in the document. The relevant line
in type-tasgreek is
\definebodyfont
[30pt,25pt,20pt,18pt,17.3pt,14.4pt,14pt,12pt,11pt,10.5pt,10.1pt,10pt,
9pt,8pt,7pt,6pt,5pt,4pt]
[rm]





My environment file sets the body font size to 10.1 pt.



I'm not the font expert, but the problem seems to be that
math small text isn't being set (if I see it correctly,
you're using math mode to enter a superscript). I would
suggest you try \text instead of \hbox in the math part, and
even better try \hi{superscript text} or \super{superscript
text} for the superscript.

--
Giuseppe Oblomov Bilotta

___
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[6]: [NTG-context] Insufficient symbol fonts error

2005-10-31 Thread Giuseppe Bilotta
Monday, October 31, 2005 Alan Bowen wrote:

 Giuseppe—

 Thanks for the tip about \high. That works (and looks cleaner in the
 source file too). But

 \grk{\overbar{\grk{kj}} Kull'hnhc  d\high{\tfx\grk{ou}} med'eonta
 ka`i Arkad'ihc polum'hlou}

 still chokes on \overbar and returns the “insufficient symbol fonts”
 error.

First of all, I notice you are having quite a few \grk in
there, unless that's a typo for $...$. Have you tried
\overline instead of \overbar?

-- 
Giuseppe Oblomov Bilotta


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


[NTG-context] ConTeXt release of october 27.

2005-10-31 Thread Taco Hoekwater

Hi,

I've created a wiki page for the new release Hans made last
thursday: http://wiki.contextgarden.net/Release_Notes

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


Re: Re[6]: [NTG-context] Insufficient symbol fonts error

2005-10-31 Thread Alan Bowen
I removed some of the \grk. ( I had inserted them because I was  
uncertain of the effect entering math mode would have on my body font  
choice. In Plain TeX, I think it was necessary to specify the font.)


\grk{\overline{kj}} still fails because of insufficient symbol fonts  
(just as \grk{\overbar{kj}}).


Alan

On Oct 31, 2005, at 6:05 AM, Giuseppe Bilotta wrote:


Monday, October 31, 2005 Alan Bowen wrote:



Giuseppe—





Thanks for the tip about \high. That works (and looks cleaner in the
source file too). But





\grk{\overbar{\grk{kj}} Kull'hnhc  d\high{\tfx\grk{ou}} med'eonta
ka`i Arkad'ihc polum'hlou}





still chokes on \overbar and returns the “insufficient symbol fonts”
error.



First of all, I notice you are having quite a few \grk in
there, unless that's a typo for $...$. Have you tried
\overline instead of \overbar?

--
Giuseppe Oblomov Bilotta


___
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] ConTeXt release of october 27.

2005-10-31 Thread Idris Samawi Hamid
Hi Hans and Taco,

= Original Message From Taco Hoekwater [EMAIL PROTECTED] =
I've created a wiki page for the new release Hans made last
thursday: http://wiki.contextgarden.net/Release_Notes

Before I try to upgrade: Were the ctxtools fixed? (I already hacked many of 
the map files by hand and don't want to do it again-)

Best
Idris
==Oct. 15 05===

Dear Hans and the rest of the gang,

This is just a friendly reminder for the next ConTeXt version. There is a bug 
in the ctxtools.

Consider the original-public-lm.map. Lines such as

cmbsy10 cmbsy10
cmbsy5 cmbsy5
cmbsy6 cmbsy7

should become either

cmbsy10 default cmbsy10
cmbsy5 default cmbsy5
cmbsy6 default cmbsy7

partucularly when the name of the tfm and pfb do differ;

or just

cmbsy10 
cmbsy5 
cmbsy6

where the name of the tfm and pfb do NOT differ.

Otherwise dvipdfmx will fail-(

Probably easier to just do

tfm default pfb

for all such cases...


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

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


Re: [NTG-context] ConTeXt release of october 27.

2005-10-31 Thread Taco Hoekwater


Hi.

Its this new feature (+ manual):

http://archive.contextgarden.net/message/20050914.194648.8538a42d.en.html

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

Cheers, Taco

Nikolai Weibull wrote:

Taco Hoekwater wrote:



I've created a wiki page for the new release Hans made last thursday:
http://wiki.contextgarden.net/Release_Notes



It mentions support for file preprocessing.  Is there any
documentation available?  I'm guessing that this is to allow us to add
things like syntax highlighting (me and Mojca?) through Vim.  Is this
correct?  If so, it would be nice to know how to use it soon, so that we
can get cracking.  I'd rather use Vim's Ruby highlighting than writing a
verb-ruby.tex...

nikolai


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


Re: [NTG-context] ConTeXt release of october 27.

2005-10-31 Thread Taco Hoekwater



Idris Samawi Hamid wrote:

Hi Hans and Taco,



= Original Message From Taco Hoekwater [EMAIL PROTECTED] =
I've created a wiki page for the new release Hans made last
thursday: http://wiki.contextgarden.net/Release_Notes



Before I try to upgrade: Were the ctxtools fixed? (I already hacked many of 
the map files by hand and don't want to do it again-)


The map files are pdftex/dvips syntax (like before, i
believe). My guess is that dvipdfmx needs a private 
fonts/map/dvipdfmx/context subdir. Wouldn't that work?


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


Re: Re[8]: [NTG-context] Insufficient symbol fonts error

2005-10-31 Thread Alan Bowen

Giuseppe,

Many thanks for your help: it is very much appreciated.

\overbar{{\grk{kj}}} \grk{Kull'hnhc d\high{\tfx{ou}} med'eonta ka`i  
Arkad'ihc polum'hlou}


works, but it really is more a work-around than a good solution.

Ideally, one would like to be able to do math when the body font is  
Greek. But we both need some font wizards to help with this.


All best, Alan





On Oct 31, 2005, at 8:06 AM, Giuseppe Bilotta wrote:


Monday, October 31, 2005 Alan Bowen wrote:



I removed some of the \grk. ( I had inserted them because I was
uncertain of the effect entering math mode would have on my body font
choice. In Plain TeX, I think it was necessary to specify the font.)





\grk{\overline{kj}} still fails because of insufficient symbol fonts
(just as \grk{\overbar{kj}}).



Shouldn't these be \overline{\grk{kj}}?

Anyway, I'm afraid I can't help you any further :(

--
Giuseppe Oblomov Bilotta

___
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: Re[8]: [NTG-context] Insufficient symbol fonts error

2005-10-31 Thread Thomas A. Schmitz

Alan,

I know next to nothing about math, but I know that the Greek  
typescripts do not define a math font. So you will get errors doing  
math when the body font is Greek. I wish I could help, but defining a  
math font is beyond my abilities. If anyone is interested in doing  
it, however, I will be happy to provide the specs for the Greek fonts.


Best

Thomas

On Oct 31, 2005, at 2:36 PM, Alan Bowen wrote:


Giuseppe,

Many thanks for your help: it is very much appreciated.

\overbar{{\grk{kj}}} \grk{Kull'hnhc d\high{\tfx{ou}} med'eonta ka`i  
Arkad'ihc polum'hlou}


works, but it really is more a work-around than a good solution.

Ideally, one would like to be able to do math when the body font is  
Greek. But we both need some font wizards to help with this.


All best, Alan





On Oct 31, 2005, at 8:06 AM, Giuseppe Bilotta wrote:



Monday, October 31, 2005 Alan Bowen wrote:




I removed some of the \grk. ( I had inserted them because I was
uncertain of the effect entering math mode would have on my body  
font

choice. In Plain TeX, I think it was necessary to specify the font.)







\grk{\overline{kj}} still fails because of insufficient symbol fonts
(just as \grk{\overbar{kj}}).




Shouldn't these be \overline{\grk{kj}}?

Anyway, I'm afraid I can't help you any further :(

--
Giuseppe Oblomov Bilotta

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







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


[NTG-context] a{tokens} and b{tokens} for TABLE

2005-10-31 Thread Peter Münster
Hello,

I have a feature request:

something like a{tokens} and b{tokens} (in TaBlE) for \bTD...\eTD.

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] 3 problems with framed

2005-10-31 Thread Peter Münster
Hello,

I've 3 problems with framed:

\starttext
\section{Linebreak, when \tex{framed} is the first letter}
A\framed{B} % here it's ok

\framed{A}B % here is a problem

\section{More vertical space with \tex{Numero}}
\setupframed[align=flushleft,location=top]
\hbox{\framed{%
\startlines
A
\Numero
\stoplines
}%
\framed{%
\startlines
A
N
\stoplines
}}

\section{More vertical space with \tex{startlines}}
\framed[align=flushleft,
top=\vskip-1.9\lineheight,bottom=\vskip-0.75\lineheight% workaround...
]{%
\startlines
Ag
\stoplines
}
\stoptext

Could anybody help, please?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problem with special first page of chapter setup

2005-10-31 Thread Gerben Wierda
Thanks for the tip but I am having trouble getting this to work. I  
now have in my main text:


===
\startbuffer [chapter:quote]
Lee Chong's is to the right of the vacant lot (although why
it is called vacant when it is piled high with old boilers, with rusting
pipes, with great square timbers, and stacks of five-gallon cans, no  
one can

say).\crlf
{\tf John Steinbeck} --- Cannery Row\crlf
\crlf
Doc explained patiently, ``Both players know exactly the same
things. The game is played in the mind.''\crlf
``I don't get it.''\crlf
``Well, look! You can't cheat in mathematics or poetry or music because
they're based on truth. Untruth or cheating is just foreign, it has  
no place.

You can't cheat in arithmetic.\crlf
{\tf John Steinbeck} --- Sweet Thursday
\stopbuffer
\chapter[h:foo]{Foo}
===

and in my environment file:

===
\definebuffer[chapter:quote]

\setuphead
  [chapter]
  [page=,
   before={\setups[chapter:before]},
   after={\setups[chapter:after]}]

\startsetups chapter:before

\page[left]

\noheaderandfooterlines

\startalignment[left,nothyphenated]
\startnarrower[4*left]
\noindent \em \getbuffer [chapter:quote]
\stopnarrower
\stopalignment

\resetsetups[quote:text]

\page[right]

\noheaderandfooterlines

\blank[force,2*big]

\stopsetups

\startsetups chapter:after

\blank[3*big]

\stopsetups
===

But now I get *nothing* on the page facing the chapter start. I  
changed it to


===
\startbuffer [chapter:quote]
Lee Chong's is to the right of the vacant lot (although why
it is called vacant when it is piled high with old boilers, with rusting
pipes, with great square timbers, and stacks of five-gallon cans, no  
one can

say).\crlf
{\tf John Steinbeck} --- Cannery Row\crlf
\crlf
Doc explained patiently, ``Both players know exactly the same
things. The game is played in the mind.''\crlf
``I don't get it.''\crlf
``Well, look! You can't cheat in mathematics or poetry or music because
they're based on truth. Untruth or cheating is just foreign, it has  
no place.

You can't cheat in arithmetic.\crlf
{\tf John Steinbeck} --- Sweet Thursday
\stopbuffer
\startsetups [chapter:quote]
\getbuffer [chapter:quote]
\stopsetups

\chapter[h:foo]{Foo}
===

and in my environment file:

===
\definebuffer[chapter:quote]

\setuphead
  [chapter]
  [page=,
   before={\setups[chapter:before]},
   after={\setups[chapter:after]}]

\startsetups chapter:before

\page[left]

\noheaderandfooterlines

\startalignment[left,nothyphenated]
\startnarrower[4*left]
\noindent \em \setups [chapter:quote]
\stopnarrower
\stopalignment

\resetsetups[quote:text]

\page[right]

\noheaderandfooterlines

\blank[force,2*big]

\stopsetups

\startsetups chapter:after

\blank[3*big]

\stopsetups
===

But that doesn't help either. Still nothing.

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


[NTG-context] Bug in footnote mechanism when compiling per chapter?

2005-10-31 Thread Gerben Wierda

I had in my project file

\definenote[endnote][location=none]
\setupfootnotes[conversion=set 2,way=bypage]

which I moved to my environment file. But wherever I have it, when I  
compile per chapter, the footnote mechanism fails because it runs out  
of symbols to use. When I compile the entire book. no such problem  
occurs. Is this a ConTeXt bug?


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


[NTG-context] Request for joing mailing list

2005-10-31 Thread krishan gopal goswami
Dear Sir,

I am impressed with ConTeXt features.
I want to join the mailing list to get updated on
developments.

Kind Regards
Krishan Gopal



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Nicolas Grilly


Hello,

I agree with the idea that documentation of ConTeXt's commands and
parameters is rather incomplete.

I'm wondering if it's possible to have a documentation system like Java's
Javadoc. We can put comments just before commands definitions and use a
little preprocessor written in Perl or Python that parse TeX files in order
to build a ConTeXt documentation like the manual titled ConTeXt commands.

I'm looking forward your opinion about this.

Nicolas

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de Gerben Wierda
Envoyé : vendredi 28 octobre 2005 00:06
À : mailing list for ConTeXt users
Objet : Re: [NTG-context] How can I minimize the vertical space taken bya
\textrule



On Oct 27, 2005, at 21:00, Peter Rolf wrote:

 I already had

 \setuptextrules
 [before=,after=,inbetween=]

 but that does not work. It seems that inside my paragraph 
 environment, the settings made outside it are ignored. I also do not  
 have my \setupinterlinespace[medium] there (see other thread). Looks  
 like a startstopparagraph problem to me.

 I've tested it without an environment, so maybe you are right.
 Have you tried to add some setups (\setuptexrules,..) to

 \setupparagraphs[...][...][before=??? or command=???]

I had tried about everything I could think of. That's the one big problem
with ConTeXt, it's most of the tim ea matter of trial and error and a
difficult process of trial and error even. Documentation often does only
mentions the existence of something without an explanation (arguments to
commands are seldomly adequately explained). I have been fighting with
layout parameters yesterday for a document I needed to keep within one page.

 I'm sure there is a (context-)way (but I have not used this command 
 'til today).

Someone should fund Hans for writing true documentation.

G

___
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] a{tokens} and b{tokens} for TABLE

2005-10-31 Thread Hans Hagen

� wrote:


Hello,

I have a feature request:

something like a{tokens} and b{tokens} (in TaBlE) for \bTD...\eTD.
 



best is to provide a hook using the 'command' key; adding this feature 
is doable but tricky because i need to bypass the charalignment feature


remind me in a few weeks (or add a note to the dev portal) [adding such 
features during a tex live code freeze is not wise]


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


Re: [NTG-context] 3 problems with framed

2005-10-31 Thread Peter Rolf
Hello Peter,

Peter Münster wrote:
 Hello,
 
 I've 3 problems with framed:
 
 \starttext
 \section{Linebreak, when \tex{framed} is the first letter}
 A\framed{B} % here it's ok


\leavevmode % \framed is a \vbox

 \framed{A}B % here is a problem
 
 \section{More vertical space with \tex{Numero}}
 \setupframed[align=flushleft,location=top]
 \hbox{\framed{%
 \startlines
 A
 \Numero

compare \framed[offset=overlay]{\Numero} to \framed[offset=overlay]{N}

 \stoplines
 }%
 \framed{%
 \startlines
 A
 N
 \stoplines
 }}
 
 \section{More vertical space with \tex{startlines}}

the space is not caused by \framed, but \startlines .. \stoplines, so
you have to fiddle with

\setuplines[before={\blank[???]}, after={\blank[???]},
  inbetween={\blank[???]}}
% with ???=.xx\bodyfontsize to be font size independent

 \framed[align=flushleft,
 top=\vskip-1.9\lineheight,bottom=\vskip-0.75\lineheight% workaround...
 ]{%
 \startlines
 Ag
 \stoplines
 }
 \stoptext
 
 Could anybody help, please?
 Cheers, Peter
 

Greetings,

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


Re: [NTG-context] Problem with special first page of chapter setup

2005-10-31 Thread Peter Rolf
Hello Gerben,

use your second try and *remove*

\definebuffer[chapter:quote]

from your environment. That's was all :)

Greetings,

Peter


Gerben Wierda wrote:
 Thanks for the tip but I am having trouble getting this to work. I  now
 have in my main text:
 
 ===
 \startbuffer [chapter:quote]
 Lee Chong's is to the right of the vacant lot (although why
 it is called vacant when it is piled high with old boilers, with rusting
 pipes, with great square timbers, and stacks of five-gallon cans, no 
 one can
 say).\crlf
 {\tf John Steinbeck} --- Cannery Row\crlf
 \crlf
 Doc explained patiently, ``Both players know exactly the same
 things. The game is played in the mind.''\crlf
 ``I don't get it.''\crlf
 ``Well, look! You can't cheat in mathematics or poetry or music because
 they're based on truth. Untruth or cheating is just foreign, it has  no
 place.
 You can't cheat in arithmetic.\crlf
 {\tf John Steinbeck} --- Sweet Thursday
 \stopbuffer
 \chapter[h:foo]{Foo}
 ===
 
 and in my environment file:
 
 ===
 \definebuffer[chapter:quote]
 
 \setuphead
   [chapter]
   [page=,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
 
 \startsetups chapter:before
 
 \page[left]
 
 \noheaderandfooterlines
 
 \startalignment[left,nothyphenated]
 \startnarrower[4*left]
 \noindent \em \getbuffer [chapter:quote]
 \stopnarrower
 \stopalignment
 
 \resetsetups[quote:text]
 
 \page[right]
 
 \noheaderandfooterlines
 
 \blank[force,2*big]
 
 \stopsetups
 
 \startsetups chapter:after
 
 \blank[3*big]
 
 \stopsetups
 ===
 
 But now I get *nothing* on the page facing the chapter start. I  changed
 it to
 
 ===
 \startbuffer [chapter:quote]
 Lee Chong's is to the right of the vacant lot (although why
 it is called vacant when it is piled high with old boilers, with rusting
 pipes, with great square timbers, and stacks of five-gallon cans, no 
 one can
 say).\crlf
 {\tf John Steinbeck} --- Cannery Row\crlf
 \crlf
 Doc explained patiently, ``Both players know exactly the same
 things. The game is played in the mind.''\crlf
 ``I don't get it.''\crlf
 ``Well, look! You can't cheat in mathematics or poetry or music because
 they're based on truth. Untruth or cheating is just foreign, it has  no
 place.
 You can't cheat in arithmetic.\crlf
 {\tf John Steinbeck} --- Sweet Thursday
 \stopbuffer
 \startsetups [chapter:quote]
 \getbuffer [chapter:quote]
 \stopsetups
 
 \chapter[h:foo]{Foo}
 ===
 
 and in my environment file:
 
 ===
 \definebuffer[chapter:quote]
 
 \setuphead
   [chapter]
   [page=,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
 
 \startsetups chapter:before
 
 \page[left]
 
 \noheaderandfooterlines
 
 \startalignment[left,nothyphenated]
 \startnarrower[4*left]
 \noindent \em \setups [chapter:quote]
 \stopnarrower
 \stopalignment
 
 \resetsetups[quote:text]
 
 \page[right]
 
 \noheaderandfooterlines
 
 \blank[force,2*big]
 
 \stopsetups
 
 \startsetups chapter:after
 
 \blank[3*big]
 
 \stopsetups
 ===
 
 But that doesn't help either. Still nothing.
 
 G
 ___
 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] Insufficient symbol fonts error

2005-10-31 Thread Hans Hagen

Thomas A. Schmitz wrote:


Alan,

I know next to nothing about math, but I know that the Greek  
typescripts do not define a math font. So you will get errors doing  
math when the body font is Greek. I wish I could help, but defining a  
math font is beyond my abilities. If anyone is interested in doing  
it, however, I will be happy to provide the specs for the Greek fonts.


because math is also used for text (some symbols) you need a math font 
(when using typefaces); the best is to define greek as part of a 
typeface and define a proper math with it); it depends a bit on what 
trickery you use;


(normally such problems should not happen so i'm a bit puzzled)

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


Re: [NTG-context] How can I minimize the vertical space taken by a \textrule

2005-10-31 Thread Hans Hagen

Gerben Wierda wrote:


Someone should fund Hans for writing true documentation.



there will be a book by adam and steve

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


Re: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Hans Hagen

Nicolas Grilly wrote:


I agree with the idea that documentation of ConTeXt's commands and
parameters is rather incomplete.

I'm wondering if it's possible to have a documentation system like Java's
Javadoc. We can put comments just before commands definitions and use a
little preprocessor written in Perl or Python that parse TeX files in order
to build a ConTeXt documentation like the manual titled ConTeXt commands.

I'm looking forward your opinion about this.
 

one of the problems with a tex like system is that there is quite some 
interference, for instance, spacing is related to fonts and height/depth 
ations and such. This means that it's rather complex to describe some 
mechanisms independently, take:


\framed
 {\startlines
  whatever
  \stoplines}

- framed has its own spacing issues, either or not aligned, auto struts, 
offsets, auto width etc; these can be described (and are in several 
places) but it takes some playing around to get the picture

- startlines in itself has vertical spacing set up
- however, in this combination this before/after spacing interferes with 
auto-struts


or take footnotes: due to limitations in tex, footnotes may not be 
burried too deep in boxes, (has to do with thw way inserts are 
implemented); so, context has some workarounds which work in most cases, 
but not always ... sometimes it's not even easy to predict when 
somethign will work out


another example is splitting tables over pages: there are so many 
boundary conditions that it would take a manual on it sown


that's not to say that we should not try to describe it ... you can add 
for instance comment to the command browser in the wiki


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


Re: [NTG-context] French spacing before punctuation

2005-10-31 Thread Hans Hagen

� wrote:


Hello,

what do I need to do, to get the new automatic spacing before punctuation
with recent pdfetex?
- What version of pdfetex?
 


latest


- What version of ConTeXt?
 


recent


- And what commands to configure this?
 

see hand-def, end of file (i need to look into it again because thanh 
added some more variants, so some of the definition commands may change; 
this will not hurt the higher level usage)


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


Re: [NTG-context] How can I minimize the vertical space taken bya \textrule

2005-10-31 Thread Hans Hagen

Nicolas Grilly wrote:


Hello,

I agree with the idea that documentation of ConTeXt's commands and
parameters is rather incomplete.

I'm wondering if it's possible to have a documentation system like Java's
Javadoc. We can put comments just before commands definitions and use a
little preprocessor written in Perl or Python that parse TeX files in order
to build a ConTeXt documentation like the manual titled ConTeXt commands.
 


btw, many sources have documentation and you can typeset that -)

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


Re: [NTG-context] Par break/justification problem

2005-10-31 Thread Hans Hagen

Giuseppe Bilotta wrote:


I have a paragraph that is formed by two parts: these are
normally run together, except when the last line of the
first part ends at less than a certain amount max_amount
from the right margin. In this case, there should a
'seamless line break', i.e. a line break with the text still
fully justified to the right margin.

Example:

First part of the paragraph: second part is
run in and then the text continues.

Second example:

This is still the first part of the pagrah:
second part will now be put on the next line
but the last line of the first part should
be fully justified.

What kind of hskip/penalty/whatever combo should I put
between the first and last part for this to happen?
 


hm, taco should know ...

my guess is something

{\parfillskip ... \break}

maybe with some looseness

another option is (if you intervene manually) is to play with those etex 
penalties arrays


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


Re: [NTG-context] TeX chemistry

2005-10-31 Thread Hans Hagen

Tobias Hilbricht wrote:

If PPCHTeX is capable of drawing your formulas. I tried it, and apart from 
complicated notation it can not draw seven rings, and you need work arounds 
for certain bond angles, and there were other things either very complicated 
to code or not at all. There seems to be no big user community of PPCHTeX and 
no development.
 


mostly german users -)

development ... well, demand driven ... also, if you look into the file, 
defining more rings is doable, but ons should do the angle calculations 
once


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


Re: [NTG-context] xml, context and hyphenation

2005-10-31 Thread Hans Hagen

Wolfgang Zillig wrote:


Hello,

I have problems with hyphenation when german ��� are in these words. 
I'm processing xml files which are in unicode. The font encoding for 
the pdf is EC (as I was told there are problems with OT1 encoded fonts).



normally ec enoding should work ok; the context log mentions what 
patterns are loaded under which encodings.


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


[NTG-context] How to use layers or other methods for precise positioning of items

2005-10-31 Thread Kári Hreinsson
Hello,

I have been trying to use ConTeXt for setting up a book with a list of
students in my school, with pictures of them, phone numbers, emails
and such.

I thought I could use ConTeXt for the job since LaTeX gave me much
trouble in trying to alter the layout and look of the page.

I found the layer feature in ConTeXt which I found very interesting
and thought I could use it to position items (such as text info,
images and the layout) within these layers since they offer very
precise positioning with a x-y grid like system.

When I was trying to use this feature for multipage document it cut of
all of the pages except the first.  I found out that the layers
weren't thought to be part of the content of the file but more like a
background and I can't figure out how to use them on many pages
without placing something like a dot on every page.  Is there any way
to do this?
I discovered that the layers were inserted into the document via
\setupbackgrounds[page] so I understand why it acts like this but I
am asking if there is some way of getting layers working like I want?

Maybe I am going in completely wrong way?  Is there any other good way
to do this, that is positioning items with x-y coordinates or
something totally different that I am missing?

Another thing I was wondering about is how to make items like images
bleed (that is to go over the edge of the paper, to avoid white lines
at the margin).  Can I use negative values for positioning to achive
that?

All help is greatly appreciated since I am not understanding this and
I haven't found much help on the internet regarding this subject
(contextgarden had only one example page that had layers).

I hope you understand my question, it's a bit complicated to explain. :/

Thanks in advance,
Kári Hreinsson
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] hoffset and voffset in \setupTABLE

2005-10-31 Thread Peter Münster
Hello,
here comes another feature request:

independant horizontal and vertical offsets in TABLE-cells. Or even
topoffset, bottomoffset, leftoffset and rightoffset.

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context