Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Hans Hagen wrote:

 here are my logs
 
 context --ctx=COOnTeXML.ctx Versuch.odt  1.log
 texexec --ctx=COOnTeXML.ctx Versuch.odt  2.log
 
 (context == mtxrun --script context which is the future way to go with
 luatex)

So there's absolutely no hint on why I can't get this to work one can deduct
from the log below?

Joh

texexec --ctx=COOnTeXML.ctx Versuch.odt
TeXExec | processing document 'Versuch.odt'
TeXExec | loading ctx file COOnTeXML.ctx
TeXExec | preprocessing: open office processing
TeXExec | using flags purge texengine=luatex interface=en
TeXExec | using environments t-openoffice.tex
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file Versuch.top
TeXExec | using randomseed 506
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en.fmt
LuaTools | no luc/lua with
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
LuaTools | 
LuaTools | runtime: 0.002 seconds
TeXUtil | unable to locate Versuch.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file Versuch.top
TeXExec | using randomseed 506
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en.fmt
LuaTools | no luc/lua with
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
LuaTools | 
LuaTools | runtime: 0.002 seconds
TeXUtil | unable to locate Versuch.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
CtxTools | purging temporary files : Versuch.odt
CtxTools | checking files that match 'Versuch-*.*'
CtxTools | checking files that match 'Versuch.*'
CtxTools | removed : Versuch.tmp
CtxTools | removed : Versuch.tuo
CtxTools | removed files : 2
CtxTools | kept files : 0
CtxTools | persistent files : 0
CtxTools | reclaimed bytes : 384
TeXExec | runtime: 0.225277


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Hans Hagen
Johannes Graumann wrote:
 Hans Hagen wrote:
 
 here are my logs

 context --ctx=COOnTeXML.ctx Versuch.odt  1.log
 texexec --ctx=COOnTeXML.ctx Versuch.odt  2.log

 (context == mtxrun --script context which is the future way to go with
 luatex)
 
 So there's absolutely no hint on why I can't get this to work one can deduct
 from the log below?

it look like you don't run luatex at all

run texexec with --verbose to see what command is issued

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Taco Hoekwater


Johannes Graumann wrote:
 
 LuaTools | no luc/lua with
 name 
 ///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en

It looks like there is no cont-en.luc nor cont-en.lua in
/home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats

This is usually because you don't have a texluac command installed.
(a copy or symlink of luatex under the name texluac)

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread luigi scarso
I have a mkiv/mkii up and running,
so if i can help.

-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Hans Hagen wrote:
 it look like you don't run luatex at all
 
 run texexec with --verbose to see what command is issued

Here it is. What does unable to fix backend map path indicate?

Joh

#texexec --ctx=COOnTeXML.ctx --verbose Versuch.odt
TeXExec | processing document 'Versuch.odt'
TeXExec | using search method 'kpsewhich'
TeXExec | loading ctx file COOnTeXML.ctx
TeXExec | preprocessing: open office processing
TeXExec | using flags texengine=luatex interface=en
TeXExec | using search method 'kpsewhich'
TeXExec | using environments t-openoffice.tex
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file Versuch.top
TeXExec | using randomseed 1110
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
TeXExec | unable to fix backend map path
TeXExec | running: luatools --fmt=cont-en Versuch.odt

LuaTools | using format
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en.fmt
LuaTools | no luc/lua with
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
LuaTools |
LuaTools | runtime: 0.002 seconds
TeXUtil | unable to locate Versuch.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.095957
TeXExec | option 'verbose' is set to 'true'
TeXExec | option 'environments' is set to 't-openoffice.tex'
TeXExec | option 'randomseed' is set to '1110'
TeXExec | option 'filename' is set to 'Versuch.odt'
TeXExec | option 'ctxfile' is set to 'COOnTeXML.ctx'
TeXExec | option 'mainlanguage' is set to 'standard'
TeXExec | option 'bodyfont' is set to 'standard'
TeXExec | option 'language' is set to 'standard'
TeXExec | option 'engine' is set to 'standard'
TeXExec | option 'distribution' is set to 'web2c'
TeXExec | option 'texformats' is set to 'standard'
TeXExec | option 'mpsformats' is set to 'metafun'
TeXExec | option 'progname' is set to 'standard'
TeXExec | option 'interface' is set to 'en'
TeXExec | option 'runs' is set to '8'
TeXExec | option 'backend' is set to 'standard'


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Hans Hagen
Johannes Graumann wrote:
 Hans Hagen wrote:
 it look like you don't run luatex at all

 run texexec with --verbose to see what command is issued
 
 Here it is. What does unable to fix backend map path indicate?

not important here; compensation for old problems in tds

 LuaTools | using format
 name 
 ///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en.fmt
 LuaTools | no luc/lua with
 name 
 ///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
 LuaTools |

as taco mentioned ... you have no luatex format etc

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Taco Hoekwater wrote:

 
 
 Johannes Graumann wrote:
 
 LuaTools | no luc/lua with
 name
 ///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
 
 It looks like there is no cont-en.luc nor cont-en.lua in
 /home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats
 
 This is usually because you don't have a texluac command installed.
 (a copy or symlink of luatex under the name texluac)
I have installed the minimals.

#which texluac
/home/balin/context/tex/texmf-linux-64/bin/texluac
# texluac
Missing script file

How to fix this?

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Taco Hoekwater
Johannes Graumann wrote:
 Taco Hoekwater wrote:
 

 Johannes Graumann wrote:
 LuaTools | no luc/lua with
 name
 ///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
 It looks like there is no cont-en.luc nor cont-en.lua in
 /home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats

 This is usually because you don't have a texluac command installed.
 (a copy or symlink of luatex under the name texluac)
 I have installed the minimals.
 
 #which texluac
 /home/balin/context/tex/texmf-linux-64/bin/texluac
 # texluac
 Missing script file

That's ok. Apparently, something else went wrong during --make.
What is the output of

   # texexec --make --luatex en

?

Best wishes,
Taco


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Mojca Miklavec
On Feb 13, 2008 12:40 PM, Taco Hoekwater wrote:
 Johannes Graumann wrote:
  I have installed the minimals.
 
  #which texluac
  /home/balin/context/tex/texmf-linux-64/bin/texluac
  # texluac
  Missing script file

 That's ok. Apparently, something else went wrong during --make.
 What is the output of

# texexec --make --luatex en

 ?

mtx-update fails to generate the luatex format somehow (it had
problems with xetex and pdftex before, after the fix, luatex makes
some problems). Try to run texexec --make --lua en manually first.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Taco Hoekwater wrote:

 Johannes Graumann wrote:
 Taco Hoekwater wrote:
 

 Johannes Graumann wrote:
 LuaTools | no luc/lua with
 name
 ///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
 It looks like there is no cont-en.luc nor cont-en.lua in
 /home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats

 This is usually because you don't have a texluac command installed.
 (a copy or symlink of luatex under the name texluac)
 I have installed the minimals.
 
 #which texluac
 /home/balin/context/tex/texmf-linux-64/bin/texluac
 # texluac
 Missing script file
 
 That's ok. Apparently, something else went wrong during --make.
 What is the output of
 
# texexec --make --luatex en

Thanks for the hint. Different error now: how to remedy 
'LuaTools | running command:
luatex --ini --lua=cont-en.luc 
/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
\\dump
(/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
! I can't find file `context.tex'.
l.16 \input context.tex'

?

Thans, Joh

texexec --make --luatex en
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
mktexlsr: Updating /home/balin/context/tex/texmf/ls-R...
mktexlsr: Updating /home/balin/context/tex/texmf-context/ls-R...
mktexlsr: Done.

LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT

LuaTools | skipping /home/balin/context/tex/texmf-local/web2c/texmf.cnf
LuaTools | loading /home/balin/context/tex/texmf/web2c/texmf.cnf
LuaTools | preparing configuration
in 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/593b6ceb5e49efe1d389dd93d46b558c.tma
LuaTools | saving configuration
in 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/593b6ceb5e49efe1d389dd93d46b558c.tma
LuaTools | compiling configuration
to 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/593b6ceb5e49efe1d389dd93d46b558c.tmc
LuaTools | locating list of /home/balin/context/tex//texmf-project
LuaTools | locating list of /home/balin/context/tex//texmf-fonts
LuaTools | locating list of /home/balin/context/tex//texmf-local
LuaTools | locating list of /home/balin/context/tex//texmf-context
LuaTools | locating list of /home/balin/context/tex//texmf-extra
LuaTools | locating list of /home/balin/context/tex//texmf
LuaTools | scanning path /home/balin/context/tex//texmf-context
LuaTools | 1313 files found on 126 directories with 0 uppercase remappings
LuaTools | scanning path /home/balin/context/tex//texmf
LuaTools | 3122 files found on 93 directories with 60 uppercase remappings
LuaTools | preparing files
in 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/ea2adb157b25b207164bd3f25119b32e.tma
LuaTools | saving files
in 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/ea2adb157b25b207164bd3f25119b32e.tma
LuaTools | compiling files
to 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/ea2adb157b25b207164bd3f25119b32e.tmc
LuaTools | preparing files
in 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/27d266422110caa5a96fdc4e30f9d3ca.tma
LuaTools | saving files
in 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/27d266422110caa5a96fdc4e30f9d3ca.tma
LuaTools | compiling files
to 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/trees/27d266422110caa5a96fdc4e30f9d3ca.tmc
LuaTools |
LuaTools | runtime: 0.105 seconds
TeXExec | using tex engine luatex
TeXExec | using tex format
path /home/balin/context/tex/texmf-context/web2c/luatex
TeXExec | generating tex format cont-en

LuaTools | creating initialization file cont-en
LuaTools | using library
path : /home/balin/context/tex//texmf-context/tex/context/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
l-io.lua l-file.lua l-dir.lua l-utils.lua l-tex.lua luat-lib.lua
luat-inp.lua luat-tmp.lua luat-zip.lua luat-tex.lua
LuaTools | using compiled initialization file cont-en.luc
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command:
luatex --ini --lua=cont-en.luc 
/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
\\dump
(/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
! I can't find file `context.tex'.
l.16 \input context.tex

Please type another input file name:

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Mojca Miklavec
On Feb 13, 2008 3:43 PM, Johannes Graumann wrote:
 Johannes Graumann wrote:
  Thanks for the hint. Different error now: how to remedy
  'LuaTools | running command:
  luatex --ini --lua=cont-en.luc
  /home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
  \\dump
  (/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex ! I
  can't find file `context.tex'. l.16 \input context.tex'
 

 It's there ...

 find -iname context.tex
 ./context/tex/texmf-context/tex/context/base/context.tex

 .but not found?

Hmmm ... I have thought that this only happens on windows (as it works
fine here). The file name database is apparently broken (see double
'//'), but no idea why. And no idea why it doesn't work on your
computer whili it does on mine.

How did you call setuptex? What does
   export | grep TEX
return?

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Mojca Miklavec wrote:
 but running setuptex means: [dot] setuptex. Else it has no effect.
 
 Here's the whole procedure once more:
 
 rsync -av
 rsync://contextgarden.net/minimals/setup/osx-intel/first-setup.sh .
 ./first-setup.sh
 # then, you might need to skip a bunch of currently broken greek patterns)
 cd tex
 # note the dot !!!
 . setuptex
 # generate luatex format - only because its autogeneration
 # is broken at the moment
 texexec --make --lua en

This did it and made everything in this gigantoine thread work ... thanks!
How do I do a upgrade, rather than a fresh install?
Running ./first-setup.sh again?

Thanks!

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Mojca Miklavec
On Feb 13, 2008 3:59 PM, Johannes Graumann wrote:

 Mojca Miklavec wrote:

  On Feb 13, 2008 3:43 PM, Johannes Graumann wrote:
  Johannes Graumann wrote:
   Thanks for the hint. Different error now: how to remedy
   'LuaTools | running command:
   luatex --ini --lua=cont-en.luc
   /home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
   \\dump
   (/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex !
   I can't find file `context.tex'. l.16 \input context.tex'
  
 
  It's there ...
 
  find -iname context.tex
  ./context/tex/texmf-context/tex/context/base/context.tex
 
  .but not found?
 
  Hmmm ... I have thought that this only happens on windows (as it works
  fine here). The file name database is apparently broken (see double
  '//'), but no idea why. And no idea why it doesn't work on your
  computer whili it does on mine.
 
  How did you call setuptex? What does
 export | grep TEX
  return?
 Nothing, whether I run setuptex or no ... I must be missing something in
 setting up the minimal ...

but running setuptex means: [dot] setuptex. Else it has no effect.

Here's the whole procedure once more:

rsync -av rsync://contextgarden.net/minimals/setup/osx-intel/first-setup.sh .
./first-setup.sh
# then, you might need to skip a bunch of currently broken greek patterns)
cd tex
# note the dot !!!
. setuptex
# generate luatex format - only because its autogeneration
# is broken at the moment
texexec --make --lua en

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Johannes Graumann wrote:
 Thanks for the hint. Different error now: how to remedy
 'LuaTools | running command:
 luatex --ini --lua=cont-en.luc
 /home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
 \\dump
 (/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex ! I
 can't find file `context.tex'. l.16 \input context.tex'
 

It's there ...

find -iname context.tex
./context/tex/texmf-context/tex/context/base/context.tex

.but not found?

Joh


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Mojca Miklavec
 How do I do a upgrade, rather than a fresh install?
 Running ./first-setup.sh again?

Well ... for now yes. (Unfortunate name for the update script, I know.)

There will be some command-line option provided later that will allow
updating at any time from any location, but it's not ready yet.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-13 Thread Johannes Graumann
Mojca Miklavec wrote:

 On Feb 13, 2008 3:43 PM, Johannes Graumann wrote:
 Johannes Graumann wrote:
  Thanks for the hint. Different error now: how to remedy
  'LuaTools | running command:
  luatex --ini --lua=cont-en.luc
  /home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex
  \\dump
  (/home/balin/context/tex//texmf-context/tex/context/base/cont-en.tex !
  I can't find file `context.tex'. l.16 \input context.tex'
 

 It's there ...

 find -iname context.tex
 ./context/tex/texmf-context/tex/context/base/context.tex

 .but not found?
 
 Hmmm ... I have thought that this only happens on windows (as it works
 fine here). The file name database is apparently broken (see double
 '//'), but no idea why. And no idea why it doesn't work on your
 computer whili it does on mine.
 
 How did you call setuptex? What does
export | grep TEX
 return?
Nothing, whether I run setuptex or no ... I must be missing something in
setting up the minimal ...

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-12 Thread Hans Hagen
Johannes Graumann wrote:
 Thank you so much for your time and help! I'll look at this tonight. What
 xml editor are you using?

i use just scite for xml editing (+ tidy under a button for checking); 
occasionally i look at editors that target at xml but so far i saw no 
reason to use one (apart from the fact that i edit more filetypes than 
xml alone and for that scite suits well)

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-12 Thread Johannes Graumann
I guess this means my attempt to setup the minimal failed miserably. I'll
have to try again.

Joh

Hans Hagen wrote:

 here are my logs
 
 context --ctx=COOnTeXML.ctx Versuch.odt  1.log
 texexec --ctx=COOnTeXML.ctx Versuch.odt  2.log
 
 (context == mtxrun --script context which is the future way to go with
 luatex)
 
 -
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
 -


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-12 Thread Hans Hagen
Johannes Graumann wrote:
 I guess this means my attempt to setup the minimal failed miserably. I'll
 have to try again.

maybe, maybe not; hard too see from a distance

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-12 Thread Johannes Graumann
My version is:
texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2008.02.09 01:29
TeXExec | format
path: . /home/balin/context/tex/texmf-project/web2c/unsetengine 
/home/balin/context/tex/texmf-fonts/web2c/unsetengine 
/home/balin/context/tex/texmf-local/web2c/unsetengine 
/home/balin/context/tex/texmf-context/web2c/unsetengine 
/home/balin/context/tex/texmf-extra/web2c/unsetengine 
/home/balin/context/tex/texmf/web2c/unsetengine 
/home/balin/context/tex/texmf-project/web2c 
/home/balin/context/tex/texmf-fonts/web2c 
/home/balin/context/tex/texmf-local/web2c 
/home/balin/context/tex/texmf-context/web2c 
/home/balin/context/tex/texmf-extra/web2c /home/balin/context/tex/texmf/web2c
TeXExec | start of analysis
TeXExec | end of analysis
TeXExec | 
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.4 - 2004/2008 - PRAGMA ADE

There is no log (no matter whether I use purge or not)!

Here's the output of the command line ...

 texexec --ctx=COOnTeXML.ctx Versuch.odt
TeXExec | processing document 'Versuch.odt'
TeXExec | loading ctx file COOnTeXML.ctx
TeXExec | preprocessing: open office processing
TeXExec | using flags purge texengine=luatex interface=en
TeXExec | using environments t-openoffice.tex
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file Versuch.top
TeXExec | using randomseed 506
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en.fmt
LuaTools | no luc/lua with
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
LuaTools | 
LuaTools | runtime: 0.002 seconds
TeXUtil | unable to locate Versuch.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file Versuch.top
TeXExec | using randomseed 506
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en.fmt
LuaTools | no luc/lua with
name 
///home/balin/luatex-cache/context/df978da3a6143ec9969278aafe7c9243/formats/cont-en
LuaTools | 
LuaTools | runtime: 0.002 seconds
TeXUtil | unable to locate Versuch.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
CtxTools | purging temporary files : Versuch.odt
CtxTools | checking files that match 'Versuch-*.*'
CtxTools | checking files that match 'Versuch.*'
CtxTools | removed : Versuch.tmp
CtxTools | removed : Versuch.tuo
CtxTools | removed files : 2
CtxTools | kept files : 0
CtxTools | persistent files : 0
CtxTools | reclaimed bytes : 384
TeXExec | runtime: 0.225277

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-12 Thread Hans Hagen
Johannes Graumann wrote:
 I'm just to stupid to get this done ... can I ask for one more glance at my
 combined folly? Why doesn't this compile?

what does your log say

(make sure to use the latest version, there has been a fix)

maybe try

texexec --ctx=./COOnTeXML.ctx Versuch.odt

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-12 Thread Johannes Graumann
I'm just to stupid to get this done ... can I ask for one more glance at my
combined folly? Why doesn't this compile?

texexec --ctx=COOnTeXML.ctx Versuch.odt

Joh

Hans Hagen wrote:

 the cleanest way is:
 
 \startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
 \stopxmlsetups
 
 \xmlregistersetup{xml:mysetups}
 
 \startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
 \stopxmlsetups
 
 \usezipfile[\inputfilename]
 
 \starttext
  \xmlprocess{main}{*/content.xml}{}
 \stoptext
 
 and then:
 
 texexec --lua --purge --environment=yourstyle.tex Versuch.odt
 
 (you need to add the .tex, there is a buglet)
 
 however, more fun is:
 
 texexec --ctx=openoffice Versuch.odt
 
 with (someplace in your tree) openoffice.ctx
 
 ?xml version='1.0' standalone='yes'?
 
 ctx:job
  ctx:messageopen office processing/ctx:message
  ctx:preprocess/
  ctx:flags
  ctx:flagpurge/ctx:flag
  ctx:flagtexengine=luatex/ctx:flag
  ctx:flaginterface=en/ctx:flag
  /ctx:flags
  ctx:process
  ctx:resources
  ctx:environmentt-openoffice.tex/ctx:environment
  /ctx:resources
  /ctx:process
  ctx:postprocess/
 /ctx:job
 
 and t-openoffice.tex as style
 
 
 
 
 -
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
 -

___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

___

?xml version='1.0' standalone='yes'?

ctx:job
 ctx:messageopen office processing/ctx:message
 ctx:preprocess/
 ctx:flags
 ctx:flagpurge/ctx:flag
 ctx:flagtexengine=luatex/ctx:flag
 ctx:flaginterface=en/ctx:flag
 /ctx:flags
 ctx:process
 ctx:resources
 ctx:environmentt-openoffice.tex/ctx:environment
 /ctx:resources
 /ctx:process
 ctx:postprocess/
/ctx:job

\startenvironment t-openoffice.tex

\startxmlsetups xml:COOnTeXML
 \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:COOnTeXML}

\startxmlsetups xml:paragraph
 \xmlflush{#1}\endgraf
\stopxmlsetups

\usezipfile[\inputfilename]

\starttext
 \xmlprocess{main}{*/content.xml}{}
\stoptext

\stopenvironment



Versuch.odt
Description: application/vnd.oasis.opendocument.text
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Johannes Graumann
Hans Hagen wrote:

 Johannes Graumann wrote:
 
 
 \starttext
 %  \xmlprocess{main}{zip::\env{odt}::content.xml}{}
   \xmlprocess{main}{\usezipfile[\env{odt}][content.xml]}{}
 \stoptext
 
 \usezipfile[\env{odt}]
 
 \xmlprocess{main}{content.xml} or \xmlprocess{main}{*/content.xml}
 
 you can also play with
 
 \xmlprocess{main}{zip:///\env{odt}?name=content.xml}
 
 (untested of course)

Hans, no matter how I turn this, no pdf is ever produced ... versions
appended below. What else might be going wrong?

Joh

texmfstart texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2008.02.09 01:29
TeXExec | format
path: . /home/balin/context/tex/texmf-project/web2c/unsetengine 
/home/balin/context/tex/texmf-fonts/web2c/unsetengine 
/home/balin/context/tex/texmf-local/web2c/unsetengine 
/home/balin/context/tex/texmf-context/web2c/unsetengine 
/home/balin/context/tex/texmf-extra/web2c/unsetengine 
/home/balin/context/tex/texmf/web2c/unsetengine 
/home/balin/context/tex/texmf-project/web2c 
/home/balin/context/tex/texmf-fonts/web2c 
/home/balin/context/tex/texmf-local/web2c 
/home/balin/context/tex/texmf-context/web2c 
/home/balin/context/tex/texmf-extra/web2c /home/balin/context/tex/texmf/web2c
TeXExec | start of analysis
TeXExec | end of analysis
TeXExec | 
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.4 - 2004/2008 - PRAGMA ADE

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Hans Hagen
Johannes Graumann wrote:
 Hans Hagen wrote:
 
 Johannes Graumann wrote:


 \starttext
 %  \xmlprocess{main}{zip::\env{odt}::content.xml}{}
   \xmlprocess{main}{\usezipfile[\env{odt}][content.xml]}{}
 \stoptext
 \usezipfile[\env{odt}]

 \xmlprocess{main}{content.xml} or \xmlprocess{main}{*/content.xml}

 you can also play with

 \xmlprocess{main}{zip:///\env{odt}?name=content.xml}

 (untested of course)
 
 Hans, no matter how I turn this, no pdf is ever produced ... versions
 appended below. What else might be going wrong?
 
 Joh
 
 texmfstart texexec --check
 TeXExec | current distribution: web2c
 TeXExec | context source date: 2008.02.09 01:29
 TeXExec | format
 path: . /home/balin/context/tex/texmf-project/web2c/unsetengine 
 /home/balin/context/tex/texmf-fonts/web2c/unsetengine 
 /home/balin/context/tex/texmf-local/web2c/unsetengine 
 /home/balin/context/tex/texmf-context/web2c/unsetengine 
 /home/balin/context/tex/texmf-extra/web2c/unsetengine 
 /home/balin/context/tex/texmf/web2c/unsetengine 
 /home/balin/context/tex/texmf-project/web2c 
 /home/balin/context/tex/texmf-fonts/web2c 
 /home/balin/context/tex/texmf-local/web2c 
 /home/balin/context/tex/texmf-context/web2c 
 /home/balin/context/tex/texmf-extra/web2c /home/balin/context/tex/texmf/web2c
 TeXExec | start of analysis
 TeXExec | end of analysis
 TeXExec | 
 TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
 TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
 TeXExec | CtxTools | version 1.3.4 - 2004/2008 - PRAGMA ADE

you'll have to make me a test file then

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Hans Hagen
Johannes Graumann wrote:


 \starttext
 %  \xmlprocess{main}{zip::\env{odt}::content.xml}{}
   \xmlprocess{main}{\usezipfile[\env{odt}][content.xml]}{}
 \stoptext

\usezipfile[\env{odt}]

\xmlprocess{main}{content.xml} or \xmlprocess{main}{*/content.xml}

you can also play with

\xmlprocess{main}{zip:///\env{odt}?name=content.xml}

(untested of course)

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Johannes Graumann
Johannes Graumann wrote:

 I'll try tonight. Thanks, Joh
 
 Hans Hagen wrote:
 
 Johannes Graumann wrote:
 Hans Hagen wrote:
 
 i posted something about this a few weeks ago ... thing slike
 registering zip files, reading from zip:// etc
 Are you referring to this:

http://archive.contextgarden.net/message/20080131.07.9fb1c327.en.html
 ?
 
 yes

Hans, I do not get this to work.

My *.tex file looks like so:

% texmfstart texexec --lua COOnTeXML.tex --arg=odt=someotherfile.zip
\startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

\startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
%  \xmlprocess{main}{zip::\env{odt}::content.xml}{}
  \xmlprocess{main}{\usezipfile[\env{odt}][content.xml]}{}
\stoptext

and is being invoked like so:

texmfstart
texexec --lua --purge --arg=odt=versuch.odt --result=versuch.odt.pdf
COOnTeXML.tex

Nothing happens ... can you spot the error?

Thanks, Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Johannes Graumann
Thanks for your time.

Hans Hagen wrote:

 you'll have to make me a test file then
Attached.

As described earlier this is supposed to compile like so:

texmfstart
texexec --lua --purge --arg=odt=Versuch.odt --result=Versuch.odt.pdf
COOnTeXML.tex

where COOnTeXML reads:

\startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

\startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
\stopxmlsetups

\starttext
  \usezipfile[\env{odt}]
  \xmlprocess{main}{content.xml}
\stoptext


Versuch.odt
Description: application/vnd.oasis.opendocument.text
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Hans Hagen
the cleanest way is:

\startxmlsetups xml:mysetups
 \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

\startxmlsetups xml:paragraph
 \xmlflush{#1}\endgraf
\stopxmlsetups

\usezipfile[\inputfilename]

\starttext
 \xmlprocess{main}{*/content.xml}{}
\stoptext

and then:

texexec --lua --purge --environment=yourstyle.tex Versuch.odt

(you need to add the .tex, there is a buglet)

however, more fun is:

texexec --ctx=openoffice Versuch.odt

with (someplace in your tree) openoffice.ctx

?xml version='1.0' standalone='yes'?

ctx:job
 ctx:messageopen office processing/ctx:message
 ctx:preprocess/
 ctx:flags
 ctx:flagpurge/ctx:flag
 ctx:flagtexengine=luatex/ctx:flag
 ctx:flaginterface=en/ctx:flag
 /ctx:flags
 ctx:process
 ctx:resources
 ctx:environmentt-openoffice.tex/ctx:environment
 /ctx:resources
 /ctx:process
 ctx:postprocess/
/ctx:job

and t-openoffice.tex as style




-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Johannes Graumann
Hans Hagen wrote:

 i posted something about this a few weeks ago ... thing slike
 registering zip files, reading from zip:// etc
Are you referring to this:
http://archive.contextgarden.net/message/20080131.07.9fb1c327.en.html
?

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Johannes Graumann
Thank you so much for your time and help! I'll look at this tonight. What
xml editor are you using?

Joh

Hans Hagen wrote:

 the cleanest way is:
 
 \startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{text:p}{xml:paragraph}
 \stopxmlsetups
 
 \xmlregistersetup{xml:mysetups}
 
 \startxmlsetups xml:paragraph
  \xmlflush{#1}\endgraf
 \stopxmlsetups
 
 \usezipfile[\inputfilename]
 
 \starttext
  \xmlprocess{main}{*/content.xml}{}
 \stoptext
 
 and then:
 
 texexec --lua --purge --environment=yourstyle.tex Versuch.odt
 
 (you need to add the .tex, there is a buglet)
 
 however, more fun is:
 
 texexec --ctx=openoffice Versuch.odt
 
 with (someplace in your tree) openoffice.ctx
 
 ?xml version='1.0' standalone='yes'?
 
 ctx:job
  ctx:messageopen office processing/ctx:message
  ctx:preprocess/
  ctx:flags
  ctx:flagpurge/ctx:flag
  ctx:flagtexengine=luatex/ctx:flag
  ctx:flaginterface=en/ctx:flag
  /ctx:flags
  ctx:process
  ctx:resources
  ctx:environmentt-openoffice.tex/ctx:environment
  /ctx:resources
  /ctx:process
  ctx:postprocess/
 /ctx:job
 
 and t-openoffice.tex as style
 
 
 
 
 -
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
 -

___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Hans Hagen
Johannes Graumann wrote:
 Hans Hagen wrote:
 
 i posted something about this a few weeks ago ... thing slike
 registering zip files, reading from zip:// etc
 Are you referring to this:
 http://archive.contextgarden.net/message/20080131.07.9fb1c327.en.html
 ?

yes

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-11 Thread Johannes Graumann
I'll try tonight. Thanks, Joh

Hans Hagen wrote:

 Johannes Graumann wrote:
 Hans Hagen wrote:
 
 i posted something about this a few weeks ago ... thing slike
 registering zip files, reading from zip:// etc
 Are you referring to this:
 http://archive.contextgarden.net/message/20080131.07.9fb1c327.en.html
 ?
 
 yes
 
 -
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
 -

___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

___


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-10 Thread Mojca Miklavec
On Feb 9, 2008 9:57 PM, Johannes Graumann wrote:

  Does the rest (apart from update) work as expected?
 No, that's what I am fretting about.

I meant ... does ConTeXt installed that way work at all?

 Hans (and subsequently Wolfgang) stated
 that zip processing with this newest version should also work from within
 XML-mode of Context, something I'm very anxious to have for this pet
 project of mine of mapping ooffice xml into Context ...
 Does this depend on the newest luatex version?

No. Some time ago ConTeXt didn't work at all without the latest
LuaTeX. Maybe I'm wrong. That question should be addressed to Hans.

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-10 Thread Hans Hagen
Mojca Miklavec wrote:
 On Feb 9, 2008 9:57 PM, Johannes Graumann wrote:
 Does the rest (apart from update) work as expected?
 No, that's what I am fretting about.
 
 I meant ... does ConTeXt installed that way work at all?
 
 Hans (and subsequently Wolfgang) stated
 that zip processing with this newest version should also work from within
 XML-mode of Context, something I'm very anxious to have for this pet
 project of mine of mapping ooffice xml into Context ...
 Does this depend on the newest luatex version?
 
 No. Some time ago ConTeXt didn't work at all without the latest
 LuaTeX. Maybe I'm wrong. That question should be addressed to Hans.

i posted something about this a few weeks ago ... thing slike 
registering zip files, reading from zip:// etc

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Johannes Graumann
Joel C. Salomon wrote:

 On Feb 6, 2008 11:35 AM, Johannes Graumann [EMAIL PROTECTED]
 wrote:
 Is there a *.deb release for the current context version, or what are the
 plans for it?
 
 Norbert Preining is on vacation, so I'm guessing no.  The most recent
 version he's got on his site
 (http://people.debian.org/~preining/TeX/context/) is 2008.01.02.
That's unfortunate (for me - not for him ;0) ...

 I'm hesitant to go with a distribution independent context install ...
 
 Do you absolutely, positively need the most recent version, or did you
 want to test it?
I do need the new version which is supposed to support zip-file reading in
XML mode ...

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Wolfgang Schuster
On Feb 9, 2008 12:48 PM, Johannes Graumann [EMAIL PROTECTED] wrote:
 Joel C. Salomon wrote:

  On Feb 6, 2008 11:35 AM, Johannes Graumann [EMAIL PROTECTED]
  wrote:
  Is there a *.deb release for the current context version, or what are the
  plans for it?
 
  Norbert Preining is on vacation, so I'm guessing no.  The most recent
  version he's got on his site
  (http://people.debian.org/~preining/TeX/context/) is 2008.01.02.
 That's unfortunate (for me - not for him ;0) ...

  I'm hesitant to go with a distribution independent context install ...
 
  Do you absolutely, positively need the most recent version, or did you
  want to test it?
 I do need the new version which is supposed to support zip-file reading in
 XML mode ...

It supports reading from zip files (nice feature ;-) but what is wrong with
ConTeXt's own function to update the system.

ctxtools --updatecontent did everything for you

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Johannes Graumann
Wolfgang Schuster wrote:

 ctxtools --updatecontent
Thanks for the hint, but that doesn't seem to work ...

# ctxtools --updatecontext 
CtxTools 
updating /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive
CtxTools | unable to change
to /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive

I do not understand enough of the ctxtools.rb script to figure out what
might be going on in the debian case ...

Joh


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Wolfgang Schuster
On Feb 9, 2008 4:09 PM, Johannes Graumann [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:

  ctxtools --updatecontent
 Thanks for the hint, but that doesn't seem to work ...

 # ctxtools --updatecontext
 CtxTools
 updating /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive
 CtxTools | unable to change
 to /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive

 I do not understand enough of the ctxtools.rb script to figure out what
 might be going on in the debian case ...

I have no idea about TeX installation on Linux but you could try to download
the zip from Hans side and unzip it in your local TeX directory.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Johannes Graumann
Wolfgang Schuster wrote:

 On Feb 9, 2008 4:09 PM, Johannes Graumann [EMAIL PROTECTED]
 wrote:
 Wolfgang Schuster wrote:

  ctxtools --updatecontent
 Thanks for the hint, but that doesn't seem to work ...

 # ctxtools --updatecontext
 CtxTools
 updating
 /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive
 CtxTools | unable to change to
 /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive

 I do not understand enough of the ctxtools.rb script to figure out what
 might be going on in the debian case ...
 
 I have no idea about TeX installation on Linux but you could try to
 download the zip from Hans side and unzip it in your local TeX directory.
I had local installs before. It's exactly what I want to prevent and ask for
a Deb for ...

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Aditya Mahajan
On Sat, 9 Feb 2008, Johannes Graumann wrote:

 Wolfgang Schuster wrote:

 ctxtools --updatecontent
 Thanks for the hint, but that doesn't seem to work ...

 # ctxtools --updatecontext
 CtxTools
 updating /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive
 CtxTools | unable to change
 to /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive

 I do not understand enough of the ctxtools.rb script to figure out what
 might be going on in the debian case ...

You need to run

  sudo ctxtools --updatecontext

but this will add content to your $TEXMFLOCAL (and not $TEXMFMAIN) so you 
will get two trees.

Aditya


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Johannes Graumann
Aditya Mahajan wrote:

 # ctxtools --updatecontext
 CtxTools
 updating
 /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive
 CtxTools | unable to change to
 /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive

 I do not understand enough of the ctxtools.rb script to figure out what
 might be going on in the debian case ...
 
 You need to run
 
   sudo ctxtools --updatecontext

The attempt documented above was run as root. So that's not it. Problem is,
I suppose that the command assumes a local pre-existing tree, which I don't
have.

Joh



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Johannes Graumann
Wolfgang Schuster wrote:

 On Feb 9, 2008 4:09 PM, Johannes Graumann [EMAIL PROTECTED]
 wrote:
 Wolfgang Schuster wrote:

  ctxtools --updatecontent
 Thanks for the hint, but that doesn't seem to work ...

 # ctxtools --updatecontext
 CtxTools
 updating
 /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive
 CtxTools | unable to change to
 /etc/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-texlive

 I do not understand enough of the ctxtools.rb script to figure out what
 might be going on in the debian case ...

Well, well ... I've given up my resistance, deinstalled the debian packages
and got http://minimals.contextgarden.net/setup/context-setup-linux-64.zip.
I extracted it, run 'first-setup.sh' and 'tex/setuptex' from it, as well as
added '~/context/tex/texmf-linux-64/bin' to my path.
Problem is: the error remains the same as above:

#ctxtools --updatecontext
CtxTools |
updating /home/balin/context/tex/texmf-context:/home/balin/context/tex/texmf
CtxTools | unable to change
to /home/balin/context/tex/texmf-context:/home/balin/context/tex/texmf

What is it that I'm doing wrong?

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Mojca Miklavec
On Feb 9, 2008 8:44 PM, Johannes Graumann wrote:

 Well, well ... I've given up my resistance, deinstalled the debian packages
 and got http://minimals.contextgarden.net/setup/context-setup-linux-64.zip.
 I extracted it, run 'first-setup.sh' and 'tex/setuptex' from it, as well as
 added '~/context/tex/texmf-linux-64/bin' to my path.
 Problem is: the error remains the same as above:

 #ctxtools --updatecontext
 CtxTools |
 updating /home/balin/context/tex/texmf-context:/home/balin/context/tex/texmf
 CtxTools | unable to change
 to /home/balin/context/tex/texmf-context:/home/balin/context/tex/texmf

 What is it that I'm doing wrong?

The reported error is not your fault (might be a
did-not-consider-all-the-border-cases-bug in ctxtools), but if you
have used the minimals from the garden, you already have the latest
version of ConTeXt and there's no need to update it. The minimals are
created exactly for that reason - to be able to update with rsync
instead of having to download everything when only a few lines change.
(A command-line for updating will be provided once things stabilize.)

The only problem is that I don't have the luaTeX binary for linux-64
yet (usually it's Taco the one who submits it, but you may as well
checkout svn://scm.foundry.supelec.fr/svn/luatex, run the build script
and send me the binary).

Does the rest (apart from update) work as expected?

Mojca
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-09 Thread Johannes Graumann
Mojca Miklavec wrote:
 The reported error is not your fault (might be a
 did-not-consider-all-the-border-cases-bug in ctxtools), but if you
 have used the minimals from the garden, you already have the latest
 version of ConTeXt and there's no need to update it. The minimals are
 created exactly for that reason - to be able to update with rsync
 instead of having to download everything when only a few lines change.
 (A command-line for updating will be provided once things stabilize.)
Thanks for the heads up ...

 The only problem is that I don't have the luaTeX binary for linux-64
 yet (usually it's Taco the one who submits it, but you may as well
 checkout svn://scm.foundry.supelec.fr/svn/luatex, run the build script
 and send me the binary).
Let's see whether I have to go there ...

 Does the rest (apart from update) work as expected?
No, that's what I am fretting about. Hans (and subsequently Wolfgang) stated
that zip processing with this newest version should also work from within
XML-mode of Context, something I'm very anxious to have for this pet
project of mine of mapping ooffice xml into Context ...
Does this depend on the newest luatex version?

Joh

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] DEB of Context 2008-01-28 anybody?

2008-02-06 Thread Joel C. Salomon
On Feb 6, 2008 11:35 AM, Johannes Graumann [EMAIL PROTECTED] wrote:
 Is there a *.deb release for the current context version, or what are the
 plans for it?

Norbert Preining is on vacation, so I'm guessing no.  The most recent
version he's got on his site
(http://people.debian.org/~preining/TeX/context/) is 2008.01.02.

 I'm hesitant to go with a distribution independent context install ...

Do you absolutely, positively need the most recent version, or did you
want to test it?

--Joel
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___