Re: tex2lyx issue

2021-07-21 Thread Dr Eberhard Lisse

Done, for both, but the system created 4 tickets for the second one
:-(-O

el


On 21/07/2021 14:00, Jean-Marc Lasgouttes wrote:
[...]

You are right at least for the first issue. Please open a ticket

For the second one, LyX itself does not add the .lyx, because it was
decided like that at a time.  I understand that tex2lyx could do it,
to be more in line with other TeX utilities.  You can open a second
ticket for that.

JMarc



--
To email me replace 'nospam' with 'el'

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: tex2lyx issue

2021-07-21 Thread Jean-Marc Lasgouttes

Le 21/07/2021 à 13:55, Dr Eberhard Lisse a écrit :

  el@p:~/Desktop> tex2lyx -c beamer a
  Creating file /Users/el/Desktop/a.lyx
  Could not open input file "/Users/el/Desktop/a" for reading.
  el@p:~/Desktop> tex2lyx -c beamer a.tex
  Not overwriting existing file /Users/el/Desktop/a.lyx
  el@p:~/Desktop> tex2lyx -f -c beamer a.tex
  Overwriting existing file /Users/el/Desktop/a.lyx

Should it not check for reading before creating?

Never mind that appending a '.tex' if there is no extension in the
command but a file with the extension in the directory.


You are right at least for the first issue. Please open a ticket

For the second one, LyX itself does not add the .lyx, because it was 
decided like that at a time.
I understand that tex2lyx could do it, to be more in line with other TeX 
utilities. You can open a second ticket for that.


JMarc

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


tex2lyx issue

2021-07-21 Thread Dr Eberhard Lisse

Hi,

using the stock tex2lyx

 tex2lyx 2.3.6.2 (2021-01-07)
 Configuration
Host type:   x86_64-apple-darwin18.7.0
 [...]

I get this

 el@p:~/Desktop> tex2lyx -c beamer a
 Creating file /Users/el/Desktop/a.lyx
 Could not open input file "/Users/el/Desktop/a" for reading.
 el@p:~/Desktop> tex2lyx -c beamer a.tex
 Not overwriting existing file /Users/el/Desktop/a.lyx
 el@p:~/Desktop> tex2lyx -f -c beamer a.tex
 Overwriting existing file /Users/el/Desktop/a.lyx

Should it not check for reading before creating?

Never mind that appending a '.tex' if there is no extension in the
command but a file with the extension in the directory.

el
--
To email me replace 'nospam' with 'el'

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel