Questions tagged [lyx]

{lyx} specifically is for questions about the LyX document-authoring application, that uses LaTeX for typesetting. Check that your problem isn't really a LaTeX problem before using this tag: export your file as LaTeX and try to compile this to find out.

368 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
75 views

How to share setup between LyX users

I am collaborating with other writers, and my LyX settings have been specialized to include PlantUML re: I want to embed plantuml diagram into lyx document. Is there a way I can share this set-up ...
6
votes
0answers
675 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
4
votes
1answer
125 views

LyX index cross-referencing, “see” option

Exactly the same as this question. I have tried the answer there, but I can't seem to get it to work even with various permutations. I want to have an index entry that says "circular functions, see ...
4
votes
0answers
256 views

Lyx: exporting document in a “MathJax compatible” way

When posting a question in math.SE, I like to write my questions in LyX and then export them to LaTeX. But there are several things that I have to do in the resulting LaTeX file in order to copy-paste ...
4
votes
0answers
1k views

Adding information for coversion between formats

I just installed LyX 2.2.0, and trying to preview the included examples/splash.lyx file that shows up the first time you start the program. I'm getting an error about not being able to convert between ...
4
votes
0answers
132 views

LyX: Can't compile with \usepackage{algpseudocode} with Language that isn't English

I'm pretty new to LyX and Latex. I'm writing a paper in Hebrew and I want to add an algorithm in English. So I'm adding \usepackage{algpseudocode} to the Preamble and pasting some example algorithm. ...
4
votes
0answers
133 views

LyX - Does not appear to recognize all class variables

I have written my dissertation with LyX (which has been great), but now I need to submit it. This means I need to accord with my school's template. I have acquired and installed the class components,...
4
votes
0answers
132 views

How to follow the DRY (Dont Repeat Yourself) in multidoc?

What is the best way to keep the configurations and same content in different parts of the main document reusable from single location (e.g. from child document)? First idea was to have this ...
4
votes
0answers
196 views

opening pdf at the cursor on lyx

While creating a preview on lyx , I expect the pdf to show me the position of the text at which cursor is positioned. The default behaviour seem to open pdf at first page. How can I change this ...
4
votes
0answers
265 views

Adobe Reader does not open file created with [xetex]{\attachfile2}

I have been using \attachfile2 successfully to create PDF documents with LaTeX already. However, when switching to XeTeX, I find the Adobe Reader says it cannot open the file due to security settings....
3
votes
0answers
83 views

LyX Advanced Find and Replace

Say I want to replace each instance of "(XXX)" (in math mode) with "[XXX]", where "XXX" stands for any arbitrary string of characters. How might I do this? I know that in LyX there is an "Advanced ...
3
votes
0answers
128 views

Question Mark Boxes (⍰) in LyX menus

I am running LyX 2.3.1 on OS X 10.13.6 with the latest MacTex distribution. I've also updated the installed packages with TeX Live Manager recently. Question mark boxes appear next to some menu items ...
3
votes
0answers
199 views

How to change the style of a theorem at LyX?

As a continue to this question - Why the amstools doesn't work here? - I think to ask it from a different view: I'm using this at Lyx and I want to change the style of the theorems like here: ...
3
votes
0answers
379 views

Proper ERT LaTeX Code in LyX Math-mode

The problem I am having is I cannot have full "monospaced font" ERT code in LyX math-mode. In the picture below, you can see that in math-mode there is no red box and the argument in the curly ...
3
votes
0answers
603 views

How to create LyX inset without text-box (input box)?

I'm working on a custom layout file for LyX, I'd like to create a custom inset without the text/input box. I've seen other commands from the insert menu without it, such as "Page Break", but I haven't ...
3
votes
0answers
334 views

Lyx: Reference to sub-figures numbering is wrong

I have a lyx document with a floating figure with subfloats, where referring the subfloat (e.g. should be 1a) shows up as with off-by-one numbering (e.g. shows up as 2a), and all following figure ...
3
votes
0answers
104 views

LyX imports \'{e} as é. That messes the characters up at export time. How to keep it literal?

I use LyX only for LaTeX outlining and doing copy/paste surgery on my big file. I don't ever intend to print from LyX, since the time taken to make sure it handles all my packages and graphics imports ...
3
votes
0answers
130 views

LyX functions: Nest label from clipboard into inset insert

In writing my thesis in LyX I make frequent use of the label-copy-as-reference function - mainly from equations but also with other labels. The labels are however not pasted as formatted reference ...
3
votes
0answers
977 views

LyX claims it's exporting a PDF, but it isn't

I recently reinstalled both LyX and MiKTeX (on Win10, if it matters), hoping to fix a longstanding error where I couldn't export to pdf via pdflatex. Now, instead, no pdf exports work. It reports that ...
3
votes
0answers
195 views

Is there a LyX way to add multiple cross-references to a document?

I am using refstyle and can successfully call \chapref{label-1,label-2} in an ERT, which produces the desired "Chapters 3 and 4", but I was wondering if there was a way to do this via the GUI which ...
3
votes
0answers
555 views

Adding an environment to LyX for dividing a proof into steps

My question is basically a combination of the questions Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way? and Create new paragraph style in LyX....
3
votes
0answers
321 views

MLA citations in LyX

I tried several times to get MLA citations working, but I always hit some wall (mostly the problem is that LyX doesn't build in project directory - only files that it's aware of are being copied to a ...
3
votes
0answers
1k views

Citation: Author-comma-year in LyX (classicthesis)

I am writing my thesis in LyX using classicthesis and have some troubles with citation style. Basically, I want to avoid ERT when citing and instead use LyX' built-in "Insert citation" to get Author-...
3
votes
0answers
198 views

Citations when importing a .tex file into Lyx

I relatively new to LaTeX and Lyx. I am using the Scrivener -> MMD -> LaTeX workflow. For citations, I used Papers2, as it allows me to insert MMD-style citations into Scrivener. When compiling, the ...
3
votes
0answers
86 views

Address book similar to BibTeX to be used on LyX

I have a list of addresses. While writing the report (not in letter), I need to add address repeatedly. Is their something similar to BibTeX, which I can use with LyX for automating inclusion of ...
2
votes
0answers
332 views

LaTeX error using LyX: Missing \begin{document}

I am using LyX as a LaTeX editor. I have a little file in my computer compiling normally in an old LyX version. Now I have a new computer and installed the latest LyX version (Lyx 2.3.4, 12 Jan 2020). ...
2
votes
0answers
34 views

Render/export latex into non-paper-oriented formats

I use Latex very much and I generate many PDF files. I love the output quality. However I almost never print these PDF files, I always read them from the computer. Thus I find it nonsense to have the ...
2
votes
0answers
60 views

LyX justification problem

I am experiencing some problems with LyX justification. I left all parameters as default, but suddenly when I start a new section the subsequent text automatically changes justification. How can I ...
2
votes
0answers
75 views

Lyx spell check only understands latin characters under windows

My language is Bulgarian. Apparently, under Windows Lyx only understands Latin characters. It understands English and the spell checking works for English, French, Spanish, German. This is shown by ...
2
votes
0answers
100 views

Formatting code of a tex file output by Lyx

When converting a LyX document to a TeX file, I've noticed that the resulting code is not formatted in a "pretty" way. For example, when writing my own documents in LaTeX, I will tab lines with ...
2
votes
0answers
167 views

Use multi-page PDF as multiple graphics in LyX with correct preview?

In LyX, the "Insert > Graphics" dialog is the standard way for including graphics and, usefully, provides an inline-preview of the graphic in question. LaTeX's \includegraphics command allows to ...
2
votes
0answers
57 views

'Instant preview' suddenly stopped in a LyX document

I'm working on a fairly large LyX document. So far, instant preview has worked perfectly. Recently my document stopped loading instant previews when it's opened, although it does load instant previews ...
2
votes
0answers
45 views

Add vertical space for individual lines in an array in LyX

I know that I can add vertical space for individual lines in an array in LaTeX by including an optional argument after the line break (see example below). Is there way to do this in LyX without using ...
2
votes
0answers
2k views

Can I open Overleaf project in LYX?

I have a thesis project that I began in Overleaf, taken from the ready templates. I want to move to Lyx in order to work offline. The source file from Overleaf is a .zip that contains Chapters (.tex ...
2
votes
0answers
275 views

Tufte's margin notes in LyX instead of marginpar

Is there an "idiomatic"/non-ERT way in LyX 2.3 to add a margin note in a document formatted using tufte-handout? The normal margin notes are not converted into \marginnotes as I expected but into ...
2
votes
0answers
355 views

Find and replace all instances of $\frac{d}{dx}$

According to ISO 80000-2, the d's in d/dx should actually be in upright Roman font. So, to conform to these standards, I want to replace all such (math mode, italicized) d's in my document with ...
2
votes
0answers
1k views

LYX error \triangleq symbol not def'ed

when trying to preview my article in LYX, I got the following error: f\left(x\right)\triangleq \lim_{\delta x\rightarrow\infty}\frac{f \left(... The control sequence ...
2
votes
0answers
147 views

How to (globally) adjust space between two specific environments in LyX?

(1) Between Parbox and Standard I want to add a space wherever Parbox is immediately followed by Standard. However, I do not want to add a space between two Parboxes. So in the example below, I want ...
2
votes
0answers
668 views

Is there a keyboard shortcut to duplicate lines in LyX

I want to duplicate the line I'm currently on without having to copy go down a line and paste. For example: this is my current line and after one keyboard shortcut this is my current line this is ...
2
votes
0answers
498 views

Lyxpipe not working

I am using JabRef 3.8.2 and Lyx 2.2.2 on Linux Mint 18.1 Serena XFCE 64. I would like to cite from JabRef instead of from Lyx as described in this question. I cannot find a lyxpipe file. In Lyx, I ...
2
votes
0answers
344 views

Importing and Exporting LyX files with AMS environments

I'm having some trouble converting LyX files that use AMS environments back and forth between the .lyx format and the .tex format. To see what I mean, here is a minimal example. Starting with the ...
2
votes
0answers
343 views

Lyx Missing classes - fresh fedora install

I am a new fedora user after using ubuntu and some of its derivatives for the last two years (and a new stackexchange user). I have installed the KDE spin of fedora 24. I have tried to install lyx ...
2
votes
0answers
309 views

Bibliography by section in Lyx using memoir

I am using Lyx 2.2.1 and the memoir style. I want the bibliography to be show at the end of each Chapter --just the citations of that chapter-- and added at the TOC. I have inserted a bib file at the ...
2
votes
0answers
237 views

How to get LyX to regenerate an entire LaTeX -> PDF document when I change the .bib file?

According to an earlier discussion LyX only updates all the intermediate LaTeX files when certain kinds of errors are reported in the log. I assume it also regenerates the files when the document in ...
2
votes
0answers
2k views

LYx 2.2. (Cannot view the file pdf)

I get this error when trying to view the file: The external program pdflatex finished with an error ... check the logs. (I am using LyX 2.2.0 Windows 7)
2
votes
0answers
525 views

Screenplay writing with Lyx - problems with default classes

I love lyx and want to use it for screenplay writing. Two layouts are included and the classes (broadway.cls and hollywood.cls) I have downloaded. I kept them in the same directory as the lyx file and ...
2
votes
0answers
224 views

Is it possible to replace certain words in a subdocument in LyX? How?

I have an amount of LyX-subdocuments that should be recombined into a new (main-)document via input. I would like to replace certain words in the subdocuments when the publication is generated ...
2
votes
0answers
323 views

Reusing custom Lyx .bind file on Linux

I have been using a custom .bind file for keyboard shortcuts with Lyx 2.1 on Windows. I recently installed Lyx 2.1.4 on Ubuntu and I would like to reuse this .bind file. I placed this file at /usr/...
2
votes
0answers
492 views

Warning: uncodable character in LyX lstlisting

The problem I'm trying to insert the output of the tree command into a Program Listing field of LyX. The text is the following: exampleFolder/ ├── 01.mp4 ├── 02.avi ├── 03.mov └── 04.mpg If this ...
2
votes
0answers
338 views

Breaking equations under parentheses in nested environments of LyX

I want to reproduce something like this in LyX: Any suggestions as to how I can achieve line-breaking as depicted in the picture (in the rather long definition of a particular set under item (b), to ...

1
2 3 4 5
8