Re: [NTG-context] Problems with Standalone ConTeXt

2012-11-18 Thread Wolfgang Schuster

Am 18.11.2012 um 14:30 schrieb H. Özoguz h.oezo...@mmnetz.de:

 After installing the standalone version (was quite hard for me with 
 TexWorks), now several problems arises. The simplest document
 
 \starttext
 Test
 \stoptest
 
 compiles without problems. But my book gives now several errors. F.e.:
 
 +
 C:/Users/Hussein/context/tex/texmf-context/scripts/context/ruby/base/switch.rb:21:
  Use RbConfig instead of obsolete and deprecated Config.
 
 TeXExec | processing document 'main_inderschule.tex'
 
 TeXExec | no ctx file found
 
 TeXExec | tex processing method: context
 
 TeXExec | TeX run 1
 
 TeXExec | writing option file main_inderschule.top
 
 TeXExec | using randomseed 516
 
 TeXExec | tex engine: pdftex
 
 TeXExec | tex format: cont-en.mkii
 
 This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2012/W32TeX)
 
 \write18 enabled.
 
 entering extended mode
 
 (./main_inderschule.tex
 
 
 ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.11.18 int: english/english
 
 
 system : cont-new.mkii loaded
 
 (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/cont-new.mkii
 
 systems : beware: some patches loaded from cont-new.mkii
 
 )
 
 system : cont-sys.rme loaded
 
 (c:/Users/Hussein/context/tex/texmf-context/tex/context/user/cont-sys.rme
 
 (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/type-siz.mkii)
 
 (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/type-one.mkii))
 
 system : main_inderschule.top loaded
 
 (./main_inderschule.top)
 
 bodyfont : 12pt rm is loaded
 
 language : patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 us-
 
 ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3 
 da-ec:ec-6-2:2
 
 sv-ec:ec-7-2:2 af-ec:ec-8-2:2 gb-ec:ec-9-2:2 fr-texnansi:texnansi-1
 
 0-2:2 fr-ec:ec-11-2:2 es-ec:ec-12-2:2 ca-ec:ec-13-2:2 
 it-texnansi:te
 
 xnansi-14-2:2 it-ec:ec-15-2:2 la-ec:ec-16-2:2 
 pt-texnansi:texnansi-17
 
 -2:2 pt-ec:ec-18-2:2 ro-ec:ec-19-2:2 pl-pl0:pl0-20-2:2 
 pl-ec:ec-21-
 
 2:2 pl-qx:qx-22-2:2 cs-il2:il2-23-2:2 cs-ec:ec-24-2:2 
 sk-il2:il2-25
 
 -2:2 sk-ec:ec-26-2:2 hr-ec:ec-27-2:2 sl-ec:ec-28-2:2 
 tr-ec:ec-29-2
 
 :2 tk-ec:ec-30-1:2 lt-l7x:l7x-31-2:2 agr-agr:agr-33-2:2 
 fi-ec:ec-34-
 
 2:2 hu-ec:ec-35-2:2 ru-t2a:t2a-37-2:2 uk-t2a:t2a-38-3:3 loaded
 
 specials : dvips loaded
 
 systems : system commands are enabled
 
 language : language en is active
 
 specials : loading definition file tpd
 
 (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-tpd.mkii
 
 specials : loading definition file fdf
 
 (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-fdf.mkii))
 
 systems : begin file arab_inderschule at line 2
 
 (./arab_inderschule.tex
 
 ! Undefined control sequence.
 
 l.5 \definehighlight
 
 +
 
 
 Undefined control sequence definehighlight? Why?
 
 
 With the Texlive2012 version of context the same code compiles without 
 problems. So are there some changes in the way of defining something, what I 
 have to change to compile with the last context version?

You process your document with MkIV (texexec filename or context --pdftex 
filename) but your document requires MkIV (context filename) because you 
use the command \definehightlight which is only available with MkIV.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with Standalone ConTeXt

2012-11-18 Thread Rogers, Michael K
On Nov 18, 2012, at 8:30 AM, H. Özoguz h.oezo...@mmnetz.de
 wrote:

 After installing the standalone version (was quite hard for me with 
 TexWorks), now several problems arises. The simplest document

 \starttext
 Test
 \stoptest

 compiles without problems. But my book gives now several errors. F.e.:
…
 This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2012/W32TeX)
...

If you want to run MKIV, you need to select the  ConTeXt (LuaTeX)  typesetting 
option.  The output you posted shows you're using pdfTeX.  You can also create 
your own typesetting option (Edit  Preferences) that calls  standalone 
dir/tex/texmf-osx-64/bin/context  directly with the argument  $fullname.

When I tried out TeXWorks after your post, I had to put the standalone binary 
path,  standalone dir/tex/texmf-osx-64/bin, above  /usr/texbin.  It seems the 
scripts all run a program with the name context and the first one found in 
the path list is used.




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with Standalone ConTeXt

2012-11-18 Thread H. Özoguz

(Sorry, wrong email title)

Am 18.11.2012 14:45, schrieb ntg-context-requ...@ntg.nl:
You process your document with MkIV (texexec filename or context 
--pdftex filename) but your document requires MkIV (context 
filename) because you use the command \definehightlight which is 
only available with MkIV.


Wolfgang

Thanks.

The wiki says to write in the parameters of texworks

texexec
 --lua
 $fullname


So this is for MkIV. How to change it? Just changing into

context
$fullname

and the peogramm texexec.exe into context.exe results in the following 
error:



This is LuaTeX, Version beta-0.70.2-201214 (TeX Live 2012/W32TeX)

\write18 enabled.

(C:/Users/Hussein/context/tex/texmf-context/scripts/context/stubs/unix/context 




ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2012.11.18 int: english/english


system  cont-new.mkiv loaded

(C:/Users/Hussein/context/tex/texmf-context/tex/context/base/cont-new.mkiv

system  beware: some patches loaded from cont-new.mkiv

)

system  context.top loaded

(context.top)

fonts  latin modern fonts are not preloaded

languages  language en is active

! You can't use `macro parameter character #' in vertical mode.


system  tex  error on line 1 in file 
C:/Users/Hussein/context/tex/texmf-context/scripts/context/stubs/unix/context: 
You can't use ` ...



1  #!/bin/sh

2 mtxrun --script context $@

3


l.1 #

!/bin/sh

?

Der Prozess wurde vom Benutzer abgebrochen


Danke dir!


Huseyin

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___