Compare commits

...

5 Commits

Author SHA1 Message Date
Juergen Spitzmueller
83006fc080 Fix (biblatex) file encoding handling in GuiBibtex (#13109) 2024-10-08 14:04:34 +02:00
Kornel Benko
2c88b75315 Amend(4) of c0ee28a7 2024-10-08 13:36:45 +02:00
Kornel Benko
3a3dfe2044 Amend(3) of c0ee28a7
There are more for sure, selected only url's which were (sometime) making trouble
2024-10-08 11:45:23 +02:00
Kornel Benko
4063951ded Amend 341410a5: Change log-output to better parse urls 2024-10-08 11:38:35 +02:00
Scott Kostyshak
46edbaca77 ctests: invert an xhtml test
From Jürgen:

  ampersands in the bibliography (as in "Hartley & Marks" here)
  need to be transferred to & in DocBook.
2024-10-08 09:44:35 +02:00
28 changed files with 252 additions and 134 deletions

View File

@ -179,6 +179,10 @@ export/examples/ru/Presentations/Beamer_lyx(16|20)
# that we want "&" rather than "and" (in APA context).
# see: https://www.mail-archive.com/search?l=mid&q=ildx4xd4o7ybeqroh3blxgnxqnsqnte256utip2fbmcwi4zolz%40wsh7ez36kkhl
export/templates/Articles/American_Psychological_Association_%28APA%29,_v._7_xhtml
#
# from Jürgen: ampersands in the bibliography (as in "Hartley & Marks" here)
# need to be transferred to & in DocBook.
export/examples/es/Handouts/Tufte_Handout_xhtml
# ==============================================================

View File

@ -228,6 +228,10 @@ for (my $i = 0; $i < $NR_JOBS; $i++) { # Number of subprocesses
if ($res || $checkSelectedOnly) {
printx("$err_txt \"$u\"\n", $outSum, $fe, $fs);
}
else {
printx("OK url: \"$u\"\n", $outSum, $fe, $fs);
$printSourceFiles = 1;
}
if ($printSourceFiles) {
if (defined($URLS{$u})) {
for my $f (sort keys %{$URLS{$u}}) {
@ -245,7 +249,7 @@ for (my $i = 0; $i < $NR_JOBS; $i++) { # Number of subprocesses
$wait[$i] = $pid;
}
for (my $i = 0; $i < 10; $i++) {
for (my $i = 0; $i < $NR_JOBS; $i++) {
my $p = $wait[$i];
if ($p > 0) {
waitpid($p, 0);

View File

@ -8784,7 +8784,7 @@ G-Brief (V.
\begin_inset CommandInset href
LatexCommand href
name "CTAN"
target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
literal "false"
\end_inset
@ -13471,7 +13471,7 @@ This module provides fields and buttons for PDF forms.
\begin_inset CommandInset href
LatexCommand href
name "hyperref documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -13544,7 +13544,7 @@ Custom
\begin_inset CommandInset href
LatexCommand href
name "todonotes documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
literal "false"
\end_inset
@ -13611,7 +13611,7 @@ Fancy Color Boxes
\begin_inset CommandInset href
LatexCommand href
name "tcolorbox documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf`"
literal "false"
\end_inset

View File

@ -49245,7 +49245,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/arydshln/arydshln.pdf"
literal "false"
\end_inset
@ -49485,7 +49485,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
target "https://ctan.net/macros/latex/contrib/footmisc/footmisc-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/footmisc/footmisc-doc.pdf"
literal "false"
\end_inset
@ -49581,7 +49581,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -49629,7 +49629,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
literal "false"
\end_inset
@ -49688,7 +49688,7 @@ literal "false"
\begin_inset CommandInset href
LatexCommand href
name "example"
target "https://ftp.fau.de/ctan/macros/latex/contrib/lettrine/doc/lettrine.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
literal "false"
\end_inset

View File

@ -42514,7 +42514,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -50663,7 +50663,7 @@ Driver support
in
\begin_inset CommandInset href
LatexCommand href
target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
target "https://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
literal "false"
\end_inset
@ -58603,7 +58603,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -58646,7 +58646,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -58729,7 +58729,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -58772,7 +58772,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -58855,7 +58855,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -58898,7 +58898,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -54718,7 +54718,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "وثيقة"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -54751,7 +54751,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -54824,7 +54824,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "وثيقة"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -54857,7 +54857,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -54930,7 +54930,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "وثيقة"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -54963,7 +54963,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -8893,7 +8893,7 @@ G-Brief (V.
\begin_inset CommandInset href
LatexCommand href
name "CTAN"
target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
literal "false"
\end_inset
@ -14254,7 +14254,7 @@ Dieses Modul stellt Felder und Schaltflächen zur Erzeugung von PDF-Formularen b
\begin_inset CommandInset href
LatexCommand href
name "Hyperref-Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -14341,7 +14341,7 @@ Benutzerdefiniert
\begin_inset CommandInset href
LatexCommand href
name "Todonotes-Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
literal "false"
\end_inset
@ -14484,7 +14484,7 @@ tcolorbox
\begin_inset CommandInset href
LatexCommand href
name "Tcolorbox-Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf`"
literal "false"
\end_inset
@ -15421,7 +15421,7 @@ Sprache
\begin_inset CommandInset href
LatexCommand href
name "Hyperref-Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -49815,7 +49815,7 @@ Dokumentation des \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/arydshln/arydshln.pdf"
literal "false"
\end_inset
@ -50055,7 +50055,7 @@ Dokumentation des \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
target "https://ctan.net/macros/latex/contrib/footmisc/footmisc-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/footmisc/footmisc-doc.pdf"
literal "false"
\end_inset
@ -50151,7 +50151,7 @@ Dokumentation des \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -42448,7 +42448,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -48641,7 +48641,7 @@ Driver support
in
\begin_inset CommandInset href
LatexCommand href
target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
target "https://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
literal "false"
\end_inset
@ -56260,7 +56260,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Dokumentation"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -56303,7 +56303,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -56386,7 +56386,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -56429,7 +56429,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -56512,7 +56512,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Dokumentation"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -56555,7 +56555,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -47328,7 +47328,7 @@ Documentación del paquete \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/arydshln/arydshln.pdf"
literal "false"
\end_inset
@ -47523,7 +47523,7 @@ Documentación del paquete \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
target "https://ctan.net/macros/latex/contrib/footmisc/footmisc-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/footmisc/footmisc-doc.pdf"
literal "false"
\end_inset
@ -47601,7 +47601,7 @@ Documentación del paquete \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -47640,7 +47640,7 @@ Documentación del paquete \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
literal "false"
\end_inset
@ -47690,7 +47690,7 @@ literal "false"
\begin_inset CommandInset href
LatexCommand href
name "ejemplo"
target "https://ftp.fau.de/ctan/macros/latex/contrib/lettrine/doc/lettrine.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
literal "false"
\end_inset

View File

@ -45835,7 +45835,7 @@ Driver support
en
\begin_inset CommandInset href
LatexCommand href
target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
target "https://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
literal "false"
\end_inset
@ -52673,7 +52673,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentación"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -52708,7 +52708,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -52783,7 +52783,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentación"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -52818,7 +52818,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -52893,7 +52893,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentación"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -52928,7 +52928,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -9296,7 +9296,7 @@ G-Brief (V.
\begin_inset CommandInset href
LatexCommand href
name "CTAN"
target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
literal "false"
\end_inset
@ -14154,7 +14154,7 @@ Ce module fournit champs et boutons pour les formulaires PDF.
\begin_inset CommandInset href
LatexCommand href
name "documentation hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -14246,7 +14246,7 @@ Réglable
\begin_inset CommandInset href
LatexCommand href
name "documentation todonotes"
target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
literal "false"
\end_inset
@ -14313,7 +14313,7 @@ et la
\begin_inset CommandInset href
LatexCommand href
name "documentation tcolorbox"
target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf`"
literal "false"
\end_inset

View File

@ -50124,7 +50124,7 @@ Documentation du paquetage \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/arydshln/arydshln.pdf"
literal "false"
\end_inset
@ -50364,7 +50364,7 @@ Documentation du paquetage \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
target "https://ctan.net/macros/latex/contrib/footmisc/footmisc-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/footmisc/footmisc-doc.pdf"
literal "false"
\end_inset
@ -50460,7 +50460,7 @@ Documentation du paquetage \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -50508,7 +50508,7 @@ Documentation du paquetage \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
literal "false"
\end_inset
@ -50567,7 +50567,7 @@ literal "false"
\begin_inset CommandInset href
LatexCommand href
name "exemple"
target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine-demo-fr.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine-demo-fr.pdf"
literal "false"
\end_inset

View File

@ -43833,7 +43833,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -50916,7 +50916,7 @@ Driver support
dans
\begin_inset CommandInset href
LatexCommand href
target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
target "https://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
literal "false"
\end_inset
@ -58908,7 +58908,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -58951,7 +58951,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -59034,7 +59034,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -59077,7 +59077,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -59160,7 +59160,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -59203,7 +59203,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -10236,7 +10236,7 @@ G-Brief
\begin_inset CommandInset href
LatexCommand href
name "CTAN"
target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
literal "false"
\end_inset
@ -14406,7 +14406,7 @@ PDFフォーム用のフィールドとボタンを提供します
\begin_inset CommandInset href
LatexCommand href
name "hyperref解説文書"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -14471,7 +14471,7 @@ TODO註釈は出力されません
\begin_inset CommandInset href
LatexCommand href
name "todonotes解説文書"
target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
literal "false"
\end_inset
@ -14531,7 +14531,7 @@ tcolorboxパッケージを使って色付きボックスをサポートする
\begin_inset CommandInset href
LatexCommand href
name "tcolorbox 解説文書"
target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf`"
literal "false"
\end_inset

View File

@ -50390,7 +50390,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/arydshln/arydshln.pdf"
literal "false"
\end_inset
@ -50680,7 +50680,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
target "https://ctan.net/macros/latex/contrib/footmisc/footmisc-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/footmisc/footmisc-doc.pdf"
literal "false"
\end_inset
@ -50796,7 +50796,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -50854,7 +50854,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
literal "false"
\end_inset
@ -50923,7 +50923,7 @@ literal "false"
\begin_inset CommandInset href
LatexCommand href
name "用例"
target "https://ftp.fau.de/ctan/macros/latex/contrib/lettrine/doc/lettrine.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
literal "false"
\end_inset

View File

@ -46544,7 +46544,7 @@ hyperref
\begin_inset CommandInset href
LatexCommand href
name "取扱説明書"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -52706,7 +52706,7 @@ ln
頒布版でこれらを有効にしなくてはなりません.
\begin_inset CommandInset href
LatexCommand href
target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
target "https://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
literal "false"
\end_inset
@ -60778,7 +60778,7 @@ enumitem
\begin_inset CommandInset href
LatexCommand href
name "取扱説明書"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -60793,7 +60793,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -60922,7 +60922,7 @@ hyperref
\begin_inset CommandInset href
LatexCommand href
name "取扱説明書"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -60937,7 +60937,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -61066,7 +61066,7 @@ nomencl
\begin_inset CommandInset href
LatexCommand href
name "取扱説明書"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -61081,7 +61081,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -47705,7 +47705,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/arydshln/arydshln.pdf"
literal "false"
\end_inset
@ -47900,7 +47900,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
target "https://ctan.net/macros/latex/contrib/footmisc/footmisc-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/footmisc/footmisc-doc.pdf"
literal "false"
\end_inset
@ -47978,7 +47978,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -48017,7 +48017,7 @@ Documentation of the \SpecialChar LaTeX
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide-en.pdf"
literal "false"
\end_inset
@ -48067,7 +48067,7 @@ literal "false"
\begin_inset CommandInset href
LatexCommand href
name "example"
target "https://ftp.fau.de/ctan/macros/latex/contrib/lettrine/doc/lettrine.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
literal "false"
\end_inset

View File

@ -39131,7 +39131,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -45012,7 +45012,7 @@ dvi2ps,
в
\begin_inset CommandInset href
LatexCommand href
target "https://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.pdf"
target "https://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
literal "false"
\end_inset
@ -52324,7 +52324,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
literal "false"
\end_inset
@ -52358,7 +52358,7 @@ status collapsed
\begin_layout Plain Layout
https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/macros/latex/contrib/enumitem/enumitem.pdf
https://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
\end_layout
\end_inset
@ -52432,7 +52432,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset
@ -52466,7 +52466,7 @@ status collapsed
\begin_layout Plain Layout
http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
\end_layout
\end_inset
@ -52540,7 +52540,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
literal "false"
\end_inset
@ -52574,7 +52574,7 @@ status collapsed
\begin_layout Plain Layout
https://www.ctan.org/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
https://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
\end_layout
\end_inset

View File

@ -3443,7 +3443,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Documentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -3392,7 +3392,7 @@ literal "true"
\begin_inset CommandInset href
LatexCommand href
name "Dokumentation"
target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
literal "false"
\end_inset

View File

@ -181,8 +181,31 @@ void GuiBibtex::setButtons()
void GuiBibtex::selUpdated()
{
vector<docstring> nfe;
if (usingBiblatex()) {
// check for current file encodings
for (int i = 0; i != selected_model_.rowCount(); ++i) {
QStandardItem const * key = selected_model_.item(i, 0);
QComboBox * cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(i, 1)));
QString fenc = cb ? cb->itemData(cb->currentIndex()).toString() : QString();
if (fenc.isEmpty())
fenc = cached_file_encodings_[key->text()];
else
cached_file_encodings_[key->text()] = fenc;
docstring const enc = qstring_to_ucs4(key->text()) + " " + qstring_to_ucs4(fenc);
if (key && !key->text().isEmpty() && !fenc.isEmpty() && fenc != "general")
nfe.push_back(enc);
}
}
selectionManager->update();
editPB->setEnabled(deletePB->isEnabled());
if (usingBiblatex()) {
// Set file encodings as assembled above
for (int i = 0; i != selected_model_.rowCount(); ++i)
addEncCombo(i);
if (!nfe.empty())
setFileEncodings(nfe);
}
updateReAbs();
changed();
}
@ -282,7 +305,6 @@ void GuiBibtex::inheritPressed()
if (!selected_bibs_.contains(toqstr(f))) {
selected_bibs_.append(toqstr(f));
setSelectedBibs(selected_bibs_);
string enc;
if (usingBiblatex()) {
string const bfe = buffer().masterParams().bibFileEncoding(to_utf8(f));
if (!bfe.empty())
@ -299,6 +321,48 @@ void GuiBibtex::inheritPressed()
}
void GuiBibtex::updateFileEncodings()
{
vector<docstring> nfe;
for (int i = 0; i != selected_model_.rowCount(); ++i) {
QStandardItem const * key = selected_model_.item(i, 0);
QComboBox * cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(i, 1)));
QString fenc = cb ? cb->itemData(cb->currentIndex()).toString() : QString();
docstring const enc = qstring_to_ucs4(key->text()) + " " + qstring_to_ucs4(fenc);
if (key && !key->text().isEmpty() && !fenc.isEmpty() && fenc != "general")
nfe.push_back(enc);
}
if (!nfe.empty()) {
setFileEncodings(nfe);
change_adaptor();
}
}
bool GuiBibtex::hasFileEncodings() const
{
if (!usingBiblatex())
// only with biblatex, we have file encodings
return false;
// first check the applied encodings
docstring_list const mbibs = buffer().masterBuffer()->getBibfiles();
for (auto const & f : mbibs) {
string const bfe = buffer().masterParams().bibFileEncoding(to_utf8(f));
if (!bfe.empty() && bfe != "general")
return true;
}
// now check unapplied ones
for (QString const & enc : cached_file_encodings_) {
if (!enc.isEmpty() && enc != "general")
return true;
}
return false;
}
void GuiBibtex::relAbsPressed()
{
LocalPath const p = localPathSelected();
@ -373,6 +437,28 @@ void GuiBibtex::updateReAbs()
}
void GuiBibtex::addEncCombo(int const row)
{
QComboBox * ecb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(row, 1)));
if (ecb)
// encoding combo already exists
return;
// Add new combo and fill it
QComboBox * cb = new QComboBox;
cb->addItem(qt_("General Encoding"), "general");
cb->addItem(qt_("Document Encoding"), "auto");
QMap<QString, QString>::const_iterator it = encodings_.constBegin();
while (it != encodings_.constEnd()) {
cb->addItem(it.key(), it.value());
++it;
}
cb->setToolTip(qt_("If this bibliography database uses a different "
"encoding than specified below, set it here"));
selectedLV->setIndexWidget(selected_model_.index(row, 1), cb);
}
void GuiBibtex::setSelectedBibs(QStringList const & sl)
{
selected_model_.clear();
@ -380,7 +466,28 @@ void GuiBibtex::setSelectedBibs(QStringList const & sl)
headers << qt_("Database")
<< qt_("File Encoding");
selected_model_.setHorizontalHeaderLabels(headers);
bool const moreencs = usingBiblatex() && sl.count() > 1;
QStringList::const_iterator it = sl.begin();
QStringList::const_iterator end = sl.end();
for (int i = 0; it != end; ++it, ++i) {
QStandardItem * si = new QStandardItem();
si->setData(*it);
si->setText(*it);
si->setToolTip(*it);
si->setEditable(false);
selected_model_.insertRow(i, si);
addEncCombo(i);
QString const enc = cached_file_encodings_[*it];
if (!enc.isEmpty()) {
QComboBox * cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(i, 1)));
cb->setCurrentIndex(cb->findData(enc));
}
}
// Decide if we show file encoding combos. This is the case:
// 1. if we use Biblatex
// 2. and we have multiple items (otherwise you could set the genral encodung)
// 3. or a single item already has a non-standard encoding set
bool const moreencs = usingBiblatex() && (sl.count() > 1 || hasFileEncodings());
selectedLV->setColumnHidden(1, !moreencs);
selectedLV->verticalHeader()->setVisible(false);
selectedLV->horizontalHeader()->setVisible(moreencs);
@ -395,28 +502,8 @@ void GuiBibtex::setSelectedBibs(QStringList const & sl)
bibEncodingCO->setToolTip(qt_("If your bibliography databases use a different "
"encoding than the LyX document, specify it here"));
}
QStringList::const_iterator it = sl.begin();
QStringList::const_iterator end = sl.end();
for (int i = 0; it != end; ++it, ++i) {
QStandardItem * si = new QStandardItem();
si->setData(*it);
si->setText(*it);
si->setToolTip(*it);
si->setEditable(false);
selected_model_.insertRow(i, si);
QComboBox * cb = new QComboBox;
cb->addItem(qt_("General Encoding"), "general");
cb->addItem(qt_("Document Encoding"), "auto");
QMap<QString, QString>::const_iterator it = encodings_.constBegin();
while (it != encodings_.constEnd()) {
cb->addItem(it.key(), it.value());
++it;
}
cb->setToolTip(qt_("If this bibliography database uses a different "
"encoding than specified below, set it here"));
selectedLV->setIndexWidget(selected_model_.index(i, 1), cb);
}
editPB->setEnabled(deletePB->isEnabled());
updateFileEncodings();
updateReAbs();
}
@ -523,11 +610,12 @@ void GuiBibtex::applyView()
{
docstring dbs;
int maxCount = selected_bibs_.count();
QStringList sb = selectedBibs();
int maxCount = sb.count();
for (int i = 0; i < maxCount; i++) {
if (i != 0)
dbs += ',';
QString item = selected_bibs_.at(i);
QString item = sb.at(i);
docstring bibfile = qstring_to_ucs4(item);
dbs += bibfile;
}
@ -630,17 +718,30 @@ vector<docstring> GuiBibtex::getFileEncodings()
void GuiBibtex::setFileEncodings(vector<docstring> const & m)
{
if (!usingBiblatex())
// no file encodings
return;
for (docstring const & s: m) {
docstring key;
QString enc = toqstr(split(s, key, ' '));
// check if we have the key
QModelIndexList qmil =
selected_model_.match(selected_model_.index(0, 0),
Qt::DisplayRole, toqstr(key), 1,
Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap));
if (!qmil.empty()) {
QComboBox * cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(qmil.front().row(), 1)));
cb->setCurrentIndex(cb->findData(enc));
selected_model_.match(selected_model_.index(0, 0),
Qt::DisplayRole, toqstr(key), 1,
Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap));
if (qmil.isEmpty())
continue;
int const row = qmil.front().row();
// assure we have an encoding combo in this row ...
QComboBox * cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(row, 1)));
if (!cb) {
addEncCombo(row);
cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(row, 1)));
}
if (!qmil.empty())
// ... and set it to the desired value
cb->setCurrentIndex(cb->findData(enc));
}
}

View File

@ -91,6 +91,8 @@ private:
std::vector<docstring> getFileEncodings();
///
void setFileEncodings(std::vector<docstring> const & m);
/// Does this have non-default file encodings?
bool hasFileEncodings() const;
///
bool initialiseParams(std::string const & data) override;
@ -110,8 +112,13 @@ private:
LP_Relative
};
LocalPath localPathSelected();
///
/// Update "Make Relative/Absolute" button text and status
void updateReAbs();
/// Update the file encodings in the available widget
void updateFileEncodings();
/// Add an encoding combo to the selected
/// item in row \p row if noe exists yet
void addEncCombo(int const row);
private:
///
@ -128,8 +135,10 @@ private:
QStringList selected_bibs_;
/// contains the search box
FancyLineEdit * filter_;
///
/// List of available encodings
QMap<QString, QString> encodings_;
/// cache of not yet applied file encodings
QMap<QString, QString> cached_file_encodings_;
};
} // namespace frontend