Commit Graph

31471 Commits

Author SHA1 Message Date
Kornel Benko
fc33092fd8 Cmake build: modify some tests
a) test export/templates/ectaart_pdf5 removed, because
    of incompatibility between ectart.cls and luatex.sty
b) renamed some tests to reflect their purpose
    tex2lyx2lyx/roundtrip/ => tex2lyx/cmplyx/
          # the tests are comparing files written by lyx (not by tex2lyx)
    autotests/ => keytest/
          # we are testing reactions of lyx to some key strokes
c) add tests for lyx2lyx. This is rather rudimental, in that it only
    checks for created output, error codes and error output.
d) use correct environment variable to set up the userdir for testing
2013-08-21 13:34:26 +02:00
Jean-Marc Lasgouttes
78b4c3f80f Automake fix after 66dfbab8bb 2013-08-21 11:49:25 +02:00
Scott Kostyshak
66dfbab8bb AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.
2013-08-20 15:38:04 -04:00
Scott Kostyshak
2c2fe23921 Default output of all Japanese docs is now 'pdf3' 2013-08-20 03:00:57 -04:00
Scott Kostyshak
a0172272b6 Fix ja/UserGuide.lyx index issues
Patch sent by Koji (see #8786 for details).
2013-08-20 03:00:11 -04:00
Juergen Spitzmueller
63d1719bf1 Assure bibtex is used for documents that use bibtex
Manuals, examples and templates that use (traditional) bibtex should have set the bibliography processor to bibtex. Else, these documents do not compile if a user has set the processor to 'biber' in the preferences
2013-08-19 11:19:26 +02:00
Juergen Spitzmueller
3698fde0d8 Revert part of 16cdf70d0c
Our source is not yet ready for subdir-objects (causes bad lyx/tex2lyx interferences). See http://marc.info/?l=lyx-devel&m=137673178123427&w=2 for details
2013-08-19 10:47:42 +02:00
Juergen Spitzmueller
97138ce283 Fix index problem in German UG (part of #8793) 2013-08-17 12:21:58 +02:00
Juergen Spitzmueller
4347046bb6 Bind unicode glyph 0x2026 to \dots
The macro is identical to \ldots in texted, but this way, tex2lyx can import both \ldots (as InsetSpecialChar) and \dots (as unicode glyph), while retaining the original distinction (which might get relevant with some special packages or via user redefinition of one of these macros).
2013-08-17 10:18:26 +02:00
Kornel Benko
66f1991b24 The cmake-test 'export/examples/sterrors_pdf' is now expected to pass
iff 'noweb.sty' is installed.
2013-08-16 18:23:46 +02:00
Scott Kostyshak
210d590d4f *-cropped: move the example out of the note
This provides a working examples that can be viewed directly
and makes the templates compilable out-of-the box.

When moving the example, I removed what I interpreted to be
an errant apostrophe.
2013-08-16 03:54:14 -04:00
Scott Kostyshak
7e8b1e9e9d AGU_article: Change defualt output format to xhtml
This document does not export to PDF. Further, if one tries
to export to PDF on some systems, the process hangs. This commit
thus changes the default output format to xhtml and explains in a
note at the top that LyX does not currently support exporting this
document to PDF.

Note also that this document seems to be outdated and so is a
candidate for attic.

Further, this document is a candidate for being renamed. Currently
users might be confused if they are looking for the canonical way
(no need for DocBook) to write an article for AGU journals. For
that, they should use AGUTeX.lyx.
2013-08-16 03:40:57 -04:00
Scott Kostyshak
beaf51a0a6 Fix ectaart.lyx reference labels
The labels for the references are now in the format
"author(year)". Without this, the following error is given:

  "Bibliography not compatible with author-year citations"

Thanks to Richard for the fix.
2013-08-15 15:54:59 -04:00
Scott Kostyshak
0422f79685 Put bib in Note so revtex4-1 compiles out-of-box
Otherwise the following error is reported:

  "couldn't open database file your-bib-file.bib"
2013-08-15 02:26:57 -04:00
Scott Kostyshak
3471874ed0 Move ACM-siggraph to examples (#8643)
This fixes out-of-box compilation, continuing f5cf21d7.
2013-08-15 02:16:07 -04:00
Kornel Benko
7e89a2d5b1 Make more tests compilable
revertedTestst: aa_samply.lyx compiles without change
*_Additional.lyx: bad include path after moved to attic
2013-08-14 14:24:20 +02:00
Pavel Sanda
c6c0c903ac * cs.po 2013-08-12 00:41:22 -07:00
Kornel Benko
e1a442509d Cmake build: install moved springer files
The spriger directory moved from templates to examples,
but the installation of them was forgotten.
2013-08-11 21:22:00 +02:00
Richard Heck
bac7708d4b The koma-script book class numbers equations by chapter. 2013-08-09 11:33:52 -04:00
Kornel Benko
bbe183b087 Cmake testing: Added test_biblio 2013-08-07 15:00:03 +02:00
Scott Kostyshak
1d3e77b515 tests: 'default' 'default_output_format' if none
When deciding which output formats to test, if we do not find a
'default_output_format' we assume it is set to 'default'.

For discussion, see:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg180536.html
2013-08-05 19:24:11 -04:00
Scott Kostyshak
1052732e66 Japanese docs: translations from Koji 2013-08-05 19:15:56 -04:00
Pavel Sanda
c902cf297b * cs.po 2013-08-05 13:12:26 -07:00
Pavel Sanda
4a248ec905 Remerge cs.po. 2013-08-05 13:09:11 -07:00
Vincent van Ravesteijn
7f52ead718 Move caveats from 2.0.0:RELEASE-NOTES to UPGRADING 2013-08-05 11:57:53 +02:00
Scott Kostyshak
005cc9097c revertedTests: take out some Hebrew, add Russian
The Hebrew files export fine with pdf and pdf2 when Hebrew fonts
are installed. Russian LuaTeX is not known to work.
2013-08-05 04:58:55 -04:00
Scott Kostyshak
93e566be52 LilyPond: English typo 2013-08-05 04:58:40 -04:00
Vincent van Ravesteijn
2ceca32d2b Update layouttranslations 2013-08-04 18:05:44 +02:00
Vincent van Ravesteijn
4c559d0691 Update po/gmo files 2013-08-04 18:05:31 +02:00
Vincent van Ravesteijn
f794d49336 Update LFUNs.lyx 2013-08-04 16:41:02 +02:00
Kornel Benko
723cda15d3 tex2lyx roundtrip: ignore version string while comparing lyx files 2013-08-04 16:47:03 +02:00
Vincent van Ravesteijn
9235e82558 Fix typo 2013-08-04 16:37:24 +02:00
Kornel Benko
34207e5571 Merge branch 'master' of git.lyx.org:lyx 2013-08-04 16:02:01 +02:00
Kornel Benko
d3245d4cd2 tex2lyx roundtrip: expand diff to bu usefull to files created by lyx
Otherwise the comparision used by tex2lyx2lyx-tests would fail
2013-08-04 15:57:01 +02:00
Scott Kostyshak
f5cf21d725 Move templates with paths to examples (#8643)
When a user creates a new document from a template, the template
is copied but relative paths are not changed, so the resulting
.lyx file is broken. By moving documents with relative paths to
examples, the files will compile out of the box.

A long-term solution that allows for relative paths in templates
is still desired and will be discussed in #8643 or in a new ticket.
2013-08-04 15:56:42 +02:00
Kornel Benko
39bef61e84 tex2lyx roundtrip: Ignore the lyx-version which created
When comparing the contents of two lyx-files, we should not care about the specific version. Later, this can be extended to also not care whether the file is produced by tex2lyx, lyx2lyx, or LyX.

Modified-By: Vincent van Ravesteijn <vfr@lyx.org>
2013-08-04 15:42:51 +02:00
Scott Kostyshak
5bacf85b48 AEA.lyx fixes
- add a citation (otherwise BibTeX complains)
 - change citation style to Natbib (author-year)
 - fix a typo
2013-08-04 15:21:00 +02:00
Scott Kostyshak
a984498aee Makefile.am: add RJournal.{lyx,layout} entries 2013-08-04 15:06:55 +02:00
Kornel Benko
8ac070afb0 Cmake export tests
Some export test are known to fail. Checking them every time is cumbersome.
Now, the tests marked in file revertedTests will invert the success condition
and mark the test as INVERTED_SEE-README.ctest.

If some of the tests in revertedTests fails, this is good, and the testname
can be removed from it.
2013-08-04 14:31:47 +02:00
Pavel Sanda
efe2c681b5 * cs.po 2013-08-03 17:01:47 -07:00
Scott Kostyshak
0c961941c6 Typo 2013-07-31 18:10:16 -04:00
Kornel Benko
1dafcddccf * sk.po 2013-07-31 13:55:19 +02:00
Scott Kostyshak
dd609f56c3 ja/splash.lyx: default output is now dvipdfm(x) 2013-07-28 01:48:05 -04:00
Uwe Stöhr
5a95f822d4 Japanese UserGuide.lyx: update fileformat 2013-07-27 23:57:52 +02:00
Uwe Stöhr
de6f5be5c1 ja.po: translations for LyX 2.1 from Koji 2013-07-27 23:52:25 +02:00
Uwe Stöhr
88ec176e88 Japanese docs: translations and corrections from Koji 2013-07-27 23:43:54 +02:00
Juergen Spitzmueller
138bb4d14f Fix the fix to the decimal separator problem with Qt5 2013-07-27 11:18:16 +02:00
Enrico Forestieri
d14297b5d5 Update it.po 2013-07-27 00:20:41 +02:00
Enrico Forestieri
92863de517 Fix Qt5 decimal separator bug
Always use '.' as the decimal separator in the GUI, because we
call setlocale(LC_NUMERIC, "C") in setLocale() (GuiApplication.cpp).
2013-07-26 20:52:44 +02:00
Enrico Forestieri
b885b80bc0 Fix compiling on platforms lacking setenv
Using autotools, the availability of putenv is not checked, so
the macro HAVE_PUTENV is not defined and compiling stops with
the error "No environment-setting function has been defined."
Thus, also check for putenv.
2013-07-26 20:48:34 +02:00