Re: [NTG-context] new beta

2005-04-16 Thread Thomas A . Schmitz
OK, I think I got the new beta working now under OS X. David Munger's 
suggestions were key (thanks a lot!). I had to apply both fixes, 
AFAICS:

1. Open $TEXMF/web2c/context/config/texexec.rme. line 68-69 are
set  TeXFormatFlag  to  
set  MpFormatFlag   to  
and need to be modified like so
set  TeXFormatFlag  to  \
set  MpFormatFlag   to  \
2. Open $TEXMF/scripts/context/perl/texexec.pl. line 2442-2444 are
unless ( $dosish  !$escapeshell ) {
$cmd =~ s/[^\\]\/\\\/io ;
}
and should become
unless ( $dosish  !$escapeshell ) {
$cmd =~ s/([^\\])\/$1\\\/io ;
}
3. After that, run texexec --make en metafun and texhash again, and you 
should be in business.

Will try the same under my (gentoo) linux system later today.
Thanks everybody for getting this fixed!
Best
Thomas
On Apr 15, 2005, at 11:30 PM, Hans Hagen wrote:
Thomas A.Schmitz wrote:
Oh, one more thing: interestingly, updating ConTeXt makes pdflatex 
break, too - in fact, every flavor of TeX that use pdfetex. pdfetex 
somehow reads a mapfile that ConTeXt provides and then complains 
about missing font. So I have to use the prior beta.
delete the pdftex,map file in the fonts/map/pdftex/context path
(i fixed the beta zip)
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Hyphenation-paterns was:Re: [NTG-context] justification

2005-04-16 Thread Willi Egger
Hi Hans,
For me that is fine.
Willi
Hans Hagen wrote:
Jörg Hagmann wrote:
However, I noticed the following problem (no doubt the first of many 
to come): justification on the right is far from perfect - there are 
lines sticking out. After going through the manual, I decided that 
\setuptolerance[horizontal,verystrict] in the setup area should do 
the trick, but it didn't.  Any suggestions? (I set up ConTeXt on two 
Macs, once with teTeX and once with TeXLive, and on a Mac running 
Mandrakelinux and teTeX - the result was the same (same lines sticking 
out) on all of them).

can you check if you have hyphenation? there have been pattern problems 
(changes in names and such)

btw, doe anyone object if i ship generic context patterns in the main zip?
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] justification

2005-04-16 Thread Henning Hraban Ramm
Am 15.04.2005 um 22:12 schrieb Willi Egger:
This is nice, another swiss user!
Me too ;-)
In fact if you use \setuptolerance[verystrict] will cause TeX to use 
as few glue as possible, so the possibilities to stretch a line to 
have a better breakpoint is lowered. Instead you might use 
\setuptolerance[tolerant, stretch] or even 
\setuptolerance[verytolerant,stretch]
I'd suggest
\setuptolerance[{horizontal,verytolerant,stretch},{vertical,strict}]
German has that many long words that I never get nice columns without 
stretch.

Grüßlis vom Hraban!
(CH-8274 Tägerwilen TG)
---
http://www.fiee.net/texnique/
http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new beta

2005-04-16 Thread David Munger
Hi Thomas,

Thanks for trying, but it is not the correct way. Sorry for being
unclear. The point is that shell escaping was not done in the proper
way. Fix 1 used to do it in the configuration file (texexec.ini) which
is basically a bad idea. Shell escaping has to be done properly by
texexec.


Thomas A.Schmitz :
 OK, I think I got the new beta working now under OS X. David Munger's 
 suggestions were key (thanks a lot!). I had to apply both fixes, 
 AFAICS:

Fix 1 should not be applied. Don't touch your texexec.ini, the right
lines are the original ones:

set  TeXFormatFlag  to  
set  MpFormatFlag   to  

Fix 2 has to be applied to lines 1505 _and _ 2443:

$cmd =~ s/([^\\])\/$1\\\/io ;


Regards,

David

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


RE: [NTG-context] Possible bug in verbatim

2005-04-16 Thread Idris Samawi Hamid
Hi Willi
= Original Message From Willi Egger [EMAIL PROTECTED] =
Hi Idris,

Asking for brace-trickery ...

What about: \textbraceleft\type{A}\textbraceright

Wow! that's ingenious;)

Thank you Willi, Taco, and Hans for your help on this.

best
Idris


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


[NTG-context] ConTeXt logo adaptation

2005-04-16 Thread Idris Samawi Hamid
Dear musketeers,

My favorite ConTeXt logo (from cont-log),

\def\Context
  {{C\kern -.0667em\getscaledglyph{.8}\empty{O\kern -.0667emN\kern
   -.0549emT\doifitalicelse{\kern-.1em}{\kern-.1667em}\lower.5ex\hbox
   {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055emT}}}

does not adapt to the surrounding typeface. Try

===
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec]
\switchtotypeface[palatino]

\starttext

I love \Context\ very much!

\stoptext
===

And the logo remains in lmr. I can work around this:

===
  \def\Context
{C\kern -.0667em{%
  \switchtobodyfont[small]% \getscaledglyph{.7}{}% this calls lmr
  O\kern -.0667emN\kern
 -.0549emT\doifitalicelse{\kern-.1em}{\kern-.1667em}\lower.5ex\hbox
 {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055emT}}
===

but a universal solution for cont-log is needed.

Best
Idris


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


[NTG-context] superior footnotes

2005-04-16 Thread Idris Samawi Hamid
Dear posse,

1. With footnotes, is there yet a way to define the starting numeral-mark? 
Say, I want my first footnote incremented so that the first notemark is , not 
`1' then `2', but `1234' then `1235', etc.

2. I tried a workaround:

===
\defineconversion[set1234][1234]
\setupfootnotes [conversion=set 1234]
===

but a spurious numeral `1' gets typeset alongside the notemark. What am I 
missing?

Finally, the ConTeXt footnote mechanism does not (afaik) take into account 
superior numerals. We need a setup option, e.g.

===
\setupfootnotes [numeral=superior]%inferior, normal, with 
% normal as default
===

to cut off the mechanism for automatically raising and reducing the size of 
the numeral (\high I presume). Yes, there is the empty (text)command=empty 
trick, but to use superior numerals all this should not be necessary.

Thnx as always
Idris


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 logo adaptation

2005-04-16 Thread Adam Lindsay
Idris Samawi Hamid said this at Sat, 16 Apr 2005 11:07:10 -0600:

\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec]
\switchtotypeface[palatino]

\starttext

I love \Context\ very much!

\stoptext
===

And the logo remains in lmr. I can work around this:

Huh. I don't get the same results. \setupbodyfont[palatino] makes sure
there are no lmr fonts in my output.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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


Re: [NTG-context] superior footnotes

2005-04-16 Thread Paul Tremblay

Here is an example from my webpage. This example requires that you
type in each footnote manually, and it then converts the it to a
letter:

===

\setupfootnotes[way=bytext, conversion=characters]

% set the number manually
% the next footnote will be *3*
\setnumber[footnote]{2}

The twelve labors of Hercules\footnote{Hercules had to perform 12
near-impossible tasks to become a god} were trifling in comparison
with those which my neighbors have undertaken;

===

However, I think you want just to change where the footnote starts. 

Hans sent me this about 3 weeks ago. I think it works,  though I have
not tested it.


\setupnumber[footnote][start=45]
test \footnote{test} test

Paul



On Sat, Apr 16, 2005 at 11:08:59AM -0600, Idris Samawi Hamid wrote:
 From: Idris Samawi Hamid [EMAIL PROTECTED]
 To: mailing list for ConTeXt users ntg-context@ntg.nl
 Date: Sat, 16 Apr 2005 11:08:59 -0600
 Subject: [NTG-context] superior footnotes
 
 Dear posse,
 
 1. With footnotes, is there yet a way to define the starting numeral-mark? 
 Say, I want my first footnote incremented so that the first notemark is , not 
 `1' then `2', but `1234' then `1235', etc.
 
 2. I tried a workaround:
 
 ===
 \defineconversion[set1234][1234]
 \setupfootnotes [conversion=set 1234]
 ===
 
 but a spurious numeral `1' gets typeset alongside the notemark. What am I 
 missing?
 
 Finally, the ConTeXt footnote mechanism does not (afaik) take into account 
 superior numerals. We need a setup option, e.g.
 
 ===
 \setupfootnotes [numeral=superior]%inferior, normal, with 
 % normal as default
 ===
 
 to cut off the mechanism for automatically raising and reducing the size of 
 the numeral (\high I presume). Yes, there is the empty (text)command=empty 
 trick, but to use superior numerals all this should not be necessary.
 
 Thnx as always
 Idris
 
 
 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

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


RE: [NTG-context] superior footnotes

2005-04-16 Thread Idris Samawi Hamid
Hi Paul,

= Original Message From mailing list for ConTeXt users 
ntg-context@ntg.nl =
Here is an example from my webpage.

Url?

\setupfootnotes[way=bytext, conversion=characters]

% set the number manually
% the next footnote will be *3*
\setnumber[footnote]{2}

The twelve labors of Hercules\footnote{Hercules had to perform 12
near-impossible tasks to become a god} were trifling in comparison
with those which my neighbors have undertaken;

snip

\setupnumber[footnote][start=45]
test \footnote{test} test

Thank you very much for forwarding this information. 
I really appreiate it.

Best
Idris


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] superior footnotes

2005-04-16 Thread Paul Tremblay
On Sat, Apr 16, 2005 at 04:27:12PM -0600, Idris Samawi Hamid wrote:
 
 Hi Paul,
 
 = Original Message From mailing list for ConTeXt users 
 ntg-context@ntg.nl =
 Here is an example from my webpage.
 
 Url?
 

http://getfo.sourceforge.net/context_xml/page4.html#id2254928

If ever this link dies, you can navigate by going to 

http://getfo.sourceforge.net/context_xml/index.html

Hope that helps!

Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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