Re: [NTG-context] Issues: framedtext and tables inside itemized list

2005-08-26 Thread Mojca Miklavec
Eugene Toporov wrote:
  1. Framed text width is calculated not as I expect. The sample below makes
 framedtext box appear partially on right margin
  
  \setupcolors[state=start]
  \setuplayout[width=9cm]
  \showframe
  \starttext
\startitemize[n,packed]
  \item A normal item paragraph, which normaly gets wrapped ok.\par
   
 \startframedtext[background=screen,frame=off,width=\textwidth]
  Some listing as framedtext whose width seems calculated
 incorrectly.
\stopframedtext
\stopitemize 
  \stoptext

In LaTeX you have a \linewidth command (compare the difference with
\textwidth, which doesn't change):

\documentclass{article}
\begin{document}
linewidth: \the\linewidth, textwidth: \the\textwidth
\begin{itemize}
\item linewidth: \the\linewidth, textwidth: \the\textwidth
\end{itemize}
\end{document}

However, in ConTeXt the linewidth is reserved for rule thickness or
something similar. Which is the ConTeXt alternative to LaTeX's
\linewidth?

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


[NTG-context] Lettrine module

2005-08-26 Thread Willi Egger

Good morning Taco,

sorry for addressing a question to you peronally.

When trying to use other commands like \framedtext or \startalignment in 
connection with the lettrine-module I get an error concerning a

! Missing number, treated as zero.

Could you please have a look at this?

Minimal example:

\usemodule[lettri]

\setuplettrine[Lines=2,
   Hang=0,
   Oversize=0,
   Raise=0,
   Findent=0pt,
   Nindent=0.5em,
   Slope=0pt,
   Ante=,
   FontHook=,
   TextFont=\sc,
   Image=no]

\starttext
% \startalignment[middle]
\framedtext[frame=off,align=middle,offset=10pt,style=\bfa,width=\makeupwidth]{%
\lettrine[Lines=4,Slope=-.7em, Hang=.5, Nindent=16pt]{\red L}{as}
 pe\~{n}as y las vaquitas \crlf
Se van por la misma senda. \crlf
Las pe\~{n}as son de nosotros,\crlf
Las vaquitas son ajenas.
}
% \stopalignment
\stoptext

Thanks for your support

Willi

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


[NTG-context] bug with active :!;?

2005-08-26 Thread Olivier
Hi,

Seems like the following crashes conTeXt:

 \useencoding [ffr] 
 \mainlanguage[fr]

 \setupheadertexts[text][][][\setups{run:left}][]
 \startsetups run:left
 nothing
 \stopsetups

 \starttext
Nothing special here
 \stoptext

Of course one can live with this by renaming the tag.
However, the bug will also occur in the 
  \cite[Bob:A,Bob:B]
commands from the bib module, and I assume in anything that deals with
csnameS containing active colons...

Strangely enough, the bug doesn't seem to occur in
  \placeformula[eq:A]

Many thanks for hinting a fix,
Olivier

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


Re: [NTG-context] footnote twiks

2005-08-26 Thread Olivier
Quoting  Ciro Soto :
 -- was [EMAIL PROTECTED] on Aug 25, 2005 at 10:56:05PM --

 Twik 1:
 My font is too slanted and the asterisk (*) is printed too close to the
 last word in the sentence.
I would use {\/asdfasdf} instead of {asdfasdf}.
At least this is the correction suggested in the TeXbook iirc.

 Example:
 Charles IV \footnote[]{asdfasdf}
 will print an asterisk touching the V letter.

Olivier

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


[NTG-context] Palatino truetype: help!

2005-08-26 Thread VnPenguin
Hi all,
I'm trying to use the font Palatino truetype with ConTeXt under teTeX
3.0 (FC4) by following the guide at
http://home.salamander.com/~wmcclain/context-help.html :

1. I have already all 4 files: palabi.ttf, palab.ttf,  palai.ttf, 
pala.ttf (under /usr/share/texmf/fonts/truetype/mscore folder)

2. I have already also all necessary tfm, vf (provided by vnTeX
3.0-rc1 of Han The Thanh)

3. I created a file named type-pala.tex with the following content:
- begin type-pala.tex --
\usetypescriptfile[type-buy]
\starttypescript[serif] [mspalatino][t5]
\usetypescript[serif][fallback]
\definefontsynonym  [PalatinoLinotype-Roman]  [lprr8v]  
[encoding=t5]
\definefontsynonym  [PalatinoLinotype-Bold]   [lprb8v]  
[encoding=t5]
\definefontsynonym  [PalatinoLinotype-Italic] [lprri8v] 
[encoding=t5]
\definefontsynonym  [PalatinoLinotype-BoldItalic] [lprbi8v] 
[encoding=t5]
\stoptypescript
\starttypescript[serif] [mspalatino] [name]
\definefontsynonym  [Serif]   
[PalatinoLinotype-Roman]
\definefontsynonym  [SerifBold]   [PalatinoLinotype-Bold]
\definefontsynonym  [SerifItalic] [PalatinoLinotype-Italic]
\definefontsynonym  [SerifBoldItalic] [PalatinoLinotype-BoldItalic]
\stoptypescript

\starttypescript [MSPalatino] [t5]
\definetypeface [MyPalatino] [rm] [serif] [mspalatino]  [default] 
[encoding=t5]
\stoptypescript
--- end of type-pala.tex


and a test file :

--- begin of test.tex

\loadmapfile[mscorevn.map]
\language[vn]
\mainlanguage[vn]
\enableregime[utf]
\setupencoding[default=t5]
\setupbodyfont[reset]

\usetypescriptfile[type-pala]
\usetypescript[MSPalatino]
\setupbodyfont[MyPalatino,12pt]

\starttext
Vietnamese UTF-8 text here
\stoptext
- end of test.tex
--

In the map file mscorevn.map
($HOME/texmf/fonts/map/pdftex/vnextra/mscorevn.map)
I see :
-- mscorevn.map
--
lprr8v PalatinoLinotype-Roman  T5UniEncoding ReEncodeFont 
t5uni.enc pala.ttf
lprb8v PalatinoLinotype-Bold  T5UniEncoding ReEncodeFont  t5uni.enc
palab.ttf
lprri8v PalatinoLinotype-Italic  T5UniEncoding ReEncodeFont 
t5uni.enc palai.ttf
lprbi8v PalatinoLinotype-BoldItalic  T5UniEncoding ReEncodeFont 
t5uni.enc palabi.ttf


But unfortunatly my PDF has always CMR12 font, no Palatino at all :(
I'm completly newbie with typescript  font in ConTeXt.

With pdflatex, I could use this Palatino font without any problem.

Could you help me please ,

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


Re: [NTG-context] Lettrine module

2005-08-26 Thread Taco Hoekwater


Hi Willi,


Definately a bug! I'll do a new release soon.
Line 146 in t-lettri.tex should become the next two lines:

  \scratchdimen = \rightskip % new
  \edef\Lparshape{\Lparshape\space \the\scratchdimen\space \the\hsize}%

Greetings, Taco


Willi Egger wrote:

Good morning Taco,

sorry for addressing a question to you peronally.

When trying to use other commands like \framedtext or \startalignment in 
connection with the lettrine-module I get an error concerning a

! Missing number, treated as zero.

Could you please have a look at this?

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


Re: [NTG-context] Issues: framedtext and tables inside itemized list

2005-08-26 Thread Taco Hoekwater



Mojca Miklavec wrote:


However, in ConTeXt the linewidth is reserved for rule thickness or
something similar. Which is the ConTeXt alternative to LaTeX's
\linewidth?


There is no such thing, I believe. There is \columnwidth when in
colums, but outside that I normally do something like

  \the\dimexpr \hsize-\leftskip-\rightskip\relax

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


[NTG-context] tcsh: texexec: Command not found.

2005-08-26 Thread Alan Bowen
I am working from a backup of my ConTeXt/teTeX installation (in MacOS  
X 10.4.2) and find that when I try to typeset files, I now get the  
error message:

tcsh: texexec: Command not found.

In trying to deal with this, I discovered that the alias of teTeX in  
my Library folder is broken. I guess the question is “How do I re- 
establish the link?”, given that the original seems to be invisible.  
Or is there something else I must do (too)?


I apologize for the newbie question—my dream is to have some time to  
learn about unix and the teTeX installation. ’Til now I have relied  
on Gerben’s i-installer to do most of the thinking for me. Indeed, I  
would just re-install everything, were it not for the fact that I am  
currently limited to access by 56K modem.


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


Re: [NTG-context] How to customize the default verbatim colors

2005-08-26 Thread Eugene Toporov
Thanks a lot, Taco!

I knew there should be a good way!
Maybe it would be useful to add it to http://contextgarden.net/Verbatim_text ?

I also noticed that XML verbatim does not correctly handle tags with namespace.
In the xml like ns:tag attribute=somevalue the ns gets
colored with tag-color, the tag with attr-color. I think the whole
ns:tag should be of tag-color.

Best wishes,
EugeneOn 8/25/05, Taco Hoekwater [EMAIL PROTECTED] wrote:
Hi!Eugene Toporov wrote: I expect there is a way to redefine whole palette or something.Yes, sure (you need to define an XXXcolorpretty palet for each typeyou want to change):


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


Re: [NTG-context] Issues: framedtext and tables inside itemized list

2005-08-26 Thread Eugene Toporov
Wow, that's really something! And it works!

Do you think such thing telling the real text width could be useful in ConTeXt?

A big thank you once again!On 8/26/05, Taco Hoekwater [EMAIL PROTECTED] wrote:
Mojca Miklavec wrote: However, in ConTeXt the linewidth is reserved for rule thickness or something similar. Which is the ConTeXt alternative to LaTeX's \linewidth?
There is no such thing, I believe. There is \columnwidth when incolums, but outside that I normally do something like \the\dimexpr \hsize-\leftskip-\rightskip\relaxGreetings, Taco
-- Regards.Eugene Toporov
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tcsh: texexec: Command not found.

2005-08-26 Thread Thomas A. Schmitz

Alan,

re-establishing the link is not difficult: in the Terminal, type

cd /Library

sudo ln -s /usr/local/teTeX ./teTeX

But you're aware that the broken link has nothing to do with your  
problem, right?


Best

Thomas

On Aug 26, 2005, at 3:27 PM, Alan Bowen wrote:

I am working from a backup of my ConTeXt/teTeX installation (in  
MacOS X 10.4.2) and find that when I try to typeset files, I now  
get the error message:

tcsh: texexec: Command not found.

In trying to deal with this, I discovered that the alias of teTeX  
in my Library folder is broken. I guess the question is “How do I  
re-establish the link?”, given that the original seems to be  
invisible. Or is there something else I must do (too)?


I apologize for the newbie question—my dream is to have some time  
to learn about unix and the teTeX installation. ’Til now I have  
relied on Gerben’s i-installer to do most of the thinking for me.  
Indeed, I would just re-install everything, were it not for the  
fact that I am currently limited to access by 56K modem.


Cheers, Alan___
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] tcsh: texexec: Command not found.

2005-08-26 Thread Alan Bowen

Thomas—

At this point I am not sure how to diagnose the problem(s) or to  
solve it (them).


But, for the record, when I open Terminal and type

cd /Library
sudo ln -s /usr/local/teTeX ./teTeX


the teTeX alias is regenerated. Yet, when I try to open teTeX by  
double clicking the alias icon, I get
The alias “teTeX” could not be opened because the original item  
could not be found.


Is the original  still somewhere on my backup disk (a clone of my  
setup back home) or has it been destroyed?


And you are right, I still cannot get past the
tcsh: texexec: Command not found
error when I try to process a file.

Any suggestions would be much appreciated. I am hoping to get some  
writing done while I am away, and I am committed to using ConTeXt in  
the various projects.


Best, Alan

On Aug 26, 2005, at 1:31 PM, Thomas A. Schmitz wrote:


Alan,

re-establishing the link is not difficult: in the Terminal, type

cd /Library

sudo ln -s /usr/local/teTeX ./teTeX

But you're aware that the broken link has nothing to do with your  
problem, right?


Best

Thomas

On Aug 26, 2005, at 3:27 PM, Alan Bowen wrote:


I am working from a backup of my ConTeXt/teTeX installation (in  
MacOS X 10.4.2) and find that when I try to typeset files, I now  
get the error message:

tcsh: texexec: Command not found.

In trying to deal with this, I discovered that the alias of teTeX  
in my Library folder is broken. I guess the question is “How do I  
re-establish the link?”, given that the original seems to be  
invisible. Or is there something else I must do (too)?


I apologize for the newbie question—my dream is to have some time  
to learn about unix and the teTeX installation. ’Til now I have  
relied on Gerben’s i-installer to do most of the thinking for me.  
Indeed, I would just re-install everything, were it not for the  
fact that I am currently limited to access by 56K modem.


Cheers, Alan___
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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tcsh: texexec: Command not found.

2005-08-26 Thread Thomas A. Schmitz
This sounds like the problem is not with your symlink, but with your  
TeX installation. Are you sure it has been copied to your backup  
disk? How did you clone the disk? What does the command


ls -al /usr/local/teTeX

return?

Best

Thomas

On Aug 26, 2005, at 8:37 PM, Alan Bowen wrote:


Thomas—

At this point I am not sure how to diagnose the problem(s) or to  
solve it (them).


But, for the record, when I open Terminal and type


cd /Library
sudo ln -s /usr/local/teTeX ./teTeX



the teTeX alias is regenerated. Yet, when I try to open teTeX by  
double clicking the alias icon, I get
The alias “teTeX” could not be opened because the original item  
could not be found.


Is the original  still somewhere on my backup disk (a clone of my  
setup back home) or has it been destroyed?


And you are right, I still cannot get past the
tcsh: texexec: Command not found
error when I try to process a file.

Any suggestions would be much appreciated. I am hoping to get some  
writing done while I am away, and I am committed to using ConTeXt  
in the various projects.


Best, Alan

On Aug 26, 2005, at 1:31 PM, Thomas A. Schmitz wrote:



Alan,

re-establishing the link is not difficult: in the Terminal, type

cd /Library

sudo ln -s /usr/local/teTeX ./teTeX

But you're aware that the broken link has nothing to do with your  
problem, right?


Best

Thomas

On Aug 26, 2005, at 3:27 PM, Alan Bowen wrote:



I am working from a backup of my ConTeXt/teTeX installation (in  
MacOS X 10.4.2) and find that when I try to typeset files, I now  
get the error message:

tcsh: texexec: Command not found.

In trying to deal with this, I discovered that the alias of teTeX  
in my Library folder is broken. I guess the question is “How do I  
re-establish the link?”, given that the original seems to be  
invisible. Or is there something else I must do (too)?


I apologize for the newbie question—my dream is to have some time  
to learn about unix and the teTeX installation. ’Til now I have  
relied on Gerben’s i-installer to do most of the thinking for me.  
Indeed, I would just re-install everything, were it not for the  
fact that I am currently limited to access by 56K modem.


Cheers, Alan___
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 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] tcsh: texexec: Command not found.

2005-08-26 Thread Alan Bowen

Thomas—


ls -al /usr/local/teTeX

returns
total 0
drwxr-xr-x   2 root  wheel   68 Aug 26 16:12 .
drwxr-xr-x   3 root  wheel  102 Aug 26 16:12 ..


I take it that my installation has been crunched, and my guess is  
that it happened in the process of configuring the cloned backup for  
use on my laptop (i.e., in installing the version of OSX appropriate  
for a PowerBook as opposed to the original PowerMac). The process  
creates a folder called “Previous System” and the promise is that it  
will move all the stuff across that it can. But I now think that it  
has just clobbered my TeX installation. Does that seem right to you?


Alan



On Aug 26, 2005, at 4:09 PM, Thomas A. Schmitz wrote:

This sounds like the problem is not with your symlink, but with  
your TeX installation. Are you sure it has been copied to your  
backup disk? How did you clone the disk? What does the command


ls -al /usr/local/teTeX

return?

Best

Thomas

On Aug 26, 2005, at 8:37 PM, Alan Bowen wrote:



Thomas—

At this point I am not sure how to diagnose the problem(s) or to  
solve it (them).


But, for the record, when I open Terminal and type



cd /Library
sudo ln -s /usr/local/teTeX ./teTeX




the teTeX alias is regenerated. Yet, when I try to open teTeX by  
double clicking the alias icon, I get
The alias “teTeX” could not be opened because the original  
item could not be found.


Is the original  still somewhere on my backup disk (a clone of my  
setup back home) or has it been destroyed?


And you are right, I still cannot get past the
tcsh: texexec: Command not found
error when I try to process a file.

Any suggestions would be much appreciated. I am hoping to get some  
writing done while I am away, and I am committed to using ConTeXt  
in the various projects.


Best, Alan

On Aug 26, 2005, at 1:31 PM, Thomas A. Schmitz wrote:




Alan,

re-establishing the link is not difficult: in the Terminal, type

cd /Library

sudo ln -s /usr/local/teTeX ./teTeX

But you're aware that the broken link has nothing to do with your  
problem, right?


Best

Thomas

On Aug 26, 2005, at 3:27 PM, Alan Bowen wrote:




I am working from a backup of my ConTeXt/teTeX installation (in  
MacOS X 10.4.2) and find that when I try to typeset files, I now  
get the error message:

tcsh: texexec: Command not found.

In trying to deal with this, I discovered that the alias of  
teTeX in my Library folder is broken. I guess the question is  
“How do I re-establish the link?”, given that the original seems  
to be invisible. Or is there something else I must do (too)?


I apologize for the newbie question—my dream is to have some  
time to learn about unix and the teTeX installation. ’Til now I  
have relied on Gerben’s i-installer to do most of the thinking  
for me. Indeed, I would just re-install everything, were it not  
for the fact that I am currently limited to access by 56K modem.


Cheers, Alan___
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 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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote twiks

2005-08-26 Thread Ciro Soto
no,no. My problem is with the V that appears in the text, not in the footnote!
thank you, though.
c

On 8/26/05, Olivier [EMAIL PROTECTED] wrote:
 Quoting  Ciro Soto :
  -- was [EMAIL PROTECTED] on Aug 25, 2005 at 10:56:05PM --
 
  Twik 1:
  My font is too slanted and the asterisk (*) is printed too close to the
  last word in the sentence.
 I would use {\/asdfasdf} instead of {asdfasdf}.
 At least this is the correction suggested in the TeXbook iirc.
 
  Example:
  Charles IV \footnote[]{asdfasdf}
  will print an asterisk touching the V letter.
 
 Olivier
 
 


-- 
===
All problems are at the interface. Each one of them has a solution.
from:
The Guitar Maker: An Exploration of Wisdom, Design and Love. 
A novel by C. A. Soto Aguirre. Pub. Date: October 2005.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote twiks

2005-08-26 Thread Olivier
Quoting  Ciro Soto :
 -- was [EMAIL PROTECTED] on Aug 26, 2005 at 05:55:06PM --

 no,no. My problem is with the V that appears in the text, not in the footnote!
Ooops I'm sorry for this.

What about tweaking the space in the symbol definition like with
\defineconversion[slstarred][\hskip3pt*]
instead of
\defineconversion[starred][*]

I admit it's kind of a bad solution since you would have to switch
between slstarred and starred depending on the type of the text font.
But if you are using the footnote just for slanted text...

Olivier

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