RE: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Kees Zeelenberg (kzStats) via lyx-users
> -Oorspronkelijk bericht-
> Van: lyx-users  Namens Graeme via
lyx-users
> Verzonden: vrijdag 4 maart 2022 00:00
> Aan: lyx-users List 
> Onderwerp: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021
> 
> 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.)

You could follow the advice at https://tug.org/texlive/debian.html#vanilla
(Mint is a derivative of Ubuntu, which itself is a derivative of Debian),
and build a dummy package for texlive (2019), which tricks the Mint Package
Manager and the LyX installer into believing texlive is installed.
I think you can also use 2021 instead of 2019 for this dummy package if
texlive-2021 is not installed from a deb-package.

Kees


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


Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Tobias Hilbricht via lyx-users
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: EPUB converter

2022-03-04 Thread Emile Lunardon via lyx-users
Thank you for this information. I will be very interested to see the result
of this tool in action.
Personally I use LyX to produce pdf documents optimised for the screen
sizes of Kindle "paper white, voyage" and Kobo e-readers. This of course
leads to documents with much larger memory sizes than epub and equivalent
formats, but the memory capacity of the e-readers is now very comfortable
(> 8 GB) to cope with it very well. I appreciate the fact that I can play
with font sizes, put local tables of contents (through code complements in
LaTeX) to Parts, Chapters, Sections and navigate between these levels by
simply pressing on the top and bottom of the pages.
The only regret I have is that LaTex does not offer a Book of Books type of
document format so that several volumes can coexist naturally and navigate
between them by cross-referencing! But with the Book Koma-Script format and
by making the Parts play the role of Books, there are still enough levels
of structuring to achieve one's goals.

Le mer. 2 mars 2022 à 23:58, Ken Kopelson via lyx-users <
lyx-users@lists.lyx.org> a écrit :

> Hello LyX users,
> I am sending this email to let people know that I have produced a
> converter for LyX that produces an excellent quality EPUB/Kindle file. This
> converter takes the LyXHTML file exported from LyX, and spits out an EPUB
> file that fully supports Kindle importing. This splits the single export
> file from LyX into the multiple chapters, supporting Front Matter, Main
> Matter, and Back Matter. It builds a List of Figures, Table of Contents,
> and moves all Footnotes to become Chapter Endnotes, which Kindle will show
> in a separate window at the bottom of the screen. All backlinks are
> included also.
>
> I love using LyX with the LyXBook theme (as it has the greatest number of
> paragraph formats), and I am able to set up a system of files, having
> different Front Matter versions. Unless you have actually self-published a
> book, you will not fully appreciate how important it is to have different
> Front Matter versions for a single book. A single published book can have
> Hardback, Softcover, PDF, EPUB, and Kindle versions, all of which require
> different information at the front of the book. LyX allows me to set up a
> system for this. The only problem was, I could not produce an EPUB or
> Kindle version from the files, so I had to create my own converter. I use
> the LyXHTML export because it has tag classes for each type of element in
> the files, allowing me to make the correct decisions for processing and
> producing the EPUB or Kindle format.
>
> I know that the next version of LyX is supposed to produce EPUB, but I
> have my doubts that it will be done in a way that produces high-quality
> Kindle books, since I have now learned just how to do this. I can tell you
> that NONE of the current tools out there for creating EPUBS does this
> conversion correctly or completely. The new tool I have created does.  Just
> so people are aware, there is a large and growing market of people
> self-publishing their own books. I am doing my best to get authors turned
> on to using LyX as their book-writing tool. If anyone is interested in
> helping me get the code I've written out there so that other authors can
> have the ability to automatically produce perfect EPUB and Kindle, please
> let me know.
>
> As one final problem, the LyXHTML export fails to include anything in the
> LaTeK code blocks, and where this really shows up is with the Lettrine
> function for Initials at the start of each Chapter. This initial text is
> just omitted from the export file. The other HTML export includes them, but
> it does not have any of the LyX class information for each tag, so it is
> useless for conversion. Is there a way this can be fixed? It would be
> awesome if this text is not excluded, since it is very much part of the
> material. I had to come up with a very kludgy workaround for this in my
> converter, which really should not be there.
>
> I am happy to work with whoever is doing the EPUB portion of the next
> release. My problem was, I could not wait for that to come out. Life must
> go on, as they say :)
>
> All the Best,
> *Ken Kopelson*
> (619) 733-3374
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Lorenzo Bertini via lyx-users
--- Repost as i answered privately by mistake, so his gets archived ---

Quick answers since im on mobile:

a) it should, as it works with miktex and other distributions
b) apt should recognize every package installed as deb package, so the
easiest option is to look for a texlive 2021 in the BACKPORTS repository of
your distro, in this case mint, where newer version of packages can be
found if needed. If its not there you could manually install it from the
esperimental repository, even from ubuntu. As long as its packaged properly
apt should recognize it. I think lyx doesnt specify a version for texlive
package required, so anything it finds i believe its good.
c) absolutely: download the package without installing, edit the
dependencies (extract it and extract the control folder, edit control file
changing the dependencies section) repackage and install.
d) yes if your distro distributes texlive 2019. You can circumvent this
with b) and c). Apt makes 6+ packages live peacefully, it a small
sacrifice to have slightly outdated software :)

Let me know if anything was unclear

Lorenzo

Il ven 4 mar 2022, 00:07 Graeme via lyx-users  ha
scritto:

> 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
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Installing LyX 2.3.6.1 on Linux MInt 20.3 with TeXLive 2021

2022-03-04 Thread Axel Dessecker via lyx-users
Am Donnerstag, 3. März 2022, 23:59:35 CET 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

I can confirm that LyX 2.3.6.1 perfectly works with TeXLive 2021. As for the 
Mint-specific questions: sorry, no Mint here.

Axel




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