* tex file as input (was: bad argument #1 to 'gsub')
@ 2011-06-24 22:14 Reviczky, Adam
2011-06-24 22:26 ` Kip Warner
2011-06-24 23:48 ` Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: Reviczky, Adam @ 2011-06-24 22:14 UTC (permalink / raw)
To: ntg-context; +Cc: kip
Hi
Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html
(having some "file.tex" in folder "test")
\starttext
\input test/file
\stoptext
gives:
! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil).
system > tex > error on line 2 in file input.tex: LuaTeX error ...
Tested on minimals 2011.06.24 16:57.
Using "\input test/file.tex" works though.
Adam
___________________________________________________________________________________
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] 4+ messages in thread
* Re: tex file as input (was: bad argument #1 to 'gsub')
2011-06-24 22:14 tex file as input (was: bad argument #1 to 'gsub') Reviczky, Adam
@ 2011-06-24 22:26 ` Kip Warner
[not found] ` <7B4626C28B06A7418E938BF73D6DEE18F9FE70546E@KCL-MAIL05.kclad.ds.kcl.ac.uk>
2011-06-24 23:48 ` Hans Hagen
1 sibling, 1 reply; 4+ messages in thread
From: Kip Warner @ 2011-06-24 22:26 UTC (permalink / raw)
To: Reviczky, Adam; +Cc: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 773 bytes --]
On Fri, 2011-06-24 at 23:14 +0100, Reviczky, Adam wrote:
> Hi
>
> Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html
>
> (having some "file.tex" in folder "test")
>
> \starttext
> \input test/file
> \stoptext
>
> gives:
> ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil).
> system > tex > error on line 2 in file input.tex: LuaTeX error ...
>
> Tested on minimals 2011.06.24 16:57.
>
> Using "\input test/file.tex" works though.
>
> Adam
I tried adding the extension suffix and it's still busted. =(
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 4+ messages in thread
* Re: tex file as input (was: bad argument #1 to 'gsub')
[not found] ` <7B4626C28B06A7418E938BF73D6DEE18F9FE70546E@KCL-MAIL05.kclad.ds.kcl.ac.uk>
@ 2011-06-24 22:57 ` Kip Warner
0 siblings, 0 replies; 4+ messages in thread
From: Kip Warner @ 2011-06-24 22:57 UTC (permalink / raw)
To: Reviczky, Adam; +Cc: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 871 bytes --]
On Fri, 2011-06-24 at 23:43 +0100, Reviczky, Adam wrote:
> Upgrade to the version 2011.06.24 and it should work.
> I've attached you your example, with the ".tex" temporary fix (works
> fine for me).
Hey Adam, it works with the .tex suffix. I can remove that tomorrow or
whenever that's patched. In the mean time, it's not a big deal to work
around.
However, I have a question about one of the component files you edited,
Source/Preface/Preface.tex. This is what yours looks like:
\startcomponent Preface
\product Handbook
\startchapter{Preface}
Foo
\stopcomponent
This is what mine looked like:
\startchapter{Preface}
Foo
ConTeXt ingests both of them without problem. Is there any reason for
the more verbose method you gave?
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 4+ messages in thread
* Re: tex file as input (was: bad argument #1 to 'gsub')
2011-06-24 22:14 tex file as input (was: bad argument #1 to 'gsub') Reviczky, Adam
2011-06-24 22:26 ` Kip Warner
@ 2011-06-24 23:48 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-06-24 23:48 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: kip, Reviczky, Adam
On 25-6-2011 12:14, Reviczky, Adam wrote:
> Hi
>
> Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html
>
> (having some "file.tex" in folder "test")
>
> \starttext
> \input test/file
> \stoptext
>
> gives:
> ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil).
> system> tex> error on line 2 in file input.tex: LuaTeX error ...
>
> Tested on minimals 2011.06.24 16:57.
>
> Using "\input test/file.tex" works though.
fixed in next beta
-----------------------------------------------------------------
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] 4+ messages in thread
end of thread, other threads:[~2011-06-24 23:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-24 22:14 tex file as input (was: bad argument #1 to 'gsub') Reviczky, Adam
2011-06-24 22:26 ` Kip Warner
[not found] ` <7B4626C28B06A7418E938BF73D6DEE18F9FE70546E@KCL-MAIL05.kclad.ds.kcl.ac.uk>
2011-06-24 22:57 ` Kip Warner
2011-06-24 23:48 ` 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).