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
1 answer

Package Babel Error in Lyx

I am new user Lyx. I just installed, Version LyX 2.1.4. After creating my first file, I run the DVI viewer, but I get this error: You need to specify a language, either as a global option or as an optional argument to the \usepackage command;…
Eric Mbatchou
  • 69
  • 1
  • 2
  • 10
1
vote
1 answer

lyx create label in custom layout

I have a custom layout that adds a "field" style to LyX. Each time a "field" is created, I'd like to also have a corresponding label attached to the "field" in LyX. Is there a way to do this programmatically in LyX? Counter fieldCnt LabelString …
jwc
  • 41
  • 2
  • 7
1
vote
0 answers

Lyx missing abstract in output for sage journal article

I've successfully added a document class called "article (sagej)" into Lyx using the .cls file found at https://uk.sagepub.com/sites/default/files/sage_latex_template_0.zip However, I have two issues in using it. First, in the layout drop-down menu…
Yugong
  • 23
  • 6
1
vote
1 answer

How to generate pdf from lyx files containing knitr chunks when knitr is deactivated ?

I would like a co-author to edit a lyx file I created. He doesn't have knitr installed and he is going to edit only text and equations parts of the document where knitr generated content is not present. I would still like him to be able to generate…
Paul Rougieux
  • 10,289
  • 4
  • 68
  • 110
1
vote
1 answer

exclude *.lyx~ files in batch (windows)

I just created the following batch file which saves all my lyx documents as tex files: cd /d "D:\" :: if the "for"-command is executed from the command line, just use "%" rather than "%%" for /R %%g in (*.lyx) do "C:\Program Files (x86)\LyX…
Fabian
  • 103
  • 6
1
vote
1 answer

Generating pdf from latex

I have been using two computers to generating pdf files from latex file by Winshell, but the characters (or images) in the pdf files generated from latex file on one computer looks always much more clear than the pdf pdf file generated by the same…
user376089
  • 1,245
  • 3
  • 14
  • 18
1
vote
2 answers

lyx does not recognize command of included package (dsfont)

I am using lyx and want to use the LaTeX package dsfont to display a unity matrix with double stroke. So, I put \usepackage{dsfont} in my document preamble and put \mathds{1} in my equation. However, lyx does not recognize the command in the…
1
vote
1 answer

errors compiling lyx 2.1.2 document with Lyx 2.1.3

I have a Lyx document created with Lyx 2.1.2 on Windows 7 and everything compiles well. After upgrading to Lyx 2.1.3 the same document gives many errors when compiled. I noticed that they are related to floating figures, for example uder view…
user3358452
  • 77
  • 1
  • 1
  • 5
1
vote
1 answer

lyx problem: ps, pdf "Authors not shown"

I'm trying to write a paper based on VLDB .cls and .tex files, it can be reached from here.It uses ACM SIG Proceedings Style.After fixing many errors, now i don't get any errors, However when i save my file as pdf or ps,i can not see the author…
berkay
  • 3,907
  • 4
  • 36
  • 51
1
vote
0 answers

Using Japanese in Lyx/knitr

I'm using Lyx 2.1.2 with knitr (not sure of the version) and R 3.1.2 on Fedora 20 to produce documents with various graphs and tables. After much trial and error I worked out at least one way to get Japanese text into the body of my documents, but…
user4294565
  • 131
  • 5
1
vote
1 answer

Refer lyx documents in a master lyx document

I have a couple of lyx documents (the children), I want to create a master document that referencing the children, but if I use Insert -> File -> Doc Lyx the file is copied inside the master document, but if I change the original document (a child) …
Kaltresian
  • 961
  • 3
  • 14
  • 32
1
vote
0 answers

MS Word Object Model structure: dealing with fields

Goal: Programmatically process a word document with bibliographic citations (ultimately from EndNote) and convert it to another format (LyX). How do I go through the document so that I can recreate it? Where a citation occurs, I only want to output…
Ross Boylan
  • 21
  • 1
  • 5
1
vote
1 answer

Missing text in PDF after R chunk in Lyx/knitr

I'm using Lyx 2.1.2 with knitr on a Fedora 20 x86_64 system. I'm not sure how to determine the version of knitr, but it is certainly working, generally providing very good results. However I see two problems: (1) If I include the final @ in any of…
user4294565
  • 131
  • 5
1
vote
0 answers

Lyx change language with find replace

I have written a lot of text in greek with selected language "greek" in lyx 2.1 . The problem is that there are words and characters in english in there and when i output to pdf with pdflatex they are transformed into the matching greek characters.…
Evan
  • 1,683
  • 7
  • 35
  • 65
1
vote
1 answer

Older Lyx on Mac fails to open doc created in newer Lyx on different computer

My friend created a doc in a newer version of Lyx on her Mac. When I try to open this doc on my version of Lyx on my Mac, I get the error "[filename] is from a newer version of LyX and the lyx2lyx script failed to convert it." I am not eager to…
user43953
  • 109
  • 11