Compare commits

..

No commits in common. "83006fc0805ef8a4bc6713e7aa5d68b3cc6135ce" and "cb59ce9f9edd574fd3396952c24624d37d58c1a7" have entirely different histories.

28 changed files with 134 additions and 252 deletions

View File

@ -179,10 +179,6 @@ export/examples/ru/Presentations/Beamer_lyx(16|20)
# that we want "&" rather than "and" (in APA context). # that we want "&" rather than "and" (in APA context).
# see: https://www.mail-archive.com/search?l=mid&q=ildx4xd4o7ybeqroh3blxgnxqnsqnte256utip2fbmcwi4zolz%40wsh7ez36kkhl # see: https://www.mail-archive.com/search?l=mid&q=ildx4xd4o7ybeqroh3blxgnxqnsqnte256utip2fbmcwi4zolz%40wsh7ez36kkhl
export/templates/Articles/American_Psychological_Association_%28APA%29,_v._7_xhtml 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,10 +228,6 @@ for (my $i = 0; $i < $NR_JOBS; $i++) { # Number of subprocesses
if ($res || $checkSelectedOnly) { if ($res || $checkSelectedOnly) {
printx("$err_txt \"$u\"\n", $outSum, $fe, $fs); printx("$err_txt \"$u\"\n", $outSum, $fe, $fs);
} }
else {
printx("OK url: \"$u\"\n", $outSum, $fe, $fs);
$printSourceFiles = 1;
}
if ($printSourceFiles) { if ($printSourceFiles) {
if (defined($URLS{$u})) { if (defined($URLS{$u})) {
for my $f (sort keys %{$URLS{$u}}) { for my $f (sort keys %{$URLS{$u}}) {
@ -249,7 +245,7 @@ for (my $i = 0; $i < $NR_JOBS; $i++) { # Number of subprocesses
$wait[$i] = $pid; $wait[$i] = $pid;
} }
for (my $i = 0; $i < $NR_JOBS; $i++) { for (my $i = 0; $i < 10; $i++) {
my $p = $wait[$i]; my $p = $wait[$i];
if ($p > 0) { if ($p > 0) {
waitpid($p, 0); waitpid($p, 0);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -181,31 +181,8 @@ void GuiBibtex::setButtons()
void GuiBibtex::selUpdated() 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(); selectionManager->update();
editPB->setEnabled(deletePB->isEnabled()); 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(); updateReAbs();
changed(); changed();
} }
@ -305,6 +282,7 @@ void GuiBibtex::inheritPressed()
if (!selected_bibs_.contains(toqstr(f))) { if (!selected_bibs_.contains(toqstr(f))) {
selected_bibs_.append(toqstr(f)); selected_bibs_.append(toqstr(f));
setSelectedBibs(selected_bibs_); setSelectedBibs(selected_bibs_);
string enc;
if (usingBiblatex()) { if (usingBiblatex()) {
string const bfe = buffer().masterParams().bibFileEncoding(to_utf8(f)); string const bfe = buffer().masterParams().bibFileEncoding(to_utf8(f));
if (!bfe.empty()) if (!bfe.empty())
@ -321,48 +299,6 @@ 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() void GuiBibtex::relAbsPressed()
{ {
LocalPath const p = localPathSelected(); LocalPath const p = localPathSelected();
@ -437,28 +373,6 @@ 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) void GuiBibtex::setSelectedBibs(QStringList const & sl)
{ {
selected_model_.clear(); selected_model_.clear();
@ -466,28 +380,7 @@ void GuiBibtex::setSelectedBibs(QStringList const & sl)
headers << qt_("Database") headers << qt_("Database")
<< qt_("File Encoding"); << qt_("File Encoding");
selected_model_.setHorizontalHeaderLabels(headers); selected_model_.setHorizontalHeaderLabels(headers);
QStringList::const_iterator it = sl.begin(); bool const moreencs = usingBiblatex() && sl.count() > 1;
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->setColumnHidden(1, !moreencs);
selectedLV->verticalHeader()->setVisible(false); selectedLV->verticalHeader()->setVisible(false);
selectedLV->horizontalHeader()->setVisible(moreencs); selectedLV->horizontalHeader()->setVisible(moreencs);
@ -502,8 +395,28 @@ void GuiBibtex::setSelectedBibs(QStringList const & sl)
bibEncodingCO->setToolTip(qt_("If your bibliography databases use a different " bibEncodingCO->setToolTip(qt_("If your bibliography databases use a different "
"encoding than the LyX document, specify it here")); "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()); editPB->setEnabled(deletePB->isEnabled());
updateFileEncodings();
updateReAbs(); updateReAbs();
} }
@ -610,12 +523,11 @@ void GuiBibtex::applyView()
{ {
docstring dbs; docstring dbs;
QStringList sb = selectedBibs(); int maxCount = selected_bibs_.count();
int maxCount = sb.count();
for (int i = 0; i < maxCount; i++) { for (int i = 0; i < maxCount; i++) {
if (i != 0) if (i != 0)
dbs += ','; dbs += ',';
QString item = sb.at(i); QString item = selected_bibs_.at(i);
docstring bibfile = qstring_to_ucs4(item); docstring bibfile = qstring_to_ucs4(item);
dbs += bibfile; dbs += bibfile;
} }
@ -718,30 +630,17 @@ vector<docstring> GuiBibtex::getFileEncodings()
void GuiBibtex::setFileEncodings(vector<docstring> const & m) void GuiBibtex::setFileEncodings(vector<docstring> const & m)
{ {
if (!usingBiblatex())
// no file encodings
return;
for (docstring const & s: m) { for (docstring const & s: m) {
docstring key; docstring key;
QString enc = toqstr(split(s, key, ' ')); QString enc = toqstr(split(s, key, ' '));
// check if we have the key
QModelIndexList qmil = QModelIndexList qmil =
selected_model_.match(selected_model_.index(0, 0), selected_model_.match(selected_model_.index(0, 0),
Qt::DisplayRole, toqstr(key), 1, Qt::DisplayRole, toqstr(key), 1,
Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap)); Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap));
if (qmil.isEmpty()) if (!qmil.empty()) {
continue; QComboBox * cb = qobject_cast<QComboBox*>(selectedLV->indexWidget(selected_model_.index(qmil.front().row(), 1)));
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)); cb->setCurrentIndex(cb->findData(enc));
}
} }
} }

View File

@ -91,8 +91,6 @@ private:
std::vector<docstring> getFileEncodings(); std::vector<docstring> getFileEncodings();
/// ///
void setFileEncodings(std::vector<docstring> const & m); void setFileEncodings(std::vector<docstring> const & m);
/// Does this have non-default file encodings?
bool hasFileEncodings() const;
/// ///
bool initialiseParams(std::string const & data) override; bool initialiseParams(std::string const & data) override;
@ -112,13 +110,8 @@ private:
LP_Relative LP_Relative
}; };
LocalPath localPathSelected(); LocalPath localPathSelected();
/// Update "Make Relative/Absolute" button text and status ///
void updateReAbs(); 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: private:
/// ///
@ -135,10 +128,8 @@ private:
QStringList selected_bibs_; QStringList selected_bibs_;
/// contains the search box /// contains the search box
FancyLineEdit * filter_; FancyLineEdit * filter_;
/// List of available encodings ///
QMap<QString, QString> encodings_; QMap<QString, QString> encodings_;
/// cache of not yet applied file encodings
QMap<QString, QString> cached_file_encodings_;
}; };
} // namespace frontend } // namespace frontend