Shell-escape enabled but not working

2022-10-05 Thread Mario D
Hi,
I have a document which uses the external library of tikz, so I need shell
escape.

I have lyx 2.3.6 so I enabled shell escape via

Document->Settings->Formats and check "Allow running of external programs."

Nevertheless, when I run pdflatex, I get this error:

-

! I can't write on file `myfile_figure0.md5'.



\relax

l.320 \end{tikzpicture}

(Press Enter to retry, or Control-D to exit; default file extension is
`.tex')

Please type another output file name

! Emergency stop.



\relax

l.320 \end{tikzpicture}

*** (job aborted, file error in nonstop mode)

---


Am I missing something?


BTW, if I export my lyx file to a latex file and I compile it (with
pdflatex --shell-escape), it compiles smoothly.


Thank you
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Problem converting older files with lyx2lyx

2022-10-05 Thread Paul A. Rubin

On 10/4/22 21:03, ahostmadsen--- via lyx-users wrote:

I have a problem with LyX on one of my Macs (OS 12.5.1).

 1. Equations are not typeset inside lyx (compiling the document works
fine).
 2. When I try to open older files I get: “…. is from an older version
of LyX and the lyx2lyx script failed to convert it.” This is true
for many files I tried.

I had an older version (2.3.2) and just now upgraded to 2.3.6.2, but 
nothing changed.


I have another almost identical Mac (kind of a mirror image), and 
don’t have these problems on that Mac. The older files open fine, so 
it’s not corruption of the files.


I did see something on the mailboard about Python not being installed. 
However, I do have Python installed, directly from Apple (Apple’s 
Python 3.9). When I write python in terminal, I get "Python 3.9.10 | 
packaged by conda-forge” My other computer has the same Python 
installation.



Thanks,
Anders Host-Madsen.

Regarding the equations, in Tools > Preferences... > Look & Feel > 
Display do you have "Instant preview" set to "On"?


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


Re: insert a url into a lyx/beamer presentation

2022-10-05 Thread Udicoudco
On Tue, Oct 4, 2022 at 1:56 PM UD K  wrote:
>
> This little exercise has uncovered some bad things.  The Examples folder,
as well as several other folders under .lyx, was empty.  I don't know
whether anything crucial is also missing, which could account for the
failure.  When I tried to re-install Lyx, I got several errors. I am doing
this under MX Linux 21, and the Lyx version they provide is 2.3.6-1.  I am
reluctant to un-install and re-install, because I need this to work for the
next few days.
>Thanks,
> Udi
>
> On 10/4/22 11:00 AM, Udicoudco wrote:
>
> On Tue, Oct 4, 2022 at 11:38 AM UD K  wrote:
>
> Shalom Udi,
> Without reading the manual, which provides only minimal instructions
about inserting a url, I did exactly what the manual recommends, and it did
not work, which is why I bothered the community with my request for help.
I still do not know how to insert a functioning, clickable url into a
lyx/beamer presentation.
> Yours,
> Udi
>
> Hi Udi,
>
> There should be an example file for the beamer class in the examples
> directory called beamer.lyx, in its appendix there is a url, are you
> able to compile this file without any errors?
>
> If so, can you provide a minimal file that demonstrates your error?
>
> Regards,
> Udi
>
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> --
> Ehud Kaplan, Ph.D.
>  Visiting Professor
>  Dept. of Philosophy & History of Science
>  Charles University, Prague
>  &
>  the National Institute of Mental Health,
>  Topolová 748, Klecany
>  Czechia
> -Formerly:
>  Jules and Doris Stein Research to Prevent Blindness Professor
>  Director, Center of Excellence for Computational & System
Neuroscience,
>  The Friedman Brain Institute, MSSM
>  Director, The laboratory of Visual & Computational Neuroscience
>  Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
>  Icahn school of medicine at Mount Sinai
>  One Gustave Levy Place
>  New York, NY, 10029
>  USA

Hi Ehud,

You might have looked into the examples folder in the user directory. This
folder should be empty with fresh lyx installation.

You can find the location of lyx's system directory in Help->About LyX,
this is the directory I meant for you to look, sorry for not clarifying
that.

You can find more information about LyX's directories in Lyx wiki
.

Regards,
Udi
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Problem converting older files with lyx2lyx

2022-10-05 Thread ahostmadsen--- via lyx-users
I have a problem with LyX on one of my Macs (OS 12.5.1).

1. Equations are not typeset inside lyx (compiling the document works fine).
2. When I try to open older files I get: “…. is from an older version of LyX 
and the lyx2lyx script failed to convert it.” This is true for many files I 
tried.

I had an older version (2.3.2) and just now upgraded to 2.3.6.2, but nothing 
changed.

I have another almost identical Mac (kind of a mirror image), and don’t have 
these problems on that Mac. The older files open fine, so it’s not corruption 
of the files.

I did see something on the mailboard about Python not being installed. However, 
I do have Python installed, directly from Apple (Apple’s Python 3.9). When I 
write python in terminal, I get "Python 3.9.10 | packaged by conda-forge” My 
other computer has the same Python installation.


Thanks,
Anders Host-Madsen.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users