texlive[51014] trunk: ctanbib (5may19)

commits+karl at tug.org commits+karl at tug.org
Sun May 5 23:18:05 CEST 2019


Revision: 51014
          http://tug.org/svn/texlive?view=revision&revision=51014
Author:   karl
Date:     2019-05-05 23:18:04 +0200 (Sun, 05 May 2019)
Log Message:
-----------
ctanbib (5may19)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/ctanbib/ctanbib
    trunk/Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf
    trunk/Master/texmf-dist/doc/support/ctanbib/ctanbib-doc.pdf
    trunk/Master/texmf-dist/doc/support/ctanbib/ctanbib-doc.tex
    trunk/Master/texmf-dist/scripts/ctanbib/ctanbib

Modified: trunk/Build/source/texk/texlive/linked_scripts/ctanbib/ctanbib
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/ctanbib/ctanbib	2019-05-05 21:17:49 UTC (rev 51013)
+++ trunk/Build/source/texk/texlive/linked_scripts/ctanbib/ctanbib	2019-05-05 21:18:04 UTC (rev 51014)
@@ -27,7 +27,7 @@
   ]])
   os.exit(1)
 elseif arg[1]=="--version" or arg[1]=="-v" then
-  print "ctanbib version v0.1b"
+  print "ctanbib version v0.1c"
   os.exit(1)
 elseif arg[1]=="--ctan" or arg[1]=="-c" then
   table.remove(arg, 1)
@@ -56,7 +56,8 @@
 
 
 local load_xml =  function(url)
-  local command = io.popen("wget -qO- ".. url,"r")
+  -- local command = io.popen("wget -qO- ".. url,"r")
+  local command = io.popen("curl -sS ".. url,"r")
 
   local info = command:read("*all")
   command:close()

Modified: trunk/Master/texmf-dist/doc/man/man1/ctanbib.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/ctanbib/ctanbib-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/ctanbib/ctanbib-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/ctanbib/ctanbib-doc.tex	2019-05-05 21:17:49 UTC (rev 51013)
+++ trunk/Master/texmf-dist/doc/support/ctanbib/ctanbib-doc.tex	2019-05-05 21:18:04 UTC (rev 51014)
@@ -18,6 +18,7 @@
 \section{Introduction}
 This package provides script named \package{ctanbib} which can be used for retrieving of the bibliographic information for packages hosted on CTAN.
 
+
 \section{Usage}
 
 
@@ -26,7 +27,9 @@
 
 \noindent\package{ctanbib [options]  $\langle$packagename$\rangle$ > filename.bib}
 
+The \texttt{curl} utility needs to be installed on the user's system in order to support the package info download.
 
+
 \section{Available options}
 
 \begin{description}
@@ -96,6 +99,9 @@
 \section{Changelog}
 
 \begin{changelog}
+  \change{2019-05-04}{Version 0.1c released}
+  \change{2019-05-04}{Use the \texttt{curl} command to download the package info}
+  \change{2019-05-04}{Added information about the need to have the \texttt{curl} command installed}
   \change{2019-03-11}{Version 0.1b released}
   \change{2018-09-10}{Added support for institutional names}
   \change{2018-09-10}{Escape TeX commands in the title and subtitle}

Modified: trunk/Master/texmf-dist/scripts/ctanbib/ctanbib
===================================================================
--- trunk/Master/texmf-dist/scripts/ctanbib/ctanbib	2019-05-05 21:17:49 UTC (rev 51013)
+++ trunk/Master/texmf-dist/scripts/ctanbib/ctanbib	2019-05-05 21:18:04 UTC (rev 51014)
@@ -27,7 +27,7 @@
   ]])
   os.exit(1)
 elseif arg[1]=="--version" or arg[1]=="-v" then
-  print "ctanbib version v0.1b"
+  print "ctanbib version v0.1c"
   os.exit(1)
 elseif arg[1]=="--ctan" or arg[1]=="-c" then
   table.remove(arg, 1)
@@ -56,7 +56,8 @@
 
 
 local load_xml =  function(url)
-  local command = io.popen("wget -qO- ".. url,"r")
+  -- local command = io.popen("wget -qO- ".. url,"r")
+  local command = io.popen("curl -sS ".. url,"r")
 
   local info = command:read("*all")
   command:close()



More information about the tex-live-commits mailing list