Table issues

2022-12-01 Thread Rich Shepard
I have a 7 column table which does not compile in the main document (errors attached) but does as a separate MWE (also attached.) I set the widths of columns 2-4 so the two-word column headings would be on two lines in the two versions so the LyX buffers display properly. But, the compiled MWE

Re: Un-spanning multicolumns [RESOLVED]

2022-12-01 Thread Rich Shepard
On Wed, 30 Nov 2022, Rich Shepard wrote: Forgot about the undo function. I did try pressing the set-multicolumn icon to un-set it but that didn't work. I'll see if C-z still works tomorrow when I load lyx again. The undo function is disabled this morning. My solution: delete that row, add

Re: Un-spanning multicolumns

2022-11-30 Thread Rich Shepard
On Thu, 1 Dec 2022, Udicoudco wrote: If I understand the problem, you can always press undo (ctrl+z) or while in the spanned column with the cursor, press on the set-multicolumn button. Udi, Forgot about the undo function. I did try pressing the set-multicolumn icon to un-set it but that

Un-spanning multicolumns

2022-11-30 Thread Rich Shepard
Unintentionally, I set 3 columns as a multicolumn span when I meant to span only 2 columns. I've read the tables sections of the User Guide, Embedded Tools, and the LyX Wiki and didn't see how to unspan multiple columns. Please point me to the appropriate reference so I can separate the columns

Re: KOMA-Script book: duplicate ToC pages [RESOLVED]

2022-11-30 Thread Rich Shepard
On Wed, 30 Nov 2022, Udicoudco wrote: DId you use \chapter* for the preface title? The starred version does not affect headers. I saw in the preamble that you sent that you use \pagenumbering{roman}, I'm guessing that means you are unaware of the \frontmatter, \mainmatter, \backmatter commands.

Re: KOMA-Script book: duplicate ToC pages [RESOLVED]

2022-11-30 Thread Rich Shepard
On Wed, 30 Nov 2022, Rich Shepard wrote: The reason is that I somehow put the ToC and lists after the Preface, too. Okay. One more issue: Why does the second page of the Preface have 'List of Tables' in the header rather than 'Preface'? Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Re: KOMA-Script book: duplicate ToC pages [RESOLVED]

2022-11-30 Thread Rich Shepard
On Wed, 30 Nov 2022, Rich Shepard wrote: Why, after the ToC, List of Figures, List of Tables, and Preface (which has as a header List of Tables rather than Preface) followed by a blank page, then pages with only the titles of the ToC and lists before the introduction. The reason is that I

KOMA-Script book: duplicate ToC pages

2022-11-30 Thread Rich Shepard
I don't know how to make an MWE that produces the unwanted output of the entire document so I've attached the first 25 pages of the PDF and the .lyx Preamble. If you have suggestions on how I can make an MWE with these errors I'll do so and re-submit the mwe.lyx file. Why, after the ToC, List of

Re: Updating 2015 .lyx file [RESOLVED]

2022-11-30 Thread Rich Shepard
On Wed, 30 Nov 2022, Jürgen Spitzmüller wrote: Do you happen to have the "Biblatex" module loaded? If so, remove that. No, but the bibtex/natbib module was loaded. I removed that and now can select Biblatex as the Citation Style Format and now the file compiles. It didn't occur to me to look

Updating 2015 .lyx file

2022-11-30 Thread Rich Shepard
I have a document from May 2015 that I'm modifying. pdflatex doesn't like the APA bibliography style because the Settings -> Bibliography dialog box has the citation style format box greyed out while showing Natbib (BibTeX). I changed to BibLaTeX since I wrote the original document but cannot

Re: Outline for giving speeches

2022-11-13 Thread Rich Shepard
On Sun, 13 Nov 2022, Steve Litt wrote: LyX is great for writing books and other long documents, but I'd personally recommend an outliner for making an outline. If you know Vim and want simple, you can use VimOutliner. If you want the Cadillac of the industry, you can use the Leo outliner.

Converting .pdf to .html

2022-11-09 Thread Rich Shepard
A colleage wants to convert some .pdf documents I've written with LyX to .html for inclusion on my company web site. He reports that pandoc won't convert them. I no longer have the original .lyx files, only the pdflatex compiled ones. Is there a way to convert these files to html? Rich --

Re: Slightly OT: compiling .tex file

2022-11-01 Thread Rich Shepard
On Tue, 1 Nov 2022, Herbert Voss wrote: Rich your PSTricks files are too old. You have 3.01 and the Lua-support was introduced with version 3.06 Herbert, Okay. Update your TeXLive system or run the document with Slackware still uses TeXLive 2021. xelatex Same failure. Looking at

Re: Slightly OT: compiling .tex file

2022-11-01 Thread Rich Shepard
On Tue, 1 Nov 2022, Herbert Voss wrote: $ lualatex logo.tex This is LuaHBTeX, Version 1.13.2 (TeX Live 2021 on Slint)  restricted system commands enabled. (Fatal format file error; I'm stymied) run in a terminal Herbert, That's what I do. fmtutil-sys --byengine=luahbtex Yes, this

Re: Slightly OT: compiling .tex file

2022-11-01 Thread Rich Shepard
On Tue, 1 Nov 2022, Herbert Voss wrote: it is PSTricks, use lualatex instead. Herbert, Okay. That's different. But lualatex and I are stymied: $ lualatex logo.tex This is LuaHBTeX, Version 1.13.2 (TeX Live 2021 on Slint) restricted system commands enabled. (Fatal format file error; I'm

Slightly OT: compiling .tex file

2022-11-01 Thread Rich Shepard
I thought that pdflatex would compile this file: --- \documentclass{article} \usepackage[dvipsnames,svgnames]{xcolor} \usepackage{pst-solides3d,pstricks-add,graphicx} \begin{document} \resizebox{500pt}{492pt}{%     \begin{pspicture}(-10,-4)(10,17)   

Re: KOMA-Script article: 'Abstract' in tiny font

2022-10-31 Thread Rich Shepard
On Mon, 31 Oct 2022, Rich Shepard wrote: Also, the entire abstract is in a tiny font size. I found a KOMA-Script wiki thread that suggested using an un-numbered section rather than the Abstract environment. While the title is not centered in the text area and the abstract body is not inset

Re: KOMA-Script article: 'Abstract' in tiny font

2022-10-31 Thread Rich Shepard
On Mon, 31 Oct 2022, Rich Shepard wrote: What might cause the string, Abstract, to be displayed slightly indented from the left margin when the environment is Abstract? Also, the entire abstract is in a tiny font size. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http

KOMA-Script article: 'Abstract' in tiny font

2022-10-31 Thread Rich Shepard
What might cause the string, Abstract, to be displayed slightly indented from the left margin when the environment is Abstract? It used to be in Section-size font centered on the page. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Restoring display [RESOLVED]

2022-10-31 Thread Rich Shepard
On Mon, 31 Oct 2022, sovhist wrote: Click on toolbar with right click and tick „Standard“. Valdemaras, It was actually the menu bar above the toolbar. I learned something new about LyX. Thanks very much, Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Re: Restoring display

2022-10-31 Thread Rich Shepard
On Mon, 31 Oct 2022, Rich Shepard wrote: It must have fallen off. See attached. Paul, I don't know what I did, but re-installing the package makes no difference. Suggestions? Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Restoring display

2022-10-31 Thread Rich Shepard
On Sun, 30 Oct 2022, Paul A. Rubin wrote: The select box under the "Outline" heading is intended to show only major content groupings (ToC etc.). The select box that has Standard, section environments, list/enumeration environments etc. sits at the start of the main toolbar, under the File menu

Restoring display

2022-10-30 Thread Rich Shepard
I'm running version 2.3.6.1. LyX format is 544. The content environments are not visible in the outline pane. Under the Outline heading is the dropdown box that normally has environments such as Standard, Section, and so on. Now the widget displays Table of Contents and the other items

Re: MWE: two issues need resolving

2022-10-29 Thread Rich Shepard
On Sat, 29 Oct 2022, Herbert Voss wrote: Instead of the old \sc \it \rm \sf \tt \bf \md use \scshape \itshape \rmfamily \sffamily \ttfamily \bfseries \mdseries Herbert, I had made those changes. The immediate problem was the bibliographic style in Settings. I neglected to check that and

Re: MWE: two issues need resolving [RESOLVED]

2022-10-29 Thread Rich Shepard
On Sat, 29 Oct 2022, Murat Yildizoglu wrote: The problem could be in the bibliography or in the bibliography style, or in a class file you are using (since the original file is quite old). Murat, Yes, I recognized that the issue is with the bibliography, but I looked in the wrong place:

Re: MWE: two issues need resolving

2022-10-28 Thread Rich Shepard
On Fri, 28 Oct 2022, Rich Shepard wrote: I cropped the image when I loaded it in the original document two years ago. See attached. There is no 'trim' here so there's nothing for the pdfcrop command. Herbert explained what I was doing incorrectly. Using pdfcrop the thin white margins around

Re: MWE: two issues need resolving

2022-10-28 Thread Rich Shepard
On Fri, 28 Oct 2022, Herbert Voss wrote: you have to clip the image by trim=2.25cm 12cm 2.25cm 1.5cm,clip or (what makes more sense) to crop the pdf image before using: Herbert, I cropped the image when I loaded it in the original document two years ago. See attached. There is no 'trim'

MWE: two issues need resolving

2022-10-28 Thread Rich Shepard
The figure will not resize. Originally at 75% text width I tried to make it smaller so it wouldn't be on a page by itself, but even at 25% it stays the same size when I compile the document. Also, I modified the caption and the change is not shown in the compiled .pdf. Perhaps this is related to

Re: Adjust contents page text area height [RESOLVED]

2022-09-13 Thread Rich Shepard
On Tue, 13 Sep 2022, Rich Shepard wrote: In this KOMA-Script report document the table of contents has a single entry (for Appendix B) on the following page. Is there a command that will allow that single line to be at the bottom of the page with the rest of the contents? I adjusted the top

Adjust contents page text area height

2022-09-13 Thread Rich Shepard
In this KOMA-Script report document the table of contents has a single entry (for Appendix B) on the following page. Is there a command that will allow that single line to be at the bottom of the page with the rest of the contents? Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Re: Finding source of pdflatex build error

2022-09-11 Thread Rich Shepard
On Sat, 10 Sep 2022, Paul A. Rubin wrote: Here's what I would do. Assuming that you have the original document (the one that won't compile) salted away somewhere, I would take your MWE and add Chapter 1 and anything else that's missing. If it still compiles, I'd compare it to the original using

Re: I don't see my error

2022-09-11 Thread Rich Shepard
On Sun, 11 Sep 2022, Steve Litt wrote: If one prefers not to put it in ERT, Many years ago I expressed the opinion (on the mail list) that the term should be changed because there's nothing evil about inserting LaTeX in a LyX document. I was ignored. When I need to create a vector graphic I

Re: Importing multipage table from .csv

2022-09-09 Thread Rich Shepard
On Fri, 9 Sep 2022, Rich Shepard wrote: This is new to me so I'm still thinking in terms of importing from the gnumatic file to a non-floating table to which I can add a caption. I'll continue playing with it. I've imported the spreadsheet using Insert -> File -> External mat

Re: Importing multipage table from .csv

2022-09-09 Thread Rich Shepard
On Sat, 10 Sep 2022, sovhist wrote: There is your file without errors. I'm working with git version of Lyx, so I converted file to 2.3 format. Valdemaras, Thank you. I've made changes since I posted that message; there are now only four columns and I adjusted the width of each so they all

Re: Importing multipage table from .csv

2022-09-09 Thread Rich Shepard
On Fri, 9 Sep 2022, Paul A. Rubin wrote: First things first. When I compile your doc using pdflatex, every page starts with the header row (Stream Name etc.) followed by a row for Broken Creek and a row for North Fork Flathead River and then the rows that are (maybe) supposed to be on that

Finding source of pdflatex build error

2022-09-09 Thread Rich Shepard
I've a large report, six large chapters, bibliography, two appendices. When I try to compile it I get an error. Trying to find where that error is created, I made a new, empty mwe.lyx file. Starting at the bottom of my report, I copied the appendices and bibliography to mwe.lyx. Saved and

Re: I don't see my error

2022-09-09 Thread Rich Shepard
On Fri, 9 Sep 2022, Paul A. Rubin wrote: That's because (as previously noted) the "\circ" command needs to appear in a math environment (or you could surround it with $...$ in the ERT box, but then the circle would be waist high rather than a superscript). See the attached repaired MWE. Paul,

Re: I don't see my error

2022-09-09 Thread Rich Shepard
On Thu, 8 Sep 2022, Paul A. Rubin wrote: What is the error? All three work for me with pdflatex. For \degree, I need to load the gensymb package in the preamble and put it in ERT. For \circ and \textdegree, I just put them in math insets and LyX takes care of loading the packages. A MWE is

Re: Importing multipage table from .csv

2022-09-09 Thread Rich Shepard
On Thu, 8 Sep 2022, Rich Shepard wrote: Please point me to the way to 1) move to the top so I can resize column widths and 2) make this a stand-alone document with a title that I can append to a document. By trial-and-error I changed the width of the first column and was able to print

Importing multipage table from .csv

2022-09-08 Thread Rich Shepard
The LyX wiki, on this page: has a section titled, "Spreadsheet import from CSV file" which told me: "You can easily import tables created by Excel or some other spreadsheet program to a native table in LyX. To do so, just follow these three

Re: I don't see my error

2022-09-08 Thread Rich Shepard
On Thu, 8 Sep 2022, Paul A. Rubin wrote: What is the error? All three work for me with pdflatex. For \degree, I need to load the gensymb package in the preamble and put it in ERT. For \circ and \textdegree, I just put them in math insets and LyX takes care of loading the packages. A MWE is

I don't see my error

2022-09-08 Thread Rich Shepard
I need to enter temperatures in documents and there are three three ways I can do this: 1. \circ (amsmath) 2. \degree (gensymb) 3. \textdegree (textcomp) I've tried all three, including putting all of 'em in the same \userpackage{} command in the preamble. Regardless, each throws an error when

Re: Replacing .tex file fonts

2022-08-20 Thread Rich Shepard
On Sat, 20 Aug 2022, Rich Shepard wrote: I've not worked before writing a plain .tex document. Long ago I had a book on TeX, but that's been gone for a while. So, I've no idea how to translate that flavor of .tex file to .pdftex or .pdflatex. Looking at my business book case I see that I have

Re: Replacing .tex file fonts

2022-08-20 Thread Rich Shepard
On Sat, 20 Aug 2022, Rich Shepard wrote: Okay. I'll post results. Paul, What's displayed on screen is the first few lines (\put ...) between \begin and \end document. The preamble has the entire .tex file. Sigh, I've not worked before writing a plain .tex document. Long ago I had a book

Re: Replacing .tex file fonts

2022-08-20 Thread Rich Shepard
On Sat, 20 Aug 2022, Paul A. Rubin wrote: I can't do much with your .tex file for a variety of reasons (including the fact that the graphic files were not included, but mostly due to my not using xetex, luatex or several of the more "exotic" packages involved). Paul, I don't use those,

Replacing .tex file fonts

2022-08-20 Thread Rich Shepard
I have a .tex file designed for a4 paper and a font family I don't have (and don't want) that I want to convert to letterpaper (done) and my lyx default typeface. Or, another appropriate typeface found in a .lyx file. Looking at one of my .lyx files I see: \font_roman "default" "default"

Re: KOMA-Script article float numbering

2022-08-18 Thread Rich Shepard
On Thu, 18 Aug 2022, Daniel wrote: I don't know what original post you refer to. The threat started with the post I commented on which included a bit of superfluous stuff in the lyx-file. Daniel, That was my original post This is what the preamble contained: \date{} \usepackage{mathpazo}

Re: KOMA-Script article float numbering [RESOLVED]

2022-08-18 Thread Rich Shepard
On Thu, 18 Aug 2022, Udicoudco wrote: I don't have much experience with KOMA-Script document classes, but from what I've been reading in the documentation, automark does not have anything to do with figure numbering, the command changes the page marks above the headrule. Udi, That's

Re: KOMA-Script article float numbering

2022-08-18 Thread Rich Shepard
On Thu, 18 Aug 2022, Daniel wrote: 1. Post a .lyx file that is more minimal (e.g. does not contain unnecessary external material). Try to strip off everything that is unnecessary, including preamble material. 2. The file should contain what does *not* work (e.g. you seem to suggest that the

KOMA-Script article float numbering

2022-08-17 Thread Rich Shepard
In KOMA-Script report class documents adding to the preamble \automark*{section} works to number figure floats as integers. However, in a KOMA-Script article class document it doesn't (see attached mwe.*) and I'd like to learn why and what does work. Regards, Rich#LyX 2.3 created this file.

Re: Two body text type environment [UPDATE]

2022-08-08 Thread Rich Shepard
On Mon, 8 Aug 2022, Rich Shepard wrote: I can mark cited regulations as unnumbered sections, subsections, subsubsections, paragraphs, and subparagraphs. See mwe.pdf attached. Sigh. Attached to this one. Rich mwe.pdf Description: Adobe PDF document -- lyx-users mailing list lyx-users

Re: Two body text type environment [UPDATE]

2022-08-08 Thread Rich Shepard
On Mon, 8 Aug 2022, Rich Shepard wrote: Is there a way to do this using a package that adds another environment to the top-level set that includes Standard, Quotation, Quote, etc.? Or is there a better way to do this? I've found a pragmatic solution ... which has its own question. I can mark

Two body text type environment

2022-08-08 Thread Rich Shepard
I use the KOMA-Script classes. For regulatory compliance reports I need to include each specific regulatory requirement followed by how the project complies with it. I want the two sections to appear differently, perhaps the regulatory requirement in an emphasized font and the compliance section

Re: KOMA-Script report: float numbering [RESOLVED]

2022-07-29 Thread Rich Shepard
On Fri, 29 Jul 2022, Daniel wrote: That is not an alternative! It does not affect the output only the representation in LyX's work area. Daniel, Okay. Thanks for clarifying. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: KOMA-Script report: float numbering [RESOLVED]

2022-07-29 Thread Rich Shepard
On Fri, 29 Jul 2022, Daniel wrote: You could also add Float Type table NumberWithin none End Float Type figure NumberWithin none End to your Document Setting's "Local Layout" for some bling. Daniel, That's

Re: KOMA-Script report: float numbering [RESOLVED]

2022-07-29 Thread Rich Shepard
On Fri, 29 Jul 2022, Udicoudco wrote: Please note that since 2018 the "chngcntr" package has been integrated into LaTeX2e (see LaTeX2e News Issue 28 ), So, if you are using up to date LaTeX format there is no need to load the

Re: KOMA-Script report: float numbering [RESOLVED]

2022-07-28 Thread Rich Shepard
On Thu, 28 Jul 2022, Ricardo Berlasso wrote: Try with \usepackage{chngcntr} \counterwithout{figure}{section} Ricardo, Boy howdy! That's a new lesson for me, and a valuable one. Works like a charm. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org

KOMA-Script report: float numbering

2022-07-28 Thread Rich Shepard
I'm using unnumbered sections and subsections in a KOMA-Script report. Floating figures and tables are numbered 0.n because there is no section number. I tried adding to the preamble \setcounter{number}{0} but that didn't work. I have a vague recollection of using 'renumber' for something like

Re: Increasing table row hight with easytable

2022-07-22 Thread Rich Shepard
On Fri, 22 Jul 2022, jspi...@gmail.com wrote: I don't think easytable can be used in LyX without much TeX mode, as it uses a special TAB environment (instead of table). Jürgen, That's the impression I had from my search. If you only want to increase row heights, the standard LaTeX way is

Increasing table row hight with easytable

2022-07-21 Thread Rich Shepard
For a form I want to increase row heights in a table. The preamble specifies \usepackage{easytable} and I find LaTeX instructions but none for LyX. I'd appreciate a pointer. Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Adding footnote to table cell [RESOLVED]

2022-07-07 Thread Rich Shepard
On Thu, 7 Jul 2022, Rich Shepard wrote: Well, huh! That works. When I added it to the preamble I wondered if the order of \usepackage{} was important, but had no idea whether it was. This module is locaton-sensitive for some reason. Paul, Herbert, et al.: Changing the sequence

Re: Adding footnote to table cell [RESOLVED]

2022-07-07 Thread Rich Shepard
On Thu, 7 Jul 2022, Paul A. Rubin wrote: 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, Well, huh! That works. When I added it to the preamble I wondered

Re: Adding footnote to table cell

2022-07-07 Thread Rich Shepard
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#LyX 2.3 created

Re: Adding footnote to table cell

2022-07-07 Thread Rich Shepard
On Thu, 7 Jul 2022, Daniel wrote: Works for me (attached). If I misunderstood you, could you explain how? Daniel, When I look at the preamble for fn.lyx I see nothing; it's all blank which makes comparison with my file difficult. Regards, Rich -- lyx-users mailing list

Re: Adding footnote to table cell

2022-07-07 Thread Rich Shepard
On Thu, 7 Jul 2022, Herbert Voss wrote: \usepackage{ftnxtra} works only for tabulars _not_ inside an floating environment table Herbert, Interesting: it added the footnote but changed the format of the table from horizontal to vertical (and removed two border lines). And, pdflatex complained

Adding footnote to table cell

2022-07-06 Thread Rich Shepard
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. Placing the footnote at the end of the subsection heading immediately above the 2-cell table also doesn't work as intended. Is there a work-around for

Re: Table row shading throws compile error

2022-07-06 Thread Rich Shepard
On Wed, 6 Jul 2022, Herbert Voss 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

Re: Table row shading throws compile error

2022-07-06 Thread Rich Shepard
On Wed, 6 Jul 2022, Daniel wrote: As a workaround you could use an ERT with \cellcolor{lightgray} in each cell. Daniel, I've never before used colors in tables so I'm new to doing so. Because this document is going to a regulatory agency whose staff can be fussy about appearences I decided

Re: Table row shading throws compile error

2022-07-05 Thread Rich Shepard
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

Table row shading throws compile error

2022-07-05 Thread Rich Shepard
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 The error message box

Re: Templates storage

2022-06-28 Thread Rich Shepard
On Tue, 28 Jun 2022, Daniel wrote: But you could also do it the other way around: move all the templates you need to your user directory and then change the default template path (in Preferences > Paths). Daniel, That will work. In the next mayor version (2.4), LyX will show both user and

Question-answer font style module?

2022-06-27 Thread Rich Shepard
The 2nd edition of The LaTeX Companion is quite old, and the 3rd edition is not expected until the end of the year. Is there a module with different font style environments for questions (bold) and answers (default)? Rich -- lyx-users mailing list lyx-users@lists.lyx.org

Templates storage

2022-06-27 Thread Rich Shepard
Here, the default LyX template directory is /usr/share/lyx/templates. I have some templates in ~/.lyx/templates/. If I move the latter to the former will I lose them in an upgrade? TIA, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Formatting Python code

2022-05-30 Thread Rich Shepard
On Mon, 30 May 2022, Rich Shepard wrote: That's interesting. I don't find "showspaces" anywhere in the document settings. Where do I turn it off? Herbert, Found it: Edit -> Listing settings -> Style -> Space in string as symbols. Thanks again, Rich -- lyx-users mai

Re: Formatting Python code

2022-05-30 Thread Rich Shepard
On Mon, 30 May 2022, Herbert Voss wrote: you have set the listings option "showspaces" and also one indention with spaces instead of tabs. "showspaces" makes no sense with python code. Herbert, That's interesting. I don't find "showspaces" anywhere in the document settings. Where do I turn

Re: Formatting Python code

2022-05-30 Thread Rich Shepard
On Mon, 30 May 2022, Herbert Voss wrote: It _does_ support tab characters, e.g. Herbert, But not in the Tkinter widget code documentation I'm making into a readable format using LyX. The small space character issue in the pdflatex output is associated with the Python-3.6+ formatted strings;

Re: Formatting Python code

2022-05-30 Thread Rich Shepard
Here's an issue that's appeared twice (so far) in the document and I cannot find the reason. The *.lyx code in a Program Listing environment looks like this: - \begin_layout Plain Layout self.sheet = Sheet(self.frame, \end_layout \begin_layout Plain Layout

Re: Exercises at end of sections

2022-05-30 Thread Rich Shepard
On Mon, 30 May 2022, Joseph Hesse wrote: I am writing a text book and want to have numbered exercises at the end of each section.  Please point me to the docs or packages that will let me do this. Joe, While there's probably a better way, my first thought is to use the Enumerate environment

Re: Formatting Python code

2022-05-30 Thread Rich Shepard
On Fri, 27 May 2022, Paul A. Rubin wrote: 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

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
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

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
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 -- lyx-users mailing

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
On Fri, 27 May 2022, Rich Shepard wrote: Thanks for the pointer. Paul, Since all the code in the document is the same language I searched the web for setting defaults. Found a list archive thread from 10 years ago and your response was to add the language and other attributes to the preamble

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
On Fri, 27 May 2022, Paul A. Rubin wrote: 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, Ah ha!

Formatting Python code

2022-05-27 Thread Rich Shepard
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

Re: Chrome and Edge says the LyX website is NOT private and NOT secure

2022-05-26 Thread Rich Shepard
On Thu, 26 May 2022, Erez Yerushalmi wrote: Lyx is my favourite editor, so I wanted to inform you that in the past few days, both Chrome and Edge tells us that the lyx.org website is NOT private and NOT secure. I don't know the reason. Potential users might be diverted away. Erez, The

Re: Curious compile error, easily fixed

2022-05-23 Thread Rich Shepard
On Mon, 23 May 2022, Paul A. Rubin wrote: 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 (?). Paul, I think that's a recent conspiracy topic. I created an empty document with the contents of your

Re: Curious compile error, easily fixed

2022-05-23 Thread Rich Shepard
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

Curious compile error, easily fixed

2022-05-20 Thread Rich Shepard
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.

Re: Suggestions for custom layouts/templates creation

2022-05-20 Thread Rich Shepard
On Fri, 20 May 2022, Steve Litt wrote: First, if the forms will be OCR'ed, you'd better have the right font and spacing. Otherwise, it's pretty easy... Steve, Not applicable. But, about 15 years ago I used PSTricks to create a scannable form. Took time but worked. These 'forms' are not like

Re: Suggestions for custom layouts/templates creation

2022-05-20 Thread Rich Shepard
On Fri, 20 May 2022, Dr Eberhard Lisse wrote: I have recreated a number of forms required by the local Medical Industrial Complex :-)-O using tables, judicious spacing and other trickery to achieve reasonable similarity which has been accepted in each case. EL, Sometimes the specific

Re: Suggestions for custom layouts/templates creation

2022-05-19 Thread Rich Shepard
I use the KOMA-Script classes and assume the KOMA-Script Article class would be the most appropriate. But, not before creating any LyX templates I would appreciate suggestions how to go about making this first one. Thinking I'm on the right track, I'm copying text from the PDF form with

Suggestions for custom layouts/templates creation

2022-05-19 Thread Rich Shepard
I've read the layout page in the Wiki and learned that I can create my own layouts. What I'd like from those of you who want to help are suggestions how to approach the project(s). All environmental regulators have forms that need to be filled by permit (or other approval) applicants then

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

2022-04-07 Thread Rich Shepard via lyx-users
On Thu, 7 Apr 2022, Steve Litt via lyx-users wrote: In my opinion, this list is so welcoming that there's little remaining low hanging fruit remaining to make the list even more welcoming, so I still think enabling non-subscribers to post is unnecessary and has downsides. +1 Most mail lists

Mail list headers have changed

2022-03-25 Thread Rich Shepard via lyx-users
When I reply to a mail list message, including the lyx mail list, I select 'reply to all' in alpine. This has always sent the message to the mail list. Today, all responses to my Modern CV issue have reply to set to the individual while from is set to the sender's name at lyx-users@lists.lyx.org.

Re: Issue with ModernCV class

2022-03-25 Thread Rich Shepard via lyx-users
On Fri, 25 Mar 2022, Jürgen Spitzmüller via lyx-users wrote: Language default for English in LyX 2.3 is latin9 (ISO-8859-15). This is independent of your OS defaults. IIRC ModernCV internally forces utf8, which causes an inputenc clash. Jürgen, Okay; I've no quibble with this. However, I've

Re: Best reference manger

2022-03-25 Thread Rich Shepard via lyx-users
On Thu, 24 Mar 2022, Lou via lyx-users wrote: Is jabref the best way to find and cite bibliography references in Lyx? Is there a better, easier way? Lou, 'Best way and better way' vary with each individual user. I've tried a couple of different ones over the decades, and found that while

Re: Issue with ModernCV class

2022-03-25 Thread Rich Shepard via lyx-users
On Fri, 25 Mar 2022, Jürgen Spitzmüller via lyx-users wrote: Try to set the encoding to "Unicode (utf8)" in Document > Language. Jürgen, The encoding is set to language default, and the system is set to UTF-8 for English. And it was the page headings not being set to 'Default' that caused

Re: Issue with ModernCV class [FIXED]

2022-03-25 Thread Rich Shepard via lyx-users
On Thu, 24 Mar 2022, Paul A. Rubin via lyx-users wrote: 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

Issue with ModernCV class

2022-03-24 Thread Rich Shepard via lyx-users
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.

Re: dictionary

2022-01-28 Thread Rich Shepard via lyx-users
On Fri, 28 Jan 2022, Patrick Dupre wrote: Unfortunately, the answer is negative. Patrick, Then you apparently have no personal word list/dictionary. On my system I have: $ find . -name pwl*.dict ./.lyx/pwl_american.dict ./.lyx/pwl_english.dict When you check spelling in a document have you

<    1   2   3   4   5   6   7   8   9   10   >