Re: Help improve LyX's defaults by sharing your preferences

2017-06-03 Thread John Beattie
On 2017-06-01 16:07 -0400, Scott Kostyshak wrote:
> 
> Attached is my preferences file.
> 
> Scott

Attached x2.

The first one is used under Windows 7, 64 bit , sp1, where LyX is used for work
logs.

The second one is under mint 17.2, where LyX is used for study notes and my
diary.

The machine I use them on is dual-boot (so the screen is the same in both cases,
hence the similar zoom values).

John
# LyX 2.2.2 generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 19


#
# MISC SECTION ##
#

\path_prefix 
"$LyXDir/bin;$LyXDir/Python;$LyXDir/Python/Lib;$LyXDir/Perl/bin;$LyXDir/imagemagick;C:/bin/texlive/2016/bin/win32;C:/bin/LyX
 2.2/ghostscript/bin"
\user_name "john.beattie"
\user_email ""

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 130
\screen_font_roman "CMU Serif"
\screen_font_sans "CMU Sans Serif"
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\single_instance false

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\load_session true

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#


#
# CONVERTERS SECTION ##
#


#
# COPIERS SECTION ##
#

# LyX 2.2.1 generated this file. If you want to make your own
# modifications you should do them from inside LyX and save.

Format 19


#
# MISC SECTION ##
#

\user_name "John Beattie,,,"
\user_email ""

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 135
\screen_font_roman "Latin Modern Roman"
\screen_font_sans "Latin Modern Sans"
\screen_font_typewriter "Courier"
\screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
\single_instance false

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#

\load_session true

#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "pdftex" "pdftex_t" "PDFTEX" "" "/usr/bin/evince" "" "" ""
\default_otf_view_format dvi3

#
# CONVERTERS SECTION ##
#


#
# COPIERS SECTION ##
#



Re: The tortured release of 2.3.0 Windows binaries

2018-05-15 Thread John Beattie
On 2018-05-15 14:47 -0400, Richard Kimberly Heck wrote:
> On 05/15/2018 11:46 AM, Julio Rojas wrote:
> 
> On Fri, May 11, 2018 at 5:18 PM, Richard Kimberly Heck 
> wrote:
> 
> On 05/11/2018 03:37 PM, Jim Rockford wrote:
> > In my 20+ years in the world of science, I have not known a single
> > user of Lyx (~50 in total) who wasn't computer savvy.  Why not just
> > include a warning message that Lyx 2.3.0 may not function properly
> > with MiKTeX distributions that have not been updated as recently as
> > some specific date?
> 
> That is more or less what was proposed by most of the development 
> team:
> A warning at start-up, that LyX was going to update MikTeX, with an
> option for the user to abort the install if they wish. The person
> responsible for the Windows packages refused to include such a 
> warning,
> and we did not think updating people's other software without asking
> permission to do so was something we should do. So that has left us in
> a
> bad position.
> 
> We are working now to try to produce a Windows installer.
> Unfortunately,
> none of the active development team use Windows, so it is taking 
> longer
> than it otherwise might. We'd certainly welcome help from someone who
> does use Windows.
> 
> Riki
> 
> 
> 
> 
>
> And this is why I couldn't care less about MikTeX and have been using
> TeXlive on my Windoze installations for a while. Is it possible to give 
> the
> alternative to use Texlive instead of MikTex?
> 
> 
> You can use LyX with whatever installation you like, but the "bundle" 
> installer
> gives you MikTeX.
> 
> Riki
> 

I have MikTeX on my windows installation (LyX 2.2.3, 17/5/17) and it came
bundled.  I've been using LyX for about ten years and find it enormously
valuable, both at home on linux and at work on Windows. I can migrate a LyX file
from one to the other without much difficulty (though I don't do that very
often).

However, the information that the bundle is bundling a specific version of LaTeX
is fairly new to me -- by which I mean that I have gradually come to know it
over the last few years, essentially as I install LyX whenever I have to move to
a new machine.

My install order on a Windows box is: emacs, cygwin, LyX, classic windows start
menu, mercurial and then I can start to breathe more comfortably :-)

But, joking aside, I used LaTeX about twenty years ago and found it valuable
then for a thesis with a lot of formulas in it. Nevertheless my background
knowledge of LaTeX didn't really include knowing that there are different
versions. That looks a lot like different linux distros, am I right?  And, I
guess that the choice works much the same way as for linux distros.  I choose
Mint, for example, while servers at work tend to be RHEL or related, and so on.

All this is very useful knowledge, doubtless I ought to have known it and
somehow I didn't.

Can I suggest that pointing Windows users at the relevant wiki page with all
this detail on it might help?

More generally I think that LyX does a very good job of hiding the fact that it
is using plenty of other tools to generate the end document.  Perhaps there is
scope to explain that as well.

John


Re: What is this strange arrow?

2019-01-23 Thread John Beattie
On 2019-01-23 18:20 +0100, Daniel wrote:
> On 2019-01-23 18:10, Daniel CLEMENT wrote:
> >Hello,
> >
> >I'm still new to LyX 2.3 (from 2.1) so I'm not ashamed of asking a trivial
> >question:
> >
> >As I open my old documents, in various places I'm can see this
> >(non-printing) symbol which I had never met before:
> >
> >
> >
> >What does it mean? I can't see any difference in preview if I erase it.
> >
> >TIA - Daniel
> 
> Hi,
> 
> It's an indicator of additional blank lines that were automatically inserted
> in LyX 2.1 but not anymore in >2.2. See
> 
> https://wiki.lyx.org/LyX/NewInLyX22#parbreak
> 
> Most of the times you can just remove them.
> 
> Best,
> Daniel


Many thanks to both. I have been using LyX since 2010; I didn't know the answer;
I find the answer interesting and enlightening.

Thanks again,
John


Re: Lyx for Windows

2019-10-31 Thread John Beattie
On 2019-10-30 16:08 +0100, Wolfgang Engelmann wrote:
> 
> Am 30.10.19 um 13:35 schrieb Baris Erkus:
> >On 28-Oct-19 10:30 AM, Wolfgang Engelmann wrote:
> >>Does John's advice to use identical versions of LyX mean to use 2.3.3
> >>(which I use) also under Windows? I did not find this version for MikTeX.
> >>
> >>
> >This question is not clear. MikTeX and LyX are two seperate packages.
> >The latest version of LyX is compatible with the latest version of
> >MikTeX as I have tried it just yesterday on a fresh PC.
> >
> >If you are asking if two LyX versions should be same or not, I think, if
> >you are using versions of 2.3.x, it should not be a problem, as I have
> >tried this with some of my students and we did not have an issue.
> Good.
> >
> >In my opinion, even if one of the LyX has version of LyX 2.2.x, and the
> >other is 2.3.x, it should not be a problem as long as both LyX programs
> >are setup and running properly. However, there maybe certain features in
> >versions 2.3.x that may not be available in 2.2.x, which may create some
> >warnings when opening in v 2.2.x. Maybe you should ask this as a
> >separate question to the list, if you are using an older version o LyX.
> >
> Thanks, Baris
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


My experience is only that there is a format version number for LyX at the head
of each lyx file. If those are not the same, then whichever is the older LyX
will refuse to handle the newer format.

Meanwhile, the newer LyX will upgrade an older file to the new format.

Of course this is correct behaviour, I merely have to ensure that I have the
same version in both places. Yes, I agree, it does not have to be the same
beyond the minor version, i.e. at present any 2.3.x.

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


Re: Lyx for Windows

2019-10-27 Thread John Beattie
On 2019-10-27 07:57 -0600, Joel Kulesza wrote:
> 
> > I have a colleague with whom I would like to write a book chapter. I am 
> > under Linux, he uses Windows. Is the following advice sufficient or should 
> > I mention more points?
> > 
> > Lyx for windows
> > https://wiki.lyx.org/Windows/Windows
> > 
> > 1- Installing TeXLive for Windows over Internet
> > https://www.tug.org/texlive/acquire-netinstall.html
> > use Custom install
> > and follow the proposal below the Texlive 2018 figure
> > Click install texlive
> 
> This is the same advice I’d give. However, I’ve generally had bad luck 
> successfully installing TeXLive on Windows and still usually end up with 
> MiKTeX.  You might want to be prepared for this contingency. 
> 
> - Joel
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


I have linux at home and windows at work and I occasionally move a lyx file from
one to the other.  It is perfectly straightforward.  The key gotchas I can
recall are these and they are not serious:

- the lyx versions must be identical.

- if there are any special modules, both must be present in both places.

- the file might well look a little different in lyx on Windows and Linux.  This
  is not a real problem for me but might be if your colleague is not co-located
  with you.

- My Acrobat Reader on Windows is anti-social about closing the file. I always
  have to approve closing the existing version when I compile a new version.


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


margin text and labelling environment generates a bug

2020-02-07 Thread John Beattie
Hi,

When I create a margin text on the same line as a labelling environment, the
document will not compile.  This happens with lyx 2.3.3 on Windows and with lyx
2.3.1 on linux mint 18.2.  Details of the two environments are below.

The mwe is attached and the picture shows the error which the compiler reports.

Should I raise a bug?

Thanks,
John



Windows 10
--

LyX help >> about:

LyX Version 2.3.3
(10 June 2019)

Library directory: C:\bin\lyx 2.3\Resources\
User directory: ~\AppData\Roaming\LyX2.3\
Qt Version (run-time): 5.11.3
Qt Version (compile-time): 5.11.3


> pdflatex --version
MiKTeX-pdfTeX  (MiKTeX 2.9.6300)

using bzip2 version 1.0.6, 6-Sept-2010
compiled with curl version 7.53.1; using libcurl/7.53.1 WinSSL
compiled with expat version 2.2; using expat_2.2.0
compiled with jpeg version 9.2
compiled with liblzma version 50020032; using 50020032
compiled with libpng version 1.6.29; using 1.6.29
compiled with libressl version LibreSSL 2.4.5; using LibreSSL 2.4.5
compiled with MiKTeX Application Framework version 1.6300; using 1.6300
compiled with MiKTeX Core version 1.6300; using 1.6300
compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300
compiled with MiKTeX Package Manager version 1.6300; using 1.6300
compiled with poppler version 0.53.0
compiled with uriparser version 0.8.4
compiled with zlib version 1.2.11; using 1.2.11




Mint 18.2
-

> lsb_release -a
mint
Distributor ID: LinuxMint
Description:Linux Mint 18.2 Sonya
Release:18.2
Codename:   sonya


LyX help >> about:

LyX Version 2.3.1
(Monday, 27 August 2018)

Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 4.8.7
Qt Version (compile-time): 4.8.7


> pdflatex --version
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.41.0


ws.2a.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Unwanted spacing in Table of Contents

2021-01-24 Thread John Beattie
On 2021-01-23 19:58 -0500, Richard Kimberly Heck wrote:
> On 1/23/21 6:12 PM, Anthony Macks wrote:
> >Dear All,
> >
> >I have attached my LyX file and its pdf output.
> >
> >For some reason, the spacing between sections  and subsections in my table
> >of contents is very large.
> >
> >In fact, it appears that the items in the TOC are being distributed evenly
> >over the length of the page.
> 
> You should use New Page rather than Page Break. The latter stretches the
> page, just as you are seeing; the former does not. See section 3.5.5 of the
> User Guide. I agree it is not very clear what the difference is from the
> menu or the display. If you have any ideas what would make it clearer,
> please let us know.
> 
> Riki
> 


Thank you for pointing out that very useful section of the guide.  I think I
have been using Page-Break and New-Page rather indiscriminately, usually to
avoid having a single line of a paragraph at the bottom of a page. Hence I
probably haven't noticed the spreading or if I did it was probably small in my
cases.

Re your request, I see that the equivalents for forcing line breaks have more
descriptive names.  I suggest that the thing to change is name of Page Break, so
as to include the 'break' part and also the 'spread' part.

Or, on writing that, it occurs to me that Ragged-Page-Break and
Justified-Page-Break might actually do the job?

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