Re: Problems related to custom AMS theorem module

2021-07-23 Thread Paul A. Rubin

On 7/23/21 4:14 PM, Rudi Gaelzer wrote:


Is there a way to instruct Lyx to write certain auxiliary files into 
the local directory, instead of in /tmp/lyx_tmpdirxxx?



Is it LyX or LaTeX (pdflatex?) that writes the auxiliary files? I 
suspect the latter, in which case I'm pretty sure the answer to your 
question is no. You could create a custom export format and tell LyX to 
invoke a shell script (written by you) that would run whatever LaTeX 
commands were needed and then copy the selected files to the local 
directory (which I believe you can convince LyX to pass as an argument 
to the script). That's complicated enough that you might be better off 
just writing a script that copies the target files to the local 
directory and run it manually after compiling documents.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Problems related to custom AMS theorem module

2021-07-23 Thread Paul A. Rubin

On 7/23/21 12:14 PM, Rudi Gaelzer wrote:


This question is still related to the recent thread:

https://www.mail-archive.com/lyx-users@lists.lyx.org/msg112228.html 




I thought I got it right, but several unexpected problems came up and 
I'd like to have your opinion.



What I want to do is the following: I'm preparing a series of lectures 
that will employ theorem-like environments.


Several lectures are related to the same subject and so I want the 
enumeration of numbered things (equations, figures, theorems, 
examples, definitions, etc) in subsequent lectures to continue from 
the previous ones.



In order to guarantee the correct sequence, I'm loading in the 
preamble the totcount package.  For each counter employed in a given 
lecture, the totcount package  creates a new counter (equation@totc, 
figure@totc, etc), which contains the last value of the counter.


The values of these counters are then written in a specific file (call 
it previous.tc), which can be read in the subsequent lecture.  
Finally, by using


\setcounter{}{}

I can guarantee the desired continuation of the enumeration of things.


For the native LaTeX counters (equation, figure, etc), I've been 
including all the necessary commands in an ERT with the layout InPreamble.


For the native counters, this works all right because the counters are 
defined with the class and class packages, which are read before 
user-specific definitions incuded with the InPreamble layout.



However, for the theorem-like environments, the implementation is more 
involved.  The problems that are coming up are:



1. Say a given environment like theorem is only introduced from the 
second lecture.  In this case, the file previous.tc will not contain 
the last value of the counter thm@totc, because there was no theorem 
in the first lecture.  Hence, I cannot issue a \setcounter{thm}{value>} because in this case the number of the first theorem gets 
increased for each LyX/LaTeX compilation.


This complicates the implementation of the custom theorem-bytpe module 
I've been tinkering with in my previous thread.  Somehow I need to 
introduce instructions to read the previous.tc file and find out if 
the counter thm was previously employed.  Only if there is a last 
value of thm@totc that I can \setvalue the counter.


I'm not sure what will be the best way to implement this.  Several 
posts I've been browsing through suggest the use of TeX natives like 
\newread, \openin \read, etc, and then use some package (like xstring) 
that identifies specific strings in each line read.  Seems too much 
trouble for me.



2. Then I decided to dumb down my approach.  I will only use \setvalue 
for those counters that I know are employed in the previous lecture, 
as I was doing so far with the native LaTeX counters.


The problem now is that with the layout InPreamble, those instructions 
will be written before the ams-theorem module defines the thm 
counters.  That is going to give errors.


It seems that as of now there is no way to choose the ordering of the 
instructions contained in the layout InPreamble inside the document's 
preamble.  This is discussed in this thread:


https://www.mail-archive.com/lyx-users@lists.lyx.org/msg100172.html 




Therefore, the only solution that I can imagine is to write the 
necessary instructions in the user-defined preamble accessible in


Document Settings -> LaTeX Preamble

This way, I guarantee the correct ordering of the instructions.


Anyway, I just wanted to vent out my frustration that I was not smart 
enough to somehow automatize this process.  This is an admittedly very 
specific problem, and I don't know if you think this can be of 
interest to the larger community.



--

Rudi Gaelzer

Institute of Physics

Federal University of Rio Grande do Sul

BRAZIL

Registered linux user # 153741


I've never used the totcount package, so this may be a bit naive. For 
the first issue, can you set the relevant counters (equation@totc) etc. 
to zero with a \setcounter command in the preamble of the first document 
and, if so, will that zero value get written to the file if no 
environments of the type counted appear in the document? That would 
(hopefully) give you a starting value for the next document.


For the second issue, can you wrap your preamble code in 
AtBeginDocument{} and, if so, does that allow ams-theorem to load first 
and your code to execute correctly?


Paul

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


Re: Jabref 5.3.1

2021-07-22 Thread Paul A. Rubin

On 7/22/21 2:25 PM, Wolfgang Engelmann wrote:



Am 22.07.21 um 20:12 schrieb Wolfgang Engelmann:



Am 22.07.21 um 17:32 schrieb Paul A. Rubin:

On 7/22/21 9:31 AM, Wolfgang Engelmann wrote:

There is a new Jabref (5.3.1) available under
https://www.fosshub.com/JabRef.html
There is a download for Ubuntu+Debian
and a Linux portable.
I wanted to try the latter, but don't know how to run it.
Could somebody advice me?
Wolfgang
Download the archive file and extract it, which will create a folder 
named JabRef which in turn contains bin and lib folders. Put that 
folder wherever you want it. (Since this is the portable version, I 
suspect you might want it on a thumb drive.)




Strange:
~/Downloads/JabRef/bin$ ./JabRef
Error opening "/home/wolfgang/Downloads/JabRef/lib/app/JabRef.cfg" 
file: No such file or directory

??
I am on Debian 11
Could the existing older JabRef be the cause?
Wolfgang

The JabRef contains two folders,
bin
and lib

in bin is JabRef
in lib is a folder runtime
  which contains lib, conf, bin, legal as folders

where is JabRef.cfg ? >
find -iname 'JabRef.cfg'
./lib/app/JabRef.cfg

why is it not found?

Wolfgang



Strange indeed. I do not encounter that error on my system (Linux Mint, 
which is Ubuntu-based and pretty compatible with Debian), with the 
extracted program in exactly the same folder (~/Downloads). I have 
JabRef 3.8.2 installed, and it does not interfere with launching the 
portable version.


You might try shifting the terminal to the ~/Downloads/JabRef folder and 
running "bin/JabRef", but I suspect the same error will occur.


A nonprinting control character embedded in the path might cause the 
file not found error, but it is very hard to see how one might get into 
the path.


You could also try copying the JabRef folder to /tmp and repeat the 
experiment there. If running ./JabRef in /tmp/JabRef/bin works, a stray 
character in the path becomes more plausible.


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


Re: Jabref 5.3.1

2021-07-22 Thread Paul A. Rubin

On 7/22/21 9:31 AM, Wolfgang Engelmann wrote:

There is a new Jabref (5.3.1) available under
https://www.fosshub.com/JabRef.html
There is a download for Ubuntu+Debian
and a Linux portable.
I wanted to try the latter, but don't know how to run it.
Could somebody advice me?
Wolfgang
Download the archive file and extract it, which will create a folder 
named JabRef which in turn contains bin and lib folders. Put that folder 
wherever you want it. (Since this is the portable version, I suspect you 
might want it on a thumb drive.)


To run it, open a terminal and run the command "/bin/JabRef" 
(where  is the path to the extracted JabRef folder), or just open 
the terminal in the bin folder and run "./JabRef". I got a lot of error 
messages in the terminal when I tried it (Linux Mint), but it opened and 
appeared to work okay.


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


Re: Customizing counters of theorem environments.

2021-07-21 Thread Paul A. Rubin
(Accidentally replied directly rather than to the list. Better late than 
never?)


I can see no reason to mess with the layout translations file. If your 
LyX user interface uses a language other than English, just give your 
custom theorem environment a layout name in that language. If your new 
environment makes its way into the LyX distribution some day, then it 
will need translations into all supported languages.


As far as implementing a custom theorem-like environment, you need to 
(a) figure out the LaTeX code to implement it and then (b) create a 
module file (or use your hacked ...-bytype.module file) containing a LyX 
layout for it (which will include the LaTeX code to be inserted into the 
preamble). Mimicking what's already in the bytype module file (or, more 
precisely, in one of the .inc files it uses) should get you there pretty 
easily.


Paul

On 7/21/21 11:46 AM, Rudi Gaelzer wrote:


I would like to run by you my solution and ask another question.


I copied the files theorems-ams-bytype.module and 
theorems-ams-bytype.inc into my local layouts directory (with new 
names), then edited them accordingly.  For instance, in the .inc file, 
for the Lemma style, inside the Preamble EndPreamble field I included 
the line


  \renewcommand{\thelem}{\thearea-\arabic{lem}}

\thearea being the prefix to the lemma counter.


Did similar things for the other styles, then reconfigured LyX and 
voila! My customized module is accessible (and works as intended).


I just don't know if this solution is sanctioned by you LyX developers...


Now the question I want to ask.

I want to create a new theorem-like environment.  Reading through the 
Customization.lyx manual, I understand that the different translations 
for the names of the environs reside in the layouttranslations file.  
Looking into it, it says that



# This file has been automatically generated by po/lyx_pot.py.

# PLEASE MODIFY ONLY THE LAGUAGES HAVING NO .po FILE! If you want to 
regenerate


# this file from the translations, run `make 
../lib/layouttranslations' in po.


# Python polib library is needed for building the output file.


I confess I did not quite grasp the process. Do I have to create a 
local layouttranslations file containing the translations for the new 
environment name?  Is there a more detailed guide for this procedure?



On terça-feira, 20 de julho de 2021 20:20:41 -03 Rudi Gaelzer wrote:

> Well, it seems that the solution is indeed via \renewtheorem. However, I

> had to dig deep into the installation of AMS theorem to find the proper

> names of the counters. So far, I've found \thethm, \thelem, 
\thedefn, etc.


> I did not find a full list of counters, so if someone could point me out

> where I can find such a list, I'd be grateful.

>


--

Rudi Gaelzer

Institute of Physics

Federal University of Rio Grande do Sul

BRAZIL

Registered linux user # 153741




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


Re: ERT expression for dimensions of boxes, images etc.

2021-07-04 Thread Paul A. Rubin

On 7/4/21 9:33 AM, Tobias Hilbricht wrote:

Am Sonntag, den 27.06.2021, 11:58 -0400 schrieb Paul A. Rubin:

On 6/27/21 7:36 AM, Tobias Hilbricht wrote:

Dear readers of this list,

is it possible in LyX to enter dimensions in terms of ERT
expressions
such as \linewidth+\marginparsep+\marginparwidth into the dialogs
for
boxes, images (Insert -> Box, Insert -> Image) ?

If I have defined a length in Document -> Settings -> LaTeX-
preamble,
what is the LyX way of sizing boxes and images with that length?

Thanks for helpful hints in advance,
yours sincerly
Tobias Hilbricht


With Insert > Graphics, you can click on the "LaTeX and LyX options"
tab
and insert ERT in the "LaTeX options:" box. For instance, I entered
"width=\linewidth+\marginparsep+\marginparwidth" for an image and
the
test document compiled with what I think was the intended graphic
size.

Unfortunately, I don't see any way to insert ERT in the standard box
creation dialog.

Paul


Paul,

thank you for your help, this works indeed for images very well. A
similar possibility to enter LaTeX-length expressions for boxes would
be a nice enhancement.

Yours
Tobias


Tobias,

Gern geschehen. Regarding a similar dialog for boxes, you might want to 
enter a feature request ticket in the bug tracker 
(https://www.lyx.org/trac/wiki/BugTrackerHome 
<https://www.lyx.org/trac/wiki/BugTrackerHome>) or else send an email to 
the developer list (lyx-de...@lists.lyx.org).


Paul


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


Re: ERT expression for dimensions of boxes, images etc.

2021-06-27 Thread Paul A. Rubin

On 6/27/21 7:36 AM, Tobias Hilbricht wrote:

Dear readers of this list,

is it possible in LyX to enter dimensions in terms of ERT expressions
such as \linewidth+\marginparsep+\marginparwidth into the dialogs for
boxes, images (Insert -> Box, Insert -> Image) ?

If I have defined a length in Document -> Settings -> LaTeX-preamble,
what is the LyX way of sizing boxes and images with that length?

Thanks for helpful hints in advance,
yours sincerly
Tobias Hilbricht

With Insert > Graphics, you can click on the "LaTeX and LyX options" tab 
and insert ERT in the "LaTeX options:" box. For instance, I entered 
"width=\linewidth+\marginparsep+\marginparwidth" for an image and the 
test document compiled with what I think was the intended graphic size.


Unfortunately, I don't see any way to insert ERT in the standard box 
creation dialog.


Paul

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


Re: Empty backup directory

2021-06-26 Thread Paul A. Rubin

On 6/26/21 3:29 AM, Daniel wrote:

Hi,

After installing LyX, the backup directory is empty (Preferences > 
Paths). Does that mean that no backups are created by default or that 
the backups are created even though "Backup documents, every ... 
minutes" is checked (Preferences > Look & Feel > Document Handling) 
(btw. Look & Feel seems a misnomer for backup settings). Or is a 
backup created in the directory of the lyx file (the title bar shows a 
directory even for new not yet saved files, so I suppose these files 
are backup there as well)?


Daniel

My backup directory path is empty and LyX automatically creates backups 
in the document's directory. The backups have the extension .lyx~, so 
they are considered "hidden files" by Mint, Ubuntu and I suspect other 
Linux distros.


Paul

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


Re: Command to put string in both the LyX authoring environment and the finished PDF?

2021-06-20 Thread Paul A. Rubin

On 6/20/21 5:39 PM, Steve Litt wrote:

Hi all,

I have a local layout, based on Book-extsizes, for my new book. I have
no idea what the book's title will be yet, and I sure nuff don't want
to have to search all instances of that title and replace them every
time I get a better idea for the title.

S, what I want to do is put something in my local layout to
articulate the title, both in the LyX authoring environment and in the
compiled PDF, showing the title in a specific appearance. I tried to do
it as a character style, as follows:


\definecolor{titlebodytextcolor}{HTML}{cc}

% ### Character style for book title within body text
\newcommand{\chartitlebodytextL}[0]{{\color{titlebodytextcolor}My
Current Title As Of Today}}%

CharStyle CharTitleInBody
Font
Series  Bold
Color   Red
EndFont
LabelFont
Series  Bold
SizeLarger
Color   Red
EndLabelFont
LatexName   chartitlebodytextL
LatexType   Command
LabelString "My Current Title As Of Today"
End


If I apply the character style CharTitleInBody to an empty string in
LyX, the exact right thing happens in the PDF, but in the LyX
authoring environment the title appears under the character style inset
and also under the following text, which is very disturbing if you're
trying to copy-edit your book in the LyX environment.

Does anybody know what I can do to make the text appear inline, instead
of underneath, within the LyX authoring environment?

Thanks,

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques

Steve,

This is not an answer to your question, but possibly something simpler. 
If you load the 'titling' package in the document preamble, you can put 
anything you want in the document's title environment and then just use 
\thetitle (or maybe \thetitle{}) in ERT any place you want to repeat the 
title. If you get the hots for a new title later, you just have to 
change it in the title environment. This doesn't deal directly with the 
funky formatting of the title, but it does eliminate the 
search-and-replace aspect.


Paul

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


Re: Converting markdown to PDF

2021-06-16 Thread Paul A. Rubin

On 6/16/21 4:12 PM, Dr Eberhard Lisse wrote:


Using R is a little overkill in my view, but if it works it works :-)-O
It's a bit indirect, but for users of the RStudio IDE, you just open 
RStudio, open the .md file and click the "Knit to PDF" toolbar button 
and you're done (unless you don't like the way the PDF turned out). In 
my case, it would save having to look up the command syntax.


Paul


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


Re: I need an environment similar to, but not identical to LyX-Code

2021-06-10 Thread Paul A. Rubin

On 6/10/21 7:54 PM, Steve Litt wrote:

I need an environment similar to, but not identical to the LyX-Code
environment. Specifically, I need the page margins to be the same as
regular text, and I'd also like a smaller font.

So I figured I'd find the LaTeX definition of LyX-Code and work from
there, possibly using CopyStyle. But I've searched for 1/2 hour and
cannot find the TeX definition of the latexname part of LyX-Code, nor
can I find the LyX user interface part of LyX-Code.

So where can I find the definition of LyX-Code?

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques

Steve,

Create a file with one line of whatever in a LyX-Code environment. Turn 
on View > Code Preview Pane, and in the preview pane use an appropriate 
format (such as pdflatex) and set the drop down for what to show to 
Preamble Only. You'll find the \newenvironment{lyxcode}{...} stuff in 
the preview pane (after a little scrolling).


Paul

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


Re: SSL certificate error

2021-06-07 Thread Paul A. Rubin

On 6/7/21 4:53 PM, Ricardo Berlasso wrote:

Hi, people,

Today, trying to enter https://www.lyx.org/  I 
get a SSL certificate error:


SEC_ERROR_EXPIRED_CERTIFICATE

Is it a known problem?

Regards,
Ricardo

I can confirm this. Apparently it expired today (June 7) at 17:26:04 
GMT. I'm cc-ing this to the dev list.


Paul

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


Re: Set optional tabular argument

2021-05-16 Thread Paul A. Rubin

On 5/16/21 8:00 AM, Daniel wrote:

Hi,

The tabular environment comes with an optional argument for 
positioning relative to it's surrounding text (t = top, b = bottom). 
Can this argument be set in LyX? (I really mean tabular not table float.)


Best,
Daniel

Right-click anywhere in the table, click Settings..., and under 
Table-wide settings use the Vertical alignment drop-down to make your 
choice.


Paul

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


Re: Pasting latex in a lyx file

2021-04-07 Thread Paul A. Rubin

On 4/7/21 6:44 PM, Andrew Parsloe wrote:



On 8/04/2021 3:14 am, Paul A. Rubin wrote:

On 4/7/21 10:14 AM, Mario D wrote:

Hi all,

sometime I need to paste some latex code inside a lyx file.
When I do this, I lose all the formatting and, in particular,  I 
lose all new lines: this means that what I end up with in my red box 
in lyx is a complete mess which requires a lot of editing.


This is quite annoying: am I missing something which results in this 
behaviour?


Thank you

Have you tried Edit > Paste Special > Paste from LaTeX? Note that 
this is used to paste directly into the LyX document, /not/ into an 
ERT box (ctrl+L).


Paul


I usually just use Ctrl+Shift+V to paste text (including lines of 
LaTeX) that preserves new lines. It works in an ERT box. (I wasn't 
aware of the Paste from LateX option.  In fact, there's quite a bit 
here that has changed since I last carefully looked at what was 
offered by the different menus.)


Andrew


Actually, I usually do the same thing (because I forget about the paste 
LaTeX option). Sometimes, though, what plops into the ERT box is a mess 
of the sort Mario described, and I end up inserting newlines to make it 
readable. I'm not sure if the paste special approach avoids that -- I 
don't have an example handy at the moment -- but one can hope.


Paul

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


Re: Pasting latex in a lyx file

2021-04-07 Thread Paul A. Rubin

On 4/7/21 10:14 AM, Mario D wrote:

Hi all,

sometime I need to paste some latex code inside a lyx file.
When I do this, I lose all the formatting and, in particular,  I lose 
all new lines: this means that what I end up with in my red box in lyx 
is a complete mess which requires a lot of editing.


This is quite annoying: am I missing something which results in this 
behaviour?


Thank you

Have you tried Edit > Paste Special > Paste from LaTeX? Note that this 
is used to paste directly into the LyX document, /not/ into an ERT box 
(ctrl+L).


Paul

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


Re: You use bookmarks in LyX. Tell me about it

2021-04-06 Thread Paul A. Rubin

On 4/6/21 12:43 PM, Scott Kostyshak wrote:

On Mon, Apr 05, 2021 at 02:17:02PM -0400, Paul A. Rubin wrote:


I rarely use bookmarks, and when I do...

This opening phrase made me think you might be "The Most Interesting LyXer in the 
World" (https://www.youtube.com/watch?v=nYR3TPKKzdE).

Scott
They based that character on me (well, a more youthful me, not to 
mention taller, more athletic and better looking). And now, thinking of 
how much I've aged, you've got me craving a beer. :-)



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


Re: You use bookmarks in LyX. Tell me about it

2021-04-05 Thread Paul A. Rubin

On 4/5/21 4:03 PM, Jean-Marc Lasgouttes wrote:

Le 05/04/2021 à 20:17, Paul A. Rubin a écrit :

On 4/5/21 11:54 AM, Jean-Marc Lasgouttes wrote:
On a side note, I find it slightly disconcerting that clicking 
"Navigate Back" in a document with no bookmarks and no recent edits 
opens the last edited document and jumps to the last edit point. 
Jumping to the last edit point in the current document, whenever that 
was made, would be fine, but jumping to a different document is a tad 
disconcerting.


Good point. Can you open a ticket for that? I am not sure what a good 
fix is. I guess some people use that when editing several documents. I 
people use bookmarks, that is.


JMarc

Done (#12239).

Paul

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


Re: You use bookmarks in LyX. Tell me about it

2021-04-05 Thread Paul A. Rubin

On 4/5/21 11:54 AM, Jean-Marc Lasgouttes wrote:

Dear LyX users,

I recently tried to fix ticket #2496 for 2.4.0.
https://www.lyx.org/trac/ticket/2496#comment:20

However, several problems occurred:
1/ displaying bookmark numbers inline does not please everybody (see 
attachment)


2/ displaying them in the margin is not entirely satisfying either 
(other attachment); note that the code for this case is not perfect 
yet (e.g. the margin is not large enough).


3/ making bookmarks visible made me aware that the bookmarks 
functionality is really broken. I fixed a few things, but a lot 
remains to be done.


This makes me wonder: are there users of this bookmarks thing out 
there? What is your use case? Do you keep bookmarks between sessions, 
or is it just to get back and forth in a document at a given moment?


Finally, do you think that making bookmarks visible is useful? For me, 
the main use now is to debug the functionality.


JMarc


JMarc,

I rarely use bookmarks, and when I do it is within a session (meaning I 
do not expect them to survive closing the document and opening it at a 
later date). I do not have any particular need for a visible marker. 
Regarding the "anchor" for the bookmark, my preference would be to 
anchor it to the nearest object (word, equation, inset, whatever the 
cursor "belongs" to or is next to), with the understanding that editing 
the anchor keeps the bookmark attached to it and deleting the anchor 
attaches the bookmark to the immediately previous word, equation, inset 
or whatever.


On a side note, I find it slightly disconcerting that clicking "Navigate 
Back" in a document with no bookmarks and no recent edits opens the last 
edited document and jumps to the last edit point. Jumping to the last 
edit point in the current document, whenever that was made, would be 
fine, but jumping to a different document is a tad disconcerting.


Cheers,
Paul

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


Re: Biblatex issues

2021-03-25 Thread Paul A. Rubin

On 3/25/21 4:40 PM, Rich Shepard wrote:
It's been a long time since I last wrote a document with a 
bibliography. I
have compilation issues on this one and cannot find a saved thread 
with the

solution.

I switched from bibtex to biblatex last year (or earlier) and want to use
the author-date format for citations. Since I upgraded to TeXLive-2020 
I may

have lost changes that worked.

A MWE is attached (without the entire JabRef bibliography) as well as the
full error log. I don't understand why I'm getting errors when I try to
compile the file with pdflatex, yet the PDF is produced.

I'm confused.

TIA,

Rich


Rich,

Your MWE does not include a .bib file, so it's not possible to diagnose 
the exact problem. That said, your log's first encoding error looks as 
if pdflatex gagged on the dash(es) separating two page numbers in a 
reference. I suspect the offending characters are in the .bib file, and 
I would not be surprised if they come from a reference that was copied 
from a PDF file or some such and pasted into JabRef. The second encoding 
error seems to involve the same citations, and again seems to be in the 
vicinity of the page range, although the pathology appears slightly 
different.


Paul

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


Re: Changing Figure Labelling in LyX

2021-03-18 Thread Paul A. Rubin

On 3/18/21 2:13 PM, Philippe Burden wrote:


To whomever this may concern,

I have recently started using LyX to write scientific papers for my 
undergraduate degree. In writing one of my reports, I found myself 
wanting to change the way the figures are labelled. I have managed to 
change the figure labelling from “Figure 1, Figure 2, Figure 3…” to 
labelling per section “Figure 1.1, Figure 1.2, Figure 2.1…” However, I 
was wondering if there was a way to change it to say “Fig. 1.1”, 
instead of “Figure 1.1”


I’ve also changed the size of the font inside the caption to be 
smallest. This works great, no issues. However, the figure label 
itself does not change in size. It simply shows “Figure 1.1: Blah Blah 
Blah, this is only an example…”. Is there a way to make the size of 
the label match that of the caption.


Thank in advance to anyone who can help me.

Cheers,

Philippe Burden


As someone with old eyes, I feel that I should discourage you from using 
"smallest" as the size for captions. That said, if you have the LaTeX 
'caption' package installed, you can put the following in your preamble:


\usepackage{caption}

\captionsetup[figure]{labelfont={scriptsize}, name={Fig.},labelsep=colon}

I think that will do what you want.

Paul

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


Re: blurish pdf figure

2021-03-15 Thread Paul A. Rubin

On 3/15/21 6:31 AM, Wolfgang Engelmann wrote:



Am 15.03.21 um 10:38 schrieb Dr Eberhard Lisse:

Wolfgang,

how is this produced?

el
On 12/03/2021 12:01, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang


With pyxplot (similar to gnuplot, but better):
http://www.pyxplot.org.uk/

#Kidd_2015-model
reset
set multiplot
set term pdf
set width 6
set output './Kidd_2015-B.pdf'
set fontsize 0.65
set key top right

set origin 0,0
set xtics ("12" 12, "18" 18, "24" 24,"6" 30)
set xlabel 'circadian time'
set ytics 0,0.2,1.4
set ylabel 'amount of TIM protein'
set label 1 'nuclear translocation' at 16.8,1.12
set label 2 'transcription/translocation' at 11.3,0.2 rotate 50
set label 3 'repression/degradation' at 24.3,1 rotate -52

plot [9:33][0:1.5] './Kidd_2015-Fig2.csv' index 0 title 'lower 
temperature' with lines colour blue, './Kidd_2015-Fig2.csv' index 1 
title 'higher temperature' with lines colour red


set display
refresh

The date file Kidd_2015-Fig2.csv is in the appendix.
I got it by digitizing the plot in the publication by using engauge
http://markummitchell.github.io/engauge-digitizer/

Wolfgang

You might try exporting the plot from pyxplot as SVG rather than PDF. 
Other than that, I suspect you would need to change the converter 
command LyX uses to convert PDF graphics to a format it can display.


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


Re: blurish pdf figure

2021-03-14 Thread Paul A. Rubin

On 3/12/21 5:01 AM, Wolfgang Engelmann wrote:
If I insert the graphic (appended) in a lyx document, it looks 
blurish, although the original and in the pdf output it is clear. 
Looks like it is rendered to a pixel figure.

What is wrong?
Wolfgang

Are you saying that it looks blurry in the LyX editor (but is clear when 
the document being edited is compiled), or are you saying that putting 
it in a document and compiling that document to PDF results in the 
compiled document containing a blurry image?


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


Re: Instant preview: different sizes in different situations

2021-03-11 Thread Paul A. Rubin

On 3/11/21 12:43 PM, Rudi Gaelzer wrote:

I feared that that would happen...
Is there a way I can acquire a traceback of what's happening?


On quinta-feira, 11 de março de 2021 13:43:13 -03 Paul A. Rubin wrote:

I cannot reproduce that here (LyX 2.3.6.1, Linux Mint 20, Qt 5.12.8,
TeXLive 2019).
You can start LyX by runing 'lyx -dbg graphics' in a terminal, then load 
a document with a formula and see if anything in the terminal chatter 
indicates a problem. I'm not sure if that will help, since I can't test 
it here.


Paul

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


Re: Instant preview: different sizes in different situations

2021-03-11 Thread Paul A. Rubin

On 3/11/21 10:29 AM, Rudi Gaelzer wrote:

Using:
LyX v. 2.3.6.1
OS: Fedora Core 33
TeXLive v. 9

I noticed a weird behaviour for some time already with Instant Preview.
In: Preferences -> Look & Feel -> Display -> Instant preview,
if I set Preview size 1.2, then during the edition, when a given formula is
rendered for the first time, the display size is OK.
However, when I restart LyX and resume processing the text, the same formula
is rendered with a much smaller size... very difficult to read.

If I try to circumvent this problem by setting preview size to, say,  1.5,
then on the first time the equation becomes huge, although after restart the
new size is better than with the previous setting.

Has anyone noticed this behaviour as well?  I'd say this is a bug, but, I
don't know...

I cannot reproduce that here (LyX 2.3.6.1, Linux Mint 20, Qt 5.12.8, 
TeXLive 2019).


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


Re: Increase base font size

2021-03-09 Thread Paul A. Rubin

On 3/9/21 11:26 AM, Rich Shepard wrote:

Using lyx-2.3.6.1 and KOMA-Script Article class. I'm preparing speaker's
notes for a forthcoming video presentation and I want the body text 
larger

than 12pt. In Settings->Fonts the choice is limited to 12pt.

What's the LaTeX for changing paperfontsize 12 to paperfontsize 14? Is it
\renamecommand{paperfontsize}{14}?

TIA,

Rich
Not directly an answer, but in the prerelease (beta? alpha?) version of 
LyX 2.4, with KOMA-Script Article selected, the font size list goes up 
to a whopping 20pt size. (I believe that going any higher may require 
permits from your local building authority.)


Paul

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


Re: Again: sidecap figure

2021-03-04 Thread Paul A. Rubin

On 3/4/21 3:39 AM, Wolfgang Engelmann wrote:



Am 02.03.21 um 14:46 schrieb Wolfgang Engelmann:

In my preamble I have

\usepackage{sidecap}
% Definition to put legends beside tables and figures
\newcommand{\TabBesBeg}[1][1.0]{%
  \let\MyTable\table
  \let\MyEndtable\endtable
  \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}

\newcommand{\TabBesEnd}{%
  \let\table\MyTable
  \let\endtable\MyEndtable}

\newcommand{\FigBesBeg}[1][1.0]{%
  \let\MyFigure\figure
  \let\MyEndfigure\endfigure
  \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}

\newcommand{\FigBesEnd}{%
  \let\figure\MyFigure
  \let\endfigure\MyEndfigure}

In the document I use in ERT
\FigBesBeg} before the float figure and
\FigBesEnd} after the float figure

but get this error:
! Undefined control sequence.
l.279 ...lgae (see figure \ref{thalli}).\figBesBeg

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

What is wrong?
Wolfgang


I still struggle with sidecap figure and append a .tar.gz file with an 
(almost) minimal example.

The error I get:

\figBesBeg
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I used the example in the LyX help file Embedded objects 3.10
With my LyX et Co setup (Debian 11) I get with it
! Package babel Error: Unknown option `ngerman'. Either you misspelled it
(babel)    or the language definition file ngerman.ldf was 
not found.

See the babel package documentation for explanation.
Type  H   for immediate help.

But I can run it with 'show anyway' and the legend placement is 
correctly sidewise.


Could somebody be kind enough to run the example and see whether it 
works in her/his case?


My
LyX Version 2.3.6
(Friday, November 27, 2020)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.15.2
Qt Version (compile-time): 5.15.1

Wolfgang

The problem is that you defined \FigBesBegin and \FigBesEnd with capital 
"F" but invoked them with lowercase "f" (as in \figBesBegin). If you 
correct that, the document compiles.


Paul

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


Re: footnote

2021-03-04 Thread Paul A. Rubin

On 3/4/21 12:52 PM, Patrick Dupre wrote:

Hello,

Could somebody tell me what is wrong in this file with a formula in a footnote?

Thank

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===

RevTexk apparently puts footnotes in the bibliography. If you are 
content to have them at the bottom of the pages in which they occur, 
just add "nofootinbib" (without the quotes) to the class options for the 
document.


Paul

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


Re: beamer dual

2021-03-03 Thread Paul A. Rubin
I've used (and been quite happy with) Impressive 
 on Linux. It's written in Python.


Paul

On 3/3/21 9:31 AM, Patrick Dupre wrote:

Thanks, but under Linux?

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===



Sent: Wednesday, March 03, 2021 at 12:30 PM
From: "Dr Eberhard Lisse" 
To: lyx-users@lists.lyx.org
Subject: Re: beamer dual

On the Mac you can use slidepilot.

el

On 03/03/2021 13:16, Patrick Dupre wrote:

Hello,

I am preparing a short presentation for a colleague.  I would like to
have the regular slides on the standard screen, and on an auxiliary
screen, the notes/text that he could use.  Or at least to have the
"notes" attached to the slide, but not visible during the
presentation.

Is it possible?

Thanks

[...]



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

--
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: beamer dual

2021-03-03 Thread Paul A. Rubin

On 3/3/21 12:04 PM, Patrick Dupre wrote:

Yes,
I installed Pympress.
But, I anticipated that the NoteItem or \note[item]  (beamer)
would be the visible in "Annotations" (Pympress)
But it is not the case.

What am I missing?

Thanks.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===

Did you add \setbeameroption{show notes on second screen=⟨location⟩} to 
the preamble? I don't use Pympress, but I would assume that the option 
still has to be set in the document.


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


Substack/subarray

2021-02-27 Thread Paul A. Rubin

Hi all,

Do \substack and \subarray (discussed in the Math help file) appear 
anywhere in the math toolbars, or do they have to be entered by typing 
the LaTeX commands?


Thanks,
Paul

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


Re: aux file

2021-02-17 Thread Paul A. Rubin

On 2/17/21 2:31 AM, Wolfgang Engelmann wrote:
I used to produce an aux file from my lyx document by exporting the 
tex file via plain latex, running it and select the aux (I remember, 
there was an easier way, but I forgot). But plain latex does not 
appear any more since I use xetex.

What should I do?
Wolfgang
Assuming xetex produces aux files (I would guess it does, but I've never 
used it), you could just use View > Document in LyX to compile and view 
the document, then navigate to the temporary directory LyX is using and 
copy the aux file from there.


Paul

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


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 3:02 PM, Doug Martin wrote:



On Sun, Feb 14, 2021 at 11:03 AM Paul A. Rubin <mailto:parubi...@gmail.com>> wrote:


That said, the culprit is a setting in the document. If you go to
Document > Settings... > Math Options, you will note that the
"Indent formulas" option is checked and set to Default. Uncheck it
and your centered formulas will center properly.


*Perfect. Many thanks.  Now I know to look around more at the settings.*
*
*
*Doug*


One last comment: When I create a new Beamer document, the "Indent 
formulas" box is unchecked by default (as it is with other document 
classes I use). So I think there are three possibilities here:


1. you selected it in this document a while back for some reason (or
   unintentionally -- the dreaded stray click);
2. you made this document by recycling a previous document or using a
   "template" document, and that document had it selected; or
3. you somehow wound up with having it selected by default when you
   create a new document.

The third one is easy to check: create a new doc and see if indent is 
chosen. I bring this up because you should not have to mess with this in 
future documents (unless you want indentation the default in other 
docs). If you accidentally have indentation as a document default and 
don't want that, just create a new doc of the correct default class 
(standard article for me), go to the math options settings and uncheck 
indentation, then go to Document Class settings and click "Save as 
Document Defaults".


Paul

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


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 1:16 PM, Doug Martin wrote:

Paul (and all),

Sorry for this partial repeat, as I accidentally sent previous email 
before I was finished:


As for my desire to center equations, I have attached the LYX file and 
the resulting pdf file.
The last pdf slide shows the left-justification of equations that I am 
getting.


The Beamer theme used in the LaTeX preamble is Madrid.  There is a 
Madrid theme slide deck at

Paul,

As for my desire to center equations, I have attached the LYX file and 
the resulting pdf file.
The last pdf slide shows the left-justification of equations that I am 
getting.


The Beamer theme used in the LaTeX preamble is Madrid. For an example 
of the Madrid theme see
http://homepages.math.uic.edu/~hurder/math589/beamer/index.html, where 
the equations are centered.
So I guess there are some other things I have to change in the LaTeX 
preamble?  I'm a little bit lost here.


Doug


Doug,

You and I have entirely different ideas of what a minimal example is. 
That said, the culprit is a setting in the document. If you go to 
Document > Settings... > Math Options, you will note that the "Indent 
formulas" option is checked and set to Default. Uncheck it and your 
centered formulas will center properly.


Paul

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


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 11:58 AM, Doug Martin wrote:


I also found that it is helpful to always create right away the 
separator to end the Frame, which is not in the main Dropdown menu for 
Standard, etc., as I had seen in a tutorial, but in the Insert drop 
down menu.


By the way, do you happen to know how to get true horizontally 
centered equations in Beamer slides. When I center them in the LYX file,

they end up shifted somewhat left.


In the Insert menu, you should find "Separated Frame Below", the default 
binding for which is Alt+P Return. That will both insert a separator and 
start a new frame in one gulp.


I don't know what you mean about centering equations. I just hit 
Ctrl+Shift+M to get a math inset in display mode, then change the type 
of equation if necessary. The equations are centered on the slide, at 
least to my satisfaction. Perhaps you should post a minimal working 
example with an off-center equation to the user list.


Paul

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


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Paul A. Rubin

On 2/14/21 10:50 AM, Doug Martin wrote:
I I have the following simple question:  I have by mistake created a 
new Frame and want to

delete. There must be a simple way to do that, but I am not seeing it.
Thanks in advance for any guidance provided.

Doug


Put the cursor in the inset for the frame title (assuming there is one), 
at the very left, and hit backspace to get rid of the inset. Then just 
use the environment select box (start of the top tool bar) to change 
from Frame to Standard (or whatever you would like).


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


Re: find next?

2021-02-11 Thread Paul A. Rubin

On 2/11/21 7:28 PM, David Pesetsky wrote:

My Macintosh-educated fingers are used to ⌘-G for "find next" (used after using ⌘-F for 
"find").  Does Lyx have a "find next" function so I can duplicate this?

I may be missing something in plain view, in which case, my apologies for 
wasting everyone's time — but I'm not finding it.

-David
Cmd-F opens a dialog that stays open while you are searching. With open, 
alt+N will do "find next" (as will clicking the Find Next button in the 
dialog.


If you want to repeat your last find operation after the dialog has been 
closed, there is an LFUN that will do it: word-find. It takes an 
argument (the search target), but if you omit the argument it repeats 
the last find. Assuming cmd-G is not bound to anything useful in your 
setup, you could bind it to word-find.


Paul

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


Re: Koma-script Book Figure/Table numbering.

2021-02-04 Thread Paul A. Rubin

On 2/4/21 9:25 AM, Rich Shepard wrote:

On Thu, 4 Feb 2021, Norman Dunbar wrote:


* Lyx 2.2.4 (From the Mint distro, not downloaded.)


Norman,

Could be an issue fixed since then. The current version is 2.3.6.1.

I have a test case if anyone is interested, but I doubt I'd be 
allowed to

attach it to a list posting, especially as a new subscriber.


Actually, a NWE (Minimum Working Example), attached to a message, is a
requirement. It allows folks to see the underlying LaTeX and futz with 
it to

understand what's happening. Please send it.

Rich


Norm,

On the subject of upgrading, you can get a .deb file by adding the 
developer PPA as a software source, doing a refresh in the update 
manager, and then updating LyX. Here's the line for adding the PPA: deb 
http://ppa.launchpad.net/lyx-devel/release/ubuntu focal main. Change 
"focal" to the Ubuntu equivalent of Mint 19 (xenial?). If you have any 
Mint-specific questions, I'm on Mint 20.


Paul

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


Re: Importing tex file into Lyx

2021-01-28 Thread Paul A. Rubin

On 1/28/21 10:54 AM, Keith Sloan wrote:


My Uni has supplied me with a tex template that they want me to use.
I have tried opening a new Lyx document and then importing the tex 
file but I get an error see attached.

An error occurred while running:
$$s/../MacOS/text2lyx -f "casestudy.tex"
"casestudy.lyx"

I am on Mac Catalina 10.15.7

I note the tex file has near the beginning

%Example of use of Time Domain Astrophysics latex class
\documentclass{tda}

And they are also supplying a file tda.cls

Not sure where to go to diagnose the problem.
Hope somebody can help advise

== Art & Ceramics ===
https://www.instagram.com/ksloan1952/


I think you are going to have to do the following:

1. Install tda.cls in your LaTeX setup (park it in an appropriate
   location and make sure your LaTeX installation can find it).
2. Create a LyX layout file for the tda class, and store that in your
   local LyX directory.
3. Reconfigure LyX so it finds the new layout.

See chapter 5 of the LyX Customization manual for details.

Paul


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


Re: Setting LyX window font size

2021-01-27 Thread Paul A. Rubin

On 1/27/21 2:14 PM, Rich Shepard wrote:
Running lyx-2.3.6.1 on Slackware-14.2/x86_64 with Xfce4-4.12.1. This 
upgrade

changed the font size on the window's menu, outline panel, and other
non-text-body elements. They're now too small for me to comfortably read.
See attached screenshot.

Using Preferences -> Display I can set the document typeface, stroke, and
size. But I cannot find where to change the window decorations. And using
the Xfce4 Settings -> Display I can change the font size of other
applications (e.g., GnuCash) but not the LyX window.

I'm assuming that LyX uses Qt5 as the application framework in C++ and 
I'm

having difficulties finding how I can change the Qt5 font size in this
application.

All ideas on how to increase the font size on the frame surrounding the
writing area are solicited.

TIA,

Rich

I'm not sure about Slackware, but on Mint (and Ubuntu) there is a 
utility named qt5ct (Qt5 Configuration Tool). On Mint (and presumably 
Ubuntu) it's available from the system menu by searching "qt5". If you 
install it and run it, you should get a simple GUI interface that lets 
you set all sorts of things. In the Fonts tab, click the ellipsis next 
to "General", leave the font selection alone but switch the font style 
to "Regular", pick a larger font size, click OK and then (back in the 
main window) Apply. You should see the font in the LyX menus change 
immediately (no restart required). There's a caveat: this will apply to 
all Qt5 apps (including the configuration tool), not just LyX.


If you want larger toolbar icons in LyX, that's handled from within LyX. 
Right click in any empty space on any toolbar and, at the bottom of the 
context menu, pick your preferred icon size.


Paul



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


Re: Large delimiters, multiline equations

2021-01-22 Thread Paul A. Rubin

On 1/22/21 3:24 PM, Joel Kulesza wrote:



On Fri, Jan 22, 2021 at 12:09 Paul A. Rubin <mailto:parubi...@gmail.com>> wrote:


On 1/22/21 1:06 PM, Neal Becker wrote:
> On Fri, Jan 22, 2021 at 11:26 AM Joel Kulesza
mailto:jkule...@gmail.com>> wrote:
>> On Fri, Jan 22, 2021 at 6:29 AM Neal Becker
mailto:ndbeck...@gmail.com>> wrote:
>>> I have an equation that has to be split (to fit into beamer
>>> presentation).  It has large delimiters that span the lines. 
Does lyx
>>> have any facility to help with this?  I did get a useable
result, but
>>> only with a lot of ERT.  Lyx seems not helpful here, is there
any way
>>> other than ERT to get "\Biggl. ... \Biggr]"? Or "\right."?
>>>
>>> Here is what I wanted:
>>>
>>> \begin{multline*}
>>>
>>> \mathbf{X}_{N_{C}\times S\times
>>>

A}=\left[\left[\left[\sum_{n}m1_{p+cL_{c}+nS}m2_{p+cL_{c}+(n+\tau)S}^{*}\right.\right.\right.,\\
>>>
>>> \Biggl.\Biggl.\Biggl.\tau\in[-A/2\dots A/2]\Biggr],p\in[0\dots
>>> S-1]\Biggr],c\in[0\dots N_{c}-1]\Biggr]
>>>
>>> \end{multline*}
>>
>> To accomplish this, I prefer to use the Insert Delimiters
capability (the subject of an adjacent thread). Using "none" will
let you give the appearance of matched delimiters that vertically
scale to contain the contents. The "Swap & Reverse" button is
meant as a convenience to control delimiter insertion in this
manner.  Finally, if you have lines that vary in vertical extent,
a vertical phantom (\vphantom) with the proper contents will
ensure consistent delimiter sizes.
>>
>> Hope this helps,
>> Joel
> Thanks for the reply.  I can't see how to do this. Inserting
> Delimiters seems to insist on inserting a pair of delimiters - I
don't
> see any way to just get \left[ for example.
I've attached three screenshots. The first (shot1.png) shows LyX open
with a new document, containing two copies of your example. The first
copy is pasted into an ERT box (so that I can see what you are
shooting
for). The second has most of your example, but not the nested
brackets,
typed into a multiline math environment. The first line of the
multiline
formula is selected, so that I can put a left bracket in front of it.

The second screenshot shows the delimiter insertion dialog. Note
that I
unchecked the "keep matched" box below the left pane, then selected a
left bracket in the left pane and "(None)" in the right pane.

The third screenshot shows the formula after I click "Insert" in the
delimiter dialog. There is a large left bracket at the start of the
first line and "phantom" bracked (dotted line) at the end of the
first
line. To insert other brackets, do similar things, selecting the
content
of the bracketed area and where appropriate selecting none on the
left
and a closing bracket on the right.


Paul,

Thanks for picking up the thread!  If you provide the LyX file for 
shot3, I’ll demonstrate what I meant about vphantom.


Thanks again,
Joel

Joel,

Happy to help on the thread. Here's the file for shot 3.

Paul



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


Re: Default new documents rendering as cropped PDF

2021-01-21 Thread Paul A. Rubin

On 1/21/21 5:53 PM, list_em...@icloud.com wrote:

Hi List,

For some reason when I start a new generic document (File -> New) which is an 
Article (Standard Class), the PDF is rendered as cropped.

The default rendering keyboard shortcut (Command-R on my Mac) shows Document -> View 
[PDF (cropped)] so it’s doing what it is being told when I hit Command-R. But when I do 
Document -> View (Other Formats) -> PDF (pdflatex) it still renders the PDF as 
cropped. Also, the topmost menu item under File -> Export is PDF [PDF (cropped)].

In preferences, File Handling -> File Converters -> Default Output Formats -> 
With TeX fonts is set to PDF (pdflatex).

I can open an old file (saved just a couple days ago) and it still renders with 
margins as expected. Also, the top item in File -> Export is then PDF 
(pdflatex). Opening a new file from IEEE template behaves the same way.

I keep a tiny LyX file around called Equation Setter that I use from time to 
time to make equations for pasting into other programs such as graphics 
programs; that file exports cropped PDFs as desired and I used it recently.

Why do new generic Article (Standard Class) documents render as cropped, with 
cropped as the command connected to Command-R, and why do they still render 
cropped when bypassing that menu command to pdflatex?

Jerry
If you open a new document and go to Document > Settings > Formats > 
Output Format > Default output format, is it set to Default (in which 
case it should use pdflatex, since you have that set a the user default) 
or PDF (cropped)? I'm thinking that at some point you might have saved a 
document with default view cropped as your default file class. That 
would explain cropped being at the top of the export options.


As to why a cropped document renders cropped when you switch the view to 
pdflatex, I think this may be a bug in LyX. I did the following 
experiment with an existing document that rendered normally (my default 
format is pdflatex):


1. change the document default view to cropped and view it (the PDF is
   cropped);
2. with the default still set to cropped, view as pdflatex (the PDF is
   still cropped);
3. make a trivial change (type a space and then delete it) and view as
   pdflatex (the PDF is no longer cropped).

So once you have viewed the document (creating a PDF in the temp buffer 
directory), switching between pdflatex and cropped does not seem to 
trigger recompilation in all cases (at least not when switching from 
cropped back to normal margins).


Paul

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


Re: Fonts in Lyx

2021-01-16 Thread Paul A. Rubin

On 1/16/21 11:57 AM, Néstor wrote:

Hello,

I would like to format a book, I like to use two fonts, one for normal
chapters, another one for some special chapters. The special font
should be looking like handwritten, script.

I have tried to install Kurier font which is the closest choice, but
no luck, it says "uninstalled", even if I have installed it by hand.

When I choose to use any font, I select one, it complaints.

Thank you.


Did you reconfigure LyX after installing Kurier?

I'm not sure what you mean by your last sentence. If LyX is issuing 
error messages when you choose a font, what specifically do the errors say?


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


Re: picture environment

2021-01-15 Thread Paul A. Rubin

On 1/15/21 1:21 PM, Joe Babb wrote:
I am trying to use Lyx to document some math and electronics and I 
need to place a block diagram into my document.  I can draw the 
diagram in a separate program and insert the jpg into Lyx, but what 
I'd rather do is draw it directly in Lyx and be able to place Greek 
characters in each box.
I used to use Latex years ago and have the fourth edition of Guide to 
Latex which talks about the picture environment. But I find no picture 
environment in Lyx.  I read on the Internet about typing an M-x 
somewhere to get to insert commands directly but can't get that to 
work.  I keep wanting to work in the code preview pane to insert Latex 
code directly but can't.  Is it possible at all in Lyx to to a block 
diagram?

thanks,
Joe

First, to insert "raw" LaTeX into a LyX document, use Insert > TeX Code, 
the default shortcut for which is Ctrl+L.


As for drawing diagrams, if you want to use Xy-Pic, there is a manual on 
how to do that in LyX (Help > Specific Manuals > XY-Pic. Other 
possibilities (doubtless among many) are to use the pstricks or tikz 
LaTeX packages. Each comes with its own learning curve. I have directly 
embedded tikz commands in LyX documents to produce diagrams, including 
flowcharts.


Paul


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


Re: Xubuntu 20.04: Qt Library

2020-12-11 Thread Paul A. Rubin

On 12/11/20 4:58 AM, Hartmut Haase wrote:

Hi,
to compile LyX I need the Qt Library for qt5-gtk, but I don't know the
name of its Package. Can someome help?
--
Viele Grüße,
Hartmut

Hungerhilfe: http://www.thehungersite.com

Das heutige Motto:
Die Welt, die wir geschaffen haben, ist das Resultat einer
überholten Denkweise. Die Probleme, die sich daraus ergeben,
können nicht mit der gleichen Denkweise gelöst werden,
durch die sie entstanden sind. (Albert Einstein)
In the Canonical repositories, there are  package named 
qt5-gtk-platformtheme and qt5-gtk2-platformtheme. I have both installed 
(on Linux Mint 20, which is Ubuntu-based). You might try one or both of 
those.


Paul

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


Re: .configure truncated

2020-12-09 Thread Paul A. Rubin

On 12/9/20 2:11 PM, Patrick Dupre wrote:

On 12/9/20 12:12 PM, Patrick Dupre wrote:

Yes, it is just truncated, every thing else is OK.

Do you say that I need to have a windows large enough to get a .configure not
truncated?

It should not be like that.
The .configure file must be independent of the windows running lyx.


===
   Patrick DUPRÉ | | email: pdu...@gmx.com
   Laboratoire interdisciplinaire Carnot de Bourgogne
   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
   Tel: +33 (0)380395988
===



Sent: Wednesday, December 09, 2020 at 5:30 PM
From: "Paul A. Rubin" 
To: lyx-users@lists.lyx.org
Subject: Re: .configure truncated

On 12/9/20 3:38 AM, Patrick Dupre wrote:

Hello,

The .configure generated (actually it is the same thing on the shell),
I get a truncation of the lines, i.e., information are missing

Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux

INFO: +checking for document class ltugboat [ltugboat]... no
INFO: +checking for document class maa-monthly [article]... yes
INFO: +checking for document class memoir [memoir]... yes
INFO: +checking for document class moderncv 
[moderncv,ebgaramond.sty,fancyhdr.sty,fon
INFO: +checking for document class mwart [mwart]... no
INFO: +checking for document class mwbk [mwbk]... no
INFO: +checking for document class mwrep [mwrep]... no
INFO: +checking for document class paper [paper]... yes
INFO: +checking for document class powerdot 
[powerdot,enumitem.sty,hyperref.sty,pstri
INFO: +checking for document class recipebook [scrbook]... yes
INFO: +checking for document class report [report]... yes
INFO: +checking for document class revtex4-1 
[revtex4-1,natbib.sty,revsymb4-1.sty,tex
INFO: +checking for document class revtex4-2 
[revtex4-2,natbib.sty,revsymb4-2.sty,tex
INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... 
yes
INFO: +checking for document class revtex [revtex,revtex.sty]... no
INFO: +checking for document class sciposter 
[sciposter,sectionbox.sty,wallpaper.sty]
INFO: +checking for document class scrartcl [scrartcl]... yes
INFO: +checking for document class scrarticle-beamer 
[scrartcl,beamerarticle.sty,keyv
INFO: +checking for document class scrbook [scrbook]... yes
INFO: +checking for document class scrlettr [scrlettr]... no
INFO: +checking for document class scrlttr2 [scrlttr2]... yes
INFO: +checking for document class scrreprt [scrreprt]... yes
INFO: +checking for document class seminar [seminar,sem-page.sty]... yes
INFO: +checking for document class siamltex [siamltex]... no
INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no
INFO: +checking for document class simplecv [simplecv]... yes
INFO: +checking for document class singlecol-new 
[singlecol-new,amsmath.sty,amssymb.s
INFO: +checking for document class singlecol [singlecol, natbib.sty]... no
INFO: +checking for document class slides [slides]... yes
INFO: +checking for document class spie [spie,cite.sty]... no
INFO: +checking for document class svglobal3 
[svjour3,svglov3.clo,natbib.sty]... no
INFO: +checking for document class svglobal [svjour,svglobal.clo]... no
INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes
INFO: +checking for document class svmono [svmono]... no
INFO: +checking for document class svmult [svmult,natbib.sty]... no
INFO: +checking for document class svprobth [svjour,svprobth.clo]... no
INFO: +checking for document class tarticle [tarticle,plext.sty]... no
INFO: +checking for document class tbook [tbook,plext.sty]... no
INFO: +checking for document class treport [treport,plext.sty]... no
INFO: +checking for document class tufte-book 
[tufte-book,bibentry.sty,changepage.sty
INFO: +checking for document class tufte-handout 
[tufte-handout,bibentry.sty,changepa
INFO: +checking for package hpstatement [hpstatement]... yes
INFO: +checking for package tcolorbox [tcolorbox]... yes
INFO: +checking for package environ [environ]... yes
INFO: +checking for package etoolbox [etoolbox]... yes
INFO: +checking for package pgf [pgf]... yes
INFO: +checking for package fixme [fixme]... yes
INFO: +checking for package endnotes [endnotes]... yes
INFO: +checking for package endnotes [endnotes]... yes
INFO: +checking for package todonotes [todonotes]... yes
INFO: +checking for package fancyvrb [fancyvrb]... yes
INFO: +checking for package braille [braille]... no
INFO: +checking for package natbib [natbib]... yes
INFO: +checking for package apacite [apacite]... no
INFO: +checking for package sectionbox [sectionbox]... yes
INFO: +checking for package changebar [changebar]... yes
INFO: +checking for package algorithm2e [algorithm2e]... no
INFO: +checking for package noweb [noweb]... no
INFO: +checking for package multicol [multicol]... yes
INFO: +checking f

Re: .configure truncated

2020-12-09 Thread Paul A. Rubin

On 12/9/20 12:12 PM, Patrick Dupre wrote:

Yes, it is just truncated, every thing else is OK.

Do you say that I need to have a windows large enough to get a .configure not
truncated?

It should not be like that.
The .configure file must be independent of the windows running lyx.


===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===



Sent: Wednesday, December 09, 2020 at 5:30 PM
From: "Paul A. Rubin" 
To: lyx-users@lists.lyx.org
Subject: Re: .configure truncated

On 12/9/20 3:38 AM, Patrick Dupre wrote:

Hello,

The .configure generated (actually it is the same thing on the shell),
I get a truncation of the lines, i.e., information are missing

Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux

INFO: +checking for document class ltugboat [ltugboat]... no
INFO: +checking for document class maa-monthly [article]... yes
INFO: +checking for document class memoir [memoir]... yes
INFO: +checking for document class moderncv 
[moderncv,ebgaramond.sty,fancyhdr.sty,fon
INFO: +checking for document class mwart [mwart]... no
INFO: +checking for document class mwbk [mwbk]... no
INFO: +checking for document class mwrep [mwrep]... no
INFO: +checking for document class paper [paper]... yes
INFO: +checking for document class powerdot 
[powerdot,enumitem.sty,hyperref.sty,pstri
INFO: +checking for document class recipebook [scrbook]... yes
INFO: +checking for document class report [report]... yes
INFO: +checking for document class revtex4-1 
[revtex4-1,natbib.sty,revsymb4-1.sty,tex
INFO: +checking for document class revtex4-2 
[revtex4-2,natbib.sty,revsymb4-2.sty,tex
INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... 
yes
INFO: +checking for document class revtex [revtex,revtex.sty]... no
INFO: +checking for document class sciposter 
[sciposter,sectionbox.sty,wallpaper.sty]
INFO: +checking for document class scrartcl [scrartcl]... yes
INFO: +checking for document class scrarticle-beamer 
[scrartcl,beamerarticle.sty,keyv
INFO: +checking for document class scrbook [scrbook]... yes
INFO: +checking for document class scrlettr [scrlettr]... no
INFO: +checking for document class scrlttr2 [scrlttr2]... yes
INFO: +checking for document class scrreprt [scrreprt]... yes
INFO: +checking for document class seminar [seminar,sem-page.sty]... yes
INFO: +checking for document class siamltex [siamltex]... no
INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no
INFO: +checking for document class simplecv [simplecv]... yes
INFO: +checking for document class singlecol-new 
[singlecol-new,amsmath.sty,amssymb.s
INFO: +checking for document class singlecol [singlecol, natbib.sty]... no
INFO: +checking for document class slides [slides]... yes
INFO: +checking for document class spie [spie,cite.sty]... no
INFO: +checking for document class svglobal3 
[svjour3,svglov3.clo,natbib.sty]... no
INFO: +checking for document class svglobal [svjour,svglobal.clo]... no
INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes
INFO: +checking for document class svmono [svmono]... no
INFO: +checking for document class svmult [svmult,natbib.sty]... no
INFO: +checking for document class svprobth [svjour,svprobth.clo]... no
INFO: +checking for document class tarticle [tarticle,plext.sty]... no
INFO: +checking for document class tbook [tbook,plext.sty]... no
INFO: +checking for document class treport [treport,plext.sty]... no
INFO: +checking for document class tufte-book 
[tufte-book,bibentry.sty,changepage.sty
INFO: +checking for document class tufte-handout 
[tufte-handout,bibentry.sty,changepa
INFO: +checking for package hpstatement [hpstatement]... yes
INFO: +checking for package tcolorbox [tcolorbox]... yes
INFO: +checking for package environ [environ]... yes
INFO: +checking for package etoolbox [etoolbox]... yes
INFO: +checking for package pgf [pgf]... yes
INFO: +checking for package fixme [fixme]... yes
INFO: +checking for package endnotes [endnotes]... yes
INFO: +checking for package endnotes [endnotes]... yes
INFO: +checking for package todonotes [todonotes]... yes
INFO: +checking for package fancyvrb [fancyvrb]... yes
INFO: +checking for package braille [braille]... no
INFO: +checking for package natbib [natbib]... yes
INFO: +checking for package apacite [apacite]... no
INFO: +checking for package sectionbox [sectionbox]... yes
INFO: +checking for package changebar [changebar]... yes
INFO: +checking for package algorithm2e [algorithm2e]... no
INFO: +checking for package noweb [noweb]... no
INFO: +checking for package multicol [multicol]... yes
INFO: +checking for package bicaption [bicaption]... yes
INFO:

Re: .configure truncated

2020-12-09 Thread Paul A. Rubin

On 12/9/20 3:38 AM, Patrick Dupre wrote:

Hello,

The .configure generated (actually it is the same thing on the shell),
I get a truncation of the lines, i.e., information are missing

Linux homere 5.9.11-100.fc32.x86_64 #1 SMP Tue Nov 24 19:16:53 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux

INFO: +checking for document class ltugboat [ltugboat]... no
INFO: +checking for document class maa-monthly [article]... yes
INFO: +checking for document class memoir [memoir]... yes
INFO: +checking for document class moderncv 
[moderncv,ebgaramond.sty,fancyhdr.sty,fon
INFO: +checking for document class mwart [mwart]... no
INFO: +checking for document class mwbk [mwbk]... no
INFO: +checking for document class mwrep [mwrep]... no
INFO: +checking for document class paper [paper]... yes
INFO: +checking for document class powerdot 
[powerdot,enumitem.sty,hyperref.sty,pstri
INFO: +checking for document class recipebook [scrbook]... yes
INFO: +checking for document class report [report]... yes
INFO: +checking for document class revtex4-1 
[revtex4-1,natbib.sty,revsymb4-1.sty,tex
INFO: +checking for document class revtex4-2 
[revtex4-2,natbib.sty,revsymb4-2.sty,tex
INFO: +checking for document class revtex4 [revtex4,natbib.sty,revsymb.sty]... 
yes
INFO: +checking for document class revtex [revtex,revtex.sty]... no
INFO: +checking for document class sciposter 
[sciposter,sectionbox.sty,wallpaper.sty]
INFO: +checking for document class scrartcl [scrartcl]... yes
INFO: +checking for document class scrarticle-beamer 
[scrartcl,beamerarticle.sty,keyv
INFO: +checking for document class scrbook [scrbook]... yes
INFO: +checking for document class scrlettr [scrlettr]... no
INFO: +checking for document class scrlttr2 [scrlttr2]... yes
INFO: +checking for document class scrreprt [scrreprt]... yes
INFO: +checking for document class seminar [seminar,sem-page.sty]... yes
INFO: +checking for document class siamltex [siamltex]... no
INFO: +checking for document class sigplanconf [sigplanconf,natbib.sty]... no
INFO: +checking for document class simplecv [simplecv]... yes
INFO: +checking for document class singlecol-new 
[singlecol-new,amsmath.sty,amssymb.s
INFO: +checking for document class singlecol [singlecol, natbib.sty]... no
INFO: +checking for document class slides [slides]... yes
INFO: +checking for document class spie [spie,cite.sty]... no
INFO: +checking for document class svglobal3 
[svjour3,svglov3.clo,natbib.sty]... no
INFO: +checking for document class svglobal [svjour,svglobal.clo]... no
INFO: +checking for document class svjog [svjour,svjog.clo,natbib.sty]... yes
INFO: +checking for document class svmono [svmono]... no
INFO: +checking for document class svmult [svmult,natbib.sty]... no
INFO: +checking for document class svprobth [svjour,svprobth.clo]... no
INFO: +checking for document class tarticle [tarticle,plext.sty]... no
INFO: +checking for document class tbook [tbook,plext.sty]... no
INFO: +checking for document class treport [treport,plext.sty]... no
INFO: +checking for document class tufte-book 
[tufte-book,bibentry.sty,changepage.sty
INFO: +checking for document class tufte-handout 
[tufte-handout,bibentry.sty,changepa
INFO: +checking for package hpstatement [hpstatement]... yes
INFO: +checking for package tcolorbox [tcolorbox]... yes
INFO: +checking for package environ [environ]... yes
INFO: +checking for package etoolbox [etoolbox]... yes
INFO: +checking for package pgf [pgf]... yes
INFO: +checking for package fixme [fixme]... yes
INFO: +checking for package endnotes [endnotes]... yes
INFO: +checking for package endnotes [endnotes]... yes
INFO: +checking for package todonotes [todonotes]... yes
INFO: +checking for package fancyvrb [fancyvrb]... yes
INFO: +checking for package braille [braille]... no
INFO: +checking for package natbib [natbib]... yes
INFO: +checking for package apacite [apacite]... no
INFO: +checking for package sectionbox [sectionbox]... yes
INFO: +checking for package changebar [changebar]... yes
INFO: +checking for package algorithm2e [algorithm2e]... no
INFO: +checking for package noweb [noweb]... no
INFO: +checking for package multicol [multicol]... yes
INFO: +checking for package bicaption [bicaption]... yes
INFO: +checking for package shapepar [shapepar]... yes
INFO: +checking for package covington [covington]... no
INFO: +checking for package enumitem [enumitem]... yes
INFO: +checking for package forest [forest]... yes
INFO: +checking for package fancyhdr [fancyhdr]... yes
INFO: +checking for package datetime [datetime]... yes
INFO: +checking for package fmtcount [fmtcount]... yes
INFO: +checking for package paralist [paralist]... yes
INFO: +checking for package enumitem [enumitem]... yes
INFO: +checking for package rsphrase [rsphrase]... yes
INFO: +checking for package biblatex [biblatex]... yes
INFO: +checking for package natbib [natbib]... yes
INFO: +checking for package jurabib [jurabib]... no
INFO: +checking for package biblatex [biblatex]... yes
INFO: +Inspection done.
INFO: +Read the 

Re: Tab autocomplete behavior in tables

2020-12-07 Thread Paul A. Rubin

On 12/7/20 5:51 AM, Pavel Sanda wrote:

On Mon, Nov 30, 2020 at 08:08:44PM -0500, Paul A. Rubin wrote:

An interesting related behavior has to do with the escape key. In other
programs (such as programming IDEs), if I get autocompletion hints I don't
want, I typically hit the escape key to get rid of them. So, having
reproduced the problem with Maria's help, my instinct was to hit Esc and
then Tab ... except Esc boots me out of the table. I can understand the
logic (sort of), but I wonder if there is a way to repurpose the escape key
to just stop hints without moving the cursor?

Sorry to join the party little bit late.
The non functional Esc is in your case table+preferebce of automatic menu in 
text, right?
Does the Esc works correct when you have menu in math mode? (Vaguely I remember 
fixing
this long time ago, but maybe the text part was missed.)

Pavel

Pavel,

Yes, in math mode hitting the ESC key while a completion suggestion is 
visible removes the suggestion (and the characters that triggered it) 
but leaves the cursor in the correct position. For instance, if (in a 
math inset) I type "xyz\ta" I get a suggested completion "xyz\tan". If I 
hit ESC, the inset contents revert to "xyz" with the cursor after the 
"z" and inside the inset.


Paul

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


Re: beamer notes support?

2020-12-04 Thread Paul A. Rubin

On 12/4/20 1:38 AM, Dr Eberhard W Lisse wrote:

Slightly off topic, but prompted by BeamerNotes, on the Mac there is the
marvelous SlidePilot PDF viewer

https://slidepilotapp.com/en/

which has a little iOS companion (to drive the presentation on screen)
and specifically supports BeamerNotes.  It took me 5 minutes of
experimenting to get them to work from my usual LyX template, not having
used them before.

This is an impressive piece of software.

And the author is responsive to suggestions (my next one being that the
iOS App should be able to drive the pointer on the main screen like a
laser pointer).

greetings, el


My personal favorite is Impressive  
(literally -- that's its name).


Paul

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


Re: Fw: graphique in brower

2020-12-03 Thread Paul A. Rubin

On 12/3/20 3:31 AM, Patrick Dupre wrote:

Hello,

I have 2 machine and a different behavior.

If a dial a formula in lyx.
in one case, I can directly copy the formula in my browser (firefox) keeping
a graphic mode (.png ?).
In the other case, I cannot get the graphic. it only copies the ascii code of
the formula.

Thanks.


===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===
How are you inserting the formula into the browser? Are you pasting it 
into an input field on a web page? (If so, which field on which page?)


Paul

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


Re: hypersetup code in preamble causing problems with beamer notes

2020-12-02 Thread Paul A. Rubin

On 12/2/20 2:43 PM, Neal Becker wrote:

Sorry, that's:
document settings > pdf properties > check "customize hyperref options"

On Wed, Dec 2, 2020 at 2:41 PM Neal Becker <mailto:ndbeck...@gmail.com>> wrote:


I get this artifact if I change document settings > pdf properties
> check "customize pdf options".  Don't set anything else here,
although
"Automatically fill header" is checked for me.

This gives me the rectangle:

On Wed, Dec 2, 2020 at 1:57 PM Paul A. Rubin mailto:parubi...@gmail.com>> wrote:

On 12/2/20 11:05 AM, Neal Becker wrote:

lyx-2.3.6

I'm trying beamer with metropolis theme.  So to preamble I added:

\usetheme[numbering=fraction,titleformat=smallcaps]{metropolis}

I want notes on 2nd screen, so I added

\usepackage{pgfpages}

\setbeameroption{show notes}

\setbeameroption{show notes on second screen=right}

When I do this, I get a gray rectangle at the top of each
page.  I exported the latex code, and found
commenting out this section of code inserted by lyx fixed the
issue:

%% \ifx\hypersetup\undefined
%%   \AtBeginDocument{%
%%     \hypersetup{unicode=true,pdfusetitle,
%%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
%%  breaklinks=false,pdfborder={0 0
1},backref=false,colorlinks=false}
%%   }
%% \else
%%   \hypersetup{unicode=true,pdfusetitle,
%%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
%%  breaklinks=false,pdfborder={0 0
1},backref=false,colorlinks=false}
%% \fi

Any ideas what is the right way to fix this, and maybe what
is the cause?

Thanks,
Neal


A gray rectangle across the entire top, or on the same side as
the slide, or a gray rectangle just on the right (the speaker
notes side), which is expected. I've attached a MWE, and to me
the PDF is as it should be.
-- 
lyx-users mailing list

lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users



-- 
/Those who don't understand recursion are doomed to repeat it/




--
/Those who don't understand recursion are doomed to repeat it/
I checked that on my test document, recompiled, and did not get the 
rectangle in your image. That setting must be interacting with something 
in your document that is not in my MWE. By the way, I'm compiling with 
pdflatex (in case that makes any difference).


Paul

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


Re: hypersetup code in preamble causing problems with beamer notes

2020-12-02 Thread Paul A. Rubin

On 12/2/20 11:05 AM, Neal Becker wrote:

lyx-2.3.6

I'm trying beamer with metropolis theme.  So to preamble I added:

\usetheme[numbering=fraction,titleformat=smallcaps]{metropolis}

I want notes on 2nd screen, so I added

\usepackage{pgfpages}

\setbeameroption{show notes}

\setbeameroption{show notes on second screen=right}

When I do this, I get a gray rectangle at the top of each page.  I 
exported the latex code, and found

commenting out this section of code inserted by lyx fixed the issue:

%% \ifx\hypersetup\undefined
%%   \AtBeginDocument{%
%%     \hypersetup{unicode=true,pdfusetitle,
%%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
%%  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false}
%%   }
%% \else
%%   \hypersetup{unicode=true,pdfusetitle,
%%  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
%%  breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false}
%% \fi

Any ideas what is the right way to fix this, and maybe what is the cause?

Thanks,
Neal

A gray rectangle across the entire top, or on the same side as the 
slide, or a gray rectangle just on the right (the speaker notes side), 
which is expected. I've attached a MWE, and to me the PDF is as it 
should be.


newfile1.lyx
Description: application/lyx


newfile1.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Tab autocomplete behavior in tables

2020-11-30 Thread Paul A. Rubin

On 11/30/20 6:02 PM, Scott Kostyshak wrote:

On Mon, Nov 30, 2020 at 05:45:59PM -0500, Paul A. Rubin wrote:

On 11/30/20 5:13 PM, Scott Kostyshak wrote:
Scott: Perhaps you can alleviate my confusion here.

Thanks for joining the conversation, Paul. It seems we have a mystery.


I use the CUA bind file
(with a couple of tweaks) and have the same binding for Tab that you listed.
In the preferences dialog, tab completion is on for math mode and off for
text mode.

Just to be clear, I think you mean *automatic* completion is on for
math mode and off for text mode. It took me a while to understand the
distinction.


In a math inset, if I type something like \right and start
playing with the tab key, it does various completion tasks. If I'm not part
way into a LaTeX command (but, say, in an align* environment), tabbing moves
from cell to cell.

In a text table, Tab moves from cell to cell, period. I do *not* under any
circumstances get prompted to do word completion. (If it matters, I do have
continuous spell checking on, using Enchant.) So I can't reproduce the
problem.
While I'm not complaining, either I don't understand the problem or
you and Maria both failed to appease some digital deity with whom I am
apparently on good terms.

Well shoot, I was hoping it was the opposite---that some deity was doing me a 
favor by trying to help with completion, and all I would have to do is piss 
them off. Gaining their favor seems much more challenging.


This is on Linux Mint 20, so behavior should be the same as on Ubuntu Focal.

Interesting differences. If in preferences you turn automatic completion on for 
text, does that change anything? If not, it might just be that completion in 
text mode is (conveniently) broken for you.

Scott

As it turns out, I can reproduce the behavior using Maria's example. 
Apparently I just did not have enough surrounding text in previous 
attempts ... and apparently I've lived a charmed life using tables so far.


An interesting related behavior has to do with the escape key. In other 
programs (such as programming IDEs), if I get autocompletion hints I 
don't want, I typically hit the escape key to get rid of them. So, 
having reproduced the problem with Maria's help, my instinct was to hit 
Esc and then Tab ... except Esc boots me out of the table. I can 
understand the logic (sort of), but I wonder if there is a way to 
repurpose the escape key to just stop hints without moving the cursor?


In any case, perhaps the input completion settings for text should have 
one more option that turns off tab completions entirely in the text (but 
not in math mode).


Paul

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


Re: Tab autocomplete behavior in tables

2020-11-30 Thread Paul A. Rubin

On 11/30/20 5:13 PM, Scott Kostyshak wrote:

On Mon, Nov 30, 2020 at 04:11:41PM -0500, Maria Gouskova wrote:

Hi LyX users,

I'm probably missing something obvious in Preferences, but I couldn't
figure out how to turn off tab autocompletion for tables. I don't mind it
in math mode, so it's checked, but I pretty much never ever want that
behavior in a table. When I hit the Tab key in a table, I want to advance
to the next cell, and not to see a drop-down menu of random words that
start with the same string I just typed.

so, how do I make Tab always advance to the next cell in a table?

I have similar preferences to you. We just had a similar discussion on 
lyx-devel:

   
https://www.mail-archive.com/search?l=mid=20201120032750.3austjolf7ornvpg%40tallinn

You mention that you "don't mind it in math mode". If you also don't
mind *not* having it in math, then the solution is simple:

rebind . The default binding is the following:

   "command-alternatives 
completion-accept;cell-forward;tab-insert;outline-in;depth-increment"

Just remove the "completion-accept" part in your rebinding.

If you do want to keep autocompletion for math, then things are more
complicated. I have a simple patch that does this, but you would have to
compile LyX with the patch. If you by chance use Ubuntu, I can compile a
.deb for you, but I can't compile for other platforms.

Scott

Scott: Perhaps you can alleviate my confusion here. I use the CUA bind 
file (with a couple of tweaks) and have the same binding for Tab that 
you listed. In the preferences dialog, tab completion is on for math 
mode and off for text mode. In a math inset, if I type something like 
\right and start playing with the tab key, it does various completion 
tasks. If I'm not part way into a LaTeX command (but, say, in an align* 
environment), tabbing moves from cell to cell.


In a text table, Tab moves from cell to cell, period. I do *not* under 
any circumstances get prompted to do word completion. (If it matters, I 
do have continuous spell checking on, using Enchant.) So I can't 
reproduce the problem. While I'm not complaining, either I don't 
understand the problem or you and Maria both failed to appease some 
digital deity with whom I am apparently on good terms.


This is on Linux Mint 20, so behavior should be the same as on Ubuntu Focal.

Paul

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


Re: Knitr problem

2020-11-21 Thread Paul A. Rubin

On 11/20/20 6:43 PM, jcredbe...@gmail.com wrote:

Dear all,

I am currently working on an old Beamer document that used to work 
flawlessly. This document has several slides with R code via knitr. It 
seems knitr cannot load some libraries that are installed in my R (4.0.3):


library("BSDA")
## Error in library("BSDA"): there is no package called ’BSDA’

Or while trying to run a snippet with ggplot2:

library(ggplot2)
ggplot(data=datos2)+
geom_density(aes(x=value,
colour=variable,
fill=variable),alpha=0.2)
## Error in loadNamespace(name): there is no package called ’farver’

Any ideas? Again, all the packages are installed and running.

Thanks in advance. Regards,
Julio Rojas
jcredbe...@gmail.com 


Julio,

You didn't mention your OS. Is is possible that knitr and R (base) are 
installed for all users but that (a) your R packages are installed for a 
specific user account and (b) that's not the user account that is 
running LyX (and hence knitr)?


Paul

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


Re: Spellcheck

2020-11-15 Thread Paul A. Rubin

On 11/14/20 3:38 AM, Wolfgang Engelmann wrote:
I haven't found a more detailed description for spellchecking in the 
help files of LyX.


In the User Guide 6.14 Spell Checking
It says:
With Linux one needs to install the packages for the desired language. 
The number of these packages vary depending on the Linux distribution, 
but in most cases these are aspell-xx, hunspell-xx, myspell-xx, etc., 
where xx is the language code.


In my LyX Version 2.3.5.2
(Thursday, June 25, 2020)
Library directory: /usr/share/lyx/
User directory: ~/.lyx/
Qt Version (run-time): 5.14.2
Qt Version (compile-time): 5.14.2
(and I am using Debian Bullseye)

there is only enchant as the spellchecker engine listed.
It is in ./.config/enchant
but there is no hunspell, e.g.
It is mentioned to get it from
https://sourceforge.net/projects/lyxwininstaller/files/hunspell/
 > Where do I place it (and other spellcheckers)
 > And how do I get a personal spellchecker invoked?

Thanks for pointers
Wolfgang

Wolfgang,

Have you installed either ispell, hunspell or aspell yet? Enchant can 
use any of them, I think. (I'm on Linux Mint, and I use enchant + 
aspell, for what it's worth.) You should be able to install whichever 
you choose, plus appropriate dictionaries, using the Debian package 
manager (apt? synaptic?). I don't think you need to install from source.


Paul

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


Re: [Help] Can't get what I want with the enumitem module. Need Help…

2020-11-12 Thread Paul A. Rubin

On 11/12/20 7:29 AM, didiergab...@free.fr wrote:

Hello,

The pdf shows the alignment issue which I cannot resolve. I tried to 
understand the doc of the enumitem package but how to say... Not very 
easy...


As you can see the label of the first item, in second level enumerate, 
is shifted to the right ...


I attach a mwe in lyx as well as the generated tex.


Here are the lines entered in the preamble:

\setlist[enumerate]{font=\bfseries}
\setlist[enumerate,1]{label=\textbf{\emph{Q\,\arabic*.}}, %
labelwidth=30pt, align=left, labelsep*=2pt,leftmargin=0pt, %
labelindent=0pt, itemindent=!, listparindent=0pt}
\setlist[enumerate,2]{label=\emph{\alph*)}, %
labelwidth=10pt, align=left, labelsep*=2pt,leftmargin=30pt,%
labelindent=30pt, itemindent=!, listparindent=0pt}


Thanks for your help.

Didier.


I don't know the correct way to do this, but the attached hack seems to 
get the job done. The vertical spacing adjustment (-17pt), which brings 
the first item of the inner list onto the same line as the outer list 
label, was done by trial and error and may not line up perfectly. There 
likely is a better way to get the correct value, but it is (way) beyond 
my LaTeX skills.


Paul



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


Re: Ellipsis [FIXED]

2020-11-10 Thread Paul A. Rubin

On 11/10/20 8:21 PM, Rich Shepard wrote:

On Tue, 10 Nov 2020, Paul A. Rubin wrote:


LyX translates an ellipsis (entered with Alt + . or via the Insert menu)
to \ldots. (Note the final s -- not sure if your "\ldot" was a typo or
whether you are not remembering the command correctly.) AFAIK, \ldots is
defined in the LaTeX kernel and does not require loading a package. The
same is true of \textellipsis.


Paul,

Interesting. Yes, \ldot was a typo as an ellipsis has three dots.

I didn't use the menu or Alt-.; I automatically open an ERT box (and 
still
strongly dislike that name) and type the command. But \textellipsis, 
\ldots,

and \ellipsis all produced the same compilation error, built-in or as a
loaded module.

Just now I killed the ERT box and used alt-. which displayed the ellipsis
and was accepted by pdflatex.

This leads to my suggestion that the next release of LyX accept the ERT
commands as well as the keyboard chord and the menu item. Some older 
foggies
like me are touch-typists and still enter LaTeX commands directly. 
Doesn't

seem to me that allowing these would take anything away.

Thanks for the solution,

Rich

Rich,

When I type \ldots or \textellipsis in an ERT box and compile with 
pdlatex, it works fine (without my adding anything to the preamble). So 
this is not a LyX issue. Have you offended any gremlins recently? 
Perhaps you could post a MWE that generates error messages.


Paul

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


Re: Ellipsis

2020-11-10 Thread Paul A. Rubin

On 11/10/20 5:06 PM, Rich Shepard wrote:

Here lyx-2.3.5.2-x86_64-1_SBo is running on Slackware-14.2/x86_64.

In the past I've used both \textellipsis and \ldot to typeset an ellipsis
but neither is installed with TeXLive-2020. However, ellipsis.sty is
installed and its use specified in the document's preamble. But, pdflatex
complains about an undefined text sequence and won't compile the 
document.


What have I missed here?

Rich
LyX translates an ellipsis (entered with Alt + . or via the Insert menu) 
to \ldots. (Note the final s -- not sure if your "\ldot" was a typo or 
whether you are not remembering the command correctly.) AFAIK, \ldots is 
defined in the LaTeX kernel and does not require loading a package. The 
same is true of \textellipsis.


Paul

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


Re: | >>

2020-11-09 Thread Paul A. Rubin

On 11/9/20 12:15 PM, Patrick Dupre wrote:

Hello,

How can I generate the following sequence with lyx?
$\left|A\right\rangle\rangle $

Thank.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire interdisciplinaire Carnot de Bourgogne
  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
  Tel: +33 (0)380395988
===

If you plan to use that sequence frequently, you can create a macro for 
it. Use Insert > Math > Macro to create the macro, giving it a short but 
memorable name. Then, inside any math formula in the document, just type 
\ followed by the macro name, and LyX will insert it.


If you will use it in multiple documents, you can create a child 
document containing just the macro definition, or you can bind the macro 
to a key combination (Tools > Preferences > Editing > Shortcuts), or you 
can create a module that defines the macro.


Paul

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


Re: LyX shortcuts

2020-11-03 Thread Paul A. Rubin

On 11/3/20 9:00 AM, Wolfgang Engelmann wrote:



Am 03.11.20 um 12:53 schrieb Daniel:

On 2020-11-02 08:52, Wolfgang Engelmann wrote:
I remember that in earlier LyX versions the shortcuts were indicated 
somewhere and I was thus reminded how to use them. How do I get this 
back? There is the LyX shortcut help file, I know. But it would help 
to have them faster visible.

Thanks, Wolfgang


Dear Wolfgang,

I am not sure to which "somewhere" you refer. In LyX, I see the 
shortcuts indicated on menu entries that have shortcuts and all 
shortcuts are listed under Preferences > Editing > Shortcuts.


Best, Daniel


Thanks, Daniel
under shortcuts I have
bindfile cua
show key bindings and everything else is empty.
The same, if I open various help files.

Could somebody send me an example, if he/she has shortcuts listed in it?
Wolfgang
In that same dialog, there is a table with headings 'Function' and 
'Shortcut'. The first column contains categories with buttons ('+') to 
expand the category. Are you saying that you expanded all the categories 
and there were no shortcuts at all? That would be an error, since the 
cua bindings should be listed there.


Paul

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


Re: Ligatures in the text

2020-10-22 Thread Paul A. Rubin

On 10/22/20 1:59 PM, Kornel Benko wrote:

Am Thu, 22 Oct 2020 19:47:41 +0200
schrieb Andreas Plihal :


Dear JMarc,
  
I was quite suprised too. I have enclosed this mail a MWE: I see there are no

ligatures, no matter if I use
• Adobe Acrobat Reader
• GIMP
• Firefox
• Edge
• Chrome
• ...
Cheers
Andreas
  
Gesendet: Donnerstag, 22. Oktober 2020 um 12:56 Uhr

Von: "Jean-Marc Lasgouttes" 
An: "Andreas Plihal" , lyx-users@lists.lyx.org
Betreff: Re: Ligatures in the text
Le 21/10/2020 à 17:54, Andreas Plihal a écrit :

Dear community,
I'm producing a KOMA-script-book with LyX (V 2.3.5.2, on Windows 10) and
want create ligatures. The LyX-documentation says:

Dear Andreas,

If you are talking about the basic ff, fi, etc. ligatures, I am
surprised that you do not get them automatically. If so, could you send
a short example file that shows the issue?

For more complicated font-related, as Rich said, it is necessary to use
some explicit LaTeX commands.

JMarc


/It is a typesetting practice to contract certain letters and print them
like one. /
/These combinations are called ligatures. Since LaTeX knows ligatures,
your documents written with LyX will have them too. /
My document has it not!
/Here are the possible ligatures ... But sometimes you don't want
ligatures in a word .../
And then it is explained the contrary: how to prevent ligatures in the text.
Please, could you help me in that case?
Cheers
Andreas

  


Setting the font to DejaVu (instead of Palatino) shows the ligatures.

Kornel

Same with changing to "default" font. Apparently there is a problem with 
the way ligatures look in Palatino.


https://tex.stackexchange.com/questions/94399/can-ligatures-be-enabled-for-palatino-and-pdflatex

Paul


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


Re: Reconfigure doesn't work

2020-10-22 Thread Paul A. Rubin

On 10/22/20 10:00 AM, Carlos Knauer wrote:

Hi
I have installed MiKTeX in my notebook and LyX. The command 
Reconfigure doesn't work.  Windows 7. May be it this problem  ?


Carlos Fernando Knauer



What error message do you get?

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


Re: Fw: Re: Problems with LyX - (color box)

2020-10-15 Thread Paul A. Rubin

On 10/15/20 1:03 PM, Andreas Plihal wrote:
The error message is just cosmetic. My main problem is that LyX dosn't 
do what I want:
I want to include boxes for mathematical examples in my book. To do 
this, I chose the so called 'colored boxes', divided them into an 
upper part (for the mathematical example) and a lower part (for its 
solution), was able to underlay both parts with different colors (for 
making it pretty), choose a pretty thin boxrule and finally managed to 
make the box breakable. I can even place the text for footnotes inside 
the box outside the box. Unfortunately, two strange things happen in 
this process:


 1. I put 2 footnotes in the box. Outside the box, however, both
footnote texts are quoted with the same No. 2. A footnote text
with No. 1 does not even exist.
 2. I made the entire text in the color box long enough, so there MUST
be arise a page break. This puts the first footnote on the first
page and the second on the second page of the box. Now the two
footnote texts should be shown on the corresponding pages. But
they won't, both are shown on the second page.

Greetings Andreas

Andreas,

I am copying this back to the user mailing list.

I do not know any way to force the footnotes onto a specific page, and a 
bit of googling suggests that is somewhere between very difficult and 
impossible. The numbering issue can be fixed (I think). I have attached 
a modified version of your document, in which I added three footnotes 
outside the color box both to confirm that numbering was sequential and 
to demonstrate that footnote placement is not fully controllable.


Other than the added footnotes, the relevant changes are as follows.

1. I added a new counter ("myfootmark") in the preamble.
2. Inside the color box, before any footmarks, I added some LaTeX code
   that sets the "myfootmark" counter equal to the current value of the
   normal footnote counter and then increments it. This will be the
   number assigned to your first footnotemark.
3. In your code for placing the footnotetext, I give the value of the
   "myfootmark" counter as an optional argument (which causes that to
   be the number printed) and also step the counter after each
   footnotetext except the last.

Assuming the document compiles the same on your system as on mine, you 
will see that the first footnote in the box still prints on the second 
page, but the second footnote in the box now prints on the next page. 
This is the result of my adding two footnotes before the box, which eat 
up just enough space to cause the second portion of the box to consume 
almost all of the second page. Remove one of the first two footnotes 
that I added, and there is room for your second in-box footnote to join 
the first one.


Cheers,

Paul




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


Re: How to insert ERT before first list item

2020-10-13 Thread Paul A. Rubin

On 10/13/20 1:46 PM, Sanford Shieh wrote:


Hi all,

I’m trying to implement resuming enumerate in Beamer following the 
solution 
https://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer. 
This requires the following:


\begin{enumerate}

    \conti

  \item zip

…

In LyX if I put \conti in ERT in the first item, the command appears 
after \item, and nothing happens.  One thing that worked is to make 
the first list item \conti in ERT together with a blank Custom Item.  
The actual LaTeX, seen in the Preview panel, is \item[] \conti


My question is: is this the only hack available?  Or is there some 
method in LyX of reproducing the LaTeX above analogous to inserting a 
Mini Template?


Thanks,

Sanford


Assuming you are creating either a Beamer presentation or a Beamer 
article, you can add the "Beamer Resumable Enumerate" module by Jürgen 
Spitmüller. It adds a list type called "Enumerate-Resume" that magically 
picks up numbering where the previous enumeration left off. (In the GUI, 
it will look as if the numbering started over with 1, but in the 
compiled document it will continue with the previous enumeration.)


For reasons that elude me, it is not shipped with LyX, but you can grab 
it from Jürgen's web site: 
http://www.spitzmueller.org/tools/lyx/beamer-resenumerate.module.


Paul

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


Re: Fw: Re: Problems with LyX

2020-10-12 Thread Paul A. Rubin

On 10/12/20 5:19 AM, Andreas Plihal wrote:

*Gesendet:* Samstag, 10. Oktober 2020 um 18:55 Uhr
*Von:* "Andreas Plihal" 
*An:* bariser...@hotmail.com
*Betreff:* Re: Problems with LyX
Dear Baris,
I send you a MWE called "Farbrahmen" (=color box): .lyx, .pdf, .log, .tex
After converting I get errors "undefined control sequence": .png

\ExplSyntaxOn

\ExplSyntaxOff

Greetings

Andreas


Like the others, I have no issues compiling Farbrahmen.lyx (using 
pdflatex), other than harmless warnings that I do not have the mathpazo 
font installed and that there is an unused global option ("usenames") 
being specified. Both are probably left over from the original document. 
There is also a warning against using the fancyhdr package in 
conjunction with a KOMA-Script class.


Is the error message shown from an attempt to compile this document or 
the original one? I ask because the error refers to an undefined LaTeX 
command (\ExplSyntaxOn) that does not appear in the .tex file that you 
attached (and that did not trigger problems when I compiled the document).


Paul

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


Re: Problems with LyX

2020-10-09 Thread Paul A. Rubin

On 10/9/20 1:02 PM, Andreas Plihal wrote:

Dear community,
a few days ago I wrote you my problem in german. Sorry for that. 
Instead of it I will try it with my (bad) english:


I have produced around 120 A4 pages with LyX, interspersed with much 
mathematical formulas. I choose the KOMA-script for books for it. The 
content is finished, now I'm fine-tuning the shape. In doing so, I 
carefully consult the manuals enclosed with the software:


  * Introduction
  * Tutorial
  * User Guide
  * Extensions
  * Adjustments
  * Embedded Objects
  * Special manuals
  * Etc.


I have already been able to solve a number of problems this way.

But now I am facing a tricky problem. And I don't know if the problem 
is with me, with LyX or with its documentation. In all honesty, I'm a 
little confused. I try to tell you the cause of my confusion.


I want to include boxes for mathematical examples in my book. To do 
this, I chose the so called 'colored boxes', divided them into an 
upper part (for the mathematical example) and a lower part (for its 
solution), was able to underlay both parts with different colors (for 
making it pretty), choose a pretty thin boxrule and finally managed to 
make the box breakable. I can even place the text for footnotes inside 
the box outside the box. Unfortunately, two strange things happen in 
this process:


 1. I put 2 footnotes in the box. Outside the box, however, both
footnote texts are quoted with the same No. 2. A footnote text
with No. 1 does not even exist.
 2. I made the entire text in the collor box long enough, so there
MUST be arise a page break. This puts the first footnote on the
first page and the second on the second page of the box. Now the
two footnote texts should be shown on the corresponding pages. But
they won't, both are shown on the second page.

So far so bad.

And now comes my real problem, which arises when I try to fix the 
problem above:


In the various manuals

  * Tutorial 5.2.4.2;
  * UserGuide 6.7.1, 6.10.2, B.18,
  * Additional 2.4.1, 2.4.2, 2.4.3, 2.5, 3.4, 3.5.2, 5.6.2, 6.2.3,
6.2.4.2, 6.2.5.4, 6.7.3, 6.7.5.1, 6.7.5.2, 6.9 .3, 6.11.3, 6.12.3,
6.12.4, 6.13.2, 6.16, 6.16.2, 6.18.4.3, 8.1.3.1;
  * EmbeddeObjects 2.5, 2.6.3, 2.6.3.2, 2.7.1, 2.8.2.2, 2.8.3, 2.8.4,
2.9, 2.11.1, 2.11.2, 2.11.3, 2.13, 2.14.1, 2.14.3 , 2.14.4,
2.14.5, 3.2.1, 3.3, 3.4.1, 3.4.2, 3.4.3, 3.5, 3.9, 3.10, 4.1,
4.2.1, 4.2.2, 4.3, 6.3, 8;
  * Customization 5.3.5, 5.3.7, 6.2.2


it is always advised to add into the preamble in some situations.

However, in the manual, for example 'Additional 2.4.2 - Change the 
preamble' is written:
/The commands LyX adds to the header of a LaTeX file are fixed; You 
cannot change them without changing LyX yourself. But you can add your 
own stuff to the preamble.
To do this, choose Document⇒Settings⇒LaTeX header. This opens an 
editing window in which you can write your preferred commands.


The editing behavior in this window is specific, so don't expect the 
LyX key combinations to work in it.
LyX adds everything in the LaTeX leader window to its built-in leader. 
Before you add your own declarations to the header, check to see if 
LyX doesn't already support this (remember what we said about 
reinventing the wheel?). Also: make sure your headers are correct. LyX 
doesn't check it. If the opening credits are incorrect, you will most 
likely get the error message Missing \ begin {document}. If you ever 
get them, check your opening credits!/
Nice. When I try to change the preamble, I regularly read the LaTeX 
preamble shown in LyX in its first line:


/% Do not change the preamble !!!/
Even if I ignore that, I can't add anything to the preamble - that 
seems to be technically impossible in LyX.


Now the manual UserGuide '3.1.2.4 - Local Format' says:
/Modules work with LyX like packages with LaTeX: They are meant to be 
used in different documents. If you often need the same thing in 
different documents, you should consider writing a module for it. 
Sometimes, however, you need a format for a particular document, but 
only in that one document. Something like a document-specific LaTeX 
preamble: LyX ’ so-called 'local format'. See the Local Layout section 
of the Customization Guide for information on how to use it./
When I try to find the various in the above Manuals to accommodate the 
changes proposed there in the 'local format', I regularly receive the 
message after validation:

/Format is invalid!/
Can you please help me?
Greetings
Andreas Plihal

Can you create (and post here) a minimal example showing the two 
problems (the missing footnote number 1 and the box spanning pages with 
both footnotes on the second page)? (The box contents do not matter, so 
long as the document demonstrates the problems.)


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


Re: A general layout/ layout-less lyx file

2020-09-27 Thread Paul A. Rubin

On 9/27/20 6:38 AM, email.i...@gmail.com wrote:

Hello,

I maintain a file with many macros which I use in all of my projects.
My projects usually differ in their layout (e.g., due to submitting to 
different journals) so I commonly get a warning of mismatch between 
the layout of the macros file and the layout of the project file.
Even after I silence the pop-up message I see a warning in the LyX log 
and it causes the compilation to run much slower.


Is there a way to define the macros file to be layout-less (since it 
is not a stand-alone file so I never compile it) or maybe define it to 
be of a user-defined layout that will be compatible with any article 
layout I will be using (of course, I guess I'll need to manually 
define and extend this list of compatible layouts).


Thanks,

Ilan


If the common file contains only macros, perhaps you could just change 
it to a module?


Paul

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


Re: Missing converters and pdftex.def error

2020-09-23 Thread Paul A. Rubin

On 9/23/20 10:25 AM, UD K wrote:


I should know how to do it by now, but SOMETIME (not always) I am 
still running into an error message:


No information about converting GIF files into JPG, or a similar error 
when I embed a graphics in a Lyx/Beamer file.  It comes with a:


pdftex.def error.

I do not see the required converters listed in the 
preferences/converters.


Sadly, because I am using MX Linux (don't ask me why), I am using 
Texlive 2018, which tlmgr refuses to update.   ImageMagick in 
installed and working, but obviously something else is broken.


Any hints?

Thanks,

--
Ehud Kaplan

LyX on my system (Mint) does not have a converter defined for GIFs, 
maybe because the GIF format is so 20th century? :-)  At any rate, I'm 
pretty sure ImageMagick can convert GIF to JPG or PNG or maybe EPS. I 
suggest try to convert one of the files using ImageMagick, and if it 
works, just define a GIF converter using ImageMagick in LyX.


Paul

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


Re: Problem saving a file [DROPBOX]

2020-09-21 Thread Paul A. Rubin

On 9/21/20 5:39 PM, jcredbe...@gmail.com wrote:

Paul, did you see the exclamation signs in the backup folder?
Julio Rojas
jcredbe...@gmail.com <mailto:jcredbe...@gmail.com>


Yes. I assume that this is either LyX or Dropbox naming the backup file 
with the full original path (substituting exclamation points for 
slashes). It seems to me I've seen other programs do something similar 
on Linux using underscores as substitutes for path dividers (slashes). 
I've never had either LyX or Dropbox do that to one of my files, but 
it's been a long time since I used LyX (or anything else) on Windows.


On Mon, Sep 21, 2020 at 6:16 PM Paul A. Rubin <mailto:parubi...@gmail.com>> wrote:


On 9/21/20 3:38 PM, jcredbe...@gmail.com
<mailto:jcredbe...@gmail.com> wrote:

Jürgen,

I did just that and backup folder is rendered in the window:
image.png
Now, after clicking OK, Dropbox pops up a warning telling me the
file is going to be moved from the original folder. Moving back
to no backup folder defined... Scary!

Regards,
Julio Rojas
jcredbe...@gmail.com <mailto:jcredbe...@gmail.com>


This message seems to be generated by LyX, and I suspect it occurs
either because
C:/Users/jcredberry/Dropbox/Sulan/Papers/DCHT/DCHT_2020_v3.lyx is
locked or write protected or because somehow the directory is
temporarily unavailable.

A little Googling turned up at least one report of Dropbox
blocking access to files on a Win 10 PC that may or may not have
been caused by a Win 10 update (in February). If you bump into
this problem again, you might check the Dropbox icon in the system
tray and see if it indicates that Dropbox is syncing. If so, that
might be interfering with LyX writing the modified file.

Paul

-- 
lyx-users mailing list

lyx-users@lists.lyx.org <mailto: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: Problem saving a file [DROPBOX]

2020-09-21 Thread Paul A. Rubin

On 9/21/20 3:38 PM, jcredbe...@gmail.com wrote:

Jürgen,

I did just that and backup folder is rendered in the window:
image.png
Now, after clicking OK, Dropbox pops up a warning telling me the file 
is going to be moved from the original folder. Moving back to no 
backup folder defined... Scary!


Regards,
Julio Rojas
jcredbe...@gmail.com 

This message seems to be generated by LyX, and I suspect it occurs 
either because 
C:/Users/jcredberry/Dropbox/Sulan/Papers/DCHT/DCHT_2020_v3.lyx is locked 
or write protected or because somehow the directory is temporarily 
unavailable.


A little Googling turned up at least one report of Dropbox blocking 
access to files on a Win 10 PC that may or may not have been caused by a 
Win 10 update (in February). If you bump into this problem again, you 
might check the Dropbox icon in the system tray and see if it indicates 
that Dropbox is syncing. If so, that might be interfering with LyX 
writing the modified file.


Paul

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


Re: Problem saving a file [DROPBOX]

2020-09-20 Thread Paul A. Rubin

On 9/20/20 1:43 PM, Richard Kimberly Heck wrote:

On 9/20/20 12:46 PM, jcredbe...@gmail.com wrote:
BTW, on my Mac I have Lyx v. 2.3.1-1. My coauthor has 2.3.0!!! 
Curious, isn´t it? A regression?


Again, it's just a guess, but I think this might have been a 'stale' 
lockfile. It got left behind at some point so Dropbox is confused. 
That's why the file seems like a 'normal' file somehow and you're 
being asked if you want to delete it.


Riki


I agree with Riki. Also, I suspect this is a LyX on Windows (or LyX on 
Dropbox on Windows) thing. I use Linux Mint on my devices, and I can 
have the same file open (in a Dropbox folder) on two devices, make 
changes on both devices, and never get a lock file. On the other hand, I 
do some work with a coauthor who uses LyX on Windows. In one of our 
shared Dropbox folders, I see a #TbPapers.lyx# file with a 2018 
modification date. It's a file she created and maintained -- I don't 
think I ever touched it -- so my guess is LyX created it during some 
edit and never removed it. As best I can recall, I've only seen the 
#...# stuff with LyX files.


As lock files go, they're a bit odd. Normally a lock file has zero bytes 
(or maybe one or two). Its job is just to exist, signaling the real file 
is in use. In the case of #TbPapers.lyx#, it's almost as large as the 
actual TbPapers.lyx file. There's also a TbPapers.lyx~ file, and all 
have the same file date. So the ~ file is the normal backup LyX creates 
when a save is done.


I don't work with anyone using LyX on a Mac, so I have no idea if it 
participates in this madness. :-)


Paul

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


Re: Problem saving a file [DROPBOX]

2020-09-20 Thread Paul A. Rubin

On 9/20/20 12:27 PM, Richard Kimberly Heck wrote:


The file #DCHT_2020_v5.lyx# looks like some kind of lockfile or 
tracking file that Dropbox writes (maybe hidden), though that's only a 
guess. Hence, moving the file would remove that thing. It's possible 
that saving it didn't work because Dropbox thinks it's open on another 
machine.


Riki


On 9/20/20 12:03 PM, jcredbe...@gmail.com wrote:
I have three computers, each with a different OS (Linux, Windows and 
MacOS), and have only seen this problem in Windows and in this file. 
I created a folder within the folder of the original file, created a 
copy, modified it, resave it and the error again appears. I am going 
to switch to my MacOS computer to see if the error appears.


Julio Rojas
jcredbe...@gmail.com 


I can confirm that the #...# file is a lock placed by Dropbox to avoid 
collisions. That said, I've never gotten a message from Dropbox telling 
me it was deleting the lock file.


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


Re: bibliographic software (linux only)

2020-09-11 Thread Paul A. Rubin

On 9/11/20 12:26 PM, Rich Shepard wrote:
I've used JabRef for years but 5.x frustrates me to no end. They've 
lost the
emacs keyboard chords that were present from 1.x through 4.x so to 
edit an

abstract, for example, I need to use the arrow and Del keys. And, they've
changed the UI so some data entry tabs have their widgets on the left 
half

of the application window and the entry preview on the right halt. But,
accessing the right-hand column of the data entry widgets must be done 
blind
because that half window cannot be expanded to the right. Serious 
PITA. Yes,

I've filed bug issues on both but nothing's been fixed. I've tried using
KDE's bibliography tool but that was equally frustrating. And Zotero 
doesn't

use bibtex.

Since I'm not a full-time researcher I don't need to share the 
bibiography
with collaborators and I will not store it somewhere in the cloud; my 
data,
my network. I also don't particularly care for a GUI; text-based works 
for

me since that's how I do most of my work (except when using LyX).

I've about 1,200 books and PDFs in the bibtex database and other than
entering new documents I want to search primarily by keywords, 
secondarily

by authors.

Does anyone know of a CLI bibliographic tool? Or a basic one with a 
GUI that

Just Works(TM)?

TIA,

Rich
I haven't used it (I'm sticking with JabRef), but Mendeley 
 has a 
GUI that seems reasonable to me, can export .bib files, and has an 
interesting "sync" feature that will update exported .bib files without 
having to save a new one. (You still have to click a button to sync 
changes, so I'm not sure this is a huge improvement over just exporting 
a new copy.) I've also seen indications on the Mendeley site that there 
is some sort of drag-and-drop interface where you can just feed it a PDF 
file and have it suss out the basic citation poop. U. of Melbourne has a 
page with information 
 on how to use 
it with LaTeX.


Paul

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


Re: Beamer error on Lyx 2.3.5.2

2020-08-24 Thread Paul A. Rubin

On 8/24/20 3:20 PM, jcredbe...@gmail.com wrote:
Done. Changed encoding to UTF-8, saved the file, closed it, opened it 
up again, set encoding to Language Default, save it, compiled it, the 
error appears.


As Paul suggested, I will try to make a diff of the original file (it 
is in my backups) and see if there is something weird hanging around. 
Nevertheless, it is a headache just to think that this might happen in 
a moment of need.


Regards,
Julio Rojas
jcredbe...@gmail.com 


On Mon, Aug 24, 2020 at 11:40 AM Rich Shepard 
mailto:rshep...@appl-ecosys.com>> wrote:


On Mon, 24 Aug 2020, jcredbe...@gmail.com
 wrote:

> When I manually changed the encoding to UTF-8, it worked flawlessly.

Julio,

Rather than futzing seeking the source consider this: change
encoding to
UTF-8. Open on you Mac. Save it. Open it again and check the
encoding and
whether this resolved the issue.

Regards,

Rich
-- 
lyx-users mailing list

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


Well, if you view things from the gremlin's point of view, there is no 
point in doing it /unless/ it is a moment of need. (I think this might 
be one of Murphy's Laws.) :-)
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Beamer error on Lyx 2.3.5.2

2020-08-24 Thread Paul A. Rubin

On 8/24/20 11:14 AM, jcredbe...@gmail.com wrote:
Yes Paul, it is. This is the same set of slides I use every year. No 
changes except for homework. I have opened the file in my Mac with Lyx 
2.3.1-1 after saving it in Windows, and at compiling time the same 
error appears:


! Package inputenc Error: Keyboard character used is undefined

(inputenc) in inputencoding `latin9'.

Again, this is a document that I have used for at least a couple of 
years in its current state. Only minor changes have been made. When I 
manually changed the encoding to UTF-8, it worked flawlessly. I tried 
opening other Beamer files that I have not opened in Windows and they 
even work without changing the encoding.


I think something bad happened while working on my file in Windows 
that has permanently damaged it. I hope this is not something that can 
break down the workflow for the ones who work in different OS´s.


Regards,

Julio Rojas
jcredbe...@gmail.com <mailto:jcredbe...@gmail.com>


On Mon, Aug 24, 2020 at 10:04 AM Paul A. Rubin <mailto:parubi...@gmail.com>> wrote:


On 8/23/20 7:27 PM, jcredbe...@gmail.com
<mailto:jcredbe...@gmail.com> wrote:

Dear all,

Trying to open a Beamer presentation that I used for my lectures
every year. After some adjustment for this year's lectures, the
following error appears when compiling the document:

! Package inputenc Error: Keyboard character used is undefined

(inputenc) in inputencoding `latin9'.

This is a document that I usually work with on Ubuntu Linux, but
that in this case, I opened in Windows 10.

I changed default coding to UTF-8 instead of inputenc and another
error appears. In this case, the small logo in the right corner
is not recognized and as the filename is "uct_logo.png", at
compilation time it says the file is not found and then a box
with "uct_logo" appears, with the "l" in "logo" as a subscript.

Is this problem a Windows or a Lyx related one? BTW, I am using
TeXLive 2019 on this windows computer.

Regards,

Julio Rojas
jcredbe...@gmail.com <mailto:jcredbe...@gmail.com>


Is the logo PNG file in the same directory as the LyX file? If
not, have you tried specifying the path to it?

Paul

-- 
lyx-users mailing list

lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-users

If by any chance you kept the original Mac version (did not overwrite it 
with the version saved on Windows), you could diff the two LyX files to 
find the offending character.


Other than having a different idea about what an end-of-line character 
should be, I don't recall Windows mucking up characters on its own. If 
you paste in something copied from, say, a PDF (where there are 
ligatures) or maybe type something like an accented letter while 
editing, maybe that could be the source of the problem?


Paul

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


Re: Beamer error on Lyx 2.3.5.2

2020-08-24 Thread Paul A. Rubin

On 8/23/20 7:27 PM, jcredbe...@gmail.com wrote:

Dear all,

Trying to open a Beamer presentation that I used for my lectures every 
year. After some adjustment for this year's lectures, the following 
error appears when compiling the document:


! Package inputenc Error: Keyboard character used is undefined

(inputenc) in inputencoding `latin9'.

This is a document that I usually work with on Ubuntu Linux, but that 
in this case, I opened in Windows 10.


I changed default coding to UTF-8 instead of inputenc and another 
error appears. In this case, the small logo in the right corner is not 
recognized and as the filename is "uct_logo.png", at compilation time 
it says the file is not found and then a box with "uct_logo" appears, 
with the "l" in "logo" as a subscript.


Is this problem a Windows or a Lyx related one? BTW, I am using 
TeXLive 2019 on this windows computer.


Regards,

Julio Rojas
jcredbe...@gmail.com 

Is the logo PNG file in the same directory as the LyX file? If not, have 
you tried specifying the path to it?


Paul

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


Re: no modules availables

2020-08-14 Thread Paul A. Rubin

On 8/14/20 11:28 AM, Jose Ramom Flores das Seixas wrote:


Hi:

I take a long time without using /LyX/, but my package manager has 
been updating lyx when new versions come out. Nowadays, I have 
installed version 2.3.5.2 (OS: Ubuntu 18.04).


Today I tried to edit a file, with lyxformat 544, but /LyX/ tells me a 
module is missing. Looking at the module dialogue I found that no 
module is available.


I've checked that the standard module files are in 
/usr/share/lyx/layouts, and besides them I have some other modules in 
~/.lyx/layouts.


When I run /LyX/ from a terminal I can notice the following error:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 
395: invalid start byte support/Systemcall.cpp (276): Systemcall: 
'python -tt "/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"' 
finished with exit code 1


LyX: Done!

Finally, when executing *Reconfigure*, an error dialog appears with 
the following message:


The system reconfiguration has failed.

Default textclass is used but LyX may

not be able to work properly.

Please reconfigure again if needed.

I've run *Reconfigure* several times, but the modules still don't 
appear.Any leads on what's not going well?


Cheers

Ramom


It would be nice to know if the alleged non-UTF8 character is in 
configure.py or in some file it is trying to read.


I've attached configure.py from my system (Linux Mint 19.3). You might 
start by comparing it to the one on your system (in /usr/share/lyx) 
using diff, meld or whatever tool you prefer. If there is a discrepancy, 
try reconfiguring using my copy.


If there's no difference in the script files, I would suggest trying to 
run the configuration script directly in a terminal (python -tt 
"/usr/share/lyx/configure.py" --binary-dir="/usr/bin/"). If you get the 
same error message, check ~/.lyx/configure.log to see if you can figure 
out where the error occurred, and maybe post the log here.


Paul

#! /usr/bin/python2
# -*- coding: utf-8 -*-
#
# file configure.py
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# \author Bo Peng
# Full author contact details are available in file CREDITS.

from __future__ import print_function
import glob, logging, os, re, shutil, subprocess, sys, stat

if sys.version_info[0] < 3:
import codecs
open = codecs.open


# set up logging
logging.basicConfig(level = logging.DEBUG,
format = '%(levelname)s: %(message)s', # ignore application name
filename = 'configure.log',
filemode = 'w')
#
# Add a handler to log to console
console = logging.StreamHandler()
console.setLevel(logging.INFO) # the console only print out general information
formatter = logging.Formatter('%(message)s') # only print out the message itself
console.setFormatter(formatter)
logger = logging.getLogger('LyX')
logger.addHandler(console)

def quoteIfSpace(name):
" utility function: quote name if it contains spaces "
if ' ' in name:
return '"' + name + '"'
else:
return name

def writeToFile(filename, lines, append = False):
" utility function: write or append lines to filename "
if append:
file = open(filename, 'a')
else:
file = open(filename, 'w')
file.write(lines)
file.close()


def addToRC(lines):
''' utility function: shortcut for appending lines to outfile
add newline at the end of lines.
'''
if lines.strip():
writeToFile(outfile, lines + '\n', append = True)
logger.debug('Add to RC:\n' + lines + '\n\n')


def removeFiles(filenames):
'''utility function: 'rm -f'
ignore errors when file does not exist, or is a directory.
'''
for file in filenames:
try:
os.remove(file)
logger.debug('Removing file %s' % file)
except:
logger.debug('Failed to remove file %s' % file)
pass


def cmdOutput(cmd, asynchronous = False):
'''utility function: run a command and get its output as a string
cmd: command to run
asynchronous: if False, return whole output as a string, otherwise
   return the stdout handle from which the output can be
   read (the caller is then responsible for closing it)
'''
if os.name == 'nt':
b = False
if sys.version_info[0] < 3:
cmd = 'cmd /d /c pushd ' + shortPath(os.getcwdu()) + '&' + cmd
else:
cmd = 'cmd /d /c pushd ' + shortPath(os.getcwd()) + '&' + cmd
else:
b = True
pipe = subprocess.Popen(cmd, shell=b, close_fds=b, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, universal_newlines=True)
pipe.stdin.close()
if asynchronous:
return pipe.stdout
output = pipe.stdout.read()
pipe.stdout.close()
return output.strip()


def shortPath(path):
''' On Windows, return the short version of "path" if possible '''
if os.name == 'nt':
from ctypes import 

Re: LyX 2.3.5.2 Relesed

2020-08-02 Thread Paul A. Rubin

On 8/2/20 1:31 AM, Liviu Andronic wrote:

On 6/30/20, Richard Kimberly Heck  wrote:

Public release of LyX version 2.3.5.2
=


I've uploaded Ubuntu packages to the PPA:
https://launchpad.net/~lyx-devel/+archive/ubuntu/release

The packages are now built with Qt5, so please report back if you
encounter any issues.

Regards,
Liviu




This is an emergency release to fix bug number 11889, which reverses
quoation
marks in some cases when hyperref is enabled.

You can download LyX 2.3.5.2 from http://www.lyx.org/Download/.

The original announcement follows.

=

We are proud to announce the release of LyX 2.3.5. This is the fifth
maintenance release in the 2.3.x series. We encourage all users to
upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

LyX 2.3.5 is the result of on-going efforts to make our stable version more
reliable and more stable. Most of the changes are incremental, but quite a
few important bugs have now been fixed.

One important change is that Inkscape 1.0 is now supported: It will be
detected
and configured automatically. Users of previous versions have recently
reported
configuration failures when Inkscape 1.0 is installed, leading to an
incomplete
(and all but unusable) installation of LyX. This should also be fixed.

If you think you have found a bug in LyX 2.3.5, please open a bug report at
http://www.lyx.org/trac/wiki/BugTrackerHome. If you're not sure whether it
really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel
 lists.lyx.org) and ask.

If you have trouble using LyX or have a question, consult the documentation
that comes with LyX (under the Help or Apple menu) and the LyX wiki, which
is at http://wiki.lyx.org/. If you can't find the answer there, e-mail the
LyX users' list (lyx-users  lists.lyx.org), where you will find an
active community of people who are ready to help.

We hope you enjoy using LyX 2.3.5.

The LyX team.
http://www.lyx.org


What's new
==

** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Add layout file for revtex 4.2.


* USER INTERFACE

- Keep citation style when all selected citations are deleted (bug 11748).

- Add shortcut for Insert > Separated  Above.


* DOCUMENTATION AND LOCALIZATION

- Updated Brazilian Portuguese, Dutsch, German, Interlingua, Italian,
Russian
   and Slovak user interface localization.


* BUILD/INSTALLATION

- Provide the option to code sign the LyX application on Mac.



** Bug fixes:
*

* DOCUMENT INPUT/OUTPUT

- Fix crash with non-encodable glyph in nomcenlature inset (bug 11584).

- Fix crash with non-encodable glyph in class options (bug 11865).

- Support for Inkscape 1.0 (new command line syntax) (bug 11742).

- Fix problems with non-ASCII characters in file path with recent LaTeX
   (bug 11146).

- Fix problems with recent LaTeX when \input@path contains tilde and space
   (bug 11699).

- Fix output with class-provided geometry package (bug 11724).

- Fix erroneous space in output caused by changebar module (bug 11473).

- Correctly strike out deleted text after deleted display math (bug 11716).

- Fix loading of amsmath in beamer article classes (bug 11768).

- Prevent polyglossia options from being output to PDF TOC (bug 11813).

- Use real typographic quotation marks in PDF TOC (with pdflatex).

- Fix problems with apostrophe in path on Windows (bug 9368).

- Don't open a new instance just because no files are given (bug 11635).

- Fix tablefootnote loading order (bug 11841).

- Fix reloading of changed include inset (bug 11842).

- Don't output \maketitle twice with branches (bug 11787).

- Output \PassOptionsToPackage before any package is loaded (bug 11862).


* USER INTERFACE

- Avoid crash in some cases where a dialog is shown during operation
   (bug 11763).

- Fix crash with nested insets when spaces are removed automatically
(bug 11777).

- Fix a crash reported on lyx users.
   There was an uninitialized buffer member of MathData in LFUN dispatch.

- Fix backspace deletion of selected items with change tracking (bug 11630).

- Fix display glitch where the change tracking cue blinks with the cursor
   (bug 11684).

- Consider shorthand in biblatex cite display (bug 11696).

- Properly resize columns of child document table widget.

- Fix problem with validation of InsetLayout.

- Fix over-hasty resetting of dialog in Child Documents settings (bug
11564).

- Fix problems when pasting ZERO WIDTH NON-JOINER (bug 11790).

- Remove newlines from LFUNs entered in the shortcut dialog.

- Add copy, paste, etc, to math context menu (but 11799).

- Avoid bleeding of inset background outside of inset (bug 11786).

- Disallow adding columns with gathered environment as this is not
   supported (bug 11812).

- Preserve paragraph spacing when breaking a paragraph at the 

Re: Just an \fbox please

2020-08-01 Thread Paul A. Rubin

On 8/1/20 8:38 PM, Neal Becker wrote:
I want some text in a box.  Using ERT, I can write \fbox{my text} and 
I get the result I wanted, a box just around my text.  But if I choose 
insert/box, I don't see  an option for betting a box with a frame that 
is just the size of my text, only options to manually choose a size.


Thanks,
Neal

--
/Those who don't understand recursion are doomed to repeat it/

If you insert a framed box, then go to the settings, change the inner 
box from minipage to none, and uncheck the width setting, I believe you 
will get an fbox.


Paul

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


Re: pdflatex not finding bibliography format

2020-07-27 Thread Paul A. Rubin

On 7/27/20 12:16 PM, Rich Shepard wrote:
I'm converting a publication with references and a bibliography to a 
slide
presentation. In the Settings the document class is KOMA-Script 
article and

I leave the bibliography choices at their defaults. I've removed the
bibliography from the end of the document.

Yet, when I compile it lyx complains it cannot find the bibliography 
style.

Usually, a second recompilation succeeds.

I must be missing something bibliographic that I need to delete and 
I'm not

seeing what that is.

Please pass me a clue at what I should check.

Stay well, all,

Rich

Just to be clear, you removed not just the bibliography but also all the 
citations?


Paul

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


Re: Can't upgrade LyX on Focal Fossa

2020-07-22 Thread Paul A. Rubin

On 7/22/20 1:27 PM, Liviu Andronic wrote:

On 7/22/20, Kees Zeelenberg  wrote:

Thanks for compiling. Synaptic (on Linux Mint 20) aborts installing
LyX from the PPA with the messages:
Vereisten: libqtcore4 (>=4:4.8.0) but it is not installable
Vereisten: libqtgui4 (>=4:4.8.0) but it is not installable
Vereisten: libqt4-svg  but it is not installable

It seems Qt4 is no longer supplied on Focal.


Yes, for Ubuntu Focal, Qt4 was removed from the Ubuntu repositories.
To install LyX, you will also need to add the ppa:rock-core/qt4 PPA to
your sources (https://launchpad.net/~rock-core/+archive/ubuntu/qt4).


I've now added a note on this on the PPA.

Regards,
Liviu
I just confirmed that, with the rock-core PPA added, LyX 2.3.5-1 now 
installs and runs on Mint 20 (and so presumably on Ubuntu Focal Fossa).


Thanks, Liviu!

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


Re: Double quote marks...........

2020-07-22 Thread Paul A. Rubin

On 7/22/20 4:10 AM, Charlie wrote:

Paul A. Rubin informed me regarding: Re: Double quote
marks... on Tue, 21 Jul 2020 23:08:22 -0400


On 7/21/20 9:13 PM, Charlie wrote:

Thoughts from my Keyboard:

Hello Everyone,

Using LyX Version 2.3.5.2 Debian Bullseye [testing] upgraded.

In a document attempted to use double quote marks " by Shift + "
keys, and only single quote marks ' were placed.

Read something on the net regarding Ctrl + " which didn't work.

So tried Ctrl + Shift " which did. I haven't come across this before
and wondered if it is my keyboard or is this what LyX does now? If
the latter, where can I read about such changes in the future?

Thank you,
Charlie

East Gippsland Wildlife Rehabilitators Inc..
http://www.egwildlife.com.au/

  

If you navigate to Tools > Preferences... > Editing > Shortcuts and
look up the "quote-insert" function, what does it show? For me, it
shows the double quote symbol ("). If you have something else, try
replacing it with the double quote character.

Paul



Replied thus:

Thank you Paul,

Under:

"Cursor, mouse and editing functions" I find:

quote-insert  "
quote-insert inner  Alt+"
quote-insert outer auto plain Ctrl+"

Lyx certainly doesn't obey these.

Don't know how to modify the latter one to just have ["] as the first.

I may have to delete the key to make that work, but am unsure if it
hits the fan that I can get it back, or if it will obey that shortcut
as it doesn't the first one?

Thank you for pointing me to this. Have never had cause to look there.

Be well,
Charlie


East Gippsland Wildlife Rehabilitators Inc..
http://www.egwildlife.com.au/


Charlie,

This is certainly curious. What you found matches what I have (on Mint, 
with LyX 2.3.5.1). I assume that Shift+" works for you as expected in 
other applications.


It's a bit of a long-shot, but if you return to the Shortcuts section of 
the preferences dialog and type " in the search box ("Show key-bindings 
containing:"), you should see all bindings that involve the quote key. 
Is it by any chance bound to something else besides quote-insert? I'm 
not sure this is possible in LyX, but then again I'm not sure your 
symptoms are possible. :-)


Paul

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


Re: Double quote marks...........

2020-07-21 Thread Paul A. Rubin

On 7/21/20 9:13 PM, Charlie wrote:

Thoughts from my Keyboard:

Hello Everyone,

Using LyX Version 2.3.5.2 Debian Bullseye [testing] upgraded.

In a document attempted to use double quote marks " by Shift + " keys,
and only single quote marks ' were placed.

Read something on the net regarding Ctrl + " which didn't work.

So tried Ctrl + Shift " which did. I haven't come across this before
and wondered if it is my keyboard or is this what LyX does now? If the
latter, where can I read about such changes in the future?

Thank you,
Charlie

East Gippsland Wildlife Rehabilitators Inc..
http://www.egwildlife.com.au/


If you navigate to Tools > Preferences... > Editing > Shortcuts and look 
up the "quote-insert" function, what does it show? For me, it shows the 
double quote symbol ("). If you have something else, try replacing it 
with the double quote character.


Paul

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


Re: How to break long equations with LyX

2020-07-15 Thread Paul A. Rubin

On 7/15/20 4:57 AM, list_em...@icloud.com wrote:


The breqn package seems like a noble if not perfect effort. Someone 
put a lot of work into it and then died so it seems to be not actively 
developed at this time. There is extensive documentation on it but 
basic use is possible. I’ve had luck with it before, once I figure out 
how to put the bits of ERT before and after the equation to get it set 
up. Not sure what tripped it up this time. I wonder if it would be 
worthwhile to put an example on the wiki.
It couldn't hurt, particularly if the example showed how to break within 
a parenthesized / bracketed expression.


Paul

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


Re: no accents with dead keys

2020-07-12 Thread Paul A. Rubin

On 7/12/20 4:02 PM, jorge hernando wrote:

Hallo
  I have one PC with english keyboard (US international with dead 
keys) and another one with spanish keyboard (Castilian Spanish with 
dead keys) both with fedora 32 (since a couple of days) and lyx 
2.3.5.2. In both PC have the same problem: the accents work perfectly 
(e.g. á is " 'a ") when in a terminal, opening nedit, ooffice, etc. 
but in lyx not only it doesn't work, the dead key is really dead: if I 
type ' in lyx it doesn't type anything but, there is at least one 
exception, when saving a file, I can type a name with accents (?)


  A couple of days ago, I updated the PCs which both were with fedora 
29 and lyx 2.3.3 and  worked correctly. I tried downgrading lyx to 
2.3.4 to no avail. I wanted to install the lyx 2.3.3 of fedora 29 but 
couldn't. I tried, according to the customization manual, to add the 
following line to the file .lyx/lyxrc.default

  accent-circumflex  "S-^"
  to no avail. I created the file .lyx/lyxrc with the same line and 
with the same result. I looked at some .kmap files in 
/usr/share/lyx/kbd, specifically at the francais.kmap, espanol.kmap 
and the european.kmap and all of them have the acents defined. Then I 
went to Tools -> Editing -> Keyboard/Mouse and included them in turn 
with no change at all. I looked at /usr/share/lyx/bind and was 
completely lost; I didn't understand a thing. Searching with google I 
found some references but also didn't understand them. In the mailing 
list it is mentioned (in 2019) that there is a workaround related with 
Qt: to include in .xsessionrc the line

  export QT_IM_MODULE=xim
  I created the file with that line but didn't work

  As now I'm writing in french, which needs all the dead keys 
combinations, I exclude the use of latex writing style.


  As conclusion: am I doing anything wrong? The other possibilities I 
see are: either I'm a lucky guy and I found a bug in lyx or the fedora 
32 implementation went askew. Any suggestions?


  Jorge Hernando

I'm not familiar with Fedora, but on Mint (and this presumably also 
works on Ubuntu) I went into the system keyboard preferences (not LyX 
preferences) and set the "compose" key (in my case to the right Alt 
key). So in any text application, the combination Alt+' a and the 
combination Alt+a ' both produce á (with Alt being the right Alt key). 
This also works in LyX.


Paul

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


Re: Can't upgrade LyX on Focal Fossa

2020-07-12 Thread Paul A. Rubin

On 7/12/20 5:08 AM, Kees Zeelenberg wrote:

Op 12-07-2020 om 00:06 schreef Paul A. Rubin:

...

Is anybody else having problems upgrading to 2.3.5.1 for Focal via 
the PPA?


In the right-hand corner of the ppa-page 
(https://launchpad.net/~lyx-devel/+archive/ubuntu/release) you see 
that the amd64 version, which you probably want to install, failed to 
build. So there is no update, and Synaptic etc correctly see this.
Thanks Kees. I initially thought that message was out of date, since I 
knew it had built for bionic (based on having installed it on Mint 19). 
After seeing your message, I clicked the information button in the upper 
right (I guess there really is a first time for everything) and got the 
expanded grid, which shows that it failed for Focal (only).


Paul

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


Can't upgrade LyX on Focal Fossa

2020-07-11 Thread Paul A. Rubin

Hi all,

I just updated my laptop from Linux Mint 19.3 (based on Ubuntu Bionic 
Beaver) to 20.0 (based on Ubuntu Focal Fossa). During the update, LyX 
2.3.4.2 (the current version from the Canonical repo) was installed. I 
added Liv's PPA (with no error messages) and updated the cache, but Mint 
still thinks 2.3.4.2 is the most recent version. The PPA info looks 
correct to me ("http://ppa.launchpad.net/lyx-devel/release/ubuntu focal 
main"), so the only thing I can think of is a configuration glitch in 
the PPA. I noticed that the Focal version there ends with "~ppa2" rather 
than "~ppa1", but that's not unique to Focal so I doubt it's the problem.


Is anybody else having problems upgrading to 2.3.5.1 for Focal via the PPA?

Paul

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


Re: Lyx 2.3.5.1 and 2.3.5.2 won't open old files on Mac [Solved]

2020-07-06 Thread Paul A. Rubin

On 7/6/20 5:10 PM, Kornel Benko wrote:

Am Mon, 6 Jul 2020 14:45:36 -0400
schrieb "Paul A. Rubin" :


On 7/6/20 12:45 PM, Kornel Benko wrote:

Am Mon, 6 Jul 2020 11:58:03 -0400
schrieb "Paul A. Rubin" :
  

On 7/6/20 11:37 AM, Richard Kimberly Heck wrote:

On 7/6/20 4:28 AM, Niklas Huldén wrote:

Den 01-07-2020 kl. 17:53, skrev Richard Kimberly Heck:

On 7/1/20 6:59 AM, Niklas Huldén wrote:

Hello!

I installed LyX 2.3.5 in June on my MacBook Air 13 (Catalina) and
noticed that I could not open files from the "Recent files" list in
the File menu. The program opened an empty document with the name of
the recent file. I could open old documents using the "Open.." choise
from the menu.

When I installed version 2.3.5.1 I hoped this behaiviour would have
been corrected, but now I could't even use the "Open..." choise. It
allways opens up an empty file with the name om the file that should
have opened. Same with version 2.3.5.2 that I installed today. For
some reason I can open the default Splash.lyx that sits on the "Recent
files"

I have backupped my Preferenses file and started up an default version
of LyX but the same behaviour continues. What could be the reason for
this? Have anyone had similar problems?

If you can open LyX from a terminal, with argument "-dbg files", you
might get more information. You can also  do this by opening the
messages pane (View> Messages Pane) and activating "files" debug
messages. (Go to Settings on the pane, click "Selected" then choose
"files").

I would guess there is something wrong with the path that LyX is
getting.

Riki

 

Ok, thanks! I did that but the log shows nothing unusual. But the
problem seems related only to files that reside in Dropbox folders.
Lyx opens the files directly but does not download the contents from
the Dropbox cloud. If i open a folder in the Dropbox app and
doubleclick on a LyX-file it opens correctly in LyX. It used to work
without hazzle from the LyX-menus before. Maybe it is a Dropbox problem.

It sounds like it. I assume there must be some notification to the
Dropbox app that a file has been accessed. LyX wouldn't provide that,
but the OS, or possibly Qt in this case, might.

Riki


 

It may be specific to the Mac OS. I just uploaded (via web browser) a
.lyx file to a shared Dropbox folder owned by a coauthor, then opened it
in LyX via the file menu with no problems. This was on Linux Mint.

Paul
  

What is the setting of \use_native_filedialog (possibly in preferences? : it 
defaults
to 'true' if not set)

Kornel
  

False in my case (LyX 2.3.5-1 from Liv' PPA, on Linux Mint).

Paul


In that case, I'd try to set it to true and repeat the dropbox test.
(You have to edit the preferences, because there does not exist a dialog yet)

Kornel

On Mint, it seems to make no difference; the same file in Dropbox opens 
fine. For what it's worth, the setting is in the spellchecker section of 
the preferences file, which seems a bit odd but harmless.


The key question is whether it makes a difference on OSX.

Paul

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


Re: Lyx 2.3.5.1 and 2.3.5.2 won't open old files on Mac [Solved]

2020-07-06 Thread Paul A. Rubin

On 7/6/20 12:45 PM, Kornel Benko wrote:

Am Mon, 6 Jul 2020 11:58:03 -0400
schrieb "Paul A. Rubin" :


On 7/6/20 11:37 AM, Richard Kimberly Heck wrote:

On 7/6/20 4:28 AM, Niklas Huldén wrote:

Den 01-07-2020 kl. 17:53, skrev Richard Kimberly Heck:

On 7/1/20 6:59 AM, Niklas Huldén wrote:

Hello!

I installed LyX 2.3.5 in June on my MacBook Air 13 (Catalina) and
noticed that I could not open files from the "Recent files" list in
the File menu. The program opened an empty document with the name of
the recent file. I could open old documents using the "Open.." choise
from the menu.

When I installed version 2.3.5.1 I hoped this behaiviour would have
been corrected, but now I could't even use the "Open..." choise. It
allways opens up an empty file with the name om the file that should
have opened. Same with version 2.3.5.2 that I installed today. For
some reason I can open the default Splash.lyx that sits on the "Recent
files"

I have backupped my Preferenses file and started up an default version
of LyX but the same behaviour continues. What could be the reason for
this? Have anyone had similar problems?

If you can open LyX from a terminal, with argument "-dbg files", you
might get more information. You can also  do this by opening the
messages pane (View> Messages Pane) and activating "files" debug
messages. (Go to Settings on the pane, click "Selected" then choose
"files").

I would guess there is something wrong with the path that LyX is
getting.

Riki

  

Ok, thanks! I did that but the log shows nothing unusual. But the
problem seems related only to files that reside in Dropbox folders.
Lyx opens the files directly but does not download the contents from
the Dropbox cloud. If i open a folder in the Dropbox app and
doubleclick on a LyX-file it opens correctly in LyX. It used to work
without hazzle from the LyX-menus before. Maybe it is a Dropbox problem.

It sounds like it. I assume there must be some notification to the
Dropbox app that a file has been accessed. LyX wouldn't provide that,
but the OS, or possibly Qt in this case, might.

Riki


  

It may be specific to the Mac OS. I just uploaded (via web browser) a
.lyx file to a shared Dropbox folder owned by a coauthor, then opened it
in LyX via the file menu with no problems. This was on Linux Mint.

Paul


What is the setting of \use_native_filedialog (possibly in preferences? : it 
defaults to
'true' if not set)

Kornel


False in my case (LyX 2.3.5-1 from Liv' PPA, on Linux Mint).

Paul

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


Re: Lyx 2.3.5.1 and 2.3.5.2 won't open old files on Mac [Solved]

2020-07-06 Thread Paul A. Rubin

On 7/6/20 11:37 AM, Richard Kimberly Heck wrote:

On 7/6/20 4:28 AM, Niklas Huldén wrote:

Den 01-07-2020 kl. 17:53, skrev Richard Kimberly Heck:

On 7/1/20 6:59 AM, Niklas Huldén wrote:

Hello!

I installed LyX 2.3.5 in June on my MacBook Air 13 (Catalina) and
noticed that I could not open files from the "Recent files" list in
the File menu. The program opened an empty document with the name of
the recent file. I could open old documents using the "Open.." choise
from the menu.

When I installed version 2.3.5.1 I hoped this behaiviour would have
been corrected, but now I could't even use the "Open..." choise. It
allways opens up an empty file with the name om the file that should
have opened. Same with version 2.3.5.2 that I installed today. For
some reason I can open the default Splash.lyx that sits on the "Recent
files"

I have backupped my Preferenses file and started up an default version
of LyX but the same behaviour continues. What could be the reason for
this? Have anyone had similar problems?

If you can open LyX from a terminal, with argument "-dbg files", you
might get more information. You can also  do this by opening the
messages pane (View> Messages Pane) and activating "files" debug
messages. (Go to Settings on the pane, click "Selected" then choose
"files").

I would guess there is something wrong with the path that LyX is
getting.

Riki



Ok, thanks! I did that but the log shows nothing unusual. But the
problem seems related only to files that reside in Dropbox folders.
Lyx opens the files directly but does not download the contents from
the Dropbox cloud. If i open a folder in the Dropbox app and
doubleclick on a LyX-file it opens correctly in LyX. It used to work
without hazzle from the LyX-menus before. Maybe it is a Dropbox problem.

It sounds like it. I assume there must be some notification to the
Dropbox app that a file has been accessed. LyX wouldn't provide that,
but the OS, or possibly Qt in this case, might.

Riki



It may be specific to the Mac OS. I just uploaded (via web browser) a 
.lyx file to a shared Dropbox folder owned by a coauthor, then opened it 
in LyX via the file menu with no problems. This was on Linux Mint.


Paul

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


Re: How to break long equations with LyX

2020-06-20 Thread Paul A. Rubin

On 6/20/20 8:00 AM, list_em...@icloud.com wrote:

On Jun 19, 2020, at 5:14 PM, Paul A. Rubin  wrote:

On 6/19/20 7:34 PM, list_em...@icloud.com wrote:

On Jun 19, 2020, at 8:15 AM, Paul A. Rubin  wrote:

On 6/19/20 7:51 AM, list_em...@icloud.com wrote:

I have tried mightily to get LyX to break long equations. I’ve studied multiple 
pages at stackexchange, both LaTeX and LyX, and can’t seem to get anything to 
work.

I have had luck in the past with the second large block of code at this page:

https://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines

but today I have some problems with it.

First, it doesn’t work if the \text command appears inside my own LaTeX code that appears 
between \begin{dmath} and \end{dmath} or if I try to use the trick twice in the same 
document. (That’s a tentative analysis of the problem.) Specifically, LyX runs at 100% 
CPU eventually gives me a chance to abort and then follows up with this additional 
message: "The external program pdflatex finished with an error. It is recommended 
you fix the cause of the external program's error (check the logs)."

Plus, I now want to to apply the line breaking to a line within an aligned 
environment (Insert -> Math -> Aligned Environment in the menu system.) This is 
causing things to look even worse, even though I added two “aligned” lines to the 
referenced code block. (If you look at the code you’ll see the obvious places to add 
the lines.)

How do LyX-ers handle this? Is there “LyX” solution to breaking long equations? 
I’m OK with some ad hoc solution for now, or some ERT if it works.

Thanks,
Jerry



I've never used the breqn package, but with ordinary and AMS math environments, 
hitting Ctrl-Enter in the middle of a long formula will break it (inserting a 
line break, \\, in the LaTeX output). If that doesn't achieve what you want, 
perhaps you could post a minimal example and a specification of what the output 
should look like.

Paul


Thanks, Paul. I’m on a Mac so of course Control-Enter has no meaning. Usually this 
translates to Mac-speak as Command-Enter. When I do Command-Enter in my equation, 
which is unfortunately inside a align environment, it instead adds a row to the 
matrix that represents the align environment. Ditto for Shift-Command-Enter. These 
two commands in LyX are mapped as Insert -> Formatting -> Ragged Line Break and 
Justified Line Break, respectively but invoking the menu commands with the cursor in 
my equation has exactly the same effect: adding a row to the align matrix (above the 
row where the cursor is.) When (Shift-)Command-Enter is done to a non-align display 
equation a similar thing happens except now the non-align equation is converted to an 
align equation with a blank new row _below_ the original equation.

Right now I guess I would be pretty happy with merely a way to make 
Command-shift (Control-shift) do what is expected which is apparently break the 
equation instead of creating a new row.

Jerry


Jerry,

I just created an align environment with two equations, the left side of the 
first being ridiculously long. When I put the cursor somewhere toward the 
middle of the left side of the long equation and inserted a break (using 
Ctrl-Enter -- I'll get to the Mac part in a minute), it broke the equation and 
inserted a new row. So

 (x+x+x+x+...+x) =1
  y =2

(where the right column contained the equal signs and integers) became

 (x+x+x+...
 +x+x+x+x) =1
  y =2

where the right column is empty in the first row. See the attached minimal 
example. Is this not what you want?

Regarding the key mapping, if you can find an unused key combo that you have a chance of 
remembering, you can map it to "newline-insert newline" using Tools > Preferences... 
> Editing > Shortcuts. That's what Ctrl+Enter binds to for me.

Paul

—

Paul,

I’ve attached an example showing a few things, mainly that 
Command-(Control-)-Enter works with your equation and the equation from Section 
18 of the Math manual but not with my equation.

Jerry



Jerry,

As explained in my reply to your prior message, the breaking in the 
wrong place issue is apparently caused by the use of balanced [] around 
the chubby part of the formula.


Regarding the rest, I also get a bunch of (apparently harmless) LaTeX 
errors/warnings when I compile it. As to why the version you liked 
failed to be transferable to its intended destination, I have no idea 
about that. Although I have the breqn package installed, I have never 
used it, so I don't know with what other packages (or standard LaTeX 
things) it might be incompatible. The change I made in the previous file 
also works here, and (since it is vanilla LaTeX and does not use the 
dmath environment) should be portable.


Paul

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


Re: How to break long equations with LyX

2020-06-20 Thread Paul A. Rubin

On 6/19/20 9:47 PM, list_em...@icloud.com wrote:

On Jun 19, 2020, at 5:14 PM, Paul A. Rubin  wrote:

On 6/19/20 7:34 PM, list_em...@icloud.com wrote:

On Jun 19, 2020, at 8:15 AM, Paul A. Rubin  wrote:

On 6/19/20 7:51 AM, list_em...@icloud.com wrote:

I have tried mightily to get LyX to break long equations. I’ve studied multiple 
pages at stackexchange, both LaTeX and LyX, and can’t seem to get anything to 
work.

I have had luck in the past with the second large block of code at this page:

https://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines

but today I have some problems with it.

First, it doesn’t work if the \text command appears inside my own LaTeX code that appears 
between \begin{dmath} and \end{dmath} or if I try to use the trick twice in the same 
document. (That’s a tentative analysis of the problem.) Specifically, LyX runs at 100% 
CPU eventually gives me a chance to abort and then follows up with this additional 
message: "The external program pdflatex finished with an error. It is recommended 
you fix the cause of the external program's error (check the logs)."

Plus, I now want to to apply the line breaking to a line within an aligned 
environment (Insert -> Math -> Aligned Environment in the menu system.) This is 
causing things to look even worse, even though I added two “aligned” lines to the 
referenced code block. (If you look at the code you’ll see the obvious places to add 
the lines.)

How do LyX-ers handle this? Is there “LyX” solution to breaking long equations? 
I’m OK with some ad hoc solution for now, or some ERT if it works.

Thanks,
Jerry



I've never used the breqn package, but with ordinary and AMS math environments, 
hitting Ctrl-Enter in the middle of a long formula will break it (inserting a 
line break, \\, in the LaTeX output). If that doesn't achieve what you want, 
perhaps you could post a minimal example and a specification of what the output 
should look like.

Paul


Thanks, Paul. I’m on a Mac so of course Control-Enter has no meaning. Usually this 
translates to Mac-speak as Command-Enter. When I do Command-Enter in my equation, 
which is unfortunately inside a align environment, it instead adds a row to the 
matrix that represents the align environment. Ditto for Shift-Command-Enter. These 
two commands in LyX are mapped as Insert -> Formatting -> Ragged Line Break and 
Justified Line Break, respectively but invoking the menu commands with the cursor in 
my equation has exactly the same effect: adding a row to the align matrix (above the 
row where the cursor is.) When (Shift-)Command-Enter is done to a non-align display 
equation a similar thing happens except now the non-align equation is converted to an 
align equation with a blank new row _below_ the original equation.

Right now I guess I would be pretty happy with merely a way to make 
Command-shift (Control-shift) do what is expected which is apparently break the 
equation instead of creating a new row.

Jerry


Jerry,

I just created an align environment with two equations, the left side of the 
first being ridiculously long. When I put the cursor somewhere toward the 
middle of the left side of the long equation and inserted a break (using 
Ctrl-Enter -- I'll get to the Mac part in a minute), it broke the equation and 
inserted a new row. So

 (x+x+x+x+...+x) =1
  y =2

(where the right column contained the equal signs and integers) became

 (x+x+x+...
 +x+x+x+x) =1
  y =2

where the right column is empty in the first row. See the attached minimal 
example. Is this not what you want?

Regarding the key mapping, if you can find an unused key combo that you have a chance of 
remembering, you can map it to "newline-insert newline" using Tools > Preferences... 
> Editing > Shortcuts. That's what Ctrl+Enter binds to for me.

Paul

Paul:

Thanks. The effect appears to work by adding another row to the matrix and 
filling it with the partial equation. In your example the new row is on top. If 
the long equation is moved to the RHS the new row is below.

I tried adding horizontal space to the second line of your broken equation but 
Latex seems to ignore it: when I click outside the math box and the equation is 
rendered, it is rendered without the horizontal space even though it was 
visible while in math editing mode.

About Mac key mappings: According to the status line in the document window, 
when I hit Command-Shift, it displays “(newline-insert newline;) and then icons 
for “Command” and “new line” which is an arrow thingy. So I’m going to assume 
that the key mapping is correct but that there is another problem, meaning…

…See my attached example. Attempting to break the line before the second 
exponential (1) doesn’t break the line, (2) adds a matrix row above, and (3) 
steals the = from the now-third row and puts it on the second row.

The failure to break with Command-Enter does not seem to be a function of t

Re: How to break long equations with LyX

2020-06-19 Thread Paul A. Rubin

On 6/19/20 7:34 PM, list_em...@icloud.com wrote:

On Jun 19, 2020, at 8:15 AM, Paul A. Rubin  wrote:

On 6/19/20 7:51 AM, list_em...@icloud.com wrote:

I have tried mightily to get LyX to break long equations. I’ve studied multiple 
pages at stackexchange, both LaTeX and LyX, and can’t seem to get anything to 
work.

I have had luck in the past with the second large block of code at this page:

https://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines

but today I have some problems with it.

First, it doesn’t work if the \text command appears inside my own LaTeX code that appears 
between \begin{dmath} and \end{dmath} or if I try to use the trick twice in the same 
document. (That’s a tentative analysis of the problem.) Specifically, LyX runs at 100% 
CPU eventually gives me a chance to abort and then follows up with this additional 
message: "The external program pdflatex finished with an error. It is recommended 
you fix the cause of the external program's error (check the logs)."

Plus, I now want to to apply the line breaking to a line within an aligned 
environment (Insert -> Math -> Aligned Environment in the menu system.) This is 
causing things to look even worse, even though I added two “aligned” lines to the 
referenced code block. (If you look at the code you’ll see the obvious places to add 
the lines.)

How do LyX-ers handle this? Is there “LyX” solution to breaking long equations? 
I’m OK with some ad hoc solution for now, or some ERT if it works.

Thanks,
Jerry



I've never used the breqn package, but with ordinary and AMS math environments, 
hitting Ctrl-Enter in the middle of a long formula will break it (inserting a 
line break, \\, in the LaTeX output). If that doesn't achieve what you want, 
perhaps you could post a minimal example and a specification of what the output 
should look like.

Paul


Thanks, Paul. I’m on a Mac so of course Control-Enter has no meaning. Usually this 
translates to Mac-speak as Command-Enter. When I do Command-Enter in my equation, 
which is unfortunately inside a align environment, it instead adds a row to the 
matrix that represents the align environment. Ditto for Shift-Command-Enter. These 
two commands in LyX are mapped as Insert -> Formatting -> Ragged Line Break and 
Justified Line Break, respectively but invoking the menu commands with the cursor in 
my equation has exactly the same effect: adding a row to the align matrix (above the 
row where the cursor is.) When (Shift-)Command-Enter is done to a non-align display 
equation a similar thing happens except now the non-align equation is converted to an 
align equation with a blank new row _below_ the original equation.

Right now I guess I would be pretty happy with merely a way to make 
Command-shift (Control-shift) do what is expected which is apparently break the 
equation instead of creating a new row.

Jerry


Jerry,

I just created an align environment with two equations, the left side of 
the first being ridiculously long. When I put the cursor somewhere 
toward the middle of the left side of the long equation and inserted a 
break (using Ctrl-Enter -- I'll get to the Mac part in a minute), it 
broke the equation and inserted a new row. So


    (x+x+x+x+...+x) =1
 y =2

(where the right column contained the equal signs and integers) became

    (x+x+x+...
    +x+x+x+x) =1
 y =2

where the right column is empty in the first row. See the attached 
minimal example. Is this not what you want?


Regarding the key mapping, if you can find an unused key combo that you 
have a chance of remembering, you can map it to "newline-insert newline" 
using Tools > Preferences... > Editing > Shortcuts. That's what 
Ctrl+Enter binds to for me.


Paul



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


Re: How to break long equations with LyX

2020-06-19 Thread Paul A. Rubin

On 6/19/20 7:51 AM, list_em...@icloud.com wrote:

I have tried mightily to get LyX to break long equations. I’ve studied multiple 
pages at stackexchange, both LaTeX and LyX, and can’t seem to get anything to 
work.

I have had luck in the past with the second large block of code at this page:

https://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines

but today I have some problems with it.

First, it doesn’t work if the \text command appears inside my own LaTeX code that appears 
between \begin{dmath} and \end{dmath} or if I try to use the trick twice in the same 
document. (That’s a tentative analysis of the problem.) Specifically, LyX runs at 100% 
CPU eventually gives me a chance to abort and then follows up with this additional 
message: "The external program pdflatex finished with an error. It is recommended 
you fix the cause of the external program's error (check the logs)."

Plus, I now want to to apply the line breaking to a line within an aligned 
environment (Insert -> Math -> Aligned Environment in the menu system.) This is 
causing things to look even worse, even though I added two “aligned” lines to the 
referenced code block. (If you look at the code you’ll see the obvious places to add 
the lines.)

How do LyX-ers handle this? Is there “LyX” solution to breaking long equations? 
I’m OK with some ad hoc solution for now, or some ERT if it works.

Thanks,
Jerry


I've never used the breqn package, but with ordinary and AMS math 
environments, hitting Ctrl-Enter in the middle of a long formula will 
break it (inserting a line break, \\, in the LaTeX output). If that 
doesn't achieve what you want, perhaps you could post a minimal example 
and a specification of what the output should look like.


Paul

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


Re: FW: Problems using Bibtex with lyx.

2020-06-11 Thread Paul A. Rubin

On 6/11/20 7:36 AM, Mike Reeks wrote:


Sent from Mail  for 
Windows 10


*From: *Mike Reeks 
*Sent: *11 June 2020 10:45
*To: *lyx-users-subscr...@lists.lyx.org 


*Subject: *Problems using Bibtex with lyx. Help!!

I have used bibtex generated bibliography with access to an 
appropriates bibtex database of references in all my lyx files that 
cite references.


Upto now I have had no problems. I usually generate a pdf file in the 
lyx document conversion. Now for some unknown reason when converting a 
lyx file toa  pdf file or any other file the reference list  is 
missing in the document conversion and the reference in the text are 
not recognised and appear as [?]. I have no idea what has caused the 
problem. Why it was working before and not now since as far as I am 
aware I have done nothing.  It happens on all my lyx files. I attach a 
simple example lyx file, the latex file and the pdf conversion file 
and the bib reference file. I would be very grateful if someone could 
shed some light as to what is going on. Its a really annoying. I am 
writing a review article using lyx which is about 6o pages long


Best regards

Mike Reeks

Sent from Mail  for 
Windows 10



When I compile your MWE, I get both references printed, but the second 
reference is garbled and causes a warning message in the LaTeX log. It 
appears that the citation was copied from a PDF file and pasted into the 
BibTeX database (either directly or through a program such as JabRef). 
If you open the .bib database in a plain text editor and cursor through 
the title of the Tian & Ahmad paper, you'll see that the first two 
letters of "flows" count as one character (due to kerning in the PDF 
file). Similarly, the two f's in "different" are actually one character.


There's probably a smarter way to fix it, but all else failing you can 
run through the database and retype anything that generates a complaint 
in the LaTeX log.


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


Re: LyX 2.3.5

2020-06-09 Thread Paul A. Rubin

On 6/9/20 11:15 AM, Bernt Lie wrote:


I installed LyX 2.3.5 a couple of days ago (?), and it worked fine. 
(Windows 10 64bit, latest version.)


Today, one of my students tried to install some template for LyX 
2.3.5, and messed around with MikTeX. But in the end that didn't work. 
So in the end, I uninstalled MikTeX, Inkscape, and LyX, and 
re-installed the programs.


Now I get this error message:

When I try to open a template.

  * What has gone wrong? Why is “extarticle.cls” missing?
  * How can I fix it?

-B


Oops! I inadvertently replied to Bernt offline, suggesting that the 
extsizes package had not been installed. Pasting in his reply:


did nothing special to include specific packages a couple of days ago, 
and nothing special today.
It's been quite a while since I used MikTeX, but I vaguely recall that 
installation options included a modest size package with common classes 
and something of an omnibus installation with all sorts of packages (and 
a large footprint). Bernt, is it possible that you did a full 
installation in the case that the document class was available and a 
smaller installation in the case where it was not?


I'm assuming here that basic classes (such as article.cls) remain 
available even when extarticle.cls does not.


Paul

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


Re: Beamer class: question and comment

2020-05-16 Thread Paul A. Rubin

On 5/16/20 4:54 PM, Rich Shepard wrote:

I hope you're all healthy, productive, and safe and you stay this way.

Question:

After years of beamer presentations with different looks I've decided 
on one

that I'll use for all future presentations. How do I save this format and
structure (stripped of presentation-specific content) as a default 
template

for all my future beamer documents?

Comment:

A just-completed presentation has 6 images in it. The first two share 
their
frames with text so I used columns and two individual columns per 
frame with

the image on the left and the text on the right. This worked just fine.

But, the next 4 images are large and each occupies an entire frame by
itself. I inserted the first one, tweaked the size and position, and used
alt-p/shift-enter to create a new frame environment. But, nothing 
happened;

no new frame. I looked in the beamer manual but the word 'image' appears
only once and in reference to using overlays.

After much futzing I discovered a solution. When I defined a new frame
environment I inserted an itemize environment, then immediately created a
new, following frame. With the latter patiently waiting I inserted the 
image

in the first new frame, set its size and position, then moved to the next
frame that was created before inserting the image.

I hesitate to call this a bug because I don't know if there's a way I've
missed to insert only an image in a frame then create a new frame 
after that

other than what I did.

Regards,

Rich




Rich,

Re your question, I believe all you need to do is click File > Save As, 
click the "Templates" button in the dialog to steer you to your 
templates directory, and finish the save operation (giving it a suitable 
name).


Re your comment, I don't reproduce that here. Keep in mind, though, that 
the shortcut to start a new frame (at least on my setup) is alt+p enter, 
not alt-p shift-enter. Works for me.


Paul

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


Re: hyperref package not shown in Code Preview

2020-05-15 Thread Paul A. Rubin

On 5/15/20 2:36 PM, Kornel Benko wrote:

Am Fri, 15 May 2020 11:28:52 -0400
schrieb "Paul A. Rubin" :


On 5/15/20 11:21 AM, Daniel wrote:

On 2020-05-15 16:50, Paul A. Rubin wrote:

On 5/15/20 9:26 AM, Daniel wrote:

Hi,

I think I am missing something. Shouldn't the hyperref package be
loaded in the attached document? But the Code Preview does not show
it. The output seems to use hyperref and the exported .tex file
shows the package though. This is with 2.3.4.

I guess I am missing something but I can't figure out what.

Best,
Daniel
  

It is being loaded. In Code Preview, it is loaded immediately before
\begin{document}. What might be throwing you off is that there are so
many options that "{hyperref}" is three lines after "\usepackage", at
least on my system.

Paul

  

Strange. I see the Code Preview as in the attachment. Not sure what
might be going on.

Daniel
  

That is odd. Here's a shot of what I see (also with LyX 2.3.4.2).


You are using hyperref support, while Daniel probably does not.
(Document->Settings…->PDF Properties->Use hyperref Support)

Kornel
That box was checked when I loaded his file (meaning I did not select it 
myself), so I assumed that the setting was in Daniel's .lyx file. Is 
that a local user preference rather than a file setting?


Paul

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


Re: hyperref package not shown in Code Preview

2020-05-15 Thread Paul A. Rubin

On 5/15/20 9:26 AM, Daniel wrote:

Hi,

I think I am missing something. Shouldn't the hyperref package be 
loaded in the attached document? But the Code Preview does not show 
it. The output seems to use hyperref and the exported .tex file shows 
the package though. This is with 2.3.4.


I guess I am missing something but I can't figure out what.

Best,
Daniel

It is being loaded. In Code Preview, it is loaded immediately before 
\begin{document}. What might be throwing you off is that there are so 
many options that "{hyperref}" is three lines after "\usepackage", at 
least on my system.


Paul

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


  1   2   3   4   5   6   7   8   9   10   >