Questions tagged [lyx]

Lyx is a multi-platform document processor that serves as a frontend to the LaTeX typesetting environment.

LyX is a document processor that encourages an approach to writing based on the structure of your documents (What You See Is What You Mean) and not simply their appearance (What You See Is What You Get).

LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a graphical interface. This results in world-class support for creation of mathematical content (via a fully integrated equation editor) and structured documents like academic articles, theses, and books. In addition, staples of scientific authoring such as reference list and index creation come standard. But you can also use LyX to create a letter or a novel or a theatre play or film script. A broad array of ready, well-designed document layouts are built in.

LyX is for people who want their writing to look great, right out of the box. No more endless tinkering with formatting details, “finger painting” font attributes or futzing around with page boundaries. You just write. On screen, LyX looks like any word processor; its printed output — or richly cross-referenced PDF, just as readily produced — looks like nothing else.

LyX is released under a Free Software/Open Source license, runs on Linux/Unix, Windows, and Mac OS X, and is available in several languages.

201 questions
2
votes
1 answer

Opinion about generating and cross-referencing knitr plots in LyX

I am aiming at including a knitr plot in LyX that I can cross-reference in my document. I: Inserted a float image. Added a caption and a label. Inserted a ERT instead of an image in the float image. An image of what I did is here: I checked here…
Diego
  • 328
  • 2
  • 9
2
votes
0 answers

Making pgfsweave work with all ggplot2 plots

Have run into a problem using ggplot2 and pgfsweave(+Lyx). When I run my code in R, I get a nice plot with coloured/shaded tiles, and those tiles do not appear when running via pgfsweave. Note that other graphs using ggplot2 are working for me…
themartinmcfly
  • 2,004
  • 2
  • 13
  • 12
2
votes
0 answers

Chinese file name when compiling in Lyx

When the file is named with Chinese characters, the Lyx will compile the Chinese character as '__'. It looks the Chinese characters are not compiled correctly. I would like to know if it is a method to make it print normally? for example, the file…
Ben
  • 21
  • 1
2
votes
0 answers

LyX does not compile files because of inputenc error

When I try to compile any document in LyX, I get this message: Package inputenc Error: Invalid UTF-8 byte 179 Nothing I found on the web is working. Neither changing the preamble nor setting the LyX itself. I also tried to change the coding in the…
tygrysuav
  • 25
  • 3
2
votes
0 answers

knitr and tufte-latex fig.fullwidth ignored in LyX

I am trying to create a Tufte-styled document in LyX that incorporates R code output using the knitr library and the Tufte-LaTeX book package. I would like one of my figures generated by R code within the document to be full width (fig.fullwidth =…
Tom
  • 694
  • 8
  • 20
2
votes
1 answer

How to insert a table in TikzEdt? (Create Tikz diagrams with tables using a GUI)

I'm trying to find the easiest way to create Tikz diagrams mixed with tables. Such as these: or https://tex.stackexchange.com/questions/400557/how-to-add-connected-graphs-to-a-table Writing properly all this code can become quite complex and prone…
skan
  • 7,423
  • 14
  • 59
  • 96
2
votes
1 answer

ggplot2 code that works interactively (rkward) crashes under Lyx/pgfSweave - Hints please!

I encounter the following error in the *.Rnw.log: Error: chunk 3 (label=printgraph) Error in grid.Call.graphics("L_text", as.graphicsAnnot(x$label), x$x, : Metric information not available for this family/device only in Lyx and depending…
2
votes
0 answers

Is it possible to produce HTML output using KNITR in LYX?

Some web searching didn't give me any answer to this question. Is there any chance to produce a HTML output using KNITR under LYX? Alternatively, can I use any converter to get a HTML (DOC, ODT, as well) output from a PDF first generated in KNITR…
2
votes
0 answers

LyX system reconfiguration with SumatraPDF

Installed SumatraPDF and am trying to reconfigure LyX to display with pdflatex. I am getting the following error using Tools > Reconfigure: 'The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly.…
2
votes
0 answers

Rmarkdown: pass 'standAlone' option to tickzdevice with knitr

I am sucessfully compiling my .rmd-file into html or pdf_documents with the global option of dev='tikz'. Unfortunately the resulting .tikz-files have a latex-body around them, which prevents me from including them as child documents in…
stats-hb
  • 958
  • 13
  • 31
2
votes
2 answers

How can I add delimiters around the amsmath align environment?

I have a group of equations and I'd like to show under some transformation, the system looks like something else. So I'd like to group the AMS Align environment inside a pair of brackets such that the align environment is vertically centered on the…
Gus
  • 4,375
  • 5
  • 31
  • 50
2
votes
1 answer

LaTeX: How can I disable the linking for figures in LyX?

Complete LaTeX and LyX newbie here. I am currently writing a document in LyX and I'm using hyperref to have links in the ToC, citations etc. The problem is that I added a figure (with float) and when I make a cross-reference in the text, the…
Andreas K.
  • 165
  • 1
  • 2
  • 7
2
votes
1 answer

What strategy to push only a subset of the files in git?

As an example, I have a directory with three files a lyx a latex and a bibtex file. Both the lyx and the latex share the bibtex file. I'd like to share with my friends the directory (if possible everything but the lyx file). I use overleaf to share…
DdD
  • 572
  • 1
  • 5
  • 12
2
votes
1 answer

Splitting text into lines with pyparsing

I am writing my first program which uses pyparsing. I want to parse a file where each line ended by "\n" is a token. Please explain how to do it. In fact, I need to parse .lyx files. One example of a .lyx file:…
porton
  • 5,214
  • 11
  • 47
  • 95
2
votes
1 answer

compile error lyx var/folder does not exist

When I compile the lyx document to get the PDF I receive an error message /var/folder..... does not exist that is the start of the temp directory root but for other files I didn't received this error message. Help required.
Guandi
  • 21
  • 2