ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 101, Issue 51
       [not found] <mailman.232.1353246355.2161.ntg-context@ntg.nl>
@ 2012-11-18 14:02 ` "H. Özoguz"
  2012-11-18 14:03   ` Problems with Standalone ConTeXt "H. Özoguz"
  2012-11-18 14:32   ` ntg-context Digest, Vol 101, Issue 51 Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: "H. Özoguz" @ 2012-11-18 14:02 UTC (permalink / raw)
  To: ntg-context

Am 18.11.2012 14:45, schrieb ntg-context-request@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-2012111114 (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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with Standalone ConTeXt
  2012-11-18 14:02 ` ntg-context Digest, Vol 101, Issue 51 "H. Özoguz"
@ 2012-11-18 14:03   ` "H. Özoguz"
  2012-11-18 14:32   ` ntg-context Digest, Vol 101, Issue 51 Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: "H. Özoguz" @ 2012-11-18 14:03 UTC (permalink / raw)
  To: ntg-context

(Sorry, wrong email title)

Am 18.11.2012 14:45, schrieb ntg-context-request@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-2012111114 (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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ntg-context Digest, Vol 101, Issue 51
  2012-11-18 14:02 ` ntg-context Digest, Vol 101, Issue 51 "H. Özoguz"
  2012-11-18 14:03   ` Problems with Standalone ConTeXt "H. Özoguz"
@ 2012-11-18 14:32   ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2012-11-18 14:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: "H. Özoguz"

On 11/18/2012 3:02 PM, "H. Özoguz" wrote:
> Am 18.11.2012 14:45, schrieb ntg-context-request@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

in

tex/texmd-context/context/data/texworks

there are files that you can use for texworks that can give a hint (i 
havent' checked them in a while as i don't use texworks myself)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with Standalone ConTeXt
  2012-11-18 13:30 Problems with Standalone ConTeXt "H. Özoguz"
  2012-11-18 13:45 ` Wolfgang Schuster
@ 2012-11-18 13:53 ` Rogers, Michael K
  1 sibling, 0 replies; 6+ messages in thread
From: Rogers, Michael K @ 2012-11-18 13:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Nov 18, 2012, at 8:30 AM, "H. Özoguz" <h.oezoguz@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with Standalone ConTeXt
  2012-11-18 13:30 Problems with Standalone ConTeXt "H. Özoguz"
@ 2012-11-18 13:45 ` Wolfgang Schuster
  2012-11-18 13:53 ` Rogers, Michael K
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2012-11-18 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 18.11.2012 um 14:30 schrieb H. Özoguz <h.oezoguz@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problems with Standalone ConTeXt
@ 2012-11-18 13:30 "H. Özoguz"
  2012-11-18 13:45 ` Wolfgang Schuster
  2012-11-18 13:53 ` Rogers, Michael K
  0 siblings, 2 replies; 6+ messages in thread
From: "H. Özoguz" @ 2012-11-18 13:30 UTC (permalink / raw)
  To: ntg-context

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?

Thanks

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-18 14:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.232.1353246355.2161.ntg-context@ntg.nl>
2012-11-18 14:02 ` ntg-context Digest, Vol 101, Issue 51 "H. Özoguz"
2012-11-18 14:03   ` Problems with Standalone ConTeXt "H. Özoguz"
2012-11-18 14:32   ` ntg-context Digest, Vol 101, Issue 51 Hans Hagen
2012-11-18 13:30 Problems with Standalone ConTeXt "H. Özoguz"
2012-11-18 13:45 ` Wolfgang Schuster
2012-11-18 13:53 ` Rogers, Michael K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).