* texexec --purge (was: Linux PPC64 & minimals)
@ 2010-02-02 15:57 Mojca Miklavec
2010-02-02 18:00 ` texexec --purge Roger Mason
0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2010-02-02 15:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote:
> On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote:
>> Hi Mojca,
>>
>> texexec --purge simple.tex -> Output written on simple.pdf (1 page,
>> 28424 bytes).
>>
>> texexec simple.tex -> Output written on simple.pdf (1 page, 28424
>> bytes).
>>
>> The document is always produced correctly, but --purge does not do its
>> job and produces the errors listed in my original post.
>
> OK, that's reproducible here as well.
The problem goes away if I comment out the lines 2053 and 2054 of
tex.rb. I suspect that
Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge')
doesn't call the ctxtools script with proper quoting, so arguments are
interpreted as commands instead of being just arguments.
But I didn't inspect any further.
Mojca
texexec --verbose --purge besedilo
...
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
Output written on besedilo.pdf (2 pages, 124469 bytes).
Transcript written on besedilo.log.
TeXUtil | parsing file besedilo.tui
TeXUtil | shortcuts : 398
TeXUtil | expansions: 308
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 29
TeXUtil | programs: 0
TeXUtil | tuo file saved
sh: version: command not found
sh: line 2: --bbeditinterface: command not found
sh: line 3: --brandfiles: command not found
sh: line 4: --contextversion: command not found
sh: line 5: --dependencies: command not found
sh: line 5: filenames]]: command not found
sh: line 6: --disarmutfbom: command not found
sh: line 7: --documentation: command not found
sh: line 8: --dpxmapfiles: command not found
sh: line 9: --jeditinterface: command not found
sh: line 10: --listentities: command not found
sh: line 11: --patternfiles: command not found
sh: line 12: --platformize: command not found
sh: line 13: --purgefiles: command not found
sh: line 14: --rawinterface: command not found
sh: line 15: --sciteinterface: command not found
sh: line 16: --touchcontextfile: command not found
sh: line 17: --updatecontext: command not found
sh: line 18: --purge: command not found
TeXExec | runtime: 5.496058
TeXExec | option 'purge' is set to 'true'
TeXExec | option 'verbose' is set to 'true'
TeXExec | option 'randomseed' is set to '132'
TeXExec | option 'filename' is set to 'besedilo.tex'
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 'en'
TeXExec | option 'mpsformats' is set to 'metafun'
TeXExec | option 'progname' is set to 'standard'
TeXExec | option 'interface' is set to 'standard'
TeXExec | option 'runs' is set to '8'
TeXExec | option 'backend' is set to 'standard'
located : context-tex-besedilo.ctx ->
scripts : ctxtools -> CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE
CtxTools | --bbeditinterface generate bbedit syntax files [--pipe]
CtxTools | --brandfiles add context copyright notice [--force]
CtxTools | --contextversion report context version
CtxTools | --dependencies analyze depedencies within context
[--save --compact --filter=[macros|filenames]] [filename]
CtxTools | --disarmutfbom remove utf bom [--force]
CtxTools | --documentation generate documentation [--type=] [filename]
CtxTools | --dpxmapfiles convert pdftex mapfiles to dvipdfmx
[--force] [texmfroot]
CtxTools | --jeditinterface generate jedit syntax files [--pipe]
CtxTools | --listentities create doctype entity definition from enco-uc.tex
CtxTools | --patternfiles generate pattern files [--all --xml
--utf8] [languagecode]
CtxTools | --platformize replace line-endings [--recurse --force] [pattern]
CtxTools | --purgefiles remove temporary files [--all --recurse]
[basename]
CtxTools | --rawinterface generate raw syntax files [--pipe]
CtxTools | --sciteinterface generate scite syntax files [--pipe]
CtxTools | --touchcontextfile update context version
CtxTools | --updatecontext download latest version and remake
formats [--proxy]
___________________________________________________________________________________
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] 3+ messages in thread
* Re: texexec --purge
2010-02-02 15:57 texexec --purge (was: Linux PPC64 & minimals) Mojca Miklavec
@ 2010-02-02 18:00 ` Roger Mason
2010-02-02 20:11 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Roger Mason @ 2010-02-02 18:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Mojca Miklavec <mojca.miklavec.lists@gmail.com> writes:
> On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote:
>
> The problem goes away if I comment out the lines 2053 and 2054 of
> tex.rb. I suspect that
> Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge')
> doesn't call the ctxtools script with proper quoting, so arguments are
> interpreted as commands instead of being just arguments.
>
> But I didn't inspect any further.
>
Yes, commenting those lines removes the error messages here too, but of
course the desired --purge does not take place.
If someone knows what "proper quoting" is in this case I'll try editing
tex.rb accordingly.
Cheers,
Roger
___________________________________________________________________________________
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] 3+ messages in thread
* Re: texexec --purge
2010-02-02 18:00 ` texexec --purge Roger Mason
@ 2010-02-02 20:11 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2010-02-02 20:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 2-2-2010 19:00, Roger Mason wrote:
> Mojca Miklavec<mojca.miklavec.lists@gmail.com> writes:
>
>> On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote:
>>
>> The problem goes away if I comment out the lines 2053 and 2054 of
>> tex.rb. I suspect that
>> Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge')
>> doesn't call the ctxtools script with proper quoting, so arguments are
>> interpreted as commands instead of being just arguments.
>>
>> But I didn't inspect any further.
>>
>
> Yes, commenting those lines removes the error messages here too, but of
> course the desired --purge does not take place.
>
> If someone knows what "proper quoting" is in this case I'll try editing
> tex.rb accordingly.
does "context --purge" work ok?
-----------------------------------------------------------------
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-02 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-02 15:57 texexec --purge (was: Linux PPC64 & minimals) Mojca Miklavec
2010-02-02 18:00 ` texexec --purge Roger Mason
2010-02-02 20:11 ` Hans Hagen
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).