Le 15/02/2017 à 02:09, Scott Kostyshak a écrit :
On Tue, Feb 14, 2017 at 04:31:22PM +0100, Jean-Pierre Chrétien wrote:
Hello,

I discovered that quite a number of examples and templates files depend on
resources  which do not come with TeXLive 2016. This is normal with external
applications (R, lilypond, etc.) but there are a number of LaTeX packages
from editors which are not in the appropriate collection of TeXLIve 2016.

I made an addition to Development.lyx to record what is needed to avoid
ctest failures on files which are labeled as standard exports, see
attachment.

Thanks for taking a look at the tests! And I agree, it's good to specify
all the dependencies. I have some comments below.

I think there are tests that should be labeled "nonstandard" but
currently are not. Once these are corrected, we would then change the
following sentence you added:

  With TeXLive 2016, here are the resources which should be installed to
  avoid standard tests failure:

to something like:

  Here are the resources which should be installed to
  avoid failure of tests with the "unreliable:nonstandard" label:

Do you agree?

Sure, but that means a lot of test to be moved to unreliable:nonstandard.
To make things clearer, attached is a file with the ctest command I ran and the list of failures I got.

The command runs ctest excluding export tests other than pdf and pdf2 on a list of files which contain one or more maths option 0 (i. e. do not load by default).

The failures mostly come from packages not distributed by TeXLive, which I collected in the add-on I proposed to Development.lyx.

As you may see, there are only 4 files marked as unreliable:nonstandard :

3460:UNRELIABLE.NONSTANDARD_export/examples/fa/splash_pdf2
4292:UNRELIABLE.NONSTANDARD_export/templates/ACM-siggraph_pdf2
4499:UNRELIABLE.NONSTANDARD_export/templates/IUCr-article_pdf
4795:UNRELIABLE.NONSTANDARD_export/templates/ja_beamer-conference-ornate-20min_pdf2

That means that, omitting the literate programming files (which should be exorted to xhtml if I understand correctly) and the Hebrew files (which export correctly with XeTeX or LuaTeX), we should mark as unreliable:nonstandard

In examples: Foils, aa_sample, landslide, lilypond, spreadsheet, all the springer files,

In templates : ACM-SIGS, ACM-sigplan, AEA, AGUTeX, IOP-article, JASA, aa, ectaart, svjour3

As far as AGUTeX is concerned, I detected some erratic update of the LaTeX packages distributed by AGU: they seem to have stabilized now to a class named agujournal.cls. I began to create a agujournal.lyx template in branch, but I understand that I should do it in master.


For Development.lyx, the section
now reads:

To run all tests, in the build directory simply run the command ctest. A
full, up-to-date TeXLive installation is recommended to run the tests.
Otherwise, some tests will fail. Tests with additional requirements are
labeled "unreliable:nonstandard" [footnote: With an up-to-date Texlive 2016
installation, there are standard tests which will fail because of
missing packages or external applications, see below for a list of those
which should be installed to avoid these failures.]

I think this could be made more concise. Also, we need to be sure not to
confuse two things: (1) a *full* (I think we should mention this,
right?) up-to-date TeXLive installation is assumed for tests without the
"unreliable:nonstandard" label; and (2) for tests with the
"unreliable:nonstandard" label, there are requirements in addition to a
full TeXLive installation.

Instead of "see below", I would prefer a reference to a label.

Currently the list of dependencies you added is under the section
"4.3.1.7 What action should you take if a test fails?".
I think it would make more sense to add a section before e.g.
"Configuring the tests" that is dedicated to "Test dependencies".
What do you think?

Sure, that would be better. I think also to put in trac a tds of the packages I had to add in my texmf-local tree, that I would of course keep up to date.

--
Jean-Pierre


   --- command applied -----
   
ctest  -j8 -E 'attic|check_load|check_layout|systemF|texF|pdf3|dvi' -R 
'EmbeddedObjects|Tutorial|Additional|Formula-numbering|DocumentoPostizo1|DocumentoPostizo2|DocumentBidon1|DocumentBidon2|Intro|Development|UserGuide|Formelnummerierung|DummyDocument2|Customization|LFUNs|LaTeXConfig|Shortcuts|MergedManuals|DummyDocument1|Math|localization_test|powerdot-example|Braille|lilypond|recipebook|europeCV|adibide_lyx-atua|adibide_gordina|example_raw|listerrors|colored-boxes|simplecv|chess-article|amsbook-test|H-P-statements|docbook_article|ejemplo_sin_lyx|ejemplo_con_lyx|Foils|xyfigure|tufte-book|serial_letter3|ListesPuces|exemple_lyxifie|AlignementDecimal|exemple_brut|xypic|instant_preview|exemplo_bruto|exemplo_lyxificado|serial_letter2|Literate|primer_lyxan|primer_surov|R-S-statements|chessgame|eksempel_lyxet|eksempel_txt|priklad_syrovy|priklad_zLyXovany|serienbrief2|Dezimal|serienbrief3|serienbrief1|beispiel_roh|beispiel_gelyxt|beamer|Lebenslauf|sweave|aas_sample|aa_sample|modernCV|example_lyxified|knitr|landslide|PDF-form|ItemizeBullets|script_form|spreadsheet|beamer|linguistics|beamer-article|splash|thesis|seminar|achemso|springer|amsart-test|serial_letter1|noweb2lyx|voorbeeld_ruw|opsommingstekens|voorbeeld_verlyxt|beamerlyxexample1|tufte-handout|FeynmanDiagrams|kluwer|AEA|poster-a0poster-colored|lettre|RJournal|poster-sciposter|letter|AGUTeX|IEEEtran-TransMag|koma-letter2|ACM-siggraph|slides|APA6|fr_beamer-conference-ornate-20min|IUCr-article|elsarticle|g-brief-de|aastex6|IJMPD|dinbrief|revtex4|IJMPC|ACM-SIGS|IEEEtran-Conference|IEEEtran-CompSoc|g-brief2|beamer-conference-ornate-20min|de_beamer-conference-ornate-20min|poster-a0poster-simple|DocBook_article|revtex4-1|es_beamer-conference-ornate-20min|ectaart|ja_beamer-conference-ornate-20min|aa|IEEEtran-Journal|IOP-article|ctex|JASA|g-brief-en|ACM-sigplan|hollywood|frletter|APA'


----- list of failures ------

1307:export/doc/he/Intro_pdf
1308:export/doc/he/Intro_pdf2
1322:export/doc/he/Tutorial_pdf
1323:export/doc/he/Tutorial_pdf2
1860:export/examples/Foils_pdf
1861:export/examples/Foils_pdf2
1897:export/examples/Literate_lyx21
1904:export/examples/Literate_pdf
1905:export/examples/Literate_pdf2
1961:export/examples/aa_sample_pdf
1962:export/examples/aa_sample_pdf2
2111:export/examples/docbook_article_pdf
2176:export/examples/knitr_lyx16
2177:export/examples/knitr_lyx21
2184:export/examples/knitr_pdf
2185:export/examples/knitr_pdf2
2199:export/examples/landslide_pdf
2200:export/examples/landslide_pdf2
2206:export/examples/lilypond_lyx16
2207:export/examples/lilypond_lyx21
2214:export/examples/lilypond_pdf
2215:export/examples/lilypond_pdf2
2236:export/examples/listerrors_lyx16
2237:export/examples/listerrors_lyx21
2241:export/examples/listerrors_pdf
2278:export/examples/noweb2lyx_lyx21
2285:export/examples/noweb2lyx_pdf
2286:export/examples/noweb2lyx_pdf2
2444:export/examples/spreadsheet_pdf
2445:export/examples/spreadsheet_pdf2
2457:export/examples/springer/svmono_acknow_pdf
2458:export/examples/springer/svmono_acknow_pdf2
2470:export/examples/springer/svmono_acronym_pdf
2471:export/examples/springer/svmono_acronym_pdf2
2483:export/examples/springer/svmono_appendix_pdf
2484:export/examples/springer/svmono_appendix_pdf2
2498:export/examples/springer/svmono_book-master_pdf
2499:export/examples/springer/svmono_book-master_pdf2
2511:export/examples/springer/svmono_chapter_pdf
2512:export/examples/springer/svmono_chapter_pdf2
2524:export/examples/springer/svmono_dedication_pdf
2525:export/examples/springer/svmono_dedication_pdf2
2537:export/examples/springer/svmono_foreword_pdf
2538:export/examples/springer/svmono_foreword_pdf2
2550:export/examples/springer/svmono_glossary_pdf
2551:export/examples/springer/svmono_glossary_pdf2
2563:export/examples/springer/svmono_part_pdf
2564:export/examples/springer/svmono_part_pdf2
2576:export/examples/springer/svmono_preface_pdf
2577:export/examples/springer/svmono_preface_pdf2
2589:export/examples/springer/svmono_referenc_pdf
2590:export/examples/springer/svmono_referenc_pdf2
2602:export/examples/springer/svmono_solutions_pdf
2603:export/examples/springer/svmono_solutions_pdf2
2615:export/examples/springer/svmult_acknow_pdf
2616:export/examples/springer/svmult_acknow_pdf2
2628:export/examples/springer/svmult_acronym_pdf
2629:export/examples/springer/svmult_acronym_pdf2
2641:export/examples/springer/svmult_appendix_pdf
2642:export/examples/springer/svmult_appendix_pdf2
2656:export/examples/springer/svmult_author_pdf
2657:export/examples/springer/svmult_author_pdf2
2669:export/examples/springer/svmult_cblist_pdf
2670:export/examples/springer/svmult_cblist_pdf2
2682:export/examples/springer/svmult_dedication_pdf
2683:export/examples/springer/svmult_dedication_pdf2
2697:export/examples/springer/svmult_editor-master_pdf
2698:export/examples/springer/svmult_editor-master_pdf2
2710:export/examples/springer/svmult_foreword_pdf
2711:export/examples/springer/svmult_foreword_pdf2
2723:export/examples/springer/svmult_glossary_pdf
2724:export/examples/springer/svmult_glossary_pdf2
2736:export/examples/springer/svmult_part_pdf
2737:export/examples/springer/svmult_part_pdf2
2749:export/examples/springer/svmult_preface_pdf
2750:export/examples/springer/svmult_preface_pdf2
2762:export/examples/springer/svmult_referenc_pdf
2763:export/examples/springer/svmult_referenc_pdf2
2769:export/examples/sweave_lyx16
2770:export/examples/sweave_lyx21
2777:export/examples/sweave_pdf
2778:export/examples/sweave_pdf2
3072:export/examples/de/ItemizeBullets_lyx21
3460:UNRELIABLE.NONSTANDARD_export/examples/fa/splash_pdf
3461:UNRELIABLE.NONSTANDARD_export/examples/fa/splash_pdf2
3520:export/examples/fr/Foils_pdf
3521:export/examples/fr/Foils_pdf2
3754:export/examples/he/example_lyxified_pdf
3755:export/examples/he/example_lyxified_pdf2
3769:export/examples/he/example_raw_pdf
3770:export/examples/he/example_raw_pdf2
3784:export/examples/he/splash_pdf
3785:export/examples/he/splash_pdf2
3916:export/examples/ja/knitr_lyx16
3917:export/examples/ja/knitr_lyx21
3923:export/examples/ja/lilypond_lyx16
3924:export/examples/ja/lilypond_lyx21
3943:export/examples/ja/sweave_lyx16
3944:export/examples/ja/sweave_lyx21
4277:export/templates/ACM-SIGS_pdf
4278:export/templates/ACM-SIGS_pdf2
4292:UNRELIABLE.NONSTANDARD_export/templates/ACM-siggraph_pdf
4293:UNRELIABLE.NONSTANDARD_export/templates/ACM-siggraph_pdf2
4307:export/templates/ACM-sigplan_pdf
4308:export/templates/ACM-sigplan_pdf2
4322:export/templates/AEA_pdf
4323:export/templates/AEA_pdf2
4337:export/templates/AGUTeX_pdf
4338:export/templates/AGUTeX_pdf2
4379:export/templates/DocBook_article_pdf
4484:export/templates/IOP-article_pdf
4485:export/templates/IOP-article_pdf2
4499:UNRELIABLE.NONSTANDARD_export/templates/IUCr-article_pdf
4500:UNRELIABLE.NONSTANDARD_export/templates/IUCr-article_pdf2
4514:export/templates/JASA_pdf
4515:export/templates/JASA_pdf2
4533:export/templates/RJournal_lyx16
4534:export/templates/RJournal_lyx21
4541:export/templates/RJournal_pdf
4542:export/templates/RJournal_pdf2
4556:export/templates/aa_pdf
4557:export/templates/aa_pdf2
4662:export/templates/ectaart_pdf
4663:export/templates/ectaart_pdf2
4795:UNRELIABLE.NONSTANDARD_export/templates/ja_beamer-conference-ornate-20min_pdf2
4974:export/templates/springer/svjour3_pdf
4975:export/templates/springer/svjour3_pdf2

Reply via email to