tells LyX not to show BLOCK text as justified, but still keeps
the usual paragraph indentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40427 a592a061-630c-0410-9148-cb99ea01b6c8
- let icons install into proper locations
- use theme routines to load proper icon
(using this for loading toolbar icons would be another
step how to synchronize LyX with its environment.)
Patch from Timo Kluck.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40418 a592a061-630c-0410-9148-cb99ea01b6c8
allows this information to be written to an external file and not
just to the header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40413 a592a061-630c-0410-9148-cb99ea01b6c8
(i) Validate even for comments when outputting XHTML.
(ii) Output comments as divs hidden by default. Then people
can display them other ways if they wish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40400 a592a061-630c-0410-9148-cb99ea01b6c8
- new description how to color dashed table lines
- new section how to split table cells by diagonal lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40366 a592a061-630c-0410-9148-cb99ea01b6c8
- Spanish EmbeddedObjects.lyx: change a word to be consistent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40297 a592a061-630c-0410-9148-cb99ea01b6c8
ctex template files: reduce to one file, fix broken language package settings
(file still contains outdated info and unnecessary preamble code and creates several LaTeX errors about wrong lengths but can be fixed later)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40264 a592a061-630c-0410-9148-cb99ea01b6c8
- sheet.*: remove the files (Richard, there is a SVN command with which you can rename files. SVN will then take care about everything except of the makefile)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40218 a592a061-630c-0410-9148-cb99ea01b6c8
When R version is >= 2.13.1, Sweave handles natively encodings. Therefore, we have to remove our own kludge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40135 a592a061-630c-0410-9148-cb99ea01b6c8
- describe the new GnumericSpreadsheet feature and link to the example file
- link to the lilypond example file
- fix some links
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40125 a592a061-630c-0410-9148-cb99ea01b6c8
- describe the new lyxpipe preferences option
- add info how to en/disable the math autocorrection
- some bugfixes in appendix C
- German UserGuide.lyx: complete translation of appendix C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40117 a592a061-630c-0410-9148-cb99ea01b6c8
Documentation (and perhaps menu items) need still to be a bit
clarified in order to distinguish the various paste options
for the average user.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40060 a592a061-630c-0410-9148-cb99ea01b6c8
- This preference was used for specifying the papersize to xdvi, dvipdfm,
dvips. However, I can't seem to see any effect on the result.
- The papersize should instead be defined in the document settings.
- The global papersize default was misused to also change the tex
output by specifying the papersize as if it was specified in the
document settings. This caused the same lyx document to be outputted
differently on different pcs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40028 a592a061-630c-0410-9148-cb99ea01b6c8
The clash can however still happen if those packages are both loaded for other symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39885 a592a061-630c-0410-9148-cb99ea01b6c8
Now you can also require a|b|c, and if any of the features is already used,
no other one will be loaded. The first feature wins if none is already used.
This is required for a part of bug #7811.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39884 a592a061-630c-0410-9148-cb99ea01b6c8
- de.po: change a translation to the most commonly used word
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39845 a592a061-630c-0410-9148-cb99ea01b6c8
- German UserGuide.lyx: some translations and 2 updated images
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39834 a592a061-630c-0410-9148-cb99ea01b6c8
Let's have this in trunk for testing. The real difference maker
when it comes to color is whether we use dvipng or ghostscript.
For dvipng:
- The color info is passed as command-line arguments.
- The tightpage option is not necessary, and since it adds
ps specials to the output, we shouldn't use it.
For ghostscript:
- The color info needs to be in the latex file.
- The foreground color is set for each preview inset.
- The background color is set by \pagecolor in the preamble,
which is understood by pdflatex, but ignored in dvips mode.
Thus dvips is handled with a ps special.
- The tightpage option is necessary to crop the images.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39797 a592a061-630c-0410-9148-cb99ea01b6c8
For example, find_exe(["bibtex -min-crossrefs=7"]) should search for
bibtex and if it is found, return the string "bibtex -min-crossrefs=7".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39794 a592a061-630c-0410-9148-cb99ea01b6c8
- German Additional.lyx: update to English version, translation of section 8 which hopefully fixes#7748
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39792 a592a061-630c-0410-9148-cb99ea01b6c8
or any other graphic format that:
- is exportable to EPS
- could not be explicitly exported to PNG yet (i.e., source to PNG was not reachable on the converters graph)
Now, adding the EPS to PNG conversion explicitly allows LyX to find the conversion path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39786 a592a061-630c-0410-9148-cb99ea01b6c8
Now you can:
-) include in LyX OpenOffice drawings (.odg or old .sxd files)
-) preview them on the screen
-) view them in the final .ps/.pdf output
-) edit them externally via libreoffice, ooffice, oodraw or soffice (whatever is detected).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39706 a592a061-630c-0410-9148-cb99ea01b6c8
(e.g., compressed dia, odg, sxd, ...). These need to be marked via the "zipped=native" flag in the RC file.
The old 'dia' configuration is automatically updated (it used to be hardcoded in the code, now it is handled
via the flag).
See also http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170974.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39705 a592a061-630c-0410-9148-cb99ea01b6c8
Issues #6339 and #7579 were fixed by specific code targeting those
RC entries. This commit fixes the detection of java and perl scripts
in a general way. As a result:
- The detections of jfig3-itext.jar and jfig3.jar, which where
previously overlooked, are now also fixed, and
- Future additions of java and perl scripts to configure.py are
straight forward.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39699 a592a061-630c-0410-9148-cb99ea01b6c8
The check on dv2dt and dt2dv is not necessary, since even if these
are not available, we fall back to the legacy convertion method,
which uses ghostscript, and which is available in all cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39698 a592a061-630c-0410-9148-cb99ea01b6c8
- Remove hack with $$AbsOrRelPath substitution in the guiName.
Instead, let LyX display the filename automatically in the gui,
consistent with InsetInclude.
- Use the guiName in the drop-down menu in the dialog instead of the
internal lyxName. These guiNames ought to be more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39675 a592a061-630c-0410-9148-cb99ea01b6c8
- Add "htm" as a known extension for HTML.
- Use all the extensions of a format as file filter,
instead of using only the default extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39671 a592a061-630c-0410-9148-cb99ea01b6c8
Additionnal extensions are separated by commas (,) in lyxrc
preference files, while spaces are ignored, e.g. "jpg, jpeg".
Preference lyxrc file format incremented to 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39670 a592a061-630c-0410-9148-cb99ea01b6c8
Use a list of [int, list of functions] pair, representing
- int: the format number, and
- list of functions: what needs to be done to the file to
update it to the given format number.
This matches what is done in lyx2lyx and helps keeping track of
format numbers and their corresponding conversion routines.
Also, add another sanity check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39668 a592a061-630c-0410-9148-cb99ea01b6c8
- Break up steps 1, 2 and 3 from the legacy preview mechanism.
These are really separate steps.
1) Add color info, run latex
2) Run dvips
3) Run ghostscript
- In the case of pdf output, skip step 2 and go directly to step 3.
- Make sure that we fall back to the legacy conversion whenever we can.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39661 a592a061-630c-0410-9148-cb99ea01b6c8
Introduce --debug and --verbose flags to control output. Also, use the
python subprocess module to capture stderr from external commands, thus
bumping the python requirement to version 2.4 or later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39660 a592a061-630c-0410-9148-cb99ea01b6c8
- Japanese is now handled by passing the option --latex=platex
to the standard lyxpreview script. This is done in PreviewLoader.
- Remove obsoleted file lyxpreview-platex2bitmap.py and the
corresponding lines in the configure script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39659 a592a061-630c-0410-9148-cb99ea01b6c8
- Handle the preprocessing in the main lyxpreview script with the
command-line arguments --lilypond and --lilypond-book=exe.
- Remove the obsoleted file lyxpreview-lytex2bitmap.py and the
corresponding lines in configure.py.
Fix for the japanese preview still to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39658 a592a061-630c-0410-9148-cb99ea01b6c8
Add command-line arguments in a standard unix fashion, using getopt.
Usage: ./lyxpreview2bitmap.py <options> <input file>
Options:
-h, --help: Show this help screen and exit
--dpi=<res>: Resolution per inch (default: 128)
--png, --ppm: Select the output format (default: png)
--fg=<color>: Foreground color (default: black, ie '000000')
--bg=<color>: Background color (default: white, ie 'ffffff')
--latex=<exe>: Specify the executable for latex (default: latex)
The colors are hexadecimal strings, eg 'faf0e6'.
The changes to PreviewLoader.cpp break the preview of lilypond-book
and japanese files, but they will be handled in the next commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39657 a592a061-630c-0410-9148-cb99ea01b6c8
Move some common variables to lyxpreview_tools. Otherwise,
add a few variable names, making it easier to track things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39656 a592a061-630c-0410-9148-cb99ea01b6c8
Whitespace and line endings only, in preparation for some serious work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39655 a592a061-630c-0410-9148-cb99ea01b6c8
Remove the hack with os.environ and instead directly search for
../src/tex2lyx/tex2lyx relative to where configure.py is found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39643 a592a061-630c-0410-9148-cb99ea01b6c8
We still define the tex2lyx converter but we emit a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39642 a592a061-630c-0410-9148-cb99ea01b6c8
They were tied to undefined formats ods and xls. The actual
internal names for these formats are oocalc and excel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39641 a592a061-630c-0410-9148-cb99ea01b6c8
This code seems unnecessary since not_found = "auto" is set in
checkViewer, and thus "auto" is used as the viewer when no viewers
are found, and a lyxrc entry is added anyway. The "auto" string is
special-cased in the code, where we attempt to automatically
determine the viewer from the OS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39640 a592a061-630c-0410-9148-cb99ea01b6c8
- German Additional.lyx: some corrections and some LaTeX warnings fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39571 a592a061-630c-0410-9148-cb99ea01b6c8
- \negmedspace and \negthickspace outside of math
- \enspace, \hspace*, \hspace*{\fill} and \hfill inside math
(fileformat change)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39557 a592a061-630c-0410-9148-cb99ea01b6c8
command hangs if something goes wrong. Also allow any kind of line endings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39553 a592a061-630c-0410-9148-cb99ea01b6c8
- tufte example files: add important notes that float placements options are not allowed and remove unreferenced labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39549 a592a061-630c-0410-9148-cb99ea01b6c8
- English EmbeddedObjects.lyx: fix a typo spotted by Ignacio
- EmbeddedObjects.lyx: make the file compilable also if the LaTeX-package lettrine is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39542 a592a061-630c-0410-9148-cb99ea01b6c8
python 2.7 and throws unwanted exceptions when the process
return value is not 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39533 a592a061-630c-0410-9148-cb99ea01b6c8
This will make reverting the previous commit easier.
This reverts commit 82ab1aef334d8573cc3e861e2620d9b4c59f88fe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39532 a592a061-630c-0410-9148-cb99ea01b6c8
(patch from yihui, part of #7555)
http://www.lyx.org/trac/ticket/7555#comment:18
This adds the new format "R/S code" with extension .R and a converter from .Rnw.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39509 a592a061-630c-0410-9148-cb99ea01b6c8
http://www.lyx.org/trac/ticket/7555
This part is a simple cleanup:
* rename variables to start with a dot
* reset encoding after running sweave
* improve on-screen display of code chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39506 a592a061-630c-0410-9148-cb99ea01b6c8
- describe BibTeX variants
- updated XHTML description
- add a warning for DVI (LuaTeX) format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39454 a592a061-630c-0410-9148-cb99ea01b6c8
- stdmenus.inc: add lilypond.lyx to the specific manuals, sort the entries, remove multicol as this is now gone (included in the Additional manual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39450 a592a061-630c-0410-9148-cb99ea01b6c8
- UserGuide.lyx: revise Appendix A, ass some info about cross-referencing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39434 a592a061-630c-0410-9148-cb99ea01b6c8
- use the new super/subscript inset
- correct single ans simple quote
- add info how to change line properties
- list menu entry for phantom space
- German UserGuide.lyx: lot of translation and refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39425 a592a061-630c-0410-9148-cb99ea01b6c8
- Galician Tutorial.lyx: use formatting of the English version
- some other formatting things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39365 a592a061-630c-0410-9148-cb99ea01b6c8
- Additional.lyx: update description of multiple columns
- multicol.lyx: remove this file because its content is now completely in Additional.lyx
(We once described multiple columns in 3 different files, Additional.lyx, Customization.lyx and multicol.lyx. We now have only one place.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39355 a592a061-630c-0410-9148-cb99ea01b6c8
- Italian Customization.lyx: use the same document settings as the English version
- Additional.lyx: revert undesired change from last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39352 a592a061-630c-0410-9148-cb99ea01b6c8
- the \LyX macro is no longer fragile since r37164, therefore preamble code can go
- some intro cleanups and fixes to have an uniform layout for all language variants
- remove some obsolete text from Polish and Basque Additional.lyx versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39350 a592a061-630c-0410-9148-cb99ea01b6c8
- remove the file enumitem.lyx: its content is now part of the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39344 a592a061-630c-0410-9148-cb99ea01b6c8
- EmbeddedObjects.lyx: minor issues
- German Additional.lyx: transform the layout of the file to follow the other language variants of Additional.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39332 a592a061-630c-0410-9148-cb99ea01b6c8
- Springer template files: describe the optional argument for Preface and Foreword
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39318 a592a061-630c-0410-9148-cb99ea01b6c8
- don't include Sol and Prob to layouttranslations
- change label type of the style Sol as suggested
- svmono_chapter.lyx: better description of the problem styles
- svmono_solutions.lyx: better description of the solution styles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39309 a592a061-630c-0410-9148-cb99ea01b6c8
- EmbeddedObjects.lyx: LyX supports now changing of greyed-out note text color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39306 a592a061-630c-0410-9148-cb99ea01b6c8
- document how to define custom headers/footers
- actualize list of available paper formats
- English version: some typos fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39302 a592a061-630c-0410-9148-cb99ea01b6c8
- svmono, svmult templates: set master document for the childs as suggested by Marcus Kriele
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39292 a592a061-630c-0410-9148-cb99ea01b6c8
unintentionally.
The reson for commenting the two lines was a report from
Jean-Pierre Chrétien
"With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
the Dissolve Inset item appears twice. This triggers a shortcut
conflict..."
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39275 a592a061-630c-0410-9148-cb99ea01b6c8
- fix proof styles
- subparagraphs are valid
- running section are possible in svmult and svbook
* svmult.layout/svmult_author.lyx: adapted for latest Svmult template rom Springer (version for editors follows the next days)
* svmono_book.lyx: preamble adjustments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39267 a592a061-630c-0410-9148-cb99ea01b6c8