Re: [NTG-context] [OS X TeX] formats for ConTeXt-XeTeX

2006-02-12 Thread Steffen Wolfrum
OK, a while ago I've found the XeTeX page in Patrick's garden: http:// 
wiki.contextgarden.net/XeTeX
Now it works with both (pdfetex and xetex). Works fine in Terminal:  
texexec --xtx text.tex

But the next problem is TeXShop.  How do I trigger ConTeXt-XeTeX in  
TeXShop?
The only solution I've found is:

1) start the document with  %&program=xetex
2) in TeXShop's menu choose "Typeset": "ConTeXt" and "Personal Script"

This will typeset a ConTeXt file with XeTeX.
But at the end of TeXShop's log it says:

"This script has been deprecated. Please call

 simpdftex latex test.dvi

instead."


So, what was wrong? What's the correct way?

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


Re: [NTG-context] [OS X TeX] formats for ConTeXt-XeTeX

2006-02-12 Thread Thomas A. Schmitz

On Feb 12, 2006, at 8:49 PM, Steffen Wolfrum wrote:

> This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3)
> (WARNING: translate-file "natural.tcx" ignored)
> ---! /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt was  
> written by pdfetex
^^^

That's the problem. If you want both xetex and pdftex, you need to  
have two different format-files, both called cont-en.fmt. They need  
to be in two different subdirectories:
/usr/local/teTeX/share/texmf.local/web2c/pdfetex [for pdfetex]
/usr/local/teTeX/share/texmf.local/web2c/xetex   [for xetex]

Remove the cont-*.fmt files in the .../web2c directory and regenerate  
the formats with texexec.

HTH

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


Re: [NTG-context] [OS X TeX] formats for ConTeXt-XeTeX

2006-02-12 Thread Steffen Wolfrum

Am 12.02.2006 um 18:54 schrieb Jonathan Kew:

> On 12 Feb 2006, at 5:33 pm, Steffen Wolfrum wrote:
>
>> Hi,
>>
>> again, after an i-installer update, my ConTeXt-XeTeX typesetting  
>> failed. Probably I'd never understood how to make the required  
>> formats (what command, what order) properly...
>>
>
> Did you reinstall XeTeX after updating the TeX package? I assume  
> so, just checking

Yes, this was the order:
.FreeType 2
.libwmf
.Ghostscript 8
.ImageMagick
.FontForge
.TeX
.ConTeXt-Updater
.XeTeX


>
>> Can someone please tell me what's the right way
>> for using ConTeXt-XeTeX and ConTeXt-pdfeTeX?
>
> and if it looks simple and robust and I can understand it, I  
> guess I could try adding this to the XeTeX installation scripts.  
> I've never had the time to really look into ConTeXt, but it'd be  
> nice if it could "just work" for people.


After an i-installation running ConTeXt (by pdfeTeX) works right out  
of the box (without any commandline action), same for plain XeTeX  
(plainTeX by XeTeX?).
But running a ConTeXt document by XeTeX fails:

  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

fixing engine variable : pdfetex
 executable : xetex
 format : cont-en
  inputfile : text
 output : pdftex
  interface : en
   current mode : none
TeX run : 1

This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3)
(WARNING: translate-file "natural.tcx" ignored)
---! /usr/local/teTeX/share/texmf.local/web2c/cont-en.fmt was written  
by pdfetex
(Fatal format file error; I'm stymied)

return code : 256
   run time : 1 seconds

 total run time : 1 seconds


Someone knows what to do?

Steffen


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


Re: [NTG-context] Equation Numbering bug?

2006-02-12 Thread Taco Hoekwater
Aditya Mahajan wrote:
> I do not understand why the second equation is numbered

It is a bug. \placeformula turns on formula number processing
(\settrue \handleformulanumber), but it never resets it.

I guess this could be done right at the end of each formula,
like so:

\unprotect
\def\dostopformula
   {\doplaceformulanumber
\getvalue{\e!stop\formulaparameter\c!alternative\v!formula}%
\resetlastlinewidth
\nonoindentation
\dochecknextindentation{\??fm\currentformula}%
\egroup
\setfalse\handleformulanumber %TH, new
\dorechecknextindentation}
\protect

Hans, I am not completely sure this is the right place. Please check!

Cheers, Taco

> \starttext
>\placeformula \startformula \startalign[n=2]
>  \NC  a \NC = b \NR
>  \NC  c \NC = d \NR[+]
>\stopalign \stopformula
>Some text to separate equations
>\startformula
>  e = f
>\stopformula
> \stoptext
> 
> I can get rid of the numbering by placing a \placeformula[-] in the 
> begining. But, it should not be numbered by default.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] using symbols in MetaFun

2006-02-12 Thread Taco Hoekwater
Mojca Miklavec wrote:
> The problem is that I don't know:
> - how to use symbol sets inside MetaFun (verbatimtex \usesymbols[jmn]
> etex doesn't work here)
> - how to enable
> label(btex \convertnumber{gnuplot}{5} etex, (x,y))
>   to work properly in metafun (no luck with verbatimtex ... etex again)
> 
> Any hints would be appreciated.

I am very much a beginner at metafun, so the following is probably
garbage, but to its defence I can say that it actually achieves the
goal :)

There are two files:

% myenv.tex: contains the symbol definition
\usesymbols[jmn]
\defineconversion
[gnuplot]
[$\bullet$,
 $\circ$,
 $\star$,
 x,
 {\symbol[navigation 1][NextJump]}]
% end

% sym.tex: the main file
\environment myenv

\startMPinclusions
def draw_symbol(expr X, Y, Number) =
   label(textext(char 92 & "input myenv " &
 char 92 & "convertnumber{gnuplot}{" &
decimal Number & "}"),(X,Y))
enddef
\stopMPinclusions

\starttext
\startuseMPgraphic
draw_symbol(0,0,3);
\stopuseMPgraphic
\useMPgraphic
\stoptext
% end

I could not figure out how to use a 'verbatimtex' preamble either,
so this loads the myenv definition file for each label. Ugly, but
the best I can manage with my current knowledge.

Cheers,
Taco


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


Re: [NTG-context] Reconfigure mpgraph

2006-02-12 Thread Taco Hoekwater
Sebastian Sturm wrote:
>>Can't you use an Euler text font? These have the dot in the right place.
>>
>>Cheers, Taco

I'm sorry. I must have been half asleep when i wrote that, because I
wrote down absolute nonsense. I double-checked all my local font files,
and there is no way to actually do what I said, sorry.

The graph macros assume that the dot is in the standard ascii
location, and I don't dare trying to extend graph.mp to make that
configurable (I don't really understand those macros). In case
someone else whats to try: the macros that need extension are in
the file format.mp.

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


[NTG-context] formats for ConTeXt-XeTeX

2006-02-12 Thread Steffen Wolfrum
Hi,

again, after an i-installer update, my ConTeXt-XeTeX typesetting  
failed. Probably I'd never understood how to make the required  
formats (what command, what order) properly...

Can someone please tell me what's the right way
for using ConTeXt-XeTeX and ConTeXt-pdfeTeX?

Thank you,

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


Re: [NTG-context] Reconfigure mpgraph

2006-02-12 Thread Sebastian Sturm
> Can't you use an Euler text font? These have the dot in the right place.
> 
> Cheers, Taco

Hi,

I'm not sure what font you're referring to; it would at least have to include
all the Euler digits. I tried zeurm10, but it has a right-pointing triangle at
position 2e. The fonts in my bluesky/euler subdirectory (euex, eufb, eufm,
eurb, eurm, eusb and eusm) also don't work. Can you tell me the name
of the text font including the dot?

Thanks for your answer,
Sebastian



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


Re: [NTG-context] ToC problem

2006-02-12 Thread Elliot Clifton
Taco Hoekwater wrote

> Can you try \noexpand\nomarking ?
>
> (I'll double-check tomorrow)

Thanks, that works.

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


Re: [NTG-context] Reconfigure mpgraph

2006-02-12 Thread Taco Hoekwater
Sebastian Sturm wrote:
> Hi,
> 
> I'd like to use the Metapost graph module together with the Euler math fonts.
> Unfortunately, mpgraph seems to expect its label font to have the decimal
> dot at position 46/2E, whereas according to \showfont the eurm10 dot is
> at position 58/3A. This results in Metapost omitting all dots from the tick
> mark labels. Is there an easy way to reconfigure mpgraph (I looked at the 
> source code, but that seems very confusing to me) to look for
> its dots at the other position?

Can't you use an Euler text font? These have the dot in the right place.

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


Re: [NTG-context] Dense encoding, part II

2006-02-12 Thread Taco Hoekwater
Hi,

Here is my two cents:

I agree with Mojca that lots of accents (both uppercase and
lowercase) would be nice to have, just in case.

I would really like to see the ascii versions of the keyboard
symbols: circumflex, doublequote and tilde etc. (Texnansi normally
has a sort of orphaned accent instead of the ascii symbol, which is
not all that usable)

Then there are straightforward symbols like copyright, registered
and trademark;

The currencies (at least euro, dollar, pound, yen, but preferably
many more)

A set of itemization bullets and dashes (some fonts have square ones)

The 'text-style' calculus operations like multiply and divide,
plus and minus, plusminus, arrowleft and arrow right, text fractions.

I guess there are still missing punctuation characters as well.

Also, as many units and symbols that can appear in running text
as possible please. centigrade and perthousan, but also some greek
letters like micro, Ohm, alpha & beta (biology), gamma (radiology).
These symbols are normally considered part of the text, so they should
not depend on math mode. For example, if your write \beta-blocker,
you want the \beta to be bold sans-serif inside a bold sans-serif
section head.

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


Re: [NTG-context] ToC problem

2006-02-12 Thread Taco Hoekwater
Elliot Clifton wrote:
> Hi Taco,
> 
> thanks for the start/stopArticle macro. Is there any way to make it
> work with \nomarking? I need to be able truncate headings.

Can you try \noexpand\nomarking ?

(I'll double-check tomorrow)

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