Re: [NTG-context] LMTX: Space in file names

2019-08-20 Thread Otared Kavian
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  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
> -
> 

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


Re: [NTG-context] LMTX: Space in file names

2019-08-19 Thread Hans Hagen

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
___


[NTG-context] LMTX: Space in file names

2019-08-19 Thread Otared Kavian
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
___