ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LMTX: Space in file names
@ 2019-08-19 21:07 Otared Kavian
  2019-08-19 22:01 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2019-08-19 21:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I noticed that the lmtx beta from 2019.08.18 22:27 does not anymore accept spaces in file names, while the mkiv version does accept it.
I am aware that putting a space in a file name is a very bad habit, but I am convincing some people who were used to use MS Word in order for them to use ConTeXt, and these people have many files with names containing spaces such as « correction problème 1.tex » (and in fact this is how I noticed this new behavior of lmtx: when typesetting such a file, lmtx looks for « correction.tex »). 
That is why I think if lmtx could continue to accept spaces in file names that would be very convenient. Do you think this would be possible?

Best regards: OK

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: LMTX: Space in file names
  2019-08-19 21:07 LMTX: Space in file names Otared Kavian
@ 2019-08-19 22:01 ` Hans Hagen
       [not found]   ` <B5B499B5-CD07-4D94-B0CB-474304F3ADF0@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-08-19 22:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Otared Kavian

On 8/19/2019 11:07 PM, Otared Kavian wrote:
> Hi Hans,
> 
> I noticed that the lmtx beta from 2019.08.18 22:27 does not anymore accept spaces in file names, while the mkiv version does accept it.
> I am aware that putting a space in a file name is a very bad habit, but I am convincing some people who were used to use MS Word in order for them to use ConTeXt, and these people have many files with names containing spaces such as « correction problème 1.tex » (and in fact this is how I noticed this new behavior of lmtx: when typesetting such a file, lmtx looks for « correction.tex »).
> That is why I think if lmtx could continue to accept spaces in file names that would be very convenient. Do you think this would be possible?
In which situations? Afaik there is no different code wrr files.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: LMTX: Space in file names
       [not found]         ` <48aba6d9-67e2-1e36-5a68-ba72f6827e8d@xs4all.nl>
@ 2019-08-20 14:17           ` Otared Kavian
  0 siblings, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2019-08-20 14:17 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

Hi Hans,

Thanks to your reply, I just discovered the reason for which I could not typeset in lmtx files which have a space in their name from the Terminal: one has to say

	context "exercice 1.tex"

that is to enclose the entire filename between double quotes… Which is completely logical! 

Thanks a lot for your time!

Best regards: OK

> On 20 Aug 2019, at 10:25, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> On 8/20/2019 9:36 AM, Otared Kavian wrote:
>> I'll try the lua file you sent me, thank you.
> 
> just run the file with "mtxrun --script oeps.lua"
> 
>> However, I don't think the issue comes from the file name containing the word « problème »: indeed the attached file gives the same error in lmtx, but not in mkiv:
> well, you can see it when you run the lua file -)
> 
> i can process the exercice file (see attached log)
> 
> context "exercice 1.tex"
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> <exercice 1.log><exercice 1.pdf>

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-08-20 14:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 21:07 LMTX: Space in file names Otared Kavian
2019-08-19 22:01 ` Hans Hagen
     [not found]   ` <B5B499B5-CD07-4D94-B0CB-474304F3ADF0@gmail.com>
     [not found]     ` <884b9fb5-e2a1-db40-ecf2-a4b6445f4c20@xs4all.nl>
     [not found]       ` <6638461A-B9F2-490F-A93D-3BCA6C285718@gmail.com>
     [not found]         ` <48aba6d9-67e2-1e36-5a68-ba72f6827e8d@xs4all.nl>
2019-08-20 14:17           ` Otared Kavian

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).