[NTG-context] xmldir (mtxrun still unpatched?)

2011-10-20 Thread Andreas Harder
Hi Hans,

with the latest beta I still have to patch mtxrun to make xmldir work …

Besides, the root-parameter (--root=some/path) don’t seem to have any impact. 
As an workaround I’m using

\startmode[*first]
  \executesystemcommand
{cd some/path 
 mtxrun
  --script tools --dirtoxml
  --pattern=*.pdf
  --output=some/path/xmldir.xml}
\stopmode


Thanks in advance

Andreas
___
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
___


[NTG-context] xmldir

2011-10-16 Thread Andreas Harder
Hello,

I would like to use some tricks described in xmldir manual (only with MkIV) but

mtxrun --script tool --dirtoxml

stops with

/Users/ah/context-old/tex/texmf-osx-64/bin/mtxrun:3248: bad argument #1 
to '(for generator)' (directory metatable expected, got nil)


Regards
Andreas
___
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
___


[NTG-context] xmldir : hyperlinks not working

2006-10-31 Thread olivier Turlier
Hi every Context lover/user,

I came to using xmltools for building an long (boring) list of
foldersfiles, with the idea of sharing a cdrom with automount
niceties (shellexec.exe  autorun.inf telling to open the generated pdf).

The problem is that xmltool apparently (skip certain portions ?) don't
recognise or retranscribe a full path, i.e if a real path is
root(K:\MESDOC\COURS\05-TEB~1\000_ZI~1)\01-at1-repres_graphic_gene\01-s8910-metre_infra\cours-ppes-metre-go-0506.pdf
firefox answer that (//media/cdrom0)/cours-ppes-metre-go-0506.pdf. is
unreachable

.tex file for creating xmldir.xml :

\useregime[il1]
\enableregime[il1]
\useencoding[ffr]
\mainlanguage[fr]


\executesystemcommand
% {texmfstart xmltools --dir --recurse
--root=K:/Mesdoc/cours/05-teb-0506/000_zip-tout
--pattern={*.pdf,*.xls} --output=xmldir.xml}
{texmfstart xmltools --dir --recurse --pattern=*.* --output=xmldir.xml}


-- command for making pdf from xmldir.xml :

texmfstart newtexexec.rb --autopdf --pdf --mode=colorscheme-red  --xml
--use=dir-01 --pdf xmldir.xml

(I've tried also :
texmfstart newtexexec.rb --autopdf --pdf --mode=colorscheme-red
--root=K:/Mesdoc/cours/05-teb-0506/000_zip-tout --xml --use=dir-01 --pdf
xmldir.xml
: without success)

--

TIA for any answer

-- 
Olivier TURLIER
CRP La Rouguière
101 Bd des Libérateurs
13367 MARSEILLE CEDEX 11
tel : (33) 04 91 18 56 00

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