Convert Mac Word and Thesis to LyX

2024-04-17 Thread Brian Kneller via lyx-users
Hi, 

I hope I am in the correct space. — I have prepared a thesis for a PhD  (75K 
words)and approx 80 figures, the text in Mac-word and the figures are in Adobe 
Illustrator so I have some flexibility in Format. Also there are many 
references. I hold all my references and comments on them in Bookends. I regret 
not looking at lyx/latex and using them much earlier so I am looking for an 
easy way to migrate this info into Lyx and I am also looking for a Thesis  
template. I have dowloaded and installed Lyx on my Macbook Pro (Mavericks) and 
been thro the intro etc. I am trying to minimise the effort in migration to Lyx 
so any comments and advice is most welcome.

Thanks in anticipation

Regds

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


LyX v2.4.0 RC4 -> Table styles??

2024-04-17 Thread Bernt Lie via lyx-users
I've read large portions of the documentation, and am eager to try the Table 
style facility of LyX v2.4.0. I'm on Windows 11, and play with RC4.



When I do Insert/Table…, this is what I get.

[cid:image001.png@01DA9106.80E67870]



In the Style menu, “Default” is the only possible option. If I click on the 
[cid:image002.png@01DA9106.80E67870]  icon, the only possibility is to choose 
the table size.



If I insert the table and right-click on it, everything related to other styles 
than the default is grayed out:

[cid:image003.png@01DA9106.B1A0AEE0]



  *   I’m confused. What is it that I do that is incorrect?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread Bernt Lie via lyx-users
I'm not using gnuplot at all. But I assume you mean that as long as I have 
produced the input (e.g., Unicode files, plots, etc.), there should be no 
problem. 

-Original Message-
From: José Matos  
Sent: Wednesday, April 17, 2024 6:52 PM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you trust, 
then there is no risk... or actually the same risk that you had if you run the 
script outside of LyX.
--
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread José Matos
On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you
trust, then there is no risk... or actually the same risk that you had
if you run the script outside of LyX.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Not able to spellcheck in RC4 under Linux

2024-04-17 Thread Eckhard Höffner
Maybe you need enchant (default on debian), it uses different spell 
checkers.


Am 17.04.24 um 5:41 PM schrieb Christopher Menzel:

I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am
  unable to spellcheck. Tools → Spellchecker is greyed out and LyX sees
no spellchecker engine under Preferences → Spellchecker. Hunspell and
the English dictionary are of course installed. I found an old thread
saying that Hunspell support had to be explicitly included at configure
time, but I believe Hunspell is now built in. At any rate, the old
“—use-hunspell” option is not recognized. Spellchecking via Hunspell
works fine in the MacOS version of RC4.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Not able to spellcheck in RC4 under Linux

2024-04-17 Thread Christopher Menzel
Gentle LyX folk:

I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am unable 
to spellcheck. Tools → Spellchecker is greyed out and LyX sees no spellchecker 
engine under Preferences → Spellchecker. Hunspell and the English dictionary 
are of course installed. I found an old thread saying that Hunspell support had 
to be explicitly included at configure time, but I believe Hunspell is now 
built in. At any rate, the old “—use-hunspell” option is not recognized. 
Spellchecking via Hunspell works fine in the MacOS version of RC4.

Help/explanations much appreciated! Apologies if I’ve missed a relevant 
discussion.

Chris Menzel

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


LyX v2.4 RC4 - keyboard shortcut

2024-04-17 Thread Bernt Lie via lyx-users
I just discovered the “character” shortcuts Alt + C…, e.g., Alt + C R for 
mathroman in math.



  *   I’m a touch typist, so I prefer to use keyboard shortcuts over menus
  *   I’m not a pianist, so I don’t have extremely independent movement of 
fingers
  *   Because the “Alt” key is on the lefthand side of the keyboard and the “C” 
 key also is on the lefthand side, this makes it very awkward to hold down the 
Alt key and at the same time hold down the C key.
  *   This difficulty is increased by that the Alt key should be hit with the 
*middle finger* (which must be bent in an awkward way to hit the Alt key). The 
problem is much less pronounced with the Ctrl key, which is hit with the pinkie.



Probably not a popular suggestion, but it would be much simpler to use Alt with 
a key on the righthand side of the keyboard, e.g., replacing Alt+C with Alt+K.






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


RE: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread Bernt Lie via lyx-users
OK… I just found I had put the “-shell-escape” string in the wrong cell…

I have now changed the preferences, and inserted this string in both of the 
XeTeX and LuaTeX converters from LaTeX to PDF.

Now, I get the (expected) warning that using the “-shell-escape” string is 
*dangerous*.

Question 1:

  *   Dangerous, because LyX is more likely to *crash*, or
  *   Dangerous, because it opens up my computer to hacking??

Experience – here is some listing in LyX:
[cid:image003.png@01DA90D8.A23B6C70]
This expression is taken from a Jupyter Notebook running in VSCode (language: 
Julia), where the symbols are created by “\frakm + TAB \dot + TAB = m\dot + TAB 
v”
…and here is what it looks like when I use XeTeX/LuaTeX:

[cid:image004.png@01DA90D8.F0F27C50]

Questions 2:

  *   Could I expect a better response if I install a font that supports 
Unicode, and specifies this font in the fonts scheme of Listings?
  *   If I install such a font with Unicode support (e.g., JuliaMono), would 
that rule out using XeTeX so that I should use LuaTeX?

Question 3:

  *   If I should use LuaTeX, how can I change LyX so that issuing command 
Ctrl+r produces the PDF using LuaTeX?

-B

From: Bernt Lie 
Sent: Tuesday, April 16, 2024 7:22 PM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)


OK -- this is the status on my on-going experimentation on Windows 11... (I 
hope I'm almost there):



1. I experiment with KOMA script Book

2. I have:

* Upgraded all packages in MikTeX

* Installed Pygments ("pip install Pygments" in Windows Prompt)

* Figured out where the "pygmetize" script is located on my computer,

  and added location to PATH.

* In the LyX document, Documents/Settings/Fonts, checked "use non-TeX fonts

* In the Documents/Settings/Listings, changed "Syntax Highlighting Package" 
to "minted"

  [This didn't work until I set the PATH to "pygmetize"]

* In Tools/Preferences/File Handling/Converters, added "-shell-escape" at 
the end

  of the Converter line:

[cid:image001.png@01DA90D8.479231F0]

  [This line is slightly different from the Embedded document, 
since that assumed pdflatex as converter).



3. STATUS:

[cid:image002.png@01DA90D8.479231F0]



QUESTION 1: What is wrong? I *did* envoke the “-shell-escape” flag, didn’t I?



QUESTION 2: By default, Ctrl+R is keyboard shortcut for generating PDF via 
pdflatex. After I chose “use non-TeX fonts”, Ctrl+R implies generating PDF via 
XeTeX. How can I change the set-up so that Ctrl+R implies using luatex?


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