Commit Graph

31755 Commits

Author SHA1 Message Date
Kornel Benko
4f043fba4d Cmake build tests: href entries checked
Our lyx-files are referencing urls also with
a href inset. We check now also these.

search_url.pl: Added check for href
*.lyx: Corrected href
2013-08-28 19:51:19 +02:00
Kornel Benko
73e03bb7d8 Replaced some more invalid urls 2013-08-28 18:07:28 +02:00
Kornel Benko
b94d0e35d3 Replaced some invalid urls 2013-08-28 16:50:23 +02:00
Kornel Benko
bc59cf6a93 Update source list 2013-08-28 14:20:59 +02:00
Kornel Benko
8286411c81 ctests for broken URLs in URL insets of LyX docs
These tests check for broken URLs in the URL insets of
the manuals, examples, and templates.

The tests are disabled by default because the Perl interpreter
is needed.

Later on they can be activated with a flag, as follows:

  cmake ... -DLYX_ENABLE_URLTESTS=ON

but for now the connection from the TOP-CMakeLists.txt is left out.

Missing part:
        1.) Declaring an setting the option
                LYX_OPTION(ENABLE_URLTESTS  "Enable for URL tests" OFF ALL)
        2.) make the connection
                if(LYX_ENABLE_URLTESTS)
                        add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
                endif()
2013-08-28 12:17:40 +02:00
Scott Kostyshak
ab891a653c ja.po from Koji 2013-08-27 14:34:05 -04:00
Scott Kostyshak
4d2dfe046f Japanse docs: Remove non-arg 'MenuString'
'MenuString' is currently implemented only for arguments.
2013-08-27 04:54:28 -04:00
Kornel Benko
29381d2b52 Copyright 2013-08-26 22:06:01 +02:00
Kornel Benko
1a1ee97758 Cmake build tests: Create directory neede for testing
While testing exports, we need a directory for created mess,
which we use then as working directory.
2013-08-26 22:02:20 +02:00
Tommaso Cucinotta
cd84a3024d Now an attempt to export into a folder without write permission causes LyX to automatically pop-up the "Export As" dialog (addressing #3402). 2013-08-26 11:28:07 +01:00
Pavel Sanda
778cff1cff Comment from bug #8783. 2013-08-25 21:30:04 -07:00
Kornel Benko
acdfceac71 Cmake build tests: update comments
ignoredTests: add comment
expectedTestFailures: update the set of bad tests
2013-08-25 18:18:19 +02:00
Kornel Benko
e6f2598323 Cmake build tests: Unify use of userdir
Forgotten in commit 788e2b1ac8
2013-08-25 11:45:26 +02:00
Kornel Benko
788e2b1ac8 Cmake build tests: Unify use of userdir
While some test runns lyx-exe, we need userdir be
different from default. All relevant tests should use the same directory.
2013-08-25 11:41:10 +02:00
Tommaso Cucinotta
0b6edb0b2f Revert "Let non-ASCII chars within regexp insets match their occurrence within TEXT, rather than MATHS (seems the most recurrently needed scenario)."
This reverts commit 6a3792bdbb.
2013-08-24 17:42:14 +01:00
Tommaso Cucinotta
203dab97c3 Now the regexp insets entered in Advanced F&R search/replace boxes do not preview anymore independently, unless embedded/nested within other math elements.
Fixing crash as described in #7805.
2013-08-24 13:06:05 +01:00
Scott Kostyshak
ec058c3872 Fix ja/EmbeddedObjects.lyx index issues
See #8786 for details.
2013-08-23 23:35:41 -04:00
Scott Kostyshak
57a4018c4e Fix Basque Intro ('Chapter' layout does not exist)
The 'Chapter' layout does not exist in standard article class.
I demoted all section-type layouts. Thus, "Chapter" became "Section",
"Section" became "Subsection" and "Subsection" became "Subsubsection".
2013-08-23 23:03:26 -04:00
Scott Kostyshak
cde87070e5 AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.

Further, the new .cls now contains bug fixes and is required for
submission to the AGU journals.
2013-08-23 15:34:56 -04:00
Scott Kostyshak
defc1953be Revert "Automake fix after 66dfbab8bb65"
This reverts commit 78b4c3f80f.

JMarc's fix of my poor commit is no longer needed.
2013-08-23 15:34:56 -04:00
Scott Kostyshak
75f004a7f4 Revert "AGUTeX template/layout: support the new cls name"
This reverts commit 66dfbab8bb.

This was a poor commit for more than one reason.
Thank you to Juergen for help on this.

See the following for more details:
http://comments.gmane.org/gmane.editors.lyx.devel/148425
2013-08-23 15:34:56 -04:00
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