# HG changeset patch # User Henry S. Thompson # Date 1492029304 -3600 # Node ID 93fd0d532754206a1ea1aa3618e52d4508e70c8c # Parent 27bffc66ce10542bc5548dea53ba205e6226fc8f fix bug in refs wrt e.g. [1]!.SGX, adapt html and ascii to new-format refs, move a2n and n2a into separate files for re-use diff -r 27bffc66ce10 -r 93fd0d532754 a2n.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/a2n.xsl Wed Apr 12 21:35:04 2017 +0100 @@ -0,0 +1,13 @@ + + + + + + + + + diff -r 27bffc66ce10 -r 93fd0d532754 ascii.xsl --- a/ascii.xsl Wed Apr 12 17:43:54 2017 +0100 +++ b/ascii.xsl Wed Apr 12 21:35:04 2017 +0100 @@ -17,11 +17,12 @@ - diff -r 27bffc66ce10 -r 93fd0d532754 html.xsl --- a/html.xsl Wed Apr 12 17:43:54 2017 +0100 +++ b/html.xsl Wed Apr 12 21:35:04 2017 +0100 @@ -4,15 +4,20 @@ + + + @@ -22,8 +27,15 @@ + - + + + + +
+ +
@@ -36,15 +48,15 @@ - + - + if (e:r) then 'reffed' else ())"/> - - - + : + + diff -r 27bffc66ce10 -r 93fd0d532754 n2a.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/n2a.xsl Wed Apr 12 21:35:04 2017 +0100 @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + diff -r 27bffc66ce10 -r 93fd0d532754 rect.xsl --- a/rect.xsl Wed Apr 12 17:43:54 2017 +0100 +++ b/rect.xsl Wed Apr 12 21:35:04 2017 +0100 @@ -3,36 +3,14 @@ + + + - - - - - - - - - - - - - - - - - - - diff -r 27bffc66ce10 -r 93fd0d532754 refs.xsl --- a/refs.xsl Wed Apr 12 17:43:54 2017 +0100 +++ b/refs.xsl Wed Apr 12 21:35:04 2017 +0100 @@ -63,7 +63,7 @@ else (), $externals := for $i in (1 to count($tokens)) return let $t := $tokens[$i] return - if ($t/@nr=7) + if ($t/@nr=7 and $tokens[$i+1]='!') then let $ext := $t!='[0]', $ref := e:single($tokens[$i + 2], @@ -118,7 +118,7 @@ - | + |