From 4c27c79289f5c59f2c350249519379192785c2a1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 12 May 2014 22:48:09 -0400 Subject: v6: texpdf, for urls switch to sans serif (small fontsize) * instead of typewriter, latex default * (Closes: #744353) --- data/doc/sisu/CHANGELOG_v6 | 4 ++++ lib/sisu/v6/texpdf_format.rb | 1 + sisu.org | 17 ++++++++++++++++- 3 files changed, 21 insertions(+), 1 deletion(-) 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: From: Daniel Baumann @@ -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 -- cgit v1.2.3