aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-05-12 22:48:09 -0400
committerRalph Amissah <ralph@amissah.com>2014-05-12 22:48:09 -0400
commit4c27c79289f5c59f2c350249519379192785c2a1 (patch)
tree1ce16faf4130bbcdf06a473619dceb6b963e7c08
parentv6: texpdf, pdf colored hyperlinks configurable (diff)
v6: texpdf, for urls switch to sans serif (small fontsize)
* instead of typewriter, latex default * (Closes: #744353)
-rw-r--r--data/doc/sisu/CHANGELOG_v64
-rw-r--r--lib/sisu/v6/texpdf_format.rb1
-rw-r--r--sisu.org17
3 files changed, 21 insertions, 1 deletions
diff --git a/data/doc/sisu/CHANGELOG_v6 b/data/doc/sisu/CHANGELOG_v6
index c75ad615..f97b9a30 100644
--- a/data/doc/sisu/CHANGELOG_v6
+++ b/data/doc/sisu/CHANGELOG_v6
@@ -71,6 +71,10 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_6.0.5.orig.tar.xz
texpdf_fontsize: 12
(Closes: #744405)
+* texpdf, for urls switch to sans serif (small fontsize),
+ instead of typewriter, latex default
+ (Closes: #744353)
+
* added sisu.org emacs:evil:org mode notes related to sisu development
%% 6.0.4.orig.tar.xz (2014-02-14:06/5)
diff --git a/lib/sisu/v6/texpdf_format.rb b/lib/sisu/v6/texpdf_format.rb
index 47829581..a16b39b9 100644
--- a/lib/sisu/v6/texpdf_format.rb
+++ b/lib/sisu/v6/texpdf_format.rb
@@ -1086,6 +1086,7 @@ module SiSU_TeX_Pdf
\\definecolor{myblue}{rgb}{0,0,0.5}
\\definecolor{mywhite}{rgb}{1,1,1}
\\usepackage{url}
+\\urlstyle{sf}
%\\usepackage{breakurl}
WOK
end
diff --git a/sisu.org b/sisu.org
index 426ad58a..5a68959d 100644
--- a/sisu.org
+++ b/sisu.org
@@ -1171,7 +1171,7 @@ wrong. margin numbers should only be assigned to actual content.
Regards,
Daniel
-**** TODO [#D] #744353 [w|u] sisu output: please do not use typewriter for urls
+**** DONE (6.0.5) [#D] #744353 [w|u] sisu output: please do not use typewriter for urls :output:consider:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744353>
From: Daniel Baumann <daniel.baumann@progress-technologies.net>
@@ -1198,6 +1198,21 @@ to configure it.
Regards,
Daniel
+***** NOTES/COMMENTS
+
+monospace for url outputs in pdf
+
+this is default behavior of the latex url package (it uses tt typewriter font)
+it is possible to modify the font to sf class or tm/rm class, & I now default to sf
+this means when the sisu default sf is used there will be no difference in typeface,
+but when times roman or other is used, urls will be in sf instead of that font,
+(instead of the latex default typewriter)
+
+it provides a visual cue even when output is monochrome, without color
+(and is in some way related to #744391 sisu output: no color on a4 portrait)
+however, it is worth noting here that urls are printed in a smaller font so as
+to fit more on a line of text
+
**** TODO [#C] #744354 [w|u] sisu output: please do not add '<' and '>' around urls
From: Daniel Baumann <daniel.baumann@progress-technologies.net>