Re: Voice Recognition Accessibility

2022-08-03 Thread Paul A. Rubin

On 8/3/22 19:29, Jodin Morey wrote:

Hello Lyx Developers,

My name is Jodin, and I recently graduated with my doctorate in 
mathematics.  I have a disability which requires me to use voice 
recognition to input mathematics into my computer.  For the last 10 
years or so, I have used three pieces of software (on Windows) to 
accomplish this.  However, recently two of these software packages 
(Scientific Notebook and MathTalk) stopped being supported (the 
underlying companies went out of business). As a result, I have been 
looking for some other software I might be able to use.  The voice 
recognition software I use (the primary desktop voice recognition 
software in existence) is Nuance Dragon Dictate. It was recently 
purchased by Microsoft, so it is doubtful that this piece of software 
will become unsupported anytime soon. However, there are no longer any 
off-the-shelf software packages which translate the recognized words 
into math, so I am interested in developing something along these 
lines.  In particular, I thought I might develop something around Lyx.


It's unfortunate that the voice technology allowing people with 
disabilities to write mathematics has recently disappeared. I am 
hopeful that Lyx can become the future provider of this capability.


I like Lyx because it is open source, and I wish to avoid relying on 
another piece of software that is profit based, and might go out of 
business someday.  The idea is to create hundreds of scripts in Dragon 
Dictate.  That way, when I say "VarOmega," for example, Dragon Dictate 
will turn my voice into words, recognize the words as a Dragon Dictate 
Script, which can then choose from a pulldown menu on Lyx, or just 
enter the right keystrokes.


The main barrier I face right now (other than the time it will take to 
develop all of the scripts), is that many of the mathematical objects 
in Lyx are not available either through a menubar or keystroke.  So my 
request to the developers would be to add keystroke accessibility to 
as many mathematical objects as possible.  To make things easier, 
these keystrokes do not need to be documented in any way.  You needn't 
add the keystroke information on the user interface (for example, when 
you hover your mouse over the button for the math object, or in the 
help documentation).  The point would not be to offer the average user 
a quick keystroke.  And to that end, the keystroke could be very 
obscure (e.g., Ctrl+Alt+Shift+Meta+K), it doesn't need to be simple at 
all.  Doing this does not limit Dragon Dictate's ability to type the 
keystroke, and simultaneously opens up a lot of keystrokes.


Regardless, I will start developing this the voice recognition 
capacity with the keystrokes you currently have available, as I need 
it for my own purposes.  However, I believe developing this more 
comprehensively is an important thing for the disability community.  
And I believe the coding effort required is somewhat minimal.


LyX uses "bind" files to associate keystrokes with symbols or commands. 
There is a file named "math.bind" that comes with LyX (found in 
/usr/share/lyx/bind on Linux systems) that contains bindings for math 
objects. It does not have a binding for \varOmega, but for instance the 
key combo "alt+m g shift+E" (without the spaces) inserts \varepsilon. 
The math.bind file is actually a child file, loaded by the main bind 
file the user opts to use. In my case, that is cua.bind, located in the 
same directory. (The user's choice of main bind file is made at Tools > 
Preferences... > Editing > Shortcuts > Bind file.)


So someone (you?) could create an alternative version of math.bind with 
a new name, adding whatever symbols you wish using obscure/unused 
shortcuts, and then create a new version of a main bind file that loaded 
the expanded math bind file. Alternatively, someone (you?) could put the 
new definitions in a new file (say math2.bind) and then load math2.bind 
in addition to math.bind from the main bind file of choice.


Paul

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


Re: Inserting graphics located in directory from which lyx is executed

2022-07-25 Thread Paul A. Rubin

On 7/25/22 13:01, David Halpern wrote:



On Mon, Jul 25, 2022 at 11:15 AM Paul A. Rubin  
wrote:


On 7/25/22 11:55, David Halpern wrote:
> Paul,
> Thanks for the response. The problem seems to be that the working
> directory is permanently set as my home directory, /home/dhalpern.
> Reading the information that appears in preferences about paths, it
> clearly states that the working directory should be the
directory from
> which one starts lyx. However, I've tried starting lyx from
different
> directories, and the working directory does not change. It's always
> set as the home directory. Is this a bug?  The way around seems
to be
> to change the working directory while working on a particular
project,
> but this is not optimal.
>
> I am using Lyx 2.3.6.1, a fedora 36 binary package. I tried to
compile
> myself but it failed.
>
>

David,

Please bottom-post, since it makes the email threads easier for
everyone
to read. The default working directory is set in Tools >
Preferences...
 > Paths > Working directory. Regardless of where you are when you
launch LyX (assuming you are launching from a terminal), that's the
initial working directory. So if I open a new document and browse
for a
file to insert, the directory in that setting is where the
browsing starts.

When you open an existing document and browse for something to
insert,
the initial directory should be the directory from which you
loaded the
document, again regardless of where you were when you started LyX.

So the issue has nothing to do with where you start LyX. The question
is, once you have opened a document (presumably not in your default
directory), why doesn't the initial directory setting in the graphics
insertion dialog update to the home of the document?

If you open the parent document and then click Insert > File >
External
material (or any of the other choices), then click the browse button,
does it again begin browsing in /home/dhalpern?

Paul

-- 
lyx-users mailing list

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


Hi Paul,
When I do what you suggested, that is "Insert>File>External Material", 
I get a new window and running down on its left side there is a column 
with "Recent, Home, Desktop, Documents, Downloads, Music, etc..". The 
other column lists the contents of whichever item on the left I click.
I then need to navigate to the directory where the file that I would 
like to import is located by selecting "Home" first which lists the 
files and directories in my home directory. If I want to insert 
another file, I need to repeat the process. The only difference is 
that the popup window now lists the first file that was imported, 
which is not that useful. ("Home" could be replaced with "Documents" 
with the same outcome of having to click a number of directories.)  I 
use a terminal window and don't start lyx from my home directory.


Thanks.

David


Sorry, "external material" may have been a poor choice on my part, since 
the first dialog you get has to do with the nature of the material. In 
any event, when I click the browse button there or anywhere else, I get 
a dialog with a few known locations (in my case, "Computer" and my home 
directory) listed on the left and a select box labeled "Look in:" on the 
top. The select defaults to the parent directory of the current 
document, with the rest of the options being the ancestors of the 
current directory and some recently used locations. There's also a 
button labeled "Documents" which will jump the select box entry to my 
Documents directory.


The layout of (at least some) file chooser dialogs is controlled by a Qt 
setting, so this looks as if it is either specific to Fedora or 
something Qt related. I think it is going to require input from either a 
developer or a Fedora user to sort out.


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


Re: Inserting graphics located in directory from which lyx is executed

2022-07-25 Thread Paul A. Rubin

On 7/25/22 11:55, David Halpern wrote:

Paul,
Thanks for the response. The problem seems to be that the working 
directory is permanently set as my home directory, /home/dhalpern. 
Reading the information that appears in preferences about paths, it 
clearly states that the working directory should be the directory from 
which one starts lyx. However, I've tried starting lyx from different 
directories, and the working directory does not change. It's always 
set as the home directory. Is this a bug?  The way around seems to be 
to change the working directory while working on a particular project, 
but this is not optimal.


I am using Lyx 2.3.6.1, a fedora 36 binary package. I tried to compile 
myself but it failed.





David,

Please bottom-post, since it makes the email threads easier for everyone 
to read. The default working directory is set in Tools > Preferences... 
> Paths > Working directory. Regardless of where you are when you 
launch LyX (assuming you are launching from a terminal), that's the 
initial working directory. So if I open a new document and browse for a 
file to insert, the directory in that setting is where the browsing starts.


When you open an existing document and browse for something to insert, 
the initial directory should be the directory from which you loaded the 
document, again regardless of where you were when you started LyX.


So the issue has nothing to do with where you start LyX. The question 
is, once you have opened a document (presumably not in your default 
directory), why doesn't the initial directory setting in the graphics 
insertion dialog update to the home of the document?


If you open the parent document and then click Insert > File > External 
material (or any of the other choices), then click the browse button, 
does it again begin browsing in /home/dhalpern?


Paul

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


Re: Inserting graphics located in directory from which lyx is executed

2022-07-25 Thread Paul A. Rubin

On 7/24/22 17:32, David Halpern wrote:
I am having the following problem in linux (fedora 36). I have a a 
directory called Docs that contains a lyx file together with eps files 
that I would like to insert in the lyx file. To insert a figure, I 
select Insert, choose Float and then select Figure. Then inside the 
Float, I again select Insert, and choose Graphics. In the Graphics 
menu, I click on Browse. Unfortunately, I don't get a list of the list 
of eps files that are in the same directory as the lyx file and from 
which I issued the command "lyx". I have to change directories, and 
this is particularly cumbersome since I end up having to do this for 
each float.  I don't seem to have the same problem when using lyx on a 
Mac.


Any suggestions would be appreciated.

Thank you.

David Halpern

I can confirm that (a) this is not a Linux issue (I don't have this 
problem on Linux Mint) and (b) checking the option to save the document 
directory in the document is not necessary on Linux (or at least not on 
Mint). That said, it's possible that checking that option might override 
whatever is going wrong.


When you click the browse button in the insertion dialog, in what 
directory does it start? Also, which version of LyX are you using, and 
did you compile it yourself or use a binary package?


Paul

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


Re: Adding footnote to table cell

2022-07-07 Thread Paul A. Rubin

On 7/7/22 15:36, Rich Shepard wrote:

On Wed, 6 Jul 2022, Rich Shepard wrote:


When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.


Now the problem is an error in the ERT \today just under the title.

A MWE is attached.

Rich

Try moving \usepackage{ftnxtra} to the very top of the preamble. I found 
something about it conflicting with the array package, and loading 
ftnxtra first apparently solved that.


Paul

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


Re: Table row shading throws compile error

2022-07-05 Thread Paul A. Rubin

On 7/5/22 18:14, Rich Shepard wrote:

On Tue, 5 Jul 2022, Paul A. Rubin wrote:


I tried this in a fresh document (KomaScript Report class) by adding
\usepackage{xcolor, colortbl} to the preamble, and my table with your 
ERT
and column name in row 1, column 1 compiled just fine. You didn't 
specify

what module you are using, and a MWE would be helpful.


Paul,

I had \usepackage{colortbl}; just added xcolor. Made no difference. MWE
attached, with the build log.

Thanks,

Rich

Well, the introduction of table borders causes LyX to introduce 
"multicolumns" of one column each, which somehow seems to conflict 
(slightly) with the \rowcolor command. Maybe a TeXpert can figure out a 
workaround, but I suspect this is one of those LaTeX things you just 
need to accept ... unless maybe you want to experiment with using LaTeX 
commands to introduce the border lines yourself.


FWIW, I tried editing the LaTeX to move the \rowcolor file before rather 
than in the first cell. It seemed to fix the problem, but I can't find 
any way in LyX to wedge a custom command/setting into a table before the 
first row. The Embedded Objects help manual says to color rows the way 
you are currently doing it, if that is any consolation.


Paul

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


Re: Table row shading throws compile error

2022-07-05 Thread Paul A. Rubin

On 7/5/22 17:37, Rich Shepard wrote:

I suspect this is another outdated module issue but I've not seen the
reason.

The first column in row 1 of a table contains the ERT 
\rowcolor{lightgray}

Species Common Name. TeX doesn't like it; see attached error log. It is
ignored but I'd like to fix the issue.

Rich



I tried this in a fresh document (KomaScript Report class) by adding 
\usepackage{xcolor, colortbl} to the preamble, and my table with your 
ERT and column name in row 1, column 1 compiled just fine. You didn't 
specify what module you are using, and a MWE would be helpful.


Paul

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


Re: Entering special charcter with keyboard shortcut

2022-06-28 Thread Paul A. Rubin

On 6/28/22 16:37, tush via lyx-users wrote:
I want to insert with a keyboard shortcut a special character that I 
use a lot in my document. Until now it was saved in my system 
clipboard and I would just paste it wherever I wanted, but I want to 
use a keyboard shortcut for that.


For example, I want to insert this symbol: *№* (Unicode U+2116 or 
 in html).


How can I do it?

I tried to do it as seen in the attached picture but LyX gives the 
message Unknown or invalid LyX function.


Try binding "unicode-insert 0x2116" (without the quotes) to your key of 
choice.


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


Re: beamer

2022-06-16 Thread Paul A. Rubin

On 6/16/22 07:22, Patrick Dupre wrote:

Hello,

Can I create a slide entirely blank?

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| | Room# D114A
===

You can insert a frame and set the environment to "PlainFrame" in the 
environment select box. Assuming you leave the frame title inset empty, 
the PDF page will be blank except for the little navigation icons in the 
lower right.


Paul

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


Re: Conversion failure for older format

2022-06-15 Thread Paul A. Rubin

On 6/15/22 13:19, Rudi Gaelzer wrote:

I'm trying to open a LyX file with an older format:
\lyxformat 508

But I got the error message: LyX: Conversion script failed
It says that the lyx2lyx script failed to convert the document.

What should I do in this case?
You can try running lyx2lyx on the source file from the command line, 
using one or more options. The -v option makes output "verbose", which 
might include specifics about the error. The -n option tells it to 
ignore any conversion errors, after which you could try opening the 
resulting file and see if (a) it opens and (b) if so, does any of the 
content appear to be missing or screwed up.


Paul

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


Re: Meaning of PageStyle as a class parameter

2022-06-13 Thread Paul A. Rubin

On 6/13/22 19:18, tush via lyx-users wrote:

By the way, I just checked two other layout files that consist of only one 
argument for PageStyle:

aa.layout (Astronomy & Astrophysics) and amsart.layout (American Mathematical 
Society (AMS) Article).

The first should allow the user to use only page style "plain" and the latter only 
"Headers".

But opening a new file from the File->New.. menu and changing the new file's 
document class into either of these, keeps the full general list of the default 
article class just as it was before and doesn't make any effect to the page-layout 
drop down list.

--- Original Message ---
On Monday, June 13th, 2022 at 11:43 PM, Paul A. Rubin  
wrote:



On 6/13/22 18:03, tush via lyx-users wrote:


I am building my layout file and I want to better understand the effect of

PageStyle empty|myheadings|...

Inserting this line into my layout file does not make any apparent effect.

Moreover, I looked at the content of `memoir.layout` and I see that there are 
multiple page styles for this doc class:

`PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion`

After loading this layout file, when I go to Document Settings->Page Layout, I 
see in the drop-down the only the four regular ones: Default,empty,plain,headings 
and fancy.

I expected the drop down list to be updated according to the arguments pass to 
`PageStyle`.

Then what is the meaning of this class parameter?

After setting the document class to memoir and before switching to the
page style setting, did you click OK or Apply to apply the layout
change? When I start a new document (article layout) and switch the
layout to memoir, I get the full list of page style choices.

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
Take a look at the memoir.layout file and also the Customization help 
file. Line 16 of the layout file reads "PageStyle Headings". As 
explained in section 5.3.5 of the customization manual, this is the 
/default/ page style for the class. Now look at line 30 of the layout 
file: "PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion". 
Note that it is in a section named "ClassOptions" (begins on line 28), 
which is explained in the customization manual in section 5.3.6.


What you are seeing in amsart.layout, for instance, is the default page 
setting. There is no list of page styles in the class options section, 
so it presumably reverts to the LyX default.


Paul

PS: Please bottom-post for legibility.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Meaning of PageStyle as a class parameter

2022-06-13 Thread Paul A. Rubin

On 6/13/22 18:03, tush via lyx-users wrote:

I am building my layout file and I want to better understand the effect of

PageStyle empty|myheadings|...

Inserting this line into my layout file does not make any apparent effect.

Moreover, I looked at the content of `memoir.layout` and I see that there are 
multiple page styles for this doc class:

`PageStyle   empty|plain|headings|myheadings|ruled|Ruled|companion`

After loading this layout file, when I go to Document Settings->Page Layout, I 
see in the drop-down the only the four regular ones: Default,empty,plain,headings 
and fancy.

I expected the drop down list to be updated according to the arguments pass to 
`PageStyle`.

Then what is the meaning of this class parameter?
After setting the document class to memoir and before switching to the 
page style setting, did you click OK or Apply to apply the layout 
change? When I start a new document (article layout) and switch the 
layout to memoir, I get the full list of page style choices.


Paul

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


Re: Settings file for lyx

2022-06-02 Thread Paul A. Rubin

On 6/2/22 09:03, tush via lyx-users wrote:

Thank you very much once again, Riki.

I found the file and I can see it being updated after I apply changes 
in the preferences menu inside LyX.


Where can I choose which preferences file to use? I want to save a 
copy of such a file and save it in the project's directory. How do I 
tell lyx to use that new file?

I can't see anything related to it in the menus.

Screen shot: https://i.ibb.co/cYyJdpk/screenshot.png

Ehud

--- Original Message ---
On Thursday, June 2nd, 2022 at 1:17 AM, Richard Kimberly Heck 
 wrote:



On 6/1/22 17:43, ehud.be...@protonmail.com wrote:

Thank you very much.

The last option you mentioned is the one I would like to adopt. But, 
where is this preferences file located?


If you look under Help > About LyX, it will tell you where your user 
directory is. The preferences file is in that directory. On Linux, 
this is (by default) at $HOME/.lyx/. It is of course elsewhere on 
Windows and OSX and also is, as I said, configurable at runtime via 
the -userdir option.


Riki





--- Original Message ---
On Wednesday, June 1st, 2022 at 5:27 AM, Richard Kimberly Heck 
 wrote:



On 5/31/22 16:42, tush via lyx-users wrote:

Me and my colleagues are working on a multi-user project.
Is there any way to guarantee that all of us have the same LyX 
settings?
We can share screenshots of the settings window, but I prefer 
something more technical.


I mean, the document settings are part of the file.
But LyX settings definitely should not be the same for all users. 
Particularly, settings that are related to languages, font 
encoding and shortcuts, for example, could change if an expert 
user has made changes after the first installation.


I was wondering if I can write down a file to be sent via email to 
my colleagues so can double-click and open it, and after running 
it they would have the same settings for LyX as me, the project 
manager.


Is there such a thing?


Any document-specific settings are contained in the document 
itself. So you do not have to worry about those. They will travel 
with the document. You can see them yourself. Just open the LyX 
file with a text editor. It will look something like this:


#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 608
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass paper

The document settings are in the header, which ends with \end_header.

The system-wide settings are all contained in text files that you 
can find in your user directory, most importantly the 'preferences' 
file. So to synchronize those, you just need to send that file to 
other users. But I'm not sure that those are what you have in mind.


Note, by the way, that it is easy to use LyX with different 
configurations. The '-userdir' flag lets you specify a user 
directory, so your users could have one for use with this project 
and a different one that they use for other thingsif they want.


Riki









Riki covered this in the last paragraph of his first reply. Start LyX 
from a command prompt with "-userdir preferred preferences file>".


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


Re: Formatting Python code

2022-05-27 Thread Paul A. Rubin

On 5/27/22 18:44, Rich Shepard wrote:

On Fri, 27 May 2022, Paul A. Rubin wrote:


AFAIK, \lstset{} is the correct command. In order to use it in the
preamble, you have to precede it with \usepackage{listings}.


Paul,

I overlooked that.

The correct syntax for setting the tabulator size is tabsize=4. 
"Tabulator

size=4" will cause an error.


Okay. I wondered about that string.


Setting package defaults in the preamble will not register in the LyX
settings dialog, but they will work. So the dialog will continue to say
"no language" and tab size 4 (or whatever the dialog defaults are), but
your preamble settings will work in the compiled document.


Good.

Now I find an error in the complied document that makes no sense.

In one code block are these lines:
row_index_width = 100,
auto_resize_default_row_index = True,
set_all_heights_and_widths = False,
row_height = "1",

but in the PDF the middle two lines are combined and there are spaces 
before

the terminating commas:
row_index_width = 100,
auto_resize_default_row_index = True , set_all_heights_and_widths = 
False ,

row_height = "1",

So far I've not been able to figure out why so I'll worry about this 
tomorrow.


Thanks,

Rich
If the code was copied from outside LyX and pasted in, maybe there are 
some stray nonprinting characters and/or one of the supposed end-of-line 
characters is borked. The simplest way to test this would be to 
backspace over the offending commas and surrounding spaces and then type 
them back in.


Paul

PS: For future reference, a simple alternative to mucking around with 
package defaults is to create an empty listing inset, fiddle with 
options in the settings dialog, then just copy the empty inset and paste 
the copy in wherever you need to enter code.

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


Re: Formatting Python code

2022-05-27 Thread Paul A. Rubin

On 5/27/22 17:39, Rich Shepard wrote:

On Fri, 27 May 2022, Rich Shepard wrote:


\lset{language=Python, Tabulator size=4}


Paul,

A more recent thread on program listings

shows the command as \lstset{} but this also fails to set the default and
throws an error when I try to compile the document.

Puzzled,

Rich
AFAIK, \lstset{} is the correct command. In order to use it in the 
preamble, you have to precede it with


\usepackage{listings}. LyX automatically inserts the use package command 
after the preamble, which means the \lstset command is undefined if you 
don't manually load the package first. (LyX will still insert another 
\usepackage after the preamble, which seems to be harmless.)


The correct syntax for setting the tabulator size is tabsize=4. 
"Tabulator size=4" will cause an error.


Setting package defaults in the preamble will not register in the LyX 
settings dialog, but they will work. So the dialog will continue to say 
"no language" and tab size 4 (or whatever the dialog defaults are), but 
your preamble settings will work in the compiled document.


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


Re: Formatting Python code

2022-05-27 Thread Paul A. Rubin

On 5/27/22 15:01, Rich Shepard wrote:

I'm trying to format Python code in a document, but cannot properly set
indentation and long lines without them breaking. The document class 
is KOMA

Article.

I've set the code environment to LyX-Code.

Reading the User Guide, I don't find a section on LyX-Code; Section 
6.10 is

TeX Code and the LaTeX Syntax. That's not what I want.

What have I missed?

Rich
Rather than LyX-Code, start with Insert > Program Listing to insert a 
listings widget. Right click the widget, click Settings ..., and on the 
main settings tab use the Language drop-down to select Python. Tweak 
other settings at will.


Paul

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


Re: Curious compile error, easily fixed

2022-05-23 Thread Paul A. Rubin

On 5/23/22 13:54, Rich Shepard wrote:

On Fri, 20 May 2022, Paul A. Rubin wrote:


After the initial compilation attempt, you can open the generated .tex
file (lurking in the buffer directory) in a text editor and search 
for any

mention of verbatim. It could be that some module or funky document
element is using it. If there's more than one occurrence, the 
location of

the error in the document log window might help narrow down which one
triggered the error.


Paul,

I wonder if the SARS-COV-2 virus infected this document. Here's the 
preamble

as shown in Documents -> Settings -> Preamble:
\date{}
\usepackage{mathpazo}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{colortbl}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}

And this is the preamble in /tmp/lyx_tmpdir.oskNDlV31096/lyx_tmpbuf1:
\batchmode
\makeatletter
\def\input@path{{/home/rshepard/projects/.../.../reports/}}
\makeatother
\documentclass[twoside,headsepline=on, footsepline=on]{scrreprt}
\PassOptionsToPackage{natbib=true}{biblatex}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=4cm,bmargin=2cm,lmargin=2cm,headsep=1.5cm}
\pagestyle{plain}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{verbatim}
\usepackage{graphicx}

\makeatletter

I do not see any reference to the verbatim package in any settings dialog
box.

How do I remove an invisible package?

Regards,

Rich
From some long forgotten sci-fi movie, I think you fill the document 
with a fine powder, shake, and hope it sticks to the invisible package (?).


I created an empty document with the contents of your preamble and 
didn't get any references to verbatim. Does your document contain code 
listings or other funky elements that might automagically trigger a load 
of the verbatim package? You may need to apply bisection to find out the 
culprit.


Paul

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


Re: Curious compile error, easily fixed

2022-05-20 Thread Paul A. Rubin

On 5/20/22 18:32, Rich Shepard wrote:

Attempting to compile a document using pdflatex halts with an error
referencing a verbatim@ environment. Since I've not explicitly used that
environment, and a search of the .lyx file doesn't find that word 
present, I
wonder why it suddenly decided to show up each time I use the chord, 
C-x h.


Regardless, when I close the error window and repeat C-x h pdflatex 
happily

compiles the file.

Has anyone a thought about why the error would appear if the environment
'verbatim' can't be found in the .lyx file?

Rich


After the initial compilation attempt, you can open the generated .tex 
file (lurking in the buffer directory) in a text editor and search for 
any mention of verbatim. It could be that some module or funky document 
element is using it. If there's more than one occurrence, the location 
of the error in the document log window might help narrow down which one 
triggered the error.


Paul

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


Re: Change lyx use of tex system

2022-05-19 Thread Paul A. Rubin

On 5/17/22 08:38, tush via lyx-users wrote:

I got two tex installations on my computer running Windows.
One is TeX live 2021, the other is miktex.
Is there any way to tell lyx which one to use?
Or is it rather determined by the computer via the control panel PATH 
(in the Environmental Variables menu)?


I haven't seen any menu in LyX that lets the user to choose such a 
thing, so I tend to think that you can only make such decisions from 
the system's control panel. But I would like to be sure about it.


I'm not sure this will work, so consider it an experiment. Not knowing 
what you preferred method is for generating output, I'll focus on pdflatex.


I recommend starting LyX from a command prompt with the option "-dbg 
latex" so that you can see which TeX distribution is being used. In 
Tools > Preferences... > File Handling > Converters, select "LaTeX 
(pdflatex) -> PDF (pdflatex)" in the Converter Definitions box and 
change the entry in "Converter" to include the path to the pdflatex 
executable in whichever TeX distro you want to use. You might want to 
select "Apply to current session only" for testing (and then go back, 
remove that check box and save the change again if it works). Test by 
compiling a document.


If this works, you can make comparable changes to other converters 
("LaTeX (plain) -> DVI", etc.). If you want to have the option to choose 
between TeX distros at will, I think you will need to create new file 
formats and converters, so that for instance viewing/exporting your 
document as "PDF (pdflatex)" uses MiKTeX whereas viewing/exporting as 
"PDF (pdflatex) 2" uses TeXLive.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Problem with lyx after updating OS

2022-05-16 Thread Paul A. Rubin

On 5/16/22 14:16, Joseph Hesse wrote:

On 5/14/22 10:47, Paul A. Rubin wrote:

On 5/13/22 08:38, Joseph Hesse wrote:

Hi,

I upgraded my OS from Fedora 35 to Fedora 36.  I had no problem with 
lyx when I was using Fedora 35.  I installed lyx from my Fedora 36 
repository which is lyx 2.3.6.1.


When I start lyx I can open one of the chapters from my book and an 
attempt to open another chapter causes lyx to freeze. I have to kill 
the lyx process to quit lyx.


I did not back up the .lyx folder.

Is there a way to fix this?

This leads me to another related question.  If I write a book with a 
master and child document and want to give it to someone, what else 
besides the documents do I have to give them?


Thank you,
Joe Hesse


If you open one chapter and then attempt to open an unrelated 
document (for instance, a help file), does it still freeze?


Paul


Paul,

Thank you for your reply.

The next time I opened lyx it froze before I could do anything. Only 
thing I could do was kill the process.


I used dnf to remove lyx and reinstalled it.  This time when I opened 
lyx and before doing anything,  i got a message at the top saying 
"Portal, Select document to open is ready", The message then 
disappeared and lyx froze.  I had to kill the process.


In case there is something wrong with my Fedora installation I could 
reinstall the OS but that is not the solution of my choice.


Any help would be much appreciated.

Joe



Joe,

I don't recognize the "Portal ..." message. Is the document being opened 
on your local drive, or is it sourced from some remote site?


Rather than removing LyX again (or, worse, reinstalling Fedora), you 
might try deleting the LyX configuration info and any local files. I'm 
not familiar with Fedora, but on Ubuntu and Mint I would delete ~/.lyx 
(and everything under it) and ~/.config/LyX. I'd also make sure that 
method I was using to start LyX did not involve a shortcut with any 
special settings (naming a file to open, or a working directory, or 
anything). Starting it from a terminal would be safest. If that still 
leads to a "Portal" message and/or a freeze, wiser minds will need to 
consult. If LyX opens and tells you to run the configuration script and 
restart, hopefully you'll be in business.


Paul


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


Re: Problem with lyx after updating OS

2022-05-14 Thread Paul A. Rubin

On 5/13/22 08:38, Joseph Hesse wrote:

Hi,

I upgraded my OS from Fedora 35 to Fedora 36.  I had no problem with 
lyx when I was using Fedora 35.  I installed lyx from my Fedora 36 
repository which is lyx 2.3.6.1.


When I start lyx I can open one of the chapters from my book and an 
attempt to open another chapter causes lyx to freeze.  I have to kill 
the lyx process to quit lyx.


I did not back up the .lyx folder.

Is there a way to fix this?

This leads me to another related question.  If I write a book with a 
master and child document and want to give it to someone, what else 
besides the documents do I have to give them?


Thank you,
Joe Hesse


If you open one chapter and then attempt to open an unrelated document 
(for instance, a help file), does it still freeze?


Paul

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


Re: Top toolbar missing after switching from debian 10 to debian 11 (bullseye)

2022-05-12 Thread Paul A. Rubin

On 5/12/22 19:15, John White wrote:


Thank you Paul,


alt-T opens the Tools menu just fine, so I will likely try it without 
a fixed Top Toolbar for a while as that might give me more typing 
space. So you answered my lyx question.  Thanks much.



For what its worth, I note that my default.ui is all by itself in 
root>user>share>lyx>ui.



default.ui is also in my /usr/share/lyx/ui/default.ui), along with 
stdtoolbars.inc, stdmenus.inc and stdcontext.inc, but lyx no longer 
points there for some reason.



Not sure why my lyx is accessing root>user>share>lyx>ui but am happy 
that I can now access the tools.



John



Could you have installed LyX as root rather than as you?

I suspect the reason your menus are AWOL is that the .ui file being used 
is trying to load stdmenus.inc from the root > ... directory and not 
finding it. If true, that means you will also presumably be lacking the 
toolbars.


If you change the UI selection to /usr/share/lyx/ui/default.ui, save and 
restart LyX, does it start with the menu visible?


Paul

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


Re: Top toolbar missing after switching from debian 10 to debian 11 (bullseye)

2022-05-12 Thread Paul A. Rubin

On 5/12/22 12:56, John White wrote:


The main lyx tool bar is gone, the one with


File, Edit, View, Insert, Navigate, Document, Tools, Help.


Any thoughts on how I might get it back?


Thanks,


John



Does alt+T open the Tools menu even though it is not visible?

If so, go to Preferences ... > Look & Feel > User Interface and see what 
is set for "User interface file". If it is not "default", try choosing 
the default UI file (probably located at /usr/share/lyx/ui/default.ui).


If it is set to the default, and assuming the default is at the above 
address, make sure that there is a file named stdmenus.inc in the same 
folder. If yes, open that file in a text editor and make sure it has a 
section named Menubar listing the menus you are missing.


If you can't get to the Tools menu, check your local UI folder 
(~/.lyx/ui) and see if there is a .ui file in it. If so, rename that to 
something else (.bak?), restart LyX, and see if that helps.


Shooting in the dark,
Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: What Am I Doing Wrong … bibliography entries not being included

2022-04-19 Thread Paul A. Rubin

On 4/19/22 08:29, Trevor Jenkins wrote:

Okay here’s the simplest case

Regards, Trevor.

<>< Re: deemed!


Mistakenly sent this to Trevor only, belatedly adding it to the thread 
on the list.


Go to Document > Settings... > Document Class and look at the custom 
class options field. It ends with ",nobib". If I delete that, the 
problem is fixed.


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


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

2022-04-06 Thread Paul A. Rubin via lyx-users

On 4/6/22 10:42, Wolfgang Engelmann via lyx-users wrote:



Am 06.04.22 um 16:01 schrieb Jean-Marc Lasgouttes via lyx-users:


Dear all,

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


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


Today it is lyx-users' turn. The new behavior is:
* spams are automatically discarded; please notify the list if a 
message of yours just disappears. It seems to work correctly on the 
other lists that we have;

* members posts not qualified as spam go through as usual;
* remaining non-member posts are held for moderation.

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


Comments welcome.

JMarc


I have not gotten yet an answer to my mail March 31 2022; perhaps it 
went into the spam?


I posted this already under
tmp/lyx not a readable file
(01March22)

The error message:

/tmp/lyx_tmpdir.MQUsZMBvAPQl/Buffer_convertLyXFormatwrdYvM.lyx is not 
a readable LyX document.


since quite a number of my older (March 22) lyx files are affected and 
I can't open them, I would very much appreciate if somebody could have 
a look at it.


I found 2 lyx files close to each other, one of which gives the error 
message above, the other one is alright. I could send both privately 
(because of the size and the content) to somebody for checking them.


I use lyx 2.4.dev under Debian.

Wolfgang
The original message posted successfully to the list. (I for one did not 
respond because I don't have the 2.4dev version.)


Paul

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


Re: Request for feedback: open/close all insets of a branch ?

2022-04-02 Thread Paul A. Rubin via lyx-users

On 4/2/22 10:37, Scott Kostyshak via lyx-users wrote:

Dear all LyX branch users,

Have you ever wished there were a way to open (or close) all insets of a
certain branch? We have a pending patch on lyx-devel that would add an
option to the context-menu when you right-click on the inset of a
branch. E.g., we could add two entries "Open All" and "Close All".

Would you use this feature? Could you describe a particular use case
i.e., some context and a reason why you want to open all branch insets
of a specific branch in that context?

Scott

Can't say I've ever felt the urge to do that ... but then I rarely close 
insets, and don't use branches very often. So no, I don't see myself 
using that feature.


Paul

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


Re: About the effect General text class parameters

2022-03-31 Thread Paul A. Rubin via lyx-users

On 3/31/22 12:15, tush via lyx-users wrote:
I just selected for my document the |IEEE Transactions| layout 
(IEEEtran.layout).

In this file one can find the following content:
Sides 1
SecNumDepth 3
TocDepth 3

I expected to see a change for the corresponding parameters in the 
Document Settings dialog, but nothing changes:


The table of contents depth and section depth keeps to be just the 
same as used by my settings for Document Defaults (chapters and onward 
is not included).
I also don't see the removal of "twoside" option for the document 
class: It keeps to be

\documentclass[twoside]{article}

Should the statements of this kind (Sides, SecNumDepth, TocDepth) lock 
the corresponding buttons and menus in the document settings?
If nothing changes or activates when I declare those styles, then what 
is the point of them? Or perhaps I am missing anything here?


If you selected "IEEE Transactions" from the document class list, the 
first line of your LaTeX output should be


\documentclass[english]{IEEEtran} (give or take the "english" option). 
How exactly did you select the IEEEtran layout?


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


Re: conflict beamer, eulervm (with mnwe)

2022-03-31 Thread Paul A. Rubin via lyx-users

On 3/31/22 12:09, Neal Becker via lyx-users wrote:

Strange conflict.  Using beamer, if
\usepackage{eulervm} is added, then when
\hat{a} used something happened that causes:

! Undefined control sequence.

 \hat

l.39 \end{frame}

without \hat{} there is no error, and without \usepackage{eulervm} 
there is no error.


Any thoughts?

Thanks,

Neal




Try changing the line that loads eulervm to 
\usepackage[euler-hat-accent]{eulervm}.


Paul

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


Re: beamer reference to a page number?

2022-03-30 Thread Paul A. Rubin via lyx-users

On 3/30/22 15:04, Neal Becker wrote:
Hmm, a bit more complicated than I thought.  I really want the cross 
reference to the slide number, which is indicated in the footer.
When I put \section, I get an un-numbered slide so page numbers and 
slide numbers are not the same.
Weirdly, I put in 3 labels and 3 cross references to them. They all 
look the same format (even in the LaTeX code).  For some reason I 
can't see, 2 of them did give me a cross reference corresponding to 
the slide number, as I want, but the 3rd gave me what seems to be the 
page number (which is 4 greater than the slide number) because I have 
4 \sections before this.


On Wed, Mar 30, 2022 at 2:21 PM Paul A. Rubin via lyx-users 
 wrote:


On 3/30/22 13:56, Neal Becker via lyx-users wrote:
> Can I make a reference to a page number in a beamer document?  How?
>
>
When you say "beamer document", do you mean a Beamer slide show or a
Beamer article class document?

For a slide show, you can put the cursor in either the title or
body of
the frame to be referenced and use Insert > Label... to insert a
label.
Then, where the page number should appear, use Insert >
Cross-Reference..., pick the label of the target frame, and set the
"Reference Format:" box to one of the three options that contains
"".




-- 
lyx-users mailing list

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



--
/Those who don't understand recursion are doomed to repeat it/
It might help if you provided an MWE (just enough to show an incorrect 
slide number.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: beamer reference to a page number?

2022-03-30 Thread Paul A. Rubin via lyx-users

On 3/30/22 13:56, Neal Becker via lyx-users wrote:

Can I make a reference to a page number in a beamer document?  How?


When you say "beamer document", do you mean a Beamer slide show or a 
Beamer article class document?


For a slide show, you can put the cursor in either the title or body of 
the frame to be referenced and use Insert > Label... to insert a label. 
Then, where the page number should appear, use Insert > 
Cross-Reference..., pick the label of the target frame, and set the 
"Reference Format:" box to one of the three options that contains "".





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


Re: Box for two lines of text

2022-03-29 Thread Paul A. Rubin via lyx-users

On 3/29/22 11:10, Néstor via lyx-users wrote:

I need a frame to insert two lines of text. I have tried a normal Box,
but it only works with one line of text. I need to put a line around
the two lines, like a frame. Thank you!

A minipage (the default when you insert a box) should work. If it 
doesn't, please post a minimal (non)working example along with what 
specifically is wrong with it.


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


Re: Issue with ModernCV class

2022-03-24 Thread Paul A. Rubin via lyx-users

On 3/24/22 19:21, Rich Shepard via lyx-users wrote:
In my resume using the Modern CV class the preamble has no fancyhdr 
package

specified, yet there's still an error; the displayed message box shows,
'option class for package inputenc'. And it seems to find the fancyhdr
package although it's not called for in the preamble.

A MWE is attached.

TIA,

Rich


Rich,

Compiling your MWE, I did not run into the error message you mentioned. 
I did get an "Undefined control sequence" error for the line 
"\pagestyle{headings}", which I believe is caused by the fact that the 
Modern CV class, unlike say the standard article class, does not define 
a heading style. In Documents > Settings > Page Layout, I changed the 
"Page style:" selection from "headings" to "Default", after which the 
MWE compiled. (Whether it looks right is left to the reader as an exercise.)


Paul

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


Re: tmp dir full??

2022-03-22 Thread Paul A. Rubin via lyx-users

On 3/22/22 11:08, Wolfgang Engelmann via lyx-users wrote:

I get this message
LyX could not create the temporary directory 
'/tmp/lyx_tmpdir.DATBScmuopZF/lyx_tmpbuf5' (Disk is full maybe?)


However

wolfgang@Fuji:/tmp$ df
Dateisystem    1K-Blöcke   Benutzt Verfügbar Verw% Eingehängt auf
udev 1909644 0   1909644    0% /dev
tmpfs 386516  1420    385096    1% /run
/dev/sda2  225214052 131821964  81882176   62% /
tmpfs    1932564 0   1932564    0% /dev/shm
tmpfs   5120 4  5116    1% /run/lock
/dev/sda1 523248 12236    511012    3% /boot/efi
tmpfs 386512   164    386348    1% /run/user/1000

what to do?
Wolfgang
If you close LyX and restart it, does the repeat? If it repeats, is the 
temporary directory name different?


Also, does this happen with one document open, or only with multiple 
documents open?


Paul

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


Re: Setting up LyX on a new computer

2022-03-16 Thread Paul A. Rubin via lyx-users

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

All -

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

Thanks,

Hal
I would not copy the entire folder. After you have installed LyX on the 
new machine and verified it is running, you can copy the preferences 
file and the user.bind file in the bind subfolder. Also, you should 
check the templates and layouts subfolders under Application 
Support/LyX-2.3 and copy any custom templates, layouts and/or modules 
you might have. As always, if something with the same name already 
exists on the new machine it would safest to change the name of the file 
on the new machine before copying over the files from the old machine, 
just in case you need to undo things.


I think putting the user directory on Dropbox and syncing to all 
machines should be fine, so long as all machines will be running the 
same LyX version ... but I've never tried it myself.


Paul

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


Re: Continuation of lists across beamer frames

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 15:29, Herbert Voss via lyx-users wrote:



Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such a 
common issue - at least for me- every lecture pack I produce has 
this problem perhaps every 5 slides so its really driving me round 
the bend. I just leave the environment behind by default and 
manually add the next number  but it looks cheap and nasty. Why 
can’t there be an option to restart previous numbering? I seem to 
remember that option exists in scientific word so it must be 
possible to implement this as a very simple click choice? I have 
been pointed to the ERT route before but this is really a cry to the 
developers of Lyx. Thanks again Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. 
You just have to add the "Beamer Resumable Enumerate" module and then 
choose "Enumerate-Resume" rather than "Enumerate" from the 
environment selection list.


using package enumitem, defining an own list

\newlist{myEnum}{enumerate}{3}
\setlist{myEnum}{resume}

putting it into a LyX layout and you can use the new list myEnum which 
always

has a continuing counter.

Herbert
Is enumitem compatible with Beamer? The Beamer layout forbids the 
enumitem module.


Also, to correct myself, it was Günter Milde that wrote the enumitem module.

Paul

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


Re: Continuation of lists across beamer frames

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 13:07, markhsalmon wrote:
Thank you Paul, I really appreciate your response but this is such a 
common issue - at least for me- every lecture pack I produce has this 
problem perhaps every 5 slides so its really driving me round the 
bend. I just leave the environment behind by default and manually add 
the next number  but it looks cheap and nasty. Why can’t there be an 
option to restart previous numbering? I seem to remember that option 
exists in scientific word so it must be possible to implement this as 
a very simple click choice? I have been pointed to the ERT route 
before but this is really a cry to the developers of Lyx. Thanks again 
Paul.

Cheers,
Mark

Decision making is about predicting counterfactuals


My bad. I forgot that one of the devs (Jürgen?) already created a 
workaround in the form of a module. I've attached a different MWE. You 
just have to add the "Beamer Resumable Enumerate" module and then choose 
"Enumerate-Resume" rather than "Enumerate" from the environment 
selection list.


Paul

PS: Please bottom-post to make threads more readable.

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


Re: Continuation of lists across beamer frames

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 10:22, markhsalmon via lyx-users wrote:

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


Decision making is about predicting counterfactuals


There may be a more elegant way, but the attached MWE shows a clunky way 
to continue a numbered list across a frame boundary. It requires 
creating a new counter (in the document preamble) and using ERT to (a) 
copy the last item count from the first slide into the new counter, (b) 
copy it back into the item counter after the first item of the second 
slide and (c) increment it to account for the first item of the second 
slide. It also requires that you set the item number for the first item 
of the second slide manually. So, as I said, it is clunky.

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


Re: beamer frame (again)

2022-03-15 Thread Paul A. Rubin via lyx-users

On 3/15/22 10:03, Neal Becker via lyx-users wrote:
I'm trying to get used to the lyx way to insert beamer frames.  
Compared to the inset method I've been using I find it a bit 
inefficient, but maybe I need to learn some keyboard shortcuts to help 
with that.


One thing I'm having trouble with is inserting a beamer frame into a 
sequence of existing frames.  I have frame 1, a frame separator, and 
then frame 2.  If I try to put the cursor at the end of the separator, 
and then switch to "frame" from pulldown, this will not insert a 
frame, but seems to modify frame 2 (the cursor is placed in the title 
of frame 2).


The only way I could get a frame inserted is to first in "standard" 
mode type some random characters, and then I could switch to "frame" 
to get a new frame inserted.  What am I missing?


Thanks,
Neal

There are multiple ways to insert a frame. One is to put the cursor at 
the end of the contents of frame 1 (/not/ the separator line) and click 
Insert > Separated Frame Below. With my setup, the keyboard shortcut is 
Alt+P Return, but your mileage may vary. You can also start from frame 2 
and use Insert > Separated Frame Above.


A while back, I added a keyboard shortcut (Ctrl+Alt+Return) mapped to 
the command "call newframe". That also works like a charm.


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


Re: LyX & Windows 11?

2022-03-03 Thread Paul A. Rubin via lyx-users

On 3/3/22 11:15, Bernt Lie via lyx-users wrote:


I'm still on LyX 2.3.5-1 (have kind of been waiting for LyX 2.4...).

A few months ago, I upgraded to Windows 11. Since then, the math 
preview doesn't work properly:


  * If I set "Instant preview" to *on*,

math looks horrible:

  * If I change Instant preview to Off, this is what I see:

Is this problem due to my old version of LyX? Will it work better in a 
newer version of LyX 2.3.5.x?



If you view the document as a PDF, does the math look correct? I believe 
that instant preview uses the fonts used in the compiled document. If 
the compiled document looks wrong, you either need to install missing 
fonts or to correct the font settings for the document.


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


Re: multirow table elements

2022-02-28 Thread Paul A. Rubin via lyx-users

On 2/28/22 08:31, Neal Becker via lyx-users wrote:
I wanted to make some of the column headings multirow, because 
otherwise they would use too much horizontal space.


I see that I can select the cell, then settings/column settings, set a 
width will then autowrap the cell text, and I can use ctrl-enter to 
put the linebreak where I want.


There is also in settings/row a multirow check box.  What does this do?

Thanks,
Neal

Select two or more consecutive cells in a column, click that box, and 
they are merged into a single cell.


Paul

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


Re: How to pass marginparwidth to includegraphics

2022-02-24 Thread Paul A. Rubin via lyx-users

On 2/24/22 16:18, tush via lyx-users wrote:
I have some figures which I want to include in the marginal part of 
the document.

The graphics to be included should be of width |\marginparwidth|​.
How can I pass this width to the include graphics tool 
(Insert->Graphics) within the editor?


In plain LaTeX I would have typed

\begin{marginfigure}
  \includegraphics[width=\marginparwidth]{file.png}
\end{marginfigure}

(I created a customized marginfigure inset with a module file)

So after inserting the graphics file, I don't see any way to specify 
the above width.


The only options I have are those in the attached picture, non of 
which is marginparwidth.


Click the "LaTeX and LyX options" tab and enter "width=\marginparwidth" 
in the "LaTeX options" box.


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


Re: LyX for Mac

2022-02-18 Thread Paul A. Rubin via lyx-users

On 2/18/22 14:46, Tom Goldring via lyx-users wrote:
I have version 2.3.6.2 on my MacBook Pro. I consider it a poor 
substitute for the Windows version. I can't turn off the blinking 
cursor (extremely annoying!), I can't change the background color 
(white background gives me a headache), hotkeys don't work, etc. Is 
there an alternative binary that I could download?


Thanks,
Tom

LyX 2.3.6.2 uses Qt for the user interface. (I'm not sure which Qt 
version, but I have LyX 2.3.6.1 on Linux Mint, and my copy uses Qt 
5.12.8.) On Linux there's a Qt configuration utility that lets you 
change settings globally for all apps using the Qt library. I don't see 
an on/off switch for cursor blink, but there is a setting for "Cursor 
flash time", and setting that to 0 ms. seems to make the cursor not 
blink. This would affect all Qt-based apps on your system, but it sounds 
as if you would not object to losing cursor blink in other apps.


The key question is, is there a Qt configuration app for MacOS?

Paul

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


Re: question about "itemize"

2022-02-05 Thread Paul A. Rubin via lyx-users

On 2/5/22 15:57, Daniel via lyx-users wrote:

On 2022-02-05 16:23, Daniel via lyx-users wrote:

On 2022-02-05 16:21, Daniel via lyx-users wrote:

On 2022-02-05 07:25, Tom Goldring via lyx-users wrote:

Suppose I have an itemized list like

    paragraph 1

   - paragraph 2

    paragraph 3

where paragraph 2 is nested. If I enter this by choosing the 
"itemize" environment, then typing


paragraph 1   paragraph 2   
paragraph 3


LyX creates paragraph 3 as a new item. Is there a way to have 
paragraph 3 not be a new item? For example, if I enter paragraph 3 
in the "Quote" environment, it will look like I want it to on the 
left (i.e. it will have the same indentation as paragraph 1 without 
the large dot that indicates a new item) but if it's a long 
paragraph it will also be indented on the right, which I don't 
want. In other words, I would like it to have the same indentation 
(both right and left) as if paragraph 3 were a new item, but 
without the dot preceding paragraph 3. Hope this makes sense.


Try setting paragraph 3 with the Standard layout and indent it. Hope 
I understood what you meant.


By "indent it", I meant "increase the depth" (by pressing the tab 
key, for example).


Paul's answer makes me think that my answer wasn't fully clear. So, 
I'll attach an example document. Looks reasonable in LyX' work area too.


Daniel

I grafted my answer onto Daniel's example (as paragraphs 4 through 6), 
and the PDF output shows no differences that I can see between the two 
approaches.


Paul

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


Re: question about "itemize"

2022-02-05 Thread Paul A. Rubin via lyx-users

On 2/5/22 01:25, Tom Goldring via lyx-users wrote:

Suppose I have an itemized list like

   paragraph 1

  - paragraph 2

   paragraph 3

where paragraph 2 is nested. If I enter this by choosing the "itemize" 
environment, then typing


paragraph 1   paragraph 2   paragraph 3

LyX creates paragraph 3 as a new item. Is there a way to have 
paragraph 3 not be a new item? For example, if I enter paragraph 3 in 
the "Quote" environment, it will look like I want it to on the left 
(i.e. it will have the same indentation as paragraph 1 without the 
large dot that indicates a new item) but if it's a long paragraph it 
will also be indented on the right, which I don't want. In other 
words, I would like it to have the same indentation (both right and 
left) as if paragraph 3 were a new item, but without the dot preceding 
paragraph 3. Hope this makes sense.
After doing everything as above, with the cursor in paragraph 3, use 
Insert > Custom Item to open a custom item inset. Leave the inset empty. 
I would put it at the start of the paragraph (just after the bullet 
inserted by LyX) for neatness, but I don't think it actually matters 
where in the paragraph you put it. The undesired bullet will still 
appear in the LyX GUI, but when you view the document it should be gone.


Paul

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


Re: superscipt in large fonts

2022-01-20 Thread Paul A. Rubin via lyx-users

On 1/20/22 7:51 AM, Csikos Bela via lyx-users wrote:

Hello:

This occurs in lyx 2.3.6.1.

When I add superscript to non-default sized fonts, for example to "larger" 
fonts, the
superscript text is not scaled correctly, its size is the same as the size of 
the larger font.

How can I add correctly scaled superscript text to non default font sizes?

Thanks,

bcsikos





Method 1: After adding the superscript, select it and change its size to 
default.


Method 2: Put a space after the large text, enter the superscript 
(should be normal size), then delete the space.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 4:27 PM, tush via lyx-users wrote:

That is certainly an advance. Thanks a lot!
The output I get is

\textsl{\Large{}Here is some text in large size and slanted style.}


Any possibility to make it

{\textsl{\large Here is some text in large size and slanted style.}}


?


PLEASE bottom post in the future.

The difference between \large with a lower case "L" and \Large with a 
capital "L" comes down to whether you choose "Large" (the former) or 
"Larger" (the latter) in the font dialog.


As far as how the braces are placed, I don't think there is any way to 
change that other than ERT.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 4:02 PM, tush via lyx-users wrote:
Sure, I will take notice of the thread organization. I am new to 
mailing lists.


Yes, the "unwanted formatting" refer to {\large\par}.

Here is a (really) MWE.
On 1/16/22 3:46 PM, tush via lyx-users wrote:
>/The shape works the way I want, but the sizing rather gives the />/unwanted formatting. />//>/‐‐‐ Original Message ‐‐‐ />/On Sunday, January 16th, 2022 at 10:43 PM, protonmail.com <http://lists.lyx.org/mailman/listinfo/lyx-users>> />/wrote: />>/Could you tell me how to apply the style so that the code is the way />>/I want it to be? />>//>>/I selected the whole line, maybe lyx sees it as a paragraph. />>//>>//>>/‐‐‐ Original Message ‐‐‐ />>/On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via />>/lyx-users <http://lists.lyx.org/mailman/listinfo/lyx-users>> wrote: />>>/On 1/16/22 3:05 PM, tush via lyx-users wrote: />>>>/I want to insert the following styled text to my document: />>>>//>>>>/{\large{\textsl{Some text goes here}} />>>>//>>>>//>>>>/This is what a a LaTeX user would have inserted into his .tex file. />>>>//>>>>/If I select my text in LyX and right click it and choose Text Style />>>>/-> Customized... />>>>//>>>>/I can apply the aforementioned features, i.e. slanted shape and />>>>/large size, but the command LyX inserts is not the one above, but />>>>/rather />>>>//>>>>/\textsl{\large{}Some text goes here}{\large\par} />>>>//>>>>//>>>>/Is it possible to achieve what I first wrote, rather than inserting />>>>/ERT commands? />>>>//>>>/That last {\large\par} may have something to do with how you />>>/selected the text before applying the style change. In a test />>>/document, I did not encounter that. Comparing your ERT version with />>>/the customized style version, I can confirm the difference in the />>>/LaTeX commands but see no difference in the output. Is there a />>>/reason why you are unhappy with what LyX enters? />>>//>>>/Paul />>>//>>//>//>//First, please bottom post.


Second, does the "unwanted formatting" refer to {\large\par}? If so, we
would need a minimal example. It would need to be a self-contained
document (your previous MWE had include commands for child documents not
attached to the message), preferably with as little customization as
possible. Every package you add, font or language change you make, etc.
makes it a bit less likely that someone on the list has all the packages
necessary to compile your MWE.

If by "unwanted formatting" you mean that you really want the LaTeX
commands entered in the order you used in your ERT, I doubt that is
possible without resorting to ERT.

Paul



As I suspected, the issue is that the text you are formatting occurs at 
the very end of a paragraph. The following is a bit "hacky" but solves 
the problem. First, add a space after the end of the text. Then select 
the text (excluding that extra space) and make the style change. The 
trailing space on the first line is harmless, but feel free to delete it 
if you wish.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 3:46 PM, tush via lyx-users wrote:
The shape works the way I want, but the sizing rather gives the 
unwanted formatting.


‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:43 PM,  
wrote:
Could you tell me how to apply the style so that the code is the way 
I want it to be?


I selected the whole line, maybe lyx sees it as a paragraph.


‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via 
lyx-users  wrote:

On 1/16/22 3:05 PM, tush via lyx-users wrote:

I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}


This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style 
-> Customized...


I can apply the aforementioned features, i.e. slanted shape and 
large size, but the command LyX inserts is not the one above, but 
rather


\textsl{\large{}Some text goes here}{\large\par}


Is it possible to achieve what I first wrote, rather than inserting 
ERT commands?


That last {\large\par} may have something to do with how you 
selected the text before applying the style change. In a test 
document, I did not encounter that. Comparing your ERT version with 
the customized style version, I can confirm the difference in the 
LaTeX commands but see no difference in the output. Is there a 
reason why you are unhappy with what LyX enters?


Paul







First, please bottom post.

Second, does the "unwanted formatting" refer to {\large\par}? If so, we 
would need a minimal example. It would need to be a self-contained 
document (your previous MWE had include commands for child documents not 
attached to the message), preferably with as little customization as 
possible. Every package you add, font or language change you make, etc. 
makes it a bit less likely that someone on the list has all the packages 
necessary to compile your MWE.


If by "unwanted formatting" you mean that you really want the LaTeX 
commands entered in the order you used in your ERT, I doubt that is 
possible without resorting to ERT.


Paul

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


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 3:05 PM, tush via lyx-users wrote:

I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}


This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style -> 
Customized...


I can apply the aforementioned features, i.e. slanted shape and large 
size, but the command LyX inserts is not the one above, but rather


\textsl{\large{}Some text goes here}{\large\par}


Is it possible to achieve what I first wrote, rather than inserting 
ERT commands?


That last {\large\par} may have something to do with how you selected 
the text before applying the style change. In a test document, I did not 
encounter that. Comparing your ERT version with the customized style 
version, I can confirm the difference in the LaTeX commands but see no 
difference in the output. Is there a reason why you are unhappy with 
what LyX enters?


Paul

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


Re: Program Listings

2022-01-13 Thread Paul A. Rubin via lyx-users

On 1/12/22 7:22 AM, Joseph Hesse via lyx-users wrote:
I am writing a programing book and want to have programs that have 
been prepared with a text editor included in the book.  This is what I 
have done so far.


Insert->File->Child Document

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

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

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

The label I have set above does not appear anywhere.

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


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


Thank you,
Joe Hesse

Your method of inserting the code is correct. To address your specific 
concerns:


 * putting the caption on the bottom requires the key/value pair
   "caption/pos/=b";
 * the label is not supposed to appear anywhere; it is used for
   cross-referencing the code elsewhere in the document;
 * the key/value pair to use the typewriter font family and color the
   code olive ("green" would be too hard to read, I think) would be
   "basicstyle={\color{olive}\ttfamily}".

You may need to load the xcolor package (or some alternative) explicitly 
in the preamble, if your LyX document does not already use colors elsewhere.


HTH,

Paul

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


Re: Nested decription lists

2022-01-08 Thread Paul A. Rubin via lyx-users

On 1/7/22 9:59 PM, Anthony Macks wrote:

On 1/7/22 6:53 PM, Anthony Macks wrote:



On Sat, 8 Jan 2022 at 10:25, Paul A. Rubin via lyx-users 
mailto:lyx-users@lists.lyx.org>> wrote:


On 1/7/22 5:09 PM, Anthony Macks via lyx-users wrote:

Dear LyX users,

I am nesting description lists and want to justify the text
within the nested list.

I have attached my MWE, output and a copy of what I want the
output to look like.

I am using the module "Customisable Lists (enumitem)." with the
article class. When I right click on the description label, an
options box is produced. However, the options to go in the box
(I get the options from the enumitem package) are not producing
the desired effect.

Warm Regards,
Anthony


The attached solution is horribly hack-ish, but I think does what
you want. You need to use the "style=multiline" option and juggle
the left margin settings a bit. Also, LaTeX wants to align the
indented description term with the start of the definition of an
unindented term, so I had to put some custom line spacing in to
drag the indented items back to where you want them. There's
probably a more elegant solution to be found somewhere.

Paul



Thanks Paul.

Ideally, it would be nice if the labelwidth could be determined based 
upon the width of the longest label. But my skills are not yet up to 
that.


I have a solution below that is workable.

However, I have done a little more exploring with the description 
options (right-clicking or Alt A 1). Not all of them seem to work as 
they should. In particular, the options which require a \command 
don't seem to work. Am I missing something?


Anthony
Can you post an MWE of a command that you don't think is working as 
expected?


Paul

Hi Paul,

I have attached an MWE and its output.
I think that I do not have a full grasp of the options and their 
correct use.
To use a \command inside description, do I need to use it only in 
\setlist in my Preamble.


Anthony

This may have been answered elsewhere in the thread, but just to be 
safe, I'm attaching a tweaked copy of your MWE that I think does what 
you want. The key is that the command \normalfont has to be flagged as 
LaTeX code (aka ERT). Otherwise LyX translates "\" to "\textbackslash". 
To get the modified version, I just selected the \normalfont command and 
hit ctrl+L.


Paul



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


Re: Nested decription lists

2022-01-07 Thread Paul A. Rubin via lyx-users

On 1/7/22 6:53 PM, Anthony Macks wrote:



On Sat, 8 Jan 2022 at 10:25, Paul A. Rubin via lyx-users 
mailto:lyx-users@lists.lyx.org>> wrote:


On 1/7/22 5:09 PM, Anthony Macks via lyx-users wrote:

Dear LyX users,

I am nesting description lists and want to justify the text
within the nested list.

I have attached my MWE, output and a copy of what I want the
output to look like.

I am using the module "Customisable Lists (enumitem)." with the
article class. When I right click on the description label, an
options box is produced. However, the options to go in the box (I
get the options from the enumitem package) are not producing the
desired effect.

Warm Regards,
Anthony


The attached solution is horribly hack-ish, but I think does what
you want. You need to use the "style=multiline" option and juggle
the left margin settings a bit. Also, LaTeX wants to align the
indented description term with the start of the definition of an
unindented term, so I had to put some custom line spacing in to
drag the indented items back to where you want them. There's
probably a more elegant solution to be found somewhere.

Paul



Thanks Paul.

Ideally, it would be nice if the labelwidth could be determined based 
upon the width of the longest label. But my skills are not yet up to that.


I have a solution below that is workable.

However, I have done a little more exploring with the description 
options (right-clicking or Alt A 1). Not all of them seem to work as 
they should. In particular, the options which require a \command don't 
seem to work. Am I missing something?


Anthony
Can you post an MWE of a command that you don't think is working as 
expected?


Paul

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


Re: Nested decription lists

2022-01-07 Thread Paul A. Rubin via lyx-users

On 1/7/22 5:09 PM, Anthony Macks via lyx-users wrote:

Dear LyX users,

I am nesting description lists and want to justify the text within the 
nested list.


I have attached my MWE, output and a copy of what I want the output to 
look like.


I am using the module "Customisable Lists (enumitem)." with the 
article class. When I right click on the description label, an options 
box is produced. However, the options to go in the box (I get the 
options from the enumitem package) are not producing the desired effect.


Warm Regards,
Anthony

The attached solution is horribly hack-ish, but I think does what you 
want. You need to use the "style=multiline" option and juggle the left 
margin settings a bit. Also, LaTeX wants to align the indented 
description term with the start of the definition of an unindented term, 
so I had to put some custom line spacing in to drag the indented items 
back to where you want them. There's probably a more elegant solution to 
be found somewhere.


Paul



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


Re: lyx_tmpdirs in /tmp

2022-01-06 Thread Paul A. Rubin via lyx-users

On 1/6/22 12:31 PM, José Abílio Matos via lyx-users wrote:


On Thursday, 6 January 2022 14.28.53 WET Wolfgang Engelmann via 
lyx-users wrote:


> This is what I get after

> mount | grep tmp:

>

> udev on /dev type devtmpfs

> (rw,nosuid,relatime,size=1909652k,nr_inodes=477413,mode=755)

> tmpfs on /run type tmpfs

> (rw,nosuid,nodev,noexec,relatime,size=386516k,mode=755)

> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

> tmpfs on /run/lock type tmpfs 
(rw,nosuid,nodev,noexec,relatime,size=5120k)


> tmpfs on /run/user/1000 type tmpfs

> 
(rw,nosuid,nodev,relatime,size=386512k,nr_inodes=96628,mode=700,uid=1000,gid


> =1000)

>

> where does one see the erasing period/time?

>

> Wolfgang


The issue here is that /tmp does not seem to be managed by tmpfs. :-(


FWIW my full output is similar to yours:


devtmpfs on /dev type devtmpfs 
(rw,nosuid,seclabel,size=16104168k,nr_inodes=4026042,mode=755,inode64)


tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel,inode64)

tmpfs on /run type tmpfs 
(rw,nosuid,nodev,seclabel,size=6452820k,nr_inodes=819200,mode=755,inode64)


tmpfs on /tmp type tmpfs 
(rw,nosuid,nodev,seclabel,size=16132044k,nr_inodes=409600,inode64)


tmpfs on /run/user/1000 type tmpfs 
(rw,nosuid,nodev,relatime,seclabel,size=3226408k,nr_inodes=806602,mode=700,uid=1000,gid=1000,inode64)



--

José Abílio


This may be a distribution thing. My output from "mount | grep tmp" on 
Mint is similar to Wolfgang's and in particular does not mention /tmp. 
That said, I do get automatic cleaning of /tmp. For recent versions of 
Ubuntu (and hence Mint), and apparently for Red Hat Enterprise and maybe 
some other distros, cleaning /tmp is a service handled by systemd. Based 
on stuff I found on the web, I ran


cat /usr/lib/systemd/system/systemd-tmpfiles-clean.timer

on my system and got the following:

[Unit]
Description=Daily Cleanup of Temporary Directories
Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)

[Timer]
OnBootSec=15min
OnUnitActiveSec=1d

Running "man systemd-tmpfiles" produces a fairly comprehensive (meaning 
lengthy) explanation.


Paul

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


Re: lyx_tmpdirs in /tmp

2022-01-05 Thread Paul A. Rubin via lyx-users

On 1/5/22 1:08 PM, Wolfgang Engelmann via lyx-users wrote:



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



On 05.01.22 16:59, Paul A. Rubin via lyx-users wrote:

On 1/5/22 8:29 AM, Wolfgang Engelmann via lyx-users wrote:

Can I delete the lyx_tmpdirs in the root /tmp?
I have the impression, that a rerun of lyx uses it, which I do not 
want.

I use Lyx Version 2.4.0dev (not released yet)
Built from git commit hash 53ed3dc0
Qt Version (run-time): 5.15.2 on platform xcb
Qt Version (compile-time): 5.15.2
Python detected: python3 -tt

Wolfgang
Once you have closed LyX, there should be no problem with deleting 
those directories. LyX will create new ones the next time you open 
it. Depending on your operating system, they are probably also 
removed automatically at certain intervals. On Ubuntu and Linux 
Mint, I believe the default behavior is to clear out /tmp on 
shutdown or once per day if the system is left running for an 
extended time.


Paul


Thanks, Paul, for these infos.
Wolfgang


I have removed the /lyx_tmpbuf folder, but in running lyx again I get 
an error reading in temporal layout information and

could not open /lyx_tmpbuf ... .tex
Will wait until tomorrow and hope the temporal files are gone.

Wolfgang
Did you close LyX before removing the folder? I just ran a test on my 
system (Linux Mint, LyX 2.3.6.1). I edited and viewed a document, then 
exited LyX. Before LyX shut down, it deleted the temporary directory and 
all contents. When I opened LyX again, it created a new temporary 
directory as expected.


Paul

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


Re: lyx_tmpdirs in /tmp

2022-01-05 Thread Paul A. Rubin via lyx-users

On 1/5/22 8:29 AM, Wolfgang Engelmann via lyx-users wrote:

Can I delete the lyx_tmpdirs in the root /tmp?
I have the impression, that a rerun of lyx uses it, which I do not want.
I use Lyx Version 2.4.0dev (not released yet)
Built from git commit hash 53ed3dc0
Qt Version (run-time): 5.15.2 on platform xcb
Qt Version (compile-time): 5.15.2
Python detected: python3 -tt

Wolfgang
Once you have closed LyX, there should be no problem with deleting those 
directories. LyX will create new ones the next time you open it. 
Depending on your operating system, they are probably also removed 
automatically at certain intervals. On Ubuntu and Linux Mint, I believe 
the default behavior is to clear out /tmp on shutdown or once per day if 
the system is left running for an extended time.


Paul

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


Re: Slow LyX File - DVI-to-PDF Converter - Clip to Coordinates

2021-12-23 Thread Paul A. Rubin via lyx-users

On 12/23/21 5:48 AM, Baris Erkus via lyx-users wrote:
I am experiencing a slowdown on a LyX document. I am suspecting that 
this is related to the "Clip to Coordinates" in the Graphics option, 
which calls the DVI-to-PDF Converter (in Windows) at the backstage 
constantly.


When "Clip to Coordinates" option of any figure is selected, LyX 
constantly executing DVI-to-PDF Converter using command-line window 
even if you are not working on that specific figure (ie writing 
regular text at somewhere else), and even if that specific figure is 
not on the screen.


Furthermore, I realized that even if I uncheck the "Clip to 
Coordinates" option and click the "Apply" and "Close", the LaTeX code 
preview at the includegraphics command still shows the viewport 
option, but without the ",clip". So, normally, it should completely 
remove the viewport option and get the values from the file, am I 
right? Since the viewport options stays, LyX is calling the DVI-to-PDF 
converter, which again causes slowdown. Unchecking the option and then 
pressing the "Get from file" solves the problem tough. This is very 
un-intuitional. I feel like something fishy is going on here.


I have attached a MWE. My OS is Windows 10, MikTeX is the latest 
version and LyX is 2.3.6.1. Could somebody check this with other OS or 
other versions. Any feedback would be appreciated.




No slowdown here (Linux Mint, LyX 2.3.6.1, Qt 5.12.8.

Paul

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


Re: User list server settings

2021-12-16 Thread Paul A. Rubin via lyx-users

On 12/16/21 12:00 PM, Jean-Marc Lasgouttes via lyx-users wrote:

Le 16/12/2021 à 05:13, Paul A. Rubin via lyx-users a écrit :

Hi all,

Did a gremlin mess with server settings for this list? For the last 
few days, every message I've gotten has had  "mailing list" 
(lyx-users@lists.lyx.org) in both From and To fields, which means my 
mail client no longer shows who the sender was. (The sender's name 
and address are in the "Reply to" field.) In contrast, the developer 
list continues to behave itself, with the sender's name in the From 
field and "LyX Developers" in the To field.


I am not sure if I would qualify this as a gremlin, but one of the 
people from OSUOSL.org (which gracefully hosts these lists and our 
server) did tweak this mailing list.


Why did such a thing happen?

Well, every time our friend Valdemaras (aka sov...@yahoo.com) posted a 
message on the list, I got a bounce from every subscriber to this list 
who use a yahoo-based ISP (that's 40 people who did not get the 
message). This with an error message about spam and DMARC that I am 
not sure to understand. As I do not understand why Valdemaras is our 
only user who freaks out yahoo.


So we can try to tweak again and better the list, but no promises. And 
if there is a specialist of mailman reading this, hints will be welcome.


JMarc
Thanks JMarc. That sheds some light. It is quite curious that the change 
affects different recipients in different ways, even when we use the 
same mail client (though perhaps not with the same email provider).


In any case, while I would prefer to have the proper sender display 
back, if that can't be done I can accept the "new normal" as the price 
of avoiding your being spammed. :-)


Paul


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


Re: User list server settings

2021-12-16 Thread Paul A. Rubin via lyx-users

On 12/16/21 8:17 AM, Daniel via lyx-users wrote:

On 16/12/2021 05:13, Paul A. Rubin via lyx-users wrote:

Hi all,

Did a gremlin mess with server settings for this list? For the last 
few days, every message I've gotten has had  "mailing list" 
(lyx-users@lists.lyx.org) in both From and To fields, which means my 
mail client no longer shows who the sender was. (The sender's name 
and address are in the "Reply to" field.) In contrast, the developer 
list continues to behave itself, with the sender's name in the From 
field and "LyX Developers" in the To field.


It's not a big deal, but as one of the older members of the list I 
feel I should point out that we elderly types do confuse easily.


Paul



I see a similar problem. But my client (Thunderbird) gives the name 
with a "via lyx-users". So, I can see who send the email but in an 
annoying way. lyx-devel seems to be unaffected.


Daniel

That's curious. I too use Thunderbird (78.14.0) but I just see "mailing 
lyx" in the "From" column.


Paul

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


Re: User list server settings

2021-12-16 Thread Paul A. Rubin via lyx-users

On 12/15/21 11:13 PM, Paul A. Rubin wrote:

Hi all,

Did a gremlin mess with server settings for this list? For the last 
few days, every message I've gotten has had  "mailing list" 
(lyx-users@lists.lyx.org) in both From and To fields, which means my 
mail client no longer shows who the sender was. (The sender's name and 
address are in the "Reply to" field.) In contrast, the developer list 
continues to behave itself, with the sender's name in the From field 
and "LyX Developers" in the To field.


It's not a big deal, but as one of the older members of the list I 
feel I should point out that we elderly types do confuse easily.


Paul

Oops, there's a typo there. What I see in the "From" field is "mailing 
lyx", not "mailing list".


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


User list server settings

2021-12-15 Thread Paul A. Rubin via lyx-users

Hi all,

Did a gremlin mess with server settings for this list? For the last few 
days, every message I've gotten has had  "mailing list" 
(lyx-users@lists.lyx.org) in both From and To fields, which means my 
mail client no longer shows who the sender was. (The sender's name and 
address are in the "Reply to" field.) In contrast, the developer list 
continues to behave itself, with the sender's name in the From field and 
"LyX Developers" in the To field.


It's not a big deal, but as one of the older members of the list I feel 
I should point out that we elderly types do confuse easily.


Paul

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


Re: Glitch (bug?) in 2.3.6.1 (fwd)

2021-12-09 Thread Paul A. Rubin via lyx-users

On 12/9/21 4:36 PM, Rich Shepard via lyx-users wrote:

Not sent to list by mistake.

-- Forwarded message --
Date: Thu, 9 Dec 2021 13:21:31 -0800 (PST)
From: Rich Shepard 
To: parubi...@gmail.com
Subject: Re: Glitch (bug?) in 2.3.6.1

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


So methinks an MWE is needed.


Paul, et al.:

See attached. It produces the error message box here.

Rich

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


Paul

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


Re: Glitch (bug?) in 2.3.6.1

2021-12-09 Thread Paul A. Rubin via lyx-users

On 12/9/21 3:27 PM, Rich Shepard via lyx-users wrote:

I've encountered unusual behavior when compiling the document using
pdflatex. When I've used an ERT within a float figure's caption lyx
highlights the string containing that ERT and pops up an error box which
tells me only that there's an error.

Closing that error box and repeating the command, ctrl-x/ctrl-h, presents
the message that the pdf files's been created in the status bar.

In one figure caption I had '\mu' in an ERT box, in the other caption 
it is

'\textdegree' in the box.

Since I don't subscribe to the dev's mail list I'm posting this here. It
might be a bug, or the error message box and highlighting might be only a
distracting glitch.

Rich
I can't reproduce this (with 2.3.6.1). Putting \textdegree in ERT in the 
float caption works fine. Putting \mu in ERT predictably does not, but 
putting it in a math environment works, as does putting $\mu$ in ERT.


So methinks an MWE is needed.

Paul

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


Re: aux file

2021-11-30 Thread Paul A. Rubin

On 11/30/21 11:37 AM, Wolfgang Engelmann wrote:



Am 30.11.21 um 17:11 schrieb Paul A. Rubin:

On 11/30/21 10:52 AM, Wolfgang Engelmann wrote:

What is the best way of getting the aux file

a) for a bibtex situation
b) for a biblatex/biber/luatex situation?

I have a large bib file, of which only few references are used

Wolfgang
When you compile the document in LyX, the .aux file will be written 
in the temporary directory. On a Linux system, this will typically be 
/tmp/lyx_tmpdir./lyx_tmpbuf0 (if this is the first open 
document in LyX; if not, change 0 to 1, 2 or whatever). While the 
document remains open in LyX, you can use your system's file browser 
to find and copy it.


Paul


Thanks, Paul, for your quick answer.
I am using Debian, but can't find /tmp in my home.

It is not in your home, it's directly under the system root (parallel to 
/usr, /opt etc.). I use Mint, which is a derivative of Ubuntu, but I'm 
pretty sure Ubuntu and Debian have the same basic directory structure. 
If for some reason that is not where the LyX temp directory lives, you 
can always check Tools > Preferences... > Paths > Temporary directory: 
to find out where the LyX temporary files are hiding.


Paul

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


Re: aux file

2021-11-30 Thread Paul A. Rubin

On 11/30/21 10:52 AM, Wolfgang Engelmann wrote:

What is the best way of getting the aux file

a) for a bibtex situation
b) for a biblatex/biber/luatex situation?

I have a large bib file, of which only few references are used

Wolfgang
When you compile the document in LyX, the .aux file will be written in 
the temporary directory. On a Linux system, this will typically be 
/tmp/lyx_tmpdir./lyx_tmpbuf0 (if this is the first open 
document in LyX; if not, change 0 to 1, 2 or whatever). While the 
document remains open in LyX, you can use your system's file browser to 
find and copy it.


Paul

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


Re: Page numbers not showing in place

2021-11-30 Thread Paul A. Rubin

On 11/30/21 4:51 AM, Daniel wrote:

On 30/11/2021 08:08, Melvin Bolton wrote:

Hello Paul

Thank you for your response. I've cut the Lyx document down to the 
few first pages, and am also attaching the pdf output from it. You 
will see one entry in the preamble that reverses the odd/even pages. 
Without this, the right side (recto) pages show the left page 
margins, but the numbering problem remains, with or without that 
entry in the preamble.


Melvin

On 30/11/2021 10:44, Paul A. Rubin wrote:

On 11/29/21 7:00 PM, Melvin Bolton wrote:
I have in the past completed a lengthy book, using Lyx,  without 
needing to trouble anybody for help, but I'm now baffled by what 
should be a simple, basic task and I have no idea what to try next.


My problem is that the pagestyle settings that should place page 
numbers in the footer, are showing them in the output only on the 
first page of each chapter, which the User Guide says is treated by 
Lyx as a special environment.
I began with KOMA-Script ( scrbook) with pagestyle set to 'plain' 
as I'd done previously. This places page numbers in the outer end 
of the footer as I prefer them. When I found them only appearing on 
the first page of each chapter I searched online and tried pasting 
a few commands in the preamble but nothing helped and mostly I got 
compilation errors. I've cleared the preamble.


I tried Lyx Standard Class (Book) with pagestyle set to 'plain', 
which centred the page numbers as it should, but still only on 
first pages of chapters. Neither was there any improvement after I 
tried pagestyle set to 'fancy' and tried to customize that. It's as 
though chapter footers are not accessible, except for first page.


In my document, immediately before the first chapter, I have the 
following ERT:  \mainmatter\pagestyle{plain} \setcounter{page}{1}


The frontmatter is fine because I have don't want page numbers 
there and have pagestyle set to 'empty.' That, at least, has 
worked; there were Roman numerals there to begin with.
Finally, I did a reinstallation of Lyx (ver. 2.3.6.1) in case of 
corruption, (apparently not) and I'm now out of ideas.


I shall be truly grateful for any help, but I will need precise 
instruction if I am to paste commands correctly into the preamble. 
I really am an old novice.


Thank you


Hi Melvin,

Try removing the centering from the ERT with

\mainmatter\pagestyle{plain} \setcounter{page}{1}

That seems to mess things up, probably because pagestyle is then in an 
environment?!? (Also, I think you can skip \setcounter{page}{1} 
because \mainmatter should take care of that and you can switch back 
to the KOMA-script book class.)


Best,
Daniel


Confirmed. Good catch!

Paul

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


Re: Page numbers not showing in place

2021-11-29 Thread Paul A. Rubin

On 11/29/21 7:00 PM, Melvin Bolton wrote:
I have in the past completed a lengthy book, using Lyx,  without 
needing to trouble anybody for help,  but I'm now baffled by what 
should be a simple, basic task and I have no idea what to try next.


My problem is that the pagestyle settings that should place page 
numbers in the footer, are showing them in the output only on the 
first page of each chapter, which the User Guide says is treated by 
Lyx as a special environment.
I began with KOMA-Script ( scrbook) with pagestyle set to 'plain' as 
I'd done previously. This places page numbers in the outer end of the 
footer as I prefer them. When I found them only appearing on the first 
page of each chapter I searched online and tried pasting a few 
commands in the preamble but nothing helped and mostly I got 
compilation errors. I've cleared the preamble.


I tried Lyx Standard Class (Book) with pagestyle set to 'plain', which 
centred the page numbers as it should, but still only on first pages 
of chapters. Neither was there any improvement after I tried pagestyle 
set to 'fancy' and tried to customize that. It's as though chapter 
footers are not accessible, except for first page.


In my document, immediately before the first chapter, I have the 
following ERT:  \mainmatter\pagestyle{plain} \setcounter{page}{1}


The frontmatter is fine because I have don't want page numbers there 
and have pagestyle set to 'empty.' That, at least, has worked; there 
were Roman numerals there to begin with.
Finally, I did a reinstallation of Lyx (ver. 2.3.6.1) in case of 
corruption, (apparently not) and I'm now out of ideas.


I shall be truly grateful for any help, but I will need precise 
instruction if I am to paste commands correctly into the preamble. I 
really am an old novice.


Thank you

Melvin

I think we will need a minimal example (MWE) of this to diagnose. The 
LyX file should be self-contained if possible, so you try cutting out 
illustrations and other external matter. If the contents is not for our 
eyes, feel free to substitute "blah blah blah" or whatever, so long as 
when you compile the MWE the page numbers remain buggered.


Paul

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


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-28 Thread Paul A. Rubin

On 11/27/21 8:53 PM, Steve Litt wrote:

Paul A. Rubin said on Sat, 27 Nov 2021 17:57:57 -0500


On 11/27/21 4:44 PM, Steve Litt wrote:

Armed with the knowledge that reconfigure.py writes to
lyxrc.defaults, and the fact that I could find no other way to
change the PDF viewer, I edited reconfigure.py, changing the order
of the viewers in the array argument to subroutine CheckViewer(),
*only* for a filetype of PDF. Sure enough it worked, giving me the
first viewer, in the array, that was on my path.
  

Was that viewer mupdf? Since the config script looks for mupdf and
apparently wasn't finding it (?), I'm wondering if the problem isn't
something to do with your command path.

Here's the thing. LyX exhibited this symptom for *every* previewer
except for qpdfview. When I temporarily uninstalled qpdfview so it
couldn't be found, it used a second viewer, and no attempt to use
any third viewer would displace the second viewer. LyX was obviously
going down a list and using the first viewer, on that list, that it
found. I found just such a list in reconfigure.py, reordered the list,
and changed it to use mupdf, and it used mupdf.

So until somebody can show me a way to select a viewer to assign to the
eyeballs, my conclusion is the only way to set the eyeballs viewer is
to go into reconfigure.py and rearrange the viewer array argument of
CheckViewer() in cases where the filetype is PDF.

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
Very odd. The config script should check for all the viewers in the 
list, and all the ones it finds should appear in the select box for the 
corresponding file type. That works on my system (Linux Mint); I get 
three viewers sandwiched between None and Custom.


Might be worth filing a bug report.

Paul

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


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-27 Thread Paul A. Rubin

On 11/27/21 4:44 PM, Steve Litt wrote:


Armed with the knowledge that reconfigure.py writes to lyxrc.defaults,
and the fact that I could find no other way to change the PDF viewer, I
edited reconfigure.py, changing the order of the viewers in the array
argument to subroutine CheckViewer(), *only* for a filetype of PDF.
Sure enough it worked, giving me the first viewer, in the array, that
was on my path.

Was that viewer mupdf? Since the config script looks for mupdf and 
apparently wasn't finding it (?), I'm wondering if the problem isn't 
something to do with your command path.


Paul

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


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-26 Thread Paul A. Rubin

On 11/26/21 3:40 AM, Steve Litt wrote:

Paul A. Rubin said on Thu, 25 Nov 2021 23:11:34 -0500


On 11/25/21 8:49 PM, Steve Litt wrote:

Hi all,

No matter what I've tried, Ctrl+R and the little eyeballs icon
displays the PDF version of the document only in qpdfview. I changed
tools=>preferences=>output=>general=>PDF Command to
mupdf "$$o#src:$$f:$$n:0"
and yet still, the eyeballs and Ctrl+R display in qpdfview.

Why this matters is, alone in all my PDF viewers, qpdfview displays
links with annoying boxes around them, even though I did:

\usepackage{hyperref }%  Colored, clickable URLs
\hypersetup{
hidelinks = true,
colorlinks   = true, %Colours links instead of ugly boxes
urlcolor = linkcolor, %Colour for external hyperlinks
linkcolor= linkcolor, %Colour of internal links
citecolor   = green %Colour of citations
}

So, how does one set the viewer when presses Ctrl+R or clicks the
eyeballs?

Thanks,

SteveT

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

Try Tools > Preferences... > File Handling > File Format, select in
the "Format:" box the way you compile to PDF (so "PDF (pdflatex)" for
me, since I'm old fashioned), then select your preferred PDF viewer in
the "Viewer:" menu and click OK. If your preferred viewer is not
there, select "Custom" and put the command to run the viewer in the
box alongside the menu.

Thanks Paul,

Tools=>Preferences=>File Handling=>File Formats=>Viewer: is a list box
that gives me only two choices: None and Custom. It was on None, so I
switched to Custom and put mupdf, and left and restarted LyX. No
change, still rendered in qpdfview. So I went into
~/.lyx/lyxrc.defaults and added
\viewer_alternatives pdf  "mupdf"
for pdf thru pdf8. But when I exited and restarted LyX, the Viewer
dropdown still only offered Custom and None.

So as a Hail Mary, after adding all the mupdf lines, I performed a
Tools=>Reconfigure, and it replaced all my mupdf with qpdfview. :/-)

At this point it was 3:30AM and I decided to save it for another day.

Thanks,

SteveT

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

Steve,

Well, the failure of the Hail Mary was at least consistent. When you 
reconfigure, the defaults file gets overwritten.


If you run "which mupdf" in a terminal, does the system show the correct 
path? If not, maybe LyX is sensing that it can't find mupdf (because it 
needs a full path) and thus omits it. Otherwise, I don't see why the 
manual edit of the defaults file wouldn't work.


I just looked at the configure.py script, and 'mupdf' is on the list of 
PDF viewers it looks for. So I suggest you look at the configure.log 
file in ~/.lyx. I ran "grep -i mupdf configure.log" on mine and got


INFO: +checking for "mupdf"...  no

(which is correct for my system). If yours says no, then the config 
script is no able to find mupdf.


Paul

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


Re: Ctrl+R and the little eyeballs icon can only display in qpdfview

2021-11-25 Thread Paul A. Rubin

On 11/25/21 8:49 PM, Steve Litt wrote:

Hi all,

No matter what I've tried, Ctrl+R and the little eyeballs icon displays
the PDF version of the document only in qpdfview. I changed
tools=>preferences=>output=>general=>PDF Command to
mupdf "$$o#src:$$f:$$n:0"
and yet still, the eyeballs and Ctrl+R display in qpdfview.

Why this matters is, alone in all my PDF viewers, qpdfview displays
links with annoying boxes around them, even though I did:

\usepackage{hyperref }%  Colored, clickable URLs
\hypersetup{
   hidelinks = true,
   colorlinks   = true, %Colours links instead of ugly boxes
   urlcolor = linkcolor, %Colour for external hyperlinks
   linkcolor= linkcolor, %Colour of internal links
   citecolor   = green %Colour of citations
}

So, how does one set the viewer when presses Ctrl+R or clicks the
eyeballs?

Thanks,

SteveT

Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
Try Tools > Preferences... > File Handling > File Format, select in the 
"Format:" box the way you compile to PDF (so "PDF (pdflatex)" for me, 
since I'm old fashioned), then select your preferred PDF viewer in the 
"Viewer:" menu and click OK. If your preferred viewer is not there, 
select "Custom" and put the command to run the viewer in the box 
alongside the menu.


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


Re: How to use the environment defined by \lstnewenvironment in LyX

2021-11-24 Thread Paul A. Rubin

On 11/24/21 2:00 AM, Guofeng Zhang wrote:

Hi,

I have created the new listing environment and use it in LyX by Tex 
Code well.Is there any way that I could configure LyX (for example,  
LyX's Programming Listings) to use this listing environment?


Searched by google, but no way to go , so I tried to create a LyX 
inset to use it. So another question: can I define an inset that 
always has full line width in the editor?


Thanks for your help!

Guofeng

I'm not sure this will help, but I have a couple of LyX modules in 
GitHub repositories that might give you some ideas.


The simpler module is "pseudolst" (https://github.com/prubin73/pseudolst 
). It adds some pseudocode 
capabilities by tweaking the standard LyX "listing" environment, 
effectively adding a new language for listings.


The more complex module is "pseudocode" 
(https://github.com/prubin73/algpseudocode 
), which adds support for the 
algpseudocode style in the algorithmx LaTeX package. It provides new LyX 
paragraph styles for a gaggle of pseudocode commands. It could be that 
mimicking something like this but with one new style would be all you 
would need.


Both come with a LyX file containing instructions and demo code. To view 
the LyX files properly, you would need to install the required LaTeX 
package (listings.sty for the first, algorithmx for the second) if you 
don't already have it, install the module in your local modules 
directory, then reconfigure LyX. Before doing that, though, you might 
want to download the compiled versions of the documents (PDF files, one 
in each repo) and see if they resonate with you.


Paul

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


Re: Fwd: Why do two graphics next to each other in a float have a large gap between them? WAS: Re: why is the tar.gz file extremely large?

2021-11-16 Thread Paul A. Rubin

On 11/16/21 10:39 AM, Wolfgang Engelmann wrote:



Am 16.11.21 um 16:34 schrieb Jean-Marc Lasgouttes:

Le 16/11/2021 à 16:25, Wolfgang Engelmann a écrit :
But the pdf file shows still the figure with a large gap between the 
graphics, although I did not insert a horizontal space between them.

So I change the topic to
Why do two graphics next to each other in a float have a large gap 
between them?


Hi Wolfgang,

We would need to see the file (or another example if it is private) 
to answer this.


JMarc


Here it is.
Wolfgang

The coordinates specified for the two images appear to be wrong. Try the 
following. Click on each image, go to the "Coordinates and Clipping" 
tab, and click the "Get from File" button. See if the images are side by 
side when you recompile.


Paul

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


Re: adding a class to LyX from a "latex skeleton"

2021-11-03 Thread Paul A. Rubin

On 11/3/21 1:31 PM, David Pesetsky wrote:
I would like to be able to create a LyX document using one of the 
“latex-skeletons” at https://langsci-press.org/templatesAndTools 
 (specifically, at the 
moment, the “Latex-skeleton for monographs”)  — but can’t seem to find 
a how-to for adding, say, a Langsci Press book class to LyX, or 
anything else useful.


If there are relevant instructions somewhere, can you point me to 
them, or otherwise help?  I’m using LyX 2.3 on a Mac — thanks!


-David


--
David Pesetsky[pese...@mit.edu ]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office           (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html 




As a starting point, I would urge you to read section 5 of the 
customization manual (Help > Customization). You'll need to create a 
layout file for the new class (in this case, "langscibook.cls"). The 
recommended approach is usually to find a LaTeX class similar to the new 
one for which LyX has a layout file, then use that file as a guide when 
creating your own layout file. I'm inclined to describe the process as 
"not for the faint of heart", but it is doable (and has been done in the 
past).


Paul

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


Re: Need Help Reducing Horizontal Distance/Spacing between Author & Year in citations

2021-10-21 Thread Paul A. Rubin

On 10/21/21 5:39 PM, Hisham Yacob wrote:


Hi all,

I don’t know why I didn’t think to include the lyx file in the email 
(since my original post was on the LyX subreddit, which was why I used 
pictures instead). Anyway, attached is an example lyx file.


Thanks you.

Regards,

Hisham

*From: *Paul A. Rubin <mailto:parubi...@gmail.com>
*Sent: *Thursday, 21 October 2021 5:07 pm
*To: *lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
*Subject: *Re: Need Help Reducing Horizontal Distance/Spacing between 
Author & Year in citations


On 10/21/21 4:29 PM, Hisham Yacob wrote:

Hi everyone,

How do I go about compressing the horizontal spacing (highlighted
in yellow, in case it's unclear what I'm trying to ask here)
between author and year, both in individual references and grouped
references like in the third line.

The spacing between Adam and (2020) seems like there's double
spacing, instead of a single space. Also, when referencing
multiple papers, I want the comma to hug the name. i.e. I want it
to be:

NAME, YEAR instead of

NAME , YEAR which is what it's doing right now.

I tried tweaking the preamble and options but I can't seem to get
it to work. I'm using Style format "Natbib(BibTeX)", variant
"Author-year" and Biblio style "plainnat"

I hope I’ve been sufficient clear with my question.

Thanks!

Regards,

Hisham



Can you post a minimal example (LyX file plus .bib file if you are 
using an external bibliographic database)? That would help us suss out 
what is going on.


Paul


Is the attached file what you want? I just removed the space from the 
label field of each bibliography entry (but left it in the key field).


Paul



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


Re: Need Help Reducing Horizontal Distance/Spacing between Author & Year in citations

2021-10-21 Thread Paul A. Rubin

On 10/21/21 4:29 PM, Hisham Yacob wrote:


Hi everyone,

How do I go about compressing the horizontal spacing (highlighted in 
yellow, in case it's unclear what I'm trying to ask here) between 
author and year, both in individual references and grouped references 
like in the third line.


The spacing between Adam and (2020) seems like there's double spacing, 
instead of a single space. Also, when referencing multiple papers, I 
want the comma to hug the name. i.e. I want it to be:


NAME, YEAR instead of

NAME , YEAR which is what it's doing right now.

I tried tweaking the preamble and options but I can't seem to get it 
to work. I'm using Style format "Natbib(BibTeX)", variant 
"Author-year" and Biblio style "plainnat"


I hope I’ve been sufficient clear with my question.

Thanks!

Regards,

Hisham


Can you post a minimal example (LyX file plus .bib file if you are using 
an external bibliographic database)? That would help us suss out what is 
going on.


Paul

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


Re: LaTeX warning explanation needed

2021-10-14 Thread Paul A. Rubin

On 10/14/21 4:21 PM, Rich Shepard wrote:

On Thu, 14 Oct 2021, Rich Shepard wrote:


I'll scroll through it, too.


Latest latex.log:
Package biblatex Info: Trying to load language 'english'...
Package biblatex Info: ... file 'english.lbx' found.
(/usr/share/texmf-dist/tex/latex/biblatex/lbx/english.lbx
File: english.lbx 2019/12/01 v3.14 biblatex localization (PK/MW)
)
Package biblatex Info: Input encoding 'utf8' detected.
Package biblatex Info: Automatic encoding selection.
(biblatex) Assuming data encoding 'utf8'.
\openout3 = `biological-evaluation.bcf'.

But,
Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file 'biological-evaluation.bbl' not found.
No file biological-evaluation.bbl.

The MWE latex.log:
Package biblatex Info: Trying to load biblatex default data model...
Package biblatex Info: ... file 'blx-dm.def' found.
(/usr/share/texmf-dist/tex/latex/biblatex/blx-dm.def
File: blx-dm.def 2019/12/01 v3.14 biblatex localization (PK/MW)
)
Package biblatex Info: Trying to load biblatex style data model...
Package biblatex Info: ... file 'authoryear.dbx' not found.
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.

Other than the page style in the MWE, what else might account for the
differences?

Rich

Just to be clear, is the attached log from the same MWE that we have 
(just references, nothing else) and does the MWE (with input encoding 
set to UTF-8) compile for you? The log seems to indicate that it does.


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


Re: LaTeX warning explanation needed

2021-10-14 Thread Paul A. Rubin

On 10/14/21 2:27 PM, Rich Shepard wrote:

On Thu, 14 Oct 2021, Paul A. Rubin wrote:


Assuming your .bib file does not contain state secrets, how about the
following? Create a new LyX doc (MWE) in which you just cite everything
that gets cited in the actual document. We don't need headings, images,
text etc., just the citations. Try compiling that. Assuming the same
problems occur, post the LyX MWE and the .bib file and let our resident
biblatex experts (of whom I am decidedly not one) try for themselves.


Paul,

Good idea, I might have thought of this instead of chasing my tail in
circles. See both mwe.lyx and mwe.pdf attached.

Looks like the issue is with Keefer, et al. 2008.

I'll look at that while folks examine the .lyx file.

Thanks,

Rich

OK, after fixing the paragraph setting for the Van Doornik reference, I 
got the MWE to compile by doing the following: in Document > Settings... 
> Language > Encoding, I switched from Language default to "Other" and 
selected "Unicode (utf8)". I suspect there are some characters in the 
.bib file that are UTF-8 (which is my default locale setting) but not 
"latin9". So the log file contained some nonspecific bitching and 
moaning about latin9, which led me to discover that the default encoding 
(at least on my system) was latin9, and that wasn't cutting it.


Paul

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


Re: LaTeX warning explanation needed

2021-10-14 Thread Paul A. Rubin

On 10/14/21 2:27 PM, Rich Shepard wrote:

On Thu, 14 Oct 2021, Paul A. Rubin wrote:


Assuming your .bib file does not contain state secrets, how about the
following? Create a new LyX doc (MWE) in which you just cite everything
that gets cited in the actual document. We don't need headings, images,
text etc., just the citations. Try compiling that. Assuming the same
problems occur, post the LyX MWE and the .bib file and let our resident
biblatex experts (of whom I am decidedly not one) try for themselves.


Paul,

Good idea, I might have thought of this instead of chasing my tail in
circles. See both mwe.lyx and mwe.pdf attached.

Looks like the issue is with Keefer, et al. 2008.

I'll look at that while folks examine the .lyx file.

Thanks,

Rich

Fair warning to others: There's a bug in the MWE that is probably 
separate from what is actually ailing Rich's document. In the MWE, the 
Van Doornik reference is in a "Titlehead" environment (the others are 
"Standard"), and that causes it's own set of problems.


Paul

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


Re: LaTeX warning explanation needed

2021-10-14 Thread Paul A. Rubin

On 10/14/21 2:27 PM, Rich Shepard wrote:

On Thu, 14 Oct 2021, Paul A. Rubin wrote:


Assuming your .bib file does not contain state secrets, how about the
following? Create a new LyX doc (MWE) in which you just cite everything
that gets cited in the actual document. We don't need headings, images,
text etc., just the citations. Try compiling that. Assuming the same
problems occur, post the LyX MWE and the .bib file and let our resident
biblatex experts (of whom I am decidedly not one) try for themselves.


Paul,

Good idea, I might have thought of this instead of chasing my tail in
circles. See both mwe.lyx and mwe.pdf attached.

Looks like the issue is with Keefer, et al. 2008.

I'll look at that while folks examine the .lyx file.

Thanks,

Rich

I created a .bib file with just your Keefer entry (from your next 
message in the thread), stripped all cites other than Keefer out of you 
LyX file, and it compiled OK.


To diagnose this, we need your "jabrefdb" file.

Paul

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


Re: LaTeX warning explanation needed

2021-10-14 Thread Paul A. Rubin

On 10/14/21 1:28 PM, Rich Shepard wrote:

On Thu, 14 Oct 2021, Rich Shepard wrote:


But after that I'm getting an error re-running pdflatex. It refers to a
runaway argument in a text paragraph. Since this happened on the 
second run
which has a bibliographic citation at the end the issue might be with 
that

entry in the database.


Fixed the bibliography database entry ... I think.

I need to confirm what I'm doing; there's an issue with the bibliography
insert at the end of the document.

1. pdflatex file.tex
2. biber file.bcf
3. pdflatex file.tex

Output:
! Package inputenc Error: Keyboard character used is undefined
(inputenc)    in inputencoding `latin9'.

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

l.602 \printbibliography[heading=bibintoc]

?

Why is inputencoding `latin9' when local is en_US.UTF-8?

Where do I find the inputenc package docs?

Exporting the .lyx file to pdflatex produces the same message about 
running

biber:
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)    biological-evaluation
(biblatex)    and rerun LaTeX afterwards.

Exporting to latex (pdflatex) and building from that provides more 
explicit

error information so I need to learn how to fix it.

Should I provide all Settings -> Bibliography key:value pairs?

Rich
Assuming your .bib file does not contain state secrets, how about the 
following? Create a new LyX doc (MWE) in which you just cite everything 
that gets cited in the actual document. We don't need headings, images, 
text etc., just the citations. Try compiling that. Assuming the same 
problems occur, post the LyX MWE and the .bib file and let our resident 
biblatex experts (of whom I am decidedly not one) try for themselves.


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


Re: LaTeX warning explanation needed

2021-10-13 Thread Paul A. Rubin

On 10/13/21 6:47 PM, Rich Shepard wrote:

The document now compiles without error using TeXLive2021 (and the 2020
version of texlive-extra), but the bibliography still does not print 
in the

PDF.

The latex.log has these warnings:
LaTeX Warning: Citation 'Groot1991' on page 4 undefined on input line 
151.
LaTeX Warning: Citation 'Marcoe2018' on page 4 undefined on input line 
167.


Lines 149-151 in the .lyx file are:
\begin_layout Standard
\begin_inset ERT
status open

and lines 163-167 are:
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset

There are other warnings at the top of the (attached) latex.log file 
and I

need help understanding what the warnings mean.

TIA,

Rich


Rich,

The line numbers refer to lines in the .tex file being compiled, not 
lines in the .lyx file. The .tex file will be hiding in the temp 
directory LyX is using.


Paul

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


Re: Compile error

2021-10-12 Thread Paul A. Rubin

On 10/12/21 3:01 PM, Rich Shepard wrote:

On Tue, 12 Oct 2021, Rich Shepard wrote:

The current one is shown in the attached .png. There was no 'complete 
log'

produced when I clicked that button.


Darn! It's on this one.

Rich


Rich,

I would use a command line tool to scan the document source file (.lyx) 
for a non-ASCII or non-UTF8 character. If that turned up nothing, I 
would scan the .bib file (if any) and any included text files.


As I recall, you're on Linux. You might try

grep -axv '.*' 

first. It should find lines that are not in whatever encoding your 
system uses by default (UTF-8 in my case). It can also be done using 
'iconv'. I've had to jump through similar hoops in the past.


Paul



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


Re: Compile error

2021-10-12 Thread Paul A. Rubin

On 10/12/21 2:44 PM, Rich Shepard wrote:
Time for a new thread since bibliography styles are no longer an 
issue. No
bibliography in the compiled doc is, but lyx keeps throwing new 
compile-time

errors at me.

The current one is shown in the attached .png. There was no 'complete 
log'

produced when I clicked that button.

The default text encoding on all my hosts is utf8.

There are no close angle brackets '>' in the document (ctrl-s could 
not find

any) so I've no idea where this error originates.

In the .lyx file fontencoding is 'global' which I assume is the 
default on

all my lyx docs. Should that be changed to utf8?

Rich


Rich,

Make some coffee (regular) and take it intravenously /*immediately*/! 
There is no PNG attached, but rather a LaTeX log (the one you say 
doesn't exist?) which seems to show successful compilation other than 
some missing references.


Paul

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


Re: JabRef entry warning

2021-10-12 Thread Paul A. Rubin

On 10/12/21 2:31 PM, Rich Shepard wrote:

On Tue, 12 Oct 2021, Paul A. Rubin wrote:


You have commas at the end of several fields (inside the closing curly
brace), including institution, which I think is triggering the error
message.


Paul,

All key:value pairs end with commas except for the last one.

You also have a few places with a funky dash separating a pair of 
numbers,
rather than a double dash ('--'). That might be the result of copying 
from

a PDF and pasting. I don't know if that will also cause any indigestion.


Yes, that's not uncommon. I try to catch and repair them when I enter the
document in JabRef, but aren't always successful. Now corrected.

The error specified the document name, not any key:value pair between the
opening and closing braces:
WARN - Name in key 'Paul2012' is empty (probably consecutive 'and'):
skipping entry 'Paul2012'

The name key has no 'and' in it.

While this is a warning, not an error, I'd still like to have biber 
accept

it as correct.

Still puzzled,

Rich

I turned your entry into a .bib file, cited it in a dummy document, and 
compiled with biblatex. It specifically flagged the first entry that 
ended with a comma. I think the "name" in the error message is because 
it thinks that, after that last comma, there will be another name = 
value pair in the field that it never finds (due to the closing brace). 
Not the ideal error message in my opinion, but deleting the surplus 
comma did fix it.


I spotted the "and and" Maria flagged, but in my test that did not cause 
an error message, it just mucked up the printed citation.


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


Re: JabRef entry warning

2021-10-12 Thread Paul A. Rubin

On 10/12/21 1:21 PM, Rich Shepard wrote:

On Tue, 12 Oct 2021, Paul A. Rubin wrote:

You mention 'Paul2012' in the warning but show the entry with key 
'Paul2017'. Is one of those a typo, or did you show us the wrong entry?


Paul2021,

:-)

Probably need to re-caffinate. Corrected entry just posted.

Thanks,

Rich

Rich,

You have commas at the end of several fields (inside the closing curly 
brace), including institution, which I think is triggering the error 
message.


You also have a few places with a funky dash separating a pair of 
numbers, rather than a double dash ('--'). That might be the result of 
copying from a PDF and pasting. I don't know if that will also cause any 
indigestion.


Paul

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


Re: JabRef entry warning

2021-10-12 Thread Paul A. Rubin

On 10/12/21 1:00 PM, Rich Shepard wrote:
Biber tells me "WARN - Name in key 'Paul2012' is empty (probably 
consecutive

'and'): skipping entry 'Paul2012'" and the entry in the jabrefdb.bib is:
@techreport{Paul2017,
abstract = {This paper summarizes the application of algae as 
indicators of nutrient

pollution in water quality management. It describes the use of algal
indicators to develop water quality diagnostics for nutrient 
pollution

in the United States (U.S.) and then reviews scientific developments
in the use and application of algal indicators across the world.
The paper is intended as a technical resource for the water quality
manager/practitioner seeking to utilize algae to detect the presence
of nutrient pollution and to estimate the risks of nutrient pollution
in adversely affecting the condition of stream ecosystems.},
author = {Paul, M.J.},
institution = {Tetra Tech, Inc./ Center for Ecological Sciences},
keywords = {streams, rivers, lakes, ponds, algae, pollution, water 
quality, indicators},

pagetotal = {44},
title = {{Algal Indicators in Streams: A Review of Their 
Application in Water Quality Management of Nutrient Pollution}},

type = {techreport},
year = {2017}
}

I'm not seeing the empty error in the name. Why does biber find it empty?

Rich


Rich,

You mention 'Paul2012' in the warning but show the entry with key 
'Paul2017'. Is one of those a typo, or did you show us the wrong entry?


Paul2021

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


Re: Bibliography styles

2021-10-11 Thread Paul A. Rubin

On 10/11/21 6:09 PM, Rich Shepard wrote:

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


Any error messages related to the bibliography in the LaTeX log?


Paul,

The only latex.log on this host is usr/share/texmf-var/web2c/latex.log 
from
March 24, 2015. And there's a /usr/share/texmf-var/web2c/pdflatex.log 
from

Feb 17, 2021.

Nothing from today.

Rich

Rich,

I assume you are compiling the doc from LyX. The log will be in the temp 
directory where LyX is doing the compiling, and you can view it from LyX 
via Document > LaTeX Log.


Paul

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


Re: Bibliography styles

2021-10-11 Thread Paul A. Rubin

On 10/11/21 5:32 PM, Rich Shepard wrote:

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


I'm not sure there has been any replacement. I've used "apalike" in the
past, but I think the package that is specifically designed to match APA
requirements is "apacite". I've got both of them in 2.6.3.1.


Paul,

Could be. Actually, I don't know why that document showed APA as the
bibliography file style since I've been using authordate4 for years.

Regardless, now I've hit a bibliography glitch that's new for me. I use
JabRef for my scientific publications database and it's set to use 
BibLaTeX.


In Settings -> Bibliography the style format is Biblatex (natbib mode),
variant authoryear; biblatex citation style is authoryear; biblatex
bibliography style is authoryear.

Using Insert -> List/ToC -> Bib(la)tex bibliography I put the 
bibliography

toward the end of the document (ahead of the Appendix). The bibliography
shows up in the Navigate menu, but not in the complied PDF.

Always, before the current document, when I selected that database in the
grey bibliography link and set the style as authoryear4 the citations
transferred from JabRef to LyX were of the form, AuthorYEAR, and 
clicking on
that grey box allowed me to select whether it was surrounded by 
parentheses,
had a comma separating author and year, and other styles. Now I get 
choices

of only #ID or Key.

I assume that I'm missing something or have made an incorrect choice
somewhere and I'd appreciate someone passing me a cluestick so I can fix
this issue.

Regards,

Rich


Rich,

Any error messages related to the bibliography in the LaTeX log?

Paul

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


Re: END-OF-FRAME, once again..

2021-10-11 Thread Paul A. Rubin

On 10/11/21 4:19 PM, UD K wrote:



On 10/11/21 9:58 PM, Paul A. Rubin wrote:

On 10/11/21 3:50 PM, UD K wrote:
I remember the Insert > Separated Frame Below, which has now 
vanished, at least from my 2.3.2 version.  This is punishment for 
using something called MX Linux, which has only that antiquated 
version, without this needed feature.  I also looked for a command 
buffer but it, too, is hidden.     The war was lost for the loss of 
a nail, and my lecture will die for the lack of Insert > Separated 
Frame Below  ;-(

EK

On 10/11/21 8:53 PM, Paul A. Rubin wrote:

Insert > Separated Frame Below



The command buffer should be accessible from View > Toolbars > 
Command Buffer (unless it lived in a different place back in 2.3.2), 
or alternatively using the shortcut Alt + x (unless that gets mapped 
to something else, but it's been Alt + x on my system as far back as 
I can recall).


Thanks-- I am getting a great tour of some useful features of Lyx that 
I never explored.  With Paul's help, I found the command buffer, and 
typed /Insert > Separated Frame Below/, but it did nothing.  I must be 
very motivated, since I did the unthinkable, and (re)read the 
Lyx/Beamer manual (V. 2.3).  It makes repeated infuriating references 
to the missing Insert Frame Separator, etc.   It also mentioned some 
keyboard shortcuts that do not work, as tips for an easier way of 
accomplishing this (apparently heroic) task of inserting an end-of-frame.

   Square One is my home now...
EK







Ehud,

Insert > ... is a menu selection, not something to type in the command 
buffer.


With the cursor at the end of the content of a frame, type 'call 
newframe' (without the quotes) in the buffer and hit enter.


Paul

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


Re: END-OF-FRAME, once again..

2021-10-11 Thread Paul A. Rubin

On 10/11/21 3:50 PM, UD K wrote:
I remember the Insert > Separated Frame Below, which has now vanished, 
at least from my 2.3.2 version.  This is punishment for using 
something called MX Linux, which has only that antiquated version, 
without this needed feature.  I also looked for a command buffer but 
it, too, is hidden.       The war was lost for the loss of a nail, 
and my lecture will die for the lack of Insert > Separated Frame 
Below  ;-(

EK

On 10/11/21 8:53 PM, Paul A. Rubin wrote:

Insert > Separated Frame Below



The command buffer should be accessible from View > Toolbars > Command 
Buffer (unless it lived in a different place back in 2.3.2), or 
alternatively using the shortcut Alt + x (unless that gets mapped to 
something else, but it's been Alt + x on my system as far back as I can 
recall).


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


Re: Bibliography styles

2021-10-11 Thread Paul A. Rubin

On 10/11/21 1:23 PM, Rich Shepard wrote:
The last document with a bibliography used the APA style. I don't see 
that

in the list of styles in 2.6.3.1. With what style has it been replaced?

TIA,

Rich
I'm not sure there has been any replacement. I've used "apalike" in the 
past, but I think the package that is specifically designed to match APA 
requirements is "apacite". I've got both of them in 2.6.3.1.


Paul

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


Re: END-OF-FRAME, once again..

2021-10-11 Thread Paul A. Rubin

On 10/11/21 1:19 PM, UD K wrote:
Thanks for the speedy response, but, alas, neither approach solved my 
problem. Paul's suggestion ignored the fact that (at least on MY lyx, 
v. 2.3.2) there is no Insert > Frame separator Below (as I lamented in 
my OP).  I vaguely remember seeing, and even using, that magical 
Separator, but it has now vanished. Rich's approach merged the moved 
frame with the one near its new home, but-- since there is no obvious 
(or known to me) way to insert a separator, their union is NOT what I 
was looking for.  I am (almost) back to the infamous Square One.

  Ehud Kaplan

On 10/11/21 6:14 PM, Paul A. Rubin wrote:

On 10/11/21 12:03 PM, Rich Shepard wrote:

On Mon, 11 Oct 2021, UD K wrote:

  So, finally, here is my question: /How do I move a frame from one 
part
of the presentation to another/, and, while you are educating me-- 
how do

I insert an end-of-frame where I need one?  I could not find "new
environment", and plain layout didn't do it.  I know this is about as
basic a thing as could be, and Lyx/beamer should not have hidden it as
well as they did, but that's what we have.


Ehud,

A second approach:

1. Open outline window to left of beamer class window if not already 
open.

2. Place cursor on the frame you want to move.
3. Use the up- and down-arrows at the bottom right of the window to 
move the

fram to where you want it.

HTH,

Rich
Forgot about that (since I never use the outline window). Unless the 
slide is moving a zillion spots, that's certainly easier.


Paul



--
Ehud Kaplan, Ph.D.
  Visiting Professor
  Dept. of Philosophy & History of Science
  Charles University, Prague
  &
  the National Institute of Mental Health,
  Topolová 748, Klecany
  Czechia

You are looking for Insert > Separated Frame Below. Inserting a 
separator is a different command. If you really do not have that command 
(I forget what version first got it), try binding a key combo to the 
LFUN 'call newframe' (or just type it in the command buffer), which 
should work to insert a frame (and worked for me in a number of earlier 
versions).


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


Re: END-OF-FRAME, once again..

2021-10-11 Thread Paul A. Rubin

On 10/11/21 12:03 PM, Rich Shepard wrote:

On Mon, 11 Oct 2021, UD K wrote:


  So, finally, here is my question: /How do I move a frame from one part
of the presentation to another/, and, while you are educating me-- 
how do

I insert an end-of-frame where I need one?  I could not find "new
environment", and plain layout didn't do it.  I know this is about as
basic a thing as could be, and Lyx/beamer should not have hidden it as
well as they did, but that's what we have.


Ehud,

A second approach:

1. Open outline window to left of beamer class window if not already 
open.

2. Place cursor on the frame you want to move.
3. Use the up- and down-arrows at the bottom right of the window to 
move the

fram to where you want it.

HTH,

Rich
Forgot about that (since I never use the outline window). Unless the 
slide is moving a zillion spots, that's certainly easier.


Paul

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


Re: END-OF-FRAME, once again..

2021-10-11 Thread Paul A. Rubin

On 10/11/21 11:47 AM, UD K wrote:
I SHOULD know this, because it came up in the (distant) past, but 
either I forgot, or Lyx has changed-- probably a little of both.
   I wanted to cut a frame from a lyx/beamer presentation and put it 
in another place in the presentation. Control-X, and Control-V failed. 
So I tried to insert a new frame, but that came without an 
end-of-frame, so things did not look right.  I was looking for things 
that have worked in the past-- separator, insert-frame etc.-- but 
those are gone.
  So, finally, here is my question: /How  do I move a frame from one 
part of the presentation to another/, and, while you are educating 
me-- how do I insert an end-of-frame where I need one?  I could not 
find "new environment", and plain layout didn't do it.  I know this is 
about as basic a thing as could be, and Lyx/beamer should not have 
hidden it as well as they did, but that's what we have.

   Thanks, and hold your irate fire.
Ehud Kaplan
--


One approach:

1. Put the cursor at the end of the frame preceding where you want to
   move the target frame and click Insert > Separated Frame Below. This
   will create a properly separated empty frame.
2. Cut the content of the target frame and paste it into the new location.
3. Do the same for the frame title.
4. Eliminate the now empty frame at the target's original location
   using backspace.

Paul

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


Re: Preamble header issues

2021-10-08 Thread Paul A. Rubin

On 10/8/21 3:33 PM, Rich Shepard wrote:

On Fri, 8 Oct 2021, Paul A. Rubin wrote:

Your last \usepackage has an opening parenthesis that should be an 
opening

brace.


Paul,

Ah, they are difficult to distinguish with the light typeface stroke on a
white background. It was the \usepackage{scrlayer-scrpage}; fixing 
that did

not resolve the problem of pdflatex not finding that .sty file.

Thanks,

Rich

Maybe you don't have it? (Try 'kpsewhich scrlayer-scrpage.sty' in a 
terminal to find out.) If you're a TexLive user, it's part of the 
texlive-latex-recommended package.


Paul

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


Re: Short titles

2021-10-08 Thread Paul A. Rubin

On 10/8/21 3:30 PM, Rich Shepard wrote:

On Fri, 8 Oct 2021, Paul A. Rubin wrote:


Rich: What class are you using?


Paul,

KOMA-Script Report

Rich

Rich,

I don't think the KOMA-Script Report class directly supports a short 
title for the title. In LyX, the short title entry on the Insert menu is 
there when you are in a chapter or section heading but not when you are 
in the document title. I searched the KOMA-Script manual for "short 
title", and the only hits were for captions or something called a "half 
title", which isn't what you want.


Have you been able to insert short titles in KS Report titles in the past?

Paul

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


Re: Short titles

2021-10-08 Thread Paul A. Rubin

On 10/8/21 3:02 PM, Ricardo Berlasso wrote:


El vie, 8 oct 2021 a las 19:35, Rich Shepard 
(mailto:rshep...@appl-ecosys.com>>) escribió:


I used to find an entry in the Insert menu for short titles. It's
not there
in version 2.6.3.1.

Looking in the Users Guide I see that it should be there.

Has anyone a thought why it's not being presented?


It's still there, but only when the cursor is on a heading 
environment. Put your cursor on the same paragraph of a title and 
you'll see the entry under the Insert menu (the shortcut is Alt-A, 
then 1).


Regards,
Ricardo




TIA,

Rich
-- 
lyx-users mailing list

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



Sorry, my bad. It's present in the title field with the AMS article 
class (which is where I usually employ it), but not with the generic 
article class (where it is unsupported?).


Rich: What class are you using?

Paul

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


Re: Short titles

2021-10-08 Thread Paul A. Rubin

On 10/8/21 3:02 PM, Ricardo Berlasso wrote:


El vie, 8 oct 2021 a las 19:35, Rich Shepard 
(mailto:rshep...@appl-ecosys.com>>) escribió:


I used to find an entry in the Insert menu for short titles. It's
not there
in version 2.6.3.1.

Looking in the Users Guide I see that it should be there.

Has anyone a thought why it's not being presented?


It's still there, but only when the cursor is on a heading 
environment. Put your cursor on the same paragraph of a title and 
you'll see the entry under the Insert menu (the shortcut is Alt-A, 
then 1).


Regards,
Ricardo




TIA,

Rich
-- 
lyx-users mailing list

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




Ricardo,

Actually, yes and no. I just tried a small test document (article 
class). In a section heading, the insert menu has the item. In the 
article title, though, it does not (but formerly did). This is on 
2.3.6.1. I suspect this is a bug.


Paul

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


Re: Preamble header issues

2021-10-08 Thread Paul A. Rubin

On 10/8/21 1:46 PM, Rich Shepard wrote:

Running lyx-3.6.2.1 on Slackware-14.2/x86_64.

The document is KOMA-Scipt Report; page layout style is 'default'.

I want to define custom headings for all reports and I'm reading the
KOMA-Secipt doc.

My current preamble is:
\date{}
\usepackage{palatino}
\usepackage{mathpazo}
\usepackage{graphicx,relsize}
\usepackage(scrlayer-scrpage}
\pagestyle{scrheadings}

When I try to compile it with pdflatex it fails to find the 
scrlayer-scrpage

package (found here:
/usr/share/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty
The full error file is attached.

Page 81 of the English manual tells us, "The scrlayer-scrpage package 
(see

chapter 5) offers further possibilities for adjusting lines headers and
footers." This requires me to learn why that package is not recognized 
when

I try to compile the document.

I need advice from those more expert than I.

Rich


Rich,

Your last \usepackage has an opening parenthesis that should be an 
opening brace.


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   >