Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021
Am Donnerstag, dem 03.03.2022 um 22:59 + schrieb Graeme via lyx- users: > I've just done a clean install of Linux Mint 20.3, and then a full > install of TeXLive 2021, which cannot be done with the Mint's > Synaptic > Package Manager. Mint 20.3 includes TeXLive 2019 as part of its > distribution, but I have not (yet) installed that version. > > The standard Plain TeX or LaTeX workflows seem to behave normally, > so > I'd now like to install LyX 2.3.6.1 using the (unsupported) PPA > available on Launchpad at ppa:lyx-devel/release. > > However, when I try to install it using Mint's Package Manager, it > lists > a number of standard TeX packages that it claims are necessary, and > will > not proceed unless I also install them. These include: > tex-common > tex-gyre > texlive-base > texlive binaries > texlive-fonts recommended > texlive-lang-greek > texlive-latex-base > texlive-latex-extra > texlive-latex-recommended > texlive-pictures > texlive-plain-generic > texlive-science > tipa > > These are mostly TeXLive 2019 versions for which there are already > TeXLive 2021 versions installed. I'd prefer not to have both 2019 > and > 2021 versions of TeXLive installed at the same time. > > This prompts a number of linked questions: > > a) Will LyX 2.3.6.1 work OK with a TeXLive 2021 installation? > > b) Is there a way to force Mint's Package Manager to recognise the > existence to TeXLive 2021 packages? > > c) Is there a way to install LyX 2.3.6.1 without installing the > TeXLive > 2019 dependencies? (I'd prefer not to have to compile LyX 2.3.6.1 > from > source.) > > d) If I want to install LyX 2.3.6.1 with Mint's Package Manager, > will > this force me to use TeXLive 2019 instead? > > I would welcome advice on how to deal with this problem. > > Graeme Graeme, Linux Mint is a Ubuntu derivative, therefore you could proceed according to the Ubuntu wiki: * Deinstall all TeXLive-Packages of the distribution * Install TeXLive manually: https://wiki.ubuntuusers.de/TeX_Live/ look at the commands under the heading "Manuell" * Then, in order to install LyX without dependencies do: https://wiki.ubuntuusers.de/TeX_Live_DVD-Installation/#Paketverwaltung-die-neue-TeX-Live-Version-mitteilen look at the commands under the heading "Paketverwaltung die neue TeX Live Version mitteilen" In English: https://tug.org/texlive/debian.html#vanilla Hope it helps, Tobias -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Unicode character (U+009C)
Am Freitag, dem 07.01.2022 um 20:25 +0100 schrieb Wolfgang Engelmann via lyx-users: > > On 07.01.22 18:33, Tobias Hilbricht via lyx-users wrote: > > > > > > Wolfgang, > > > > attached your formulas in a consistent look with mhchem. I called > > Libertinus fonts the LyX way via Document -> Settings -> Fonts: Use > > non > > TeX Fonts, then choosing Libertinus fonts in the drop down list. > > Libertinus Math is called by \setmathfont{Libertinus Math} in the > > LyX > > preamble. > > The error message is the result of the symbol set in front of the > > line > > > > œ$\mathrm{Ca^{2+}}$ dependent kinase > > > > Have you put this symbol just before the first $ on purpose? If so, > > what is it supposed to be? > > > > Yours > > Tobias > > > > > Thanks for the example file. In my case after ctrl m and inserting > \ce > it does not turn blue, but if I leaf it, I have the blue box in which > I > can insert the chemical formulas - and, of course, Ca^{2+} > Wolfgang Wolfgang, what I referred to is called the "Popup menu", "Blue menu" is misleading, sorry. How to get it: Tools -> Settings -> Edit -> Autocompletion, set "Automatic popup" and Autocompletion in math mode true. When done typing \ce in math mode spit out all commands beginning with \ce, in my configuration \ce, \cent and \centerdot. Yours Tobias -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Unicode character (U+009C)
Am Freitag, dem 07.01.2022 um 18:48 +0100 schrieb Wolfgang Engelmann via lyx-users: > > On 07.01.22 18:33, Tobias Hilbricht via lyx-users wrote: > > Am Freitag, dem 07.01.2022 um 14:32 +0100 schrieb Wolfgang > > Engelmann > > via lyx-users: > > > If I run the attached lyx file,I get an error: > > > Missing character: There is no œ (U+009C) in font > > > [LibertinusSerif-Regular.otf] > > > > > > show output anyway gives the attached pdf: > > > > > > nuclear ancient Ca2+ > > > (Na+ /Ca2+ exchanger) > > > Ca 2+ homeostasis > > > �Ca2+ dependent kinase > > > > > > The exported luatex tex file was tested with this bash line > > > (oneline!, > > > thanks to people from the Linux User Group Tuebingen) > > > > > > grep -P "[\xc2\x9c]" A-07-C.tex | grep --color=auto -P > > > ".{0,2}[\xc2\x9c].{0,2}" > A.txt > > > > > > and tells > > > > > > %%Package inputenc Error: Unicode character œ (U+009C) > > > œ$\mathrm{Ca^{2+}}$ dependent kinase > > > > > > Could someone tell me, why in the first and the second line of > > > the > > > pdf > > > file the Ca^2+ is shown correctly, whereas it is only shown > > > correctly > > > if > > > I do not (3rd line) put it in mathrm (as done in the 4th line) > > > > > > I also wonder whether this square/cross in front of the 4th line > > > can > > > be > > > searched for under lyx, since it seems to mark extended regular > > > expressions. > > > > > > Wolfgang > > > > Wolfgang, > > > > attached your formulas in a consistent look with mhchem. I called > > Libertinus fonts the LyX way via Document -> Settings -> Fonts: Use > > non > > TeX Fonts, then choosing Libertinus fonts in the drop down list. > > Libertinus Math is called by \setmathfont{Libertinus Math} in the > > LyX > > preamble. > > The error message is the result of the symbol set in front of the > > line > > > > œ$\mathrm{Ca^{2+}}$ dependent kinase > > > > Have you put this symbol just before the first $ on purpose? If so, > > what is it supposed to be? > > > > Yours > > Tobias > > > > > again: thanks > no, this œ is the U+009C sign which should go out. How did you find > it? > special editor? > Wolfgang Wolfgang, I can see the sign in my browser (Firefox) and in my E-Mail application. It is not visible on screen in LyX when copied or inserted with Ctrl-shift u 009c, however, it is there and causes the error. Yours Tobias -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Unicode character (U+009C)
Am Freitag, dem 07.01.2022 um 14:32 +0100 schrieb Wolfgang Engelmann via lyx-users: > If I run the attached lyx file,I get an error: > Missing character: There is no œ (U+009C) in font > [LibertinusSerif-Regular.otf] > > show output anyway gives the attached pdf: > > nuclear ancient Ca2+ > (Na+ /Ca2+ exchanger) > Ca 2+ homeostasis > �Ca2+ dependent kinase > > The exported luatex tex file was tested with this bash line > (oneline!, > thanks to people from the Linux User Group Tuebingen) > > grep -P "[\xc2\x9c]" A-07-C.tex | grep --color=auto -P > ".{0,2}[\xc2\x9c].{0,2}" > A.txt > > and tells > > %%Package inputenc Error: Unicode character œ (U+009C) > œ$\mathrm{Ca^{2+}}$ dependent kinase > > Could someone tell me, why in the first and the second line of the > pdf > file the Ca^2+ is shown correctly, whereas it is only shown correctly > if > I do not (3rd line) put it in mathrm (as done in the 4th line) > > I also wonder whether this square/cross in front of the 4th line can > be > searched for under lyx, since it seems to mark extended regular > expressions. > > Wolfgang Wolfgang, attached your formulas in a consistent look with mhchem. I called Libertinus fonts the LyX way via Document -> Settings -> Fonts: Use non TeX Fonts, then choosing Libertinus fonts in the drop down list. Libertinus Math is called by \setmathfont{Libertinus Math} in the LyX preamble. The error message is the result of the symbol set in front of the line œ$\mathrm{Ca^{2+}}$ dependent kinase Have you put this symbol just before the first $ on purpose? If so, what is it supposed to be? Yours Tobias ATESTmhchem.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Unicode character (U+009C)
Am Freitag, dem 07.01.2022 um 14:32 +0100 schrieb Wolfgang Engelmann via lyx-users: > If I run the attached lyx file,I get an error: > Missing character: There is no œ (U+009C) in font > [LibertinusSerif-Regular.otf] > > show output anyway gives the attached pdf: > > nuclear ancient Ca2+ > (Na+ /Ca2+ exchanger) > Ca 2+ homeostasis > �Ca2+ dependent kinase > > The exported luatex tex file was tested with this bash line > (oneline!, > thanks to people from the Linux User Group Tuebingen) > > grep -P "[\xc2\x9c]" A-07-C.tex | grep --color=auto -P > ".{0,2}[\xc2\x9c].{0,2}" > A.txt > > and tells > > %%Package inputenc Error: Unicode character œ (U+009C) > œ$\mathrm{Ca^{2+}}$ dependent kinase > > Could someone tell me, why in the first and the second line of the > pdf > file the Ca^2+ is shown correctly, whereas it is only shown correctly > if > I do not (3rd line) put it in mathrm (as done in the 4th line) > > I also wonder whether this square/cross in front of the 4th line can > be > searched for under lyx, since it seems to mark extended regular > expressions. > > Wolfgang The chemical symbols look inconsistent, nuclear ancient Ca2+ upright, Ca2+ homeostasis oblique. Do you have special reasons to avoid mhchem, which comes preloaded with LyX? If you use the mhchem-macro for chemicals such as \ce{Ca^2+} in LyX math mode, then you get a consistent typesetting and a preview. Yours Tobias -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users