Commit Graph

31484 Commits

Author SHA1 Message Date
Scott Kostyshak
889182eb1a ctests: ignore check_load/templates/attic/latex8
latex8.sty is obsolete and replaced by IEEEconf.
2013-08-23 15:34:31 -04:00
Scott Kostyshak
a0f6b09a82 ctests: macro now deals with reverted and ignored
A single macro determines if a test should be ignored
(by returning an empty test name), and if not,
whether to revert it.

This was Kornel's idea.
2013-08-23 14:45:54 -04:00
Kornel Benko
036a78e990 Cmake tests: Allow for comments in control files
Files, which contain names of ctest-tests controling
whether they should be inverted, or ignored.
We have two such files ATM: revertedTests + ignoredTests
2013-08-23 20:25:24 +02:00
Kornel Benko
79f2426386 sk.po update 2013-08-23 12:01:59 +02:00
Juergen Spitzmueller
a24db63edb de.po: update 2013-08-23 11:56:31 +02:00
Juergen Spitzmueller
fb225b26f1 Add shortcuts to some Theorem argumentsnts (as requested in #8809) 2013-08-23 11:29:08 +02:00
Kornel Benko
c5d0e818e6 Cmake tests renaming. tex2lyx2lyx/roundtrip/ => tex2lyx/cmplyx/
This one was forgotten
2013-08-23 02:19:09 +02:00
Scott Kostyshak
7affdd5764 New ctests to check for parsing and other errors
These tests load the .lyx files to see if there are
any parsing errors or other LyX errors/warnings. The
tests fail if LyX writes a line to STDERR that does not
match any of the regexes stored in filterCheckWarnings.

Thanks to Kornel for the CMake expertise and corrections.
This patch was written jointly with him.
2013-08-22 19:01:23 -04:00
Kornel Benko
48e8f93d9a Cmake build tests: be more verbose in displaying running commands 2013-08-23 00:50:42 +02:00
Kornel Benko
f416d9156e Cmake build tests: make lyx2lyx tests threadsafe 2013-08-23 00:48:58 +02:00
Kornel Benko
f697e50fd3 Cmake build: remove warnings with newer cmake
Omit using empty defines in find_path() and find_library()
2013-08-23 00:02:56 +02:00
Scott Kostyshak
3ebdbe65d3 Update RJournal.layout to v0.12 of RJournal.sty
Without this, the template gives a BibTeX error because
there are two \bibstyle commands in the .aux.

This would have broken backwards compatibility but RJournal.layout
has not yet been in a LyX release. Further, the journal made a
significant change (moving to a single column instead of two)
so any submitter would need to update the .sty anyway.
2013-08-21 16:15:15 -04:00
Scott Kostyshak
0ccde6590d RJournal.layout: package 'url' is already provided
This fixes an option conflict error when using
RJournal.sty v0.12 (the newest).

Previous versions of the .sty also provided 'url'
so they should still work with the layout.
2013-08-21 15:53:47 -04:00
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