Re: texlive 2019 install

2019-11-07 Thread UD Kap
I used the TexLive installer rather than the Ubuntu package manager 
because I wanted to use TLMGR to update the TexxLive packages.  The 
Ubuntu repositories are notoriously out of date.


Ehud Kaplan


On 11/7/19 9:48 AM, Helge Hafting wrote:


Den 12.10.2019 17:46, skrev UD Kap:
In the few times I had to install TexLive in Linux, it was always a 
nightmare (paths, privileges, dependencies..), especially to get an 
installation in which tlmgr was working.  It is frustrating that such 
an important piece of software doesn't have a smooth installation 
method.  I realize that they want to have a system which can be 
updated without the linux package manager, but there ought to be some 
better way.


If you want easy TexLive in Linux, install using the distro package 
manager ONLY.  Many distros do a good job packaging texlive, and offer 
easy upgrades whenever TexLive itself is updated.  TexLive may be 
split into 5-10 packages; pick what you need or just install all of it 
if you want an easy (albeit disk-consuming) install.


This goes for any software. Use the distro package manager, and only 
that.  Obviously, go for a distro that packages just about all the 
software you want.  Debian, or some Debian-derivative like Ubuntu may 
be a good choice.


Downloading software and installing it outside the package manager is 
possible, but it is always more work than just using the package 
manager. Keeping such software up-to-date is more work, and sometimes 
the package manager will install upgrades not compatible with your 
"outsider" software. There are usually no such problems when using the 
package manager exclusively.  (It may happen, but that is considered a 
bug in the distro, so they work hard to avoid that.)


Installing a big piece of software, such as Texlive, outside of the 
distro package manager is harder. You will then have to deal with 
paths, privileges and dependencies.  That may be ok for an experienced 
linux sysadmin - but it is not a smooth method. For smooth, use the 
package manager every time, and a distro that has what you need.


Helge Hafting


--
 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
   


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


Re: Not able to export LyX-file to pdf

2019-11-07 Thread Paul A. Rubin

On 11/7/19 9:39 AM, paul.ta...@disroot.org wrote:



Dear all,

I recently installed LyX 2.3 with TexLive on Windows 7.

I am writing a small articel, but when I try to display or export it 
to pdf, it gets an error: "LaTeX Error: File `cancel.sty' not found."

It only happens in that specific document, all others are exportable.

Is this an error which is easy to fix? Else I would just type 
everything again in another document.


Best regards
Paul


It means your TeXLive installation is missing the "cancel" package. You 
can install the texlive-latex-extra package, which is a bundle that 
includes cancel, or you can try running the TeX Live manager program 
(tlmgr) and using that to install just cancel. Once you've installed it, 
retry displaying the document.


Paul

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


Not able to export LyX-file to pdf

2019-11-07 Thread paul . tango
Dear all,

I recently installed LyX 2.3 with TexLive on Windows 7.

I am writing a small articel, but when I try to display or export it to pdf, it 
gets an error: "LaTeX Error: File `cancel.sty' not found."
It only happens in that specific document, all others are exportable.

Is this an error which is easy to fix? Else I would just type everything again 
in another document.

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


Re: texlive 2019 install

2019-11-07 Thread Helge Hafting


Den 12.10.2019 17:46, skrev UD Kap:
In the few times I had to install TexLive in Linux, it was always a 
nightmare (paths, privileges, dependencies..), especially to get an 
installation in which tlmgr was working.  It is frustrating that such 
an important piece of software doesn't have a smooth installation 
method.  I realize that they want to have a system which can be 
updated without the linux package manager, but there ought to be some 
better way.


If you want easy TexLive in Linux, install using the distro package 
manager ONLY.  Many distros do a good job packaging texlive, and offer 
easy upgrades whenever TexLive itself is updated.  TexLive may be split 
into 5-10 packages; pick what you need or just install all of it if you 
want an easy (albeit disk-consuming) install.


This goes for any software. Use the distro package manager, and only 
that.  Obviously, go for a distro that packages just about all the 
software you want.  Debian, or some Debian-derivative like Ubuntu may be 
a good choice.


Downloading software and installing it outside the package manager is 
possible, but it is always more work than just using the package 
manager. Keeping such software up-to-date is more work, and sometimes 
the package manager will install upgrades not compatible with your 
"outsider" software. There are usually no such problems when using the 
package manager exclusively.  (It may happen, but that is considered a 
bug in the distro, so they work hard to avoid that.)


Installing a big piece of software, such as Texlive, outside of the 
distro package manager is harder. You will then have to deal with paths, 
privileges and dependencies.  That may be ok for an experienced linux 
sysadmin - but it is not a smooth method. For smooth, use the package 
manager every time, and a distro that has what you need.


Helge Hafting

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


Re: Multiple Corss-references

2019-11-07 Thread Helge Hafting



Den 04.11.2019 18:33, skrev Richard Bruch:


Hi,

I have a question regarding multiple corss-references. Is there a way 
to reference e.g. equations like that: …see Equation 3.20 and 3.21… 
without messing with hyperref? Here is more detailed description: Link 





This is definitely possible, because it is the default behaviour.

To test, I made a short document (Article) with two formulas. (Einsteins 
E=mc^2, and the wrong E=mc^3)


And then a line of text "See Equation Ref:eq:einstein and Ref:eq:wrong"

When I make a PDF, it compiles to "See Equation 1 and 2". To get the 
word "Equation" once, I typed it myself.


The references are inserted with Insert->Cross-Reference. This brings up 
a dialog, where I set "Reference Format:" to "".  Then, I get 
the reference number only. No text, and no page number.


" on page " can be used as the format for the last 
reference, yielding


"See Equation 1 and 2 on page 1".


I noticed that your equations use a double number (3.21), so I tried the 
module "Number Equations by Section" and got:


"See Equation 1.1 and 1.2"  (There is only one section in my test document).


You seem to struggle with the word "Equation" appearing when you don't 
want it. Are you using a different document class, other modules, or 
\usepackage commands in the preamble? LyX seems to do what you want, 
when using a simple document with no modules or custom latex commands.



Helge Hafting

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


Re: Some issues with the latest update of MikTeX

2019-11-07 Thread Baris Erkus
On 07-Nov-19 11:10 AM, Baris Erkus wrote:
> I would like to report that there are some issues with the latest MikTeX
> update that was published just couple of days ago.
>
> I became aware of the issue when I wanted to compile a two page document
> that was compiling just fine before updating my MikTeX installation.
>
> LyX reported that iftex.sty was missing. I checked MikTeX and indeed
> iftex package was somehow not loaded in the package list, which is
> awkward since I have installed "all" MikTeX packages and everything is
> expected to be there. It does not make sense MikTeX remove some standard
> packages during a MikTeX update.
>
> Anyhow I installed the missing package (iftex) using MikTeX package
> manager. There were also other packages that appeared not to be
> installed; I also installed all of them to have the complete package in
> the MikTeX system.
>
> I re-run the LyX file, and LyX gave same error. Then, I found out that
> the iftex folder is actually empty although it appears as installed in
> the MikTeX package list.
>
> I manually downloaded the package from CTAN and copied to the proper
> latex/iftex folder. I reconfigured LyX and the error is gone. However,
> this time, if I wanted to reun the sample LyX file, LyX still tries to
> start MikTeX and tries to search for iftex package and gives error.
> Maybe I should clear the cache or temp folder or smtg.
>
> As a conclusion, there appears to be some issues with the latest update
> of MikTeX, at least for my case. This is also effecting LyX. LyX is
> getting confused with the reconfigure and cannot configure it properly.
> Please do not install the latest MikTeX update till you make sure it is
> safe to do so.
>
>
I ahve solved the LyX-iftex problem. I updated package database and 
refresh file names from within MikTeX and now LyX is working fine.

Anyhow maybe it is just related to my case, but good to have some heads-up.

-- 
↓↓
Please bottom-post. Start your reply here:

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


Some issues with the latest update of MikTeX

2019-11-07 Thread Baris Erkus
I would like to report that there are some issues with the latest MikTeX 
update that was published just couple of days ago.

I became aware of the issue when I wanted to compile a two page document 
that was compiling just fine before updating my MikTeX installation.

LyX reported that iftex.sty was missing. I checked MikTeX and indeed 
iftex package was somehow not loaded in the package list, which is 
awkward since I have installed "all" MikTeX packages and everything is 
expected to be there. It does not make sense MikTeX remove some standard 
packages during a MikTeX update.

Anyhow I installed the missing package (iftex) using MikTeX package 
manager. There were also other packages that appeared not to be 
installed; I also installed all of them to have the complete package in 
the MikTeX system.

I re-run the LyX file, and LyX gave same error. Then, I found out that 
the iftex folder is actually empty although it appears as installed in 
the MikTeX package list.

I manually downloaded the package from CTAN and copied to the proper 
latex/iftex folder. I reconfigured LyX and the error is gone. However, 
this time, if I wanted to reun the sample LyX file, LyX still tries to 
start MikTeX and tries to search for iftex package and gives error. 
Maybe I should clear the cache or temp folder or smtg.

As a conclusion, there appears to be some issues with the latest update 
of MikTeX, at least for my case. This is also effecting LyX. LyX is 
getting confused with the reconfigure and cannot configure it properly. 
Please do not install the latest MikTeX update till you make sure it is 
safe to do so.


-- 
↓↓
Please bottom-post. Start your reply here:

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