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
1
vote
0 answers

Lyx - how to Insert hyperlink of file

The Insert> Hyperlink File option does not appear to work in LyX Version 2.1.0beta1. Any attempt at inserting a full file specification in the Target box comes up with the message "Unknown parameter name" I was trying to insert a .webm video in a…
1
vote
1 answer

xtable caption cannot contain "%" character

I have an old Lyx file that used to work, but quit working after updating R to 3.03 and updating packages. Issue is with xtable in a longtable environment with the character % in the caption. Here is a minimal…
1
vote
1 answer

error: R code interpreted as math formula in LyX

I type this code in LyX: <<>>= data$y <- data$x @ This code makes an error, because the "$$" makes the content inside them interpreted as a math formula. Is there anyway to contour this problem?
Miracula
  • 53
  • 3
1
vote
0 answers

knitr, lyx, mac, Korean

Dear Friends in the knitr community with lyx and Apple Mac Hello! I am using Apple Mac for Reproducible research of R. Currently, I enjoy knitr in lyx for writing some R scripts. The problem I have is related non-English characters, specially Korean…
1
vote
1 answer

Plotting with Knitr in Lyx

I'm trying to plot using Knitr in Lyx. When I run <<>>= install.packages("ggplot2") library(ggplot2) qplot(y=y, x=1:1000, main = 'Log-Likelihood') @ I get the error LaTeX Error: File `figure/unnamed-chunk-6.eps.bb' not found. I've tried including…
goldisfine
  • 4,742
  • 11
  • 59
  • 83
1
vote
1 answer

knitr + lyx: an error in practice of exact logistic regression

As you may know, there is a technique, called exact logistic regression. The idre from UCLA provides excellent analysis example. (http://www.ats.ucla.edu/stat/r/dae/exlogit.htm) When I exercise with the example analysis, I face an error for knitr (+…
1
vote
0 answers

Cannot run knitr on Lyx for MacBook

I am using the last version on LYX 2.0.5.1 and RStudio 0.97.318. I have installed knitr in R, my /usr/bin/Rscript is in PATH prefix in LYX, but I still fail to run even example files knitr.lyx. The error I get is: An error occurred while…
Hobbit
  • 31
  • 3
1
vote
1 answer

knitr + R3.0.0: error in sum(figs)

Since the upgrade of R (2.15.1>3.0.0) I get an error when using knitr on file.Rhtml and also with Lyx. The version of knitr is 1.1. The error message is : Erreur dans sum(figs) : 'type' (list) de l'argument incorrect Calls: knit ... ->…
abret
  • 127
  • 1
  • 10
1
vote
1 answer

Lyx+knitr code externalization with read_chunk('foo.R') fails

I am trying to use read_chunk() to separate my R code from my Lyx file as explained here. My Lyx setup compiled the knitr_minimal.pdf from knitr_minimal.lyx without any issues. But then I tried to replace…
Gabi
  • 1,303
  • 16
  • 20
1
vote
1 answer

hmisc::latex tables open in external xdvik window instead of being inserted into the pdf output document

Since our update to R2.15.1, the tables in my lyx documents that result from calls to the latex function (package Hmisc) open in an external xdvik-window instead of being inserted in the pdf-document that I am compiling. On the contrary, the tables…
1
vote
1 answer

LyX: Undefined control sequence \hline

Running LyX on Windows 7 with MiKTeX. I was trying to export LyX's "Embedded Objects tutorial" to PDF, but got this error: Undefined control sequence \hline The control sequence at the end of the top line of your error message was never \def'ed.…
Anubhav C
  • 2,631
  • 2
  • 18
  • 23
0
votes
1 answer

Sweave & Lyx fig=T in Sweave

I'm following Gregor Gorjanc's tutorial on LyX & Sweave. Using Ubuntu 10.04 and LyX version 1.6.5 with all of texlive-full installed. R scraps which result in numerical output produce a valid PDF. But, when I try to compile simple figures…
isomorphismes
  • 8,233
  • 9
  • 59
  • 70
0
votes
0 answers

No instant preview anymore for tikz pictures in LyX; reset previews?

I'm inserting figures into my LyX document by adding a graphics float, then an instant preview window inside the float, and a tex code window inside of that preview window. Here I put my tikz code. It has been working fine until I changed the code…
zip
  • 21
  • 5
0
votes
0 answers

Extract Regression Tables from R Studio to Lyx for research paper

Im working on a project that im searching what the effects of Risk-Taking behaviour on Entrepreneurship, i mean how culture affects the Entrepreneurial activities. I run regressions to see the impact of independent variables on the dependent…
0
votes
0 answers

LyX: OK button is greyed out when inserting Child Document as Input

I want to include a separate .tex file in my LyX document, but I am only able to include it as a program listing. Screenshot