[tex4ht-commits] [SCM] tex4ht updated: r497 - trunk/web
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Mon Jan 21 15:14:50 CET 2019
Author: michal_h21
Date: 2019-01-21 16:14:50 +0200 (Mon, 21 Jan 2019)
New Revision: 497
Modified:
trunk/web/changelog-parse.lua
trunk/web/changes.html
Log:
Add urls to the sources
Modified: trunk/web/changelog-parse.lua
===================================================================
--- trunk/web/changelog-parse.lua 2019-01-21 13:47:26 UTC (rev 496)
+++ trunk/web/changelog-parse.lua 2019-01-21 14:14:50 UTC (rev 497)
@@ -32,10 +32,15 @@
end)
:gsub("%s*$", "") -- remove space at the end
.. "\n</p>" -- we need to close the paragraph explicitly
- -- escape file names
- text = text:gsub("<p>(.-):", "<p><em>%1</em>:")
+ -- text = text:gsub("<p>(.-):", "<p><em>%1</em>:")
-- escape links
text = text:gsub("(http[^%s]+)", "<br><a href='%1'>%1</a>")
+ -- escape file names
+ text = text:gsub("<p>(.-):", function(a)
+ local texfile, generated = a:match("(.-tex)(%s+.+)")
+ texfile = string.format("<a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/%s'>%s</a>", texfile, texfile)
+ return "<p><em>" .. texfile .. generated .. "</em>"
+ end)
print("<td>")
print(text)
print("</td>\n</tr>")
Modified: trunk/web/changes.html
===================================================================
--- trunk/web/changes.html 2019-01-21 13:47:26 UTC (rev 496)
+++ trunk/web/changes.html 2019-01-21 14:14:50 UTC (rev 497)
@@ -2,22 +2,22 @@
<tr>
<td>2019-01-18</td>
<td>
-<p><em>tex4ht-ooffice.tex (ooffice.4ht)</em>: added configurations for verse.4ht.
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-ooffice.tex'>tex4ht-ooffice.tex</a> (ooffice.4ht)</em> added configurations for verse.4ht.
</p>
</td>
</tr>
<tr>
<td>2019-01-17</td>
<td>
-<p><em>tex4ht-4ht.tex (tuenc-xetex-input.4ht)</em>: fixed Unicode range character
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-4ht.tex'>tex4ht-4ht.tex</a> (tuenc-xetex-input.4ht)</em> fixed Unicode range character
declaration.
</p>
-<p><em>tex4ht-html4.tex (html4.4ht),
- tex4ht-ooffice.4ht (ooffice.4ht)</em>: Start a new paragraph after the verse
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-html4.tex'>tex4ht-html4.tex</a> (html4.4ht),
+ tex4ht-ooffice.4ht (ooffice.4ht)</em> Start a new paragraph after the verse
environment.
<br><a href='https://tex.stackexchange.com/q/470546/2891'>https://tex.stackexchange.com/q/470546/2891</a>
</p>
-<p><em>tex4ht-html4.tex (html4.4ht)</em>: set zero bottom margin for paragraphs inside
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-html4.tex'>tex4ht-html4.tex</a> (html4.4ht)</em> set zero bottom margin for paragraphs inside
the verse environment in order to prevent unvanted blank lines.
</p>
</td>
@@ -25,10 +25,10 @@
<tr>
<td>2019-01-16</td>
<td>
-<p><em>tex4ht-4ht.tex (memoir.4ht)</em>: fixed chapter TOC creation
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-4ht.tex'>tex4ht-4ht.tex</a> (memoir.4ht)</em> fixed chapter TOC creation
<br><a href='https://tex.stackexchange.com/q/470352/2891'>https://tex.stackexchange.com/q/470352/2891</a>
</p>
-<p><em>tex4ht-ooffice.tex (ooffice.4ht)</em>: renamed quote-trl to
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-ooffice.tex'>tex4ht-ooffice.tex</a> (ooffice.4ht)</em> renamed quote-trl to
quote-rtl, to fix the direction support.
<br><a href='https://tex.stackexchange.com/a/470434/2891'>https://tex.stackexchange.com/a/470434/2891</a>
</p>
@@ -37,7 +37,7 @@
<tr>
<td>2019-01-12</td>
<td>
-<p><em>tex4ht-4ht.tex (usepackage.4ht)</em>: fixed Biblatex language handling.
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-4ht.tex'>tex4ht-4ht.tex</a> (usepackage.4ht)</em> fixed Biblatex language handling.
<br><a href='https://tex.stackexchange.com/q/469718/2891'>https://tex.stackexchange.com/q/469718/2891</a>
</p>
</td>
@@ -45,7 +45,7 @@
<tr>
<td>2019-01-06</td>
<td>
-<p><em>tex4ht-4ht.tex (memoir.4ht)</em>: Support for optional argument of
+<p><em><a href='http://svn.gnu.org.ua/viewvc/tex4ht/trunk/lit/tex4ht-4ht.tex'>tex4ht-4ht.tex</a> (memoir.4ht)</em> Support for optional argument of
\chapter. Thanks to Deimantas Gal\v{c}ius.
<br><a href='https://puszcza.gnu.org.ua/bugs/?406'>https://puszcza.gnu.org.ua/bugs/?406</a>
</p>
More information about the tex4ht-commits
mailing list