Re: Making first paragraphs not indented in exported HTML

2022-04-11 Thread Dr Eberhard Lisse via lyx-users

If you think other people have the time you don't maybe you
also not waste their time by posting this.

el

On 2022-04-11 09:22 , Steve Litt via lyx-users wrote:

Daniel via lyx-users said on Mon, 11 Apr 2022 08:13:43 +0200


On 2022-04-11 03:44, Steve Litt via lyx-users wrote:

Hi all,

In the past, some exporters have implemented the custom of not
indenting the first of several successive paragraphs by using a
different class of paragraph for the first of a series of paragraphs.
This way of doing things makes more work for the person writing the
export, and more work for the person converting the export to
acceptable ePub, because those special classes will need to be backed
out or otherwise specially handled.

Not indenting the first of a series of paragraphs is easily
accomplished by the following two lines of CSS:

p::first-letter{margin-left: 3em;}
:not(p) + p::first-letter{margin-left:0.0001em;}

Let CSS decide which is the first of several consecutive paragraphs,
and let CSS define what to do with that paragraph. Make it easy on
everybody.

I took an hour to figure this out. Could somebody please take 3
minutes to forward it to the developer's list and also the person
who is writing the HTML export?

Thanks,

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm


I'd suggest that you file a bug/enhancement report at
https://www.lyx.org/trac/wiki/BugTrackerHome (including the LyX
version you are using and exact steps to reproduce the problem).


Like I said, I spent an hour getting that code just right. I did the
hard part, I did my part. In the time you took to respond to me, you
could have forwarded my email.

I don't have time to learn the quirks of every project's bugtracker,
type in information that's not relevant, and hope somebody looks at it.
At a lot of projects, the bugtracker is where requests go to die
(Bluefish, you listening?).

If I could change one thing about FOSS it would be to get rid of
bugtrackers and work directly with the user. That's what we did at
VimOutliner, and bugs got solved and requests got implemented very
quickly.

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm



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


Re: lyx not a readable Lyx document

2022-04-08 Thread Dr Eberhard Lisse via lyx-users

Yes and no,

LyX 2.4 uses a different format from 2.3 and hence the (2.3) lyx2lyx
does not know the new (2.4) format (yet).

That happens during (almost) every major upgrade and the developers
then usually "backport" that so I would think the eventual 2.3.6.3 (or
2.3.7) will be able to read the 2.4 format.

el

On 2022-04-08 08:18 , Wolfgang Engelmann via lyx-users wrote:



Am 08.04.22 um 07:21 schrieb Dr Eberhard Lisse via lyx-users:

An older version of lyx2lyx can't know about newer formats?

el


On 2022-04-07 09:55 , Wolfgang Engelmann via lyx-users wrote:
[...]

I remember, that one does not need a lyx2lyx in the same version, here
2.4.x
Has this changed?

Wolfgang




are you saying, the lyx2lyx is changing in the 2.4.x?
Wolfgang


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


Re: lyx not a readable Lyx document

2022-04-07 Thread Dr Eberhard Lisse via lyx-users

An older version of lyx2lyx can't know about newer formats?

el


On 2022-04-07 09:55 , Wolfgang Engelmann via lyx-users wrote:
[...]

I remember, that one does not need a lyx2lyx in the same version, here
2.4.x
Has this changed?

Wolfgang


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


Re: [Important] New behavior for spam handling on this list

2022-04-07 Thread Dr Eberhard Lisse via lyx-users

To me it is as much  or little of an inconvenience as reading the manual ;-0-O

el


On 07/04/2022 10:12, Steve Litt via lyx-users wrote:

Jean-Marc Lasgouttes via lyx-users said on Wed, 6 Apr 2022 16:01:16
+0200


Dear all,

Until now, the handling of the list was like: messages from
subscribers go through, other messages get discarded.

There is actually a way to filter e-mails marked as spam, and I have
already changed all our other lists to take advantage of this
information.

Today it is lyx-users' turn. The new behavior is:
* spams are automatically discarded; please notify the list if a
message of yours just disappears. It seems to work correctly on the
other lists that we have;
* members posts not qualified as spam go through as usual;
* remaining non-member posts are held for moderation.

The big advantage is that now non-subscribers will be able to post
messages (with a low amount of manual moderation from my side).

Comments welcome.


I'd suggest you put it back the way it was. I'm on 30+ FOSS mailing
lists, and can't police everything to see that it goes through. If some
AI algorithm somewhere decides I'm spam because of my email provider
or whatever, I'm just writing into the wind, wasting a lot of time.

And what's the supposed upside? So non-subscribers can post. Look at
any netiquette guide and they'll roundly catcall the clowns who begin
or end their message with "please CC me because I'm not on the list."

Let's not inconvenience valuable list members to accommodate those so
lazy they can't take 5 minutes to join the mailing list.

SteveT

Steve Litt
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm



--
To email me replace 'nospam' with 'el'

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


Re: Setting up LyX on a new computer

2022-03-17 Thread Dr Eberhard Lisse via lyx-users

After installation (I do that from from Homebrew) I would do

ln -fs $HOME/Library/Application Support/LyX-2.3/preferences \
 $HOME/lyxrc

and run unison with a force from the old to the new, but installing
unison is currently not advisable for casual users as the stable mac
version suffers from a SSH issue introduced by Monterey and the
developers are working on a rewrite anyway.

rsync is too complicated so I would probably just do something like this
on the old box

tar cvfz ~/Downloads/lyxdir.tgz ~/Library/Application\ Support/LyX-2.3
scp ~/Downloads/lyxdir.tgz newbook.local:~/Downloads/

and on the new one

cd
tar xvfz ~/Downloads/lyxdir.tgz

I run unison regularly on all my systems in a star formation
synchronizing with each other, which I offer as the answer to below
question.

As it is scriptable it was a nice exercise to script it so that it knows
where it runs and what to to exactly, but that's another story :-)-O.



el

On 16/03/2022 22:27, Hal Kierstead via lyx-users wrote:

All -

I have many preference settings that I would like to transfer to a new
MacBook Pro.  What is the approved way to do this?  Can I just copy
the preference file and bind file in Application Support/LyX-2.3 from
one computer to the other or what?  Maybe I could copy the whole
LyX-2.3 folder?  Along the same lines, what is the best way to keep my
LyX setup consistent across several computers.  I use dropbox to sync
files.

Thanks,

Hal


--
To email me replace 'nospam' with 'el'

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


Re: Continuation of lists across beamer frames

2022-03-16 Thread Dr Eberhard Lisse via lyx-users

enumerate-resume?

el

On 15/03/2022 16:22, markhsalmon via lyx-users wrote:

Hi,
  I have tried everything I know without success and asked tis question on 
other fora without a result- simple question how do I continue an existing say 
numbered list onto a new Beamer frame/slide please? Thanks

Decision making is about predicting counterfactuals





--
To email me replace 'nospam' with 'el'

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


Re: EPUB converter

2022-03-09 Thread Dr Eberhard Lisse via lyx-users

Perl is your friend :-)-O or Python, Lua or whatever language you prefer.

el

On 2022-03-09 06:41 , Tom Goldring via lyx-users wrote:

Is there a substitute for \thinspace that will not generate an error in elxyer?



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


Re: EPUB converter

2022-03-07 Thread Dr Eberhard Lisse via lyx-users



Ken

there is a mailing list/news group for elyxer (last traffic 2017)

elyxer-us...@nongnu.org
gmane.editors.lyx.elyxer

el


On 2022-03-07 04:35 , Ken Kopelson via lyx-users wrote:
[...]

Speaking of which, I did run into a problem with the LyXHTML export
from LyX. The other HTML exports from LyX all include the output
contained in Tex Code insets, while the LyXHTML export does not.  This
creates a problem for using any kind of /lettrine or "initials"
functionality in your book, which is quite a problem.

What I did to fix the problem is include a configurable table in the
converter that automatically includes the starting text for each
paragraph.  Anytime I would change the first words of a paragraph, I
would have to make a change in the converter's configuration file,
changing the text there also.  This is obviously extremely hacky, but
it does get the job done.  If only the LyX team would fix the LyXHTML
export so it includes any text in a Tex Code block, ideally executing
the Tex Code so it properly adjusts the text size, that would be
ideal.  The regular HTML export does this, so it should be easy to
just port that code over to the LyXHTML export.  At least, one would
hope so.

[...]

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


Re: EPUB converter

2022-03-06 Thread Dr Eberhard Lisse via lyx-users



Steve,

Since it such a schlepp, why don't you participate in the development or
support the developers?

Never mind that LyX seems to predate the Kindle, this is a LaTeX issue
rather than a LyX one (which, after all, just a front end).

As written numerous times I am very keen on on the new DocBook format
but since I use LyX in production in my practice, I can't use two
different formats, and my staff can't cope with alpha software.

So patience is a virtue on the one hand but trying out stuff like this
is interesting.

el

On 2022-03-06 04:09 , Steve Litt via lyx-users wrote:

Hi Ken,

I suggest you put it out.  The LyX project has a 15 year history of
outputting pidgeon HTML incapable of building a *semantic* ePub,
claiming what they've done is good enough, and treating with hostility
my observations that they're prematurely converting style to
appearance.

The LyX project is the wrong project to do LyX=>ePub; ePub isn't in
their DNA, and until I'm shown otherwise, I'm treating any LyX=>ePub
capabilities from the LyX project as vaporware.

Where can I download your converter with instructions?

Thanks,

SteveT

[...]

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


Re: EPUB converter

2022-03-03 Thread Dr Eberhard Lisse via lyx-users

Ken,

where is the missing link :-)-O?


This is great news.

I am actually waiting for 2.4 and DocBook to convert my 859
page "handbook" to EPUB so my staff and I can carry it around on our
Kindles (App on iPad actually).

But, I would be very keen to see how your package works.

My little handbook doesn't really need anything fancier than a few
images (JPG, PNG and PDF).

I also use (in one (common) "include.tex") something like

 \usepackage{etoolbox}
 \newbool{business}
 \boolfalse{business}
 \newbool{private}
 \booltrue{private}

but if that (see your below remark) were not to work I can address that
via a Makefile and different include (front matter) files as you seem to
be doing.

Maybe you can look into that, because then you can have a single include
file by putting something like this into a Makefile

bus:
 @perl -i -p \
  -e 's/\\boolfalse\{business\}/\\booltrue\{business\}/g;' \
  -e 's/\\booltrue\{private\}/\\boolfalse\{private\}/g;' \
  include.tex
 @lyx -f -e pdf5 handbook.lyx

priv:
 @perl -i -p \
  -e 's/\\booltrue\{business\}/\\boolfalse\{business\}/g;' \
  -e 's/\\boolfalse\{private\}/\\booltrue\{private\}/g;' \
  include.tex
 @lyx -f -e pdf5 handbook.lyx

and then use something like

 \ifbool{business}{}{\include{business.tex}}
 \ifbool{private}{\include{private.tex}}{}

as ERT.

Looks complicated, is complicated, but once it works no further
touching required.



In the meantime I have pulled

 http://www.editorium.com/ftp/LyXBookSampler.zip

from

 https://wiki.lyx.org/Layouts/Layouts

and will start some RTFM :-)-O

greetings, el


On 03/03/2022 00:58, Ken Kopelson via lyx-users wrote:

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.

[...]

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.

[...]

I know that the next version of LyX is supposed to produce EPUB,

[...]

As one final problem, the LyXHTML export fails to include anything in
the LaTeK code blocks,

--
To email me replace 'nospam' with 'el'

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


Re: LyX for Mac

2022-02-21 Thread Dr Eberhard Lisse via lyx-users

I stand corrected, my cursor does blink :-)-O but I seem to be so used
to it that I didn't even notice :-)-O.

I copy and paste all my mail messages into an AlphaX window (I keep a
file on the Desktop to double click) because that one can format format
even indented text properly and then copy and paste it back into TBird.

TBird used to allow the firing up of an external editor, but no more
:-)-O. So I got used to this (workflow) as well.

el

 On 2022-02-19 15:17 , Stephan Witt via lyx-users wrote:

Am 19.02.2022 um 04:11 schrieb Tom Goldring via lyx-users
:


I don't know how to adjust the cursor blink rate in Apple Mail,
Thunderbird, Safari, etc.  (if anyone does, please tell me!)  but
since I'm not spending a lot of time typing text into a window when I
use a web browser, it isn't that much of an issue.  When composing
email, I usually type my text into an emacs buffer (which does allow
me to turn off the blink) and then paste it into the mail client.


That seems to be weary.

[...]

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


Re: LyX for Mac

2022-02-21 Thread Dr Eberhard Lisse via lyx-users

My cursor does not blink and my background is an ugly beige (default)
:-)-O

The background is most certainly configurable.

What are hotkeys?

el

On 2022-02-18 21:46 , Tom Goldring via lyx-users wrote:

I have version 2.3.6.2 on my MacBook Pro.  I consider it a poor
substitute for the Windows version.  I can't turn off the blinking
cursor (extremely annoying!), I can't change the background color
(white background gives me a headache), hotkeys don't work, etc.  Is
there an alternative binary that I could download?

Thanks,
Tom



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


Re: Single space TOC

2022-01-26 Thread Dr Eberhard Lisse via lyx-users

Have a look at the tocloft package.

el

On 26/01/2022 08:35, Joseph Hesse via lyx-users wrote:

I am writing a book with separate chapters in a master document.  My
TOC prints double spaced and I want to make it single spaced.

I have the package setspace and I have \usepackage{setspace} in the
preamble.

In the master document I surrounded the Table of Contents entry with
the tex code \begin{singlespace} and \end{singlespace}.  This causes
no errors but it doesn't work, the TOC is still double spaced.

Any help is much appreciated.

Thank you in advance,
Joe



--
To email me replace 'nospam' with 'el'

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


Re: Remove textquotedblplain from preamble

2022-01-20 Thread Dr Eberhard Lisse via lyx-users



This is not an MWE.

It requires several files not provided and has a ton of
entries in the Preamble.

el

On 2022-01-16 21:34 , tush via lyx-users wrote:

I want to remove it because I don't have any idea what it add or
alters in the shape of my output file.  I want to have control over
what is inserted and what is absent in my project.

The MWE is attached.

Thanks a lot!

[...]

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


Re: Program Listings

2022-01-13 Thread Dr Eberhard Lisse via lyx-users

Joe,

When you open the Insert -> File -> Child Document -> Program Listing
there should be a window looking something like the enclosed, where you
can either type the path to the file (complete or relative as in this
example) or click the Browse button, find the file and double click it
after the path will appear there.

Please note the Caption, Label and the parameters.  If you enter
something on the right the left will show you "completions" and/or
choices. Color is mentioned in the LaTeX Listings manual.

greetings, el

On 2022-01-14 05:32 , Joseph Hesse via lyx-users wrote:

On 1/13/22 21:11, Herbert Voss wrote:

Joseph Hesse via lyx-users schrieb:

On 1/12/22 15:00, Herbert Voss via lyx-users wrote:

Use /Insert -> Program Listing/ option.


I tried what you suggested.  I right clicked on the inset and could
not find an option where I could specify where my code listing are
located.


What do you mean with "listing are located"?  If you do not define it
as a float it will appear at the place where you defined it.

Attached the screenshot of the output of the demo file.

Herbert

I am sorry that I did not state my problem more clearly.
Before even using lyx, I have program code in folders in my computer.
I want to have this code appear in my lyx document.  What I meant was
that when I use "Insert -> Program Listing" I do no see a way to
choose the folders on my computer to import these already written
programs into my lyx document.  The only option that gave me that
choice was "Insert -> File -> Child Document" and this seems to work
for me except for the color.
Thank you,
Joe
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Program Listings

2022-01-13 Thread Dr Eberhard Lisse via lyx-users

RTFM of the LaTeX Listings package

I would use a single word for the label or separate ords with ':' ie
something like first:program. If that's the culprit, we should file an
improvement request (ie checking for spaces from within LyX).

Generally speaking attaching a MWE is very helpful, ie the document
without ANY changes to the default and ONLY the code required to
trigger the issue.

Often constructing this lets me find the issue myself :-)-O

On huge documents this is of course very difficult, but then halving
the document successively until one finds the area causing the issue
helps.

el

On 12/01/2022 14:22, Joseph Hesse via lyx-users wrote:

I am writing a programing book and want to have programs that have
been prepared with a text editor included in the book.  This is what I
have done so far.

Insert->File->Child Document

File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program

More Parameters: numbers=left, frame=tb, caption=b, float

It sort of works but I need assistance.
The caption I have set above does not appear on the bottom as
"caption=b" would suggest.
The label I have set above does not appear anywhere.

I would like the text of the inserted program to have "typewriter"
font and be colored green.  How do I do this.

Am I on the right track, is the above the correct way of doing what I
want?

Thank you,
Joe Hesse



--
To email me replace 'nospam' with 'el'

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


Re: LyX on Apple Silicon (in a VM)

2021-12-27 Thread Dr Eberhard Lisse via lyx-users

Chris,

I have a development version which I run both on arm64 and x86_64.

LyX does not "run" faster. The graphical front end on the M1 feels
zippier, indeed, but while typing and enditing it does not make that
much aof a differnece.

The limiting factor is the (Lua)LaTeX running in the background.  I use
the MacTexBasic 2021 which has universal binaries and they are indeed
(much) faster on the arm64.

greetings, el

On 2021-12-21 01:50 , Christopher Menzel via lyx-users wrote:

LyX folk,

I haven’t seen any reports about running LyX on Apple Silicon so I
thought I’d post a datapoint.  I compiled LyX (with QT 5) from the
latest source under Kubuntu 20.04 for ARM in a Parallels VM running on
a 14” MacBook Pro with a 10-core M1 Pro chip.  The compile ran
flawlessly (once I got the package dependencies and configure flags
right).  Unsurprisingly, even though running in a VM, the Linux
version is much faster than the current MacOS version which, because
it is an Intel app, requires Rosetta 2 to run on the M1.  Compiling a
technical 135 page document with a large associated BiBTeX file as a
PDF with the Mac version takes about 50 seconds; the Linux version
takes 15 (most of that being biber processing the bibliography info).
And updating a change with the Mac version takes about 10 seconds,
whereas it takes about 4 seconds with the Linux version.

Chris Menzel



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


Re: LuaTeX vs XeTeX

2021-12-27 Thread Dr Eberhard Lisse via lyx-users



And 20 seconds is a drama? Come on.

And my understanding is that you can pass parameters from the command
line to make, so this can become part of an automatable workflow.

el


On 2021-12-20 22:49 , Steve Litt via lyx-users wrote:

Dr Eberhard Lisse via lyx-users said on Mon, 20 Dec 2021 08:49:24 +0200



PDFLaTeX is much faster that LuaLaTeX but to be hoest, nowadays the
day to day stuff is so fast anyway that that doesn't matter.


I noticed that my new book, which is much shorter than most, took
about triple the time, like about 20 seconds on a very fast machine,
to compile that books with LaTeX, XeTeX, and PDFTeX took.  Because I
personalize every book, I need to recompile for every order, so I
might research using PDFTeX. Thanks for the tip.

SteveT

[...]

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


Re: LuaTeX vs XeTeX

2021-12-19 Thread Dr Eberhard Lisse via lyx-users



Stve,

I like the Noto fonts, but my understanding is that all TeX Gyre
fonts also work under PDFLaTeX.

But, LUA is really cool.

You can put simple stuff into the preamble like

\usepackage{luacode}
\begin{luacode*}
   socket = require "socket"
   function hostname()
  local hname = socket.dns.gethostname():gsub('.local','' )
  return hname
   end
\end{luacode*}
\newcommand\hostname{\directlua{tex.sprint(hostname())}}

which then makes the name of the box you are compiling to PDF on (which
I like in my little handbook) available to ERT (or footers defined in
the preamble).

And more complicated stuff, from calculating Expected Date of Delivery
from Last Menstrual Period, Body Mass Index from weight and height, or
even calculating the nearest Friday of a calculated date (thanks
Herbert :-)-O), access to the differend SQL databases and whatnot.

Of course one can do most of that also in R with knitR but that has
a lot of overhead.

PDFLaTeX is much faster that LuaLaTeX but to be hoest, nowadays the
day to day stuff is so fast anyway that that doesn't matter.



On 2021-12-18 00:58 , Steve Litt via lyx-users wrote:

Herbert Voss via lyx-users said on Thu, 16 Dec 2021 15:31:15 +0100



- no more fiddling around with the encoding, everything is UTF-8
- no more restrictions in using fonts, all current types are
supported, like pfb, ttf, utf, ttc, ...
- easy integration of the script language Lua into a document


That's what brought me to LuaTeX and LuaLaTeX: The ability to use TeX
Gyre Schola font, which looks better than everything except its
lookalike Century Schoolbook, but somehow, about 6 years ago, Century
Schoolbook stopped working for me.

Since beginning to use LuaTeX, I've enjoyed that it does everything
the others do, and by using it all the time, I gain expertise and
everything's easier.


SteveT

[...]

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


Re: Fwd: "Lyx must be updated"

2021-12-16 Thread Dr Eberhard Lisse via lyx-users

Murat,

2.40 is on the verge of going from Alpha to Beta, and patience is a
virtue :-)-O

el


On 2021-12-16 10:56 , Murat Yildizoglu via lyx-users wrote:

I have tried to send this to lyx-devel but I am not a member.


Begin forwarded message:

[...]

This is what OSX 12.1 tells me now with Lyx  LyX-2.3.6.2.

""LyX" needs to be updated This app will not work with future
versions of macOS and needs to be updated to improve compatibility.
Contact the developer for more information.”

I imagine that the next version will be good with future versions of
OSX.

I have just wanted to inform.

Best regards,
Murat

[...]

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


Re: I think we need a better name than "MWE"

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

And

https://texfaq.org/FAQ-minxampl

el


On 15/12/2021 14:37, Dr Eberhard Lisse via lyx-users wrote:

https://ctan.org/pkg/mwe

el

On 14/12/2021 22:05, Steve Litt via lyx-users wrote:

Hi all,

Here on the LyX list we use the word MWE to mean the simplest example
that still exhibits the symptom. But MWE stands for Minimum *Working*
Example, and by definition, the file that exhibits the symptom does not
"work". Also, I think I've seen MWE used on various LaTeX venues to
mean the smallest file that works, for a specific feature you want to
incorporate.

Can anyone think of a better name for the tiniest file that exhibits a
symptom?

Thanks,

SteveT

[...]





--
To email me replace 'nospam' with 'el'

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


Re: Glitch (bug?) in 2.3.6.1 [FIXED]

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

Rich, Steve,

that was a rhetorical question of course  :-)-O

I do however find that whenever I find myself using ERT I always try and
look for a LyX way to do it, because I don't like ERT :-)-O

I just found out myself, that on the Mac I can just do Option-0 :-)-O

BTW, it should be \textdegree{}

el

On 14/12/2021 22:22, Rich Shepard via lyx-users wrote:

On Tue, 14 Dec 2021, Steve Litt via lyx-users wrote:


Maybe because he didn't know about Insert -> Symbols -> Superscripts.
I didn't know it either, but now I do, and will use it.  Thanks for
the information!


I frequently use Insert -> Formatting -> Superscripts (or Subscripts,
but just type ctrl-l and insert \textdegree because a) I don't need to
move my hands from the keyboard and use the trackball, and b) I've
used it many times over the past decades.

When there are multiple ways of doing things all work while each of us
prefers one way.  Same with OSes, text editors, etc.

Rich


--
To email me replace 'nospam' with 'el'

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


Re: I think we need a better name than "MWE"

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

https://ctan.org/pkg/mwe

el

On 14/12/2021 22:05, Steve Litt via lyx-users wrote:

Hi all,

Here on the LyX list we use the word MWE to mean the simplest example
that still exhibits the symptom. But MWE stands for Minimum *Working*
Example, and by definition, the file that exhibits the symptom does not
"work". Also, I think I've seen MWE used on various LaTeX venues to
mean the smallest file that works, for a specific feature you want to
incorporate.

Can anyone think of a better name for the tiniest file that exhibits a
symptom?

Thanks,

SteveT

[...]


--
To email me replace 'nospam' with 'el'

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


Re: A big Christmas wish

2021-12-15 Thread Dr Eberhard Lisse via lyx-users

That may be so, but MacTeX Basic does not have it, and I still believe
it's very easy to enclose BIB files with MWEs. Especially for us
(experienced but( casual users.

el

On 14/12/2021 13:59, Kornel Benko via lyx-users wrote:

Am Tue, 14 Dec 2021 13:36:52 +0200
schrieb Dr Eberhard Lisse via lyx-users :


Maybe, but it would be helpful not to have to look for it.

el


What is wrong with this bibfile? It is included in texlive. (Package
'texlive-bibtex-extra' in debian)


On 14/12/2021 12:21, Daniel via lyx-users wrote:

On 13/12/2021 19:20, Dr Eberhard Lisse via lyx-users wrote:

[...]

Attaching the BIB file would help...

el


Sorry. The attached file uses the standard biblatex example BIB file.

Daniel
   


Kornel





--
To email me replace 'nospam' with 'el'

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


Re: Glitch (bug?) in 2.3.6.1 [FIXED]

2021-12-14 Thread Dr Eberhard Lisse via lyx-users

Or use curly braces.

But why would you do this with ERT in the first place?

Instead of \textdegree{} I just used the first character from

Insert -> Symbols -> Superscripts

and Subscripts and get ⁰C.

Never mind that this not only was not an MWE. as you not only don't need
the graphic, it also had an absolute path so wasn't found until manually
changed and a number of lines in the Preamble, some of which are even
superfluous during the non MWE run (like the graphicx one)

greetings, el

On 10/12/2021 00:08, Rich Shepard via lyx-users wrote:

On Thu, 9 Dec 2021, Paul A. Rubin via lyx-users wrote:


"For want of a nail the shoe was lost.  ..."  Here, substitute space
for nail.  You need to put a space between the ERT and the letter C.
The error message is because LaTeX thinks you are invoking the
nonexistent command \textdegreeC.


Paul,

Well, shame on me for not seeing that!  I've used a space elsewhere in
the document and missed the lack of a space in the figure caption.

Thanks for successfully applying the fresh eyes solution.

Regards,

Rich


--
To email me replace 'nospam' with 'el'

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


Re: A big Christmas wish

2021-12-14 Thread Dr Eberhard Lisse via lyx-users

Maybe, but it would be helpful not to have to look for it.

el

On 14/12/2021 12:21, Daniel via lyx-users wrote:

On 13/12/2021 19:20, Dr Eberhard Lisse via lyx-users wrote:

[...]

Attaching the BIB file would help...

el


Sorry. The attached file uses the standard biblatex example BIB file.

Daniel




--
To email me replace 'nospam' with 'el'

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


Re: A big Christmas wish

2021-12-13 Thread Dr Eberhard Lisse via lyx-users

Attaching the BIB file would help...

el

On 2021-12-13 09:18 , Daniel via lyx-users wrote:

On 2021-12-11 10:39, Wolfgang Engelmann via lyx-users wrote:

After having spent numerous hours/days in trying to get a
Koma script book to work under luatex/biblatex my biggest Christmas
wish is to get a user file template for it which works.

It should tell me,
what to put in the Document settings
the LaTeX Preamble
the Bibliography (e.g. biblatex-spbasic)
and the preferences in Tools

Wolfgang


I haven't worked with LuaTeX before, so forgive my ignorance.  But I
am curious what the issue is.  I have just created a KOMA-script book
with a reference using biblatex-spbasic (attached) and compiled it
with LuaTeX and it just worked.  No need for preamble or preferences
to set.  Maybe I am missing some feature that you were using?  Or what
is it in particular that was tricky to accomplish?

Daniel



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


Re: LyX document corrupted [RESOLVED]

2021-12-09 Thread Dr Eberhard Lisse via lyx-users

Rich,

buy a Windoze box and you can do that daily :)-O

el


On 08/12/2021 21:05, Rich Shepard wrote:
[...]

Every few years something constipates the computer and it requires a
reboot to clear the clog.

[...]

--
To email me replace 'nospam' with 'el'

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


Re: How to find LyX' compile strategy?

2021-12-09 Thread Dr Eberhard Lisse via lyx-users

Steve,

from my ~/.latemkrc

 #
 # set default to luatex (ie '4')
 #
 $pdf_mode = 4;
 #

greetings, el

On 08/12/2021 19:16, Steve Litt wrote:

Dr Eberhard Lisse said on Wed, 8 Dec 2021 17:22:34 +0200

[...]

Aside from the fact that latexmk needed a -lualatex arg, nothing was
wrong with them.

[...]
--
To email me replace 'nospam' with 'el'

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


Re: Graphic file formatsx

2021-12-09 Thread Dr Eberhard Lisse via lyx-users

Steve,

On the Mac I do

brew install --cask pdf-squeezer

works well, and so I bought the license.  Comes even with a command line
utility so it went straight into the Makefile :-)-O

I must confess, I have a 3.9 MB accounting software of which I only need
the installation part which is 6 pages, so I use qpdf to pull out those,
making 75K.

 brew install qpdf

Besides not having answered (timed) how long it takes, I would
personally, besides looking at shrinkers, int he first instance look at
how the sucker is generated and work on that.

I save my images on R with ggplot2::ggsave and the help page shows:

device  Device to use. Can either be a device function (e.g. png),
or one of "eps", "ps", "tex" (pictex), "pdf", "jpeg",
"tiff", "png", "bmp", "svg" or "wmf" (windows only).

I however, put the R chunks into my LyX files so that the images are
generated on the fly (knitR).

You asked in another message how many words my handbook has.  It has 25
child documents and I don't know how to run the stats from the comand
line, but the result has 950 pages. As I wrote elsewhere when working
on a chapter I can compile that child document separately which takes
5-10 seconds and look at that before running the Makefile. Works for me.

greetings, el

On 08/12/2021 19:37, Steve Litt wrote:

Rich Shepard said on Wed, 8 Dec 2021 07:51:56 -0800 (PST)


On Wed, 8 Dec 2021, Dr Eberhard Lisse wrote:



For my big handbook (which takes 110 seconds to compile (70 on the
M1)) I have split this into child documents which compile
individually within 10 to 15 seconds.


How about loading a PDF image that's 3,704,503 bytes in size while
reading your big handbook?


OK, 3,704,503 bytes got my attention. No wonder it's slow.

There are ways to shrink PDF size:

Web search: linux shrink pdf size

SteveT

[...]


--
To email me replace 'nospam' with 'el'

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