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