From 0b2958190594444375dcf6a312c35eaf003b3914 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sun, 31 Mar 2019 00:15:52 +0100 Subject: [PATCH] Fix some non-accessible URLS Also don't check attic, devel or obsolete files Not found good replacements for http://texcatalogue.ctan.org/bytopic.html http://www.tiresias.org/research/reports/braille_cell.htm --- development/checkurls/CMakeLists.txt | 11 ++++++++++- lib/doc/de/UserGuide.lyx | 2 +- lib/doc/es/Additional.lyx | 2 +- lib/doc/fr/Additional.lyx | 2 +- lib/doc/ja/Additional.lyx | 2 +- lib/templates/Articles/REVTeX_%28V._4.1%29.lyx | 2 +- 6 files changed, 15 insertions(+), 6 deletions(-) diff --git a/development/checkurls/CMakeLists.txt b/development/checkurls/CMakeLists.txt index debedc67b2..3125c86550 100644 --- a/development/checkurls/CMakeLists.txt +++ b/development/checkurls/CMakeLists.txt @@ -13,8 +13,17 @@ set(LYXFILES_FILE "${CMAKE_CURRENT_BINARY_DIR}/filesToScan") file(WRITE "${LYXFILES_FILE}") file(GLOB_RECURSE lyx_files RELATIVE "${TOP_SEARCH_PATH}" "${TOP_SEARCH_PATH}/*.lyx") +set(NO_SEARCH_PATHS "/attic/" "src/tex2lyx/test" "/autotests/" "development/" "/Obsolete/") foreach(_f ${lyx_files}) - file(APPEND "${LYXFILES_FILE}" "${_f}\n") + set(found OFF) + foreach(_p ${NO_SEARCH_PATHS}) + if (_f MATCHES "${_p}") + set(found ON) + endif() + endforeach() + if (NOT found) + file(APPEND "${LYXFILES_FILE}" "${_f}\n") + endif() endforeach() # Define the perl-script running the actual test diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx index 8e1c66e61c..016d9ba35e 100644 --- a/lib/doc/de/UserGuide.lyx +++ b/lib/doc/de/UserGuide.lyx @@ -17265,7 +17265,7 @@ vgl. \begin_inset CommandInset href LatexCommand href name "amtliche Regeln" -target "http://www.rechtschreibrat.com/DOX/rfdr_Regeln_2017.pdf" +target "http://www.rechtschreibrat.com/DOX/rfdr_Regeln_2016_veroeffentlicht_2017.pdf" literal "false" \end_inset diff --git a/lib/doc/es/Additional.lyx b/lib/doc/es/Additional.lyx index 9f173d9d8b..fe032f6ff6 100644 --- a/lib/doc/es/Additional.lyx +++ b/lib/doc/es/Additional.lyx @@ -24545,7 +24545,7 @@ status collapsed \begin_layout Plain Layout -http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html +http://www.literateprogramming.com/lpfaq.pdf \end_layout \end_inset diff --git a/lib/doc/fr/Additional.lyx b/lib/doc/fr/Additional.lyx index 6ee6828138..5dc4feba01 100644 --- a/lib/doc/fr/Additional.lyx +++ b/lib/doc/fr/Additional.lyx @@ -24906,7 +24906,7 @@ status collapsed \begin_layout Plain Layout -http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html +http://www.literateprogramming.com/lpfaq.pdf \end_layout \end_inset diff --git a/lib/doc/ja/Additional.lyx b/lib/doc/ja/Additional.lyx index 4fd2d531c3..15ca27770e 100644 --- a/lib/doc/ja/Additional.lyx +++ b/lib/doc/ja/Additional.lyx @@ -21270,7 +21270,7 @@ status collapsed \begin_layout Plain Layout -http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html +http://www.literateprogramming.com/lpfaq.pdf \end_layout \end_inset diff --git a/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx b/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx index 29982670b2..8ffe7dbc32 100644 --- a/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx +++ b/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx @@ -372,7 +372,7 @@ status open \begin_layout Plain Layout -http://www.aip.org/pacs +https://www.aip.org/pacs \end_layout \end_inset -- 2.39.2