guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/14: gpce-2017: Enable hyphenation at hyphens.


From: Ludovic Courtès
Subject: 11/14: gpce-2017: Enable hyphenation at hyphens.
Date: Fri, 1 Sep 2017 11:57:55 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 05b0731d26b154cf6c61e4e965fcdcf2bd0d3cdb
Author: Ludovic Courtès <address@hidden>
Date:   Fri Sep 1 15:18:21 2017 +0200

    gpce-2017: Enable hyphenation at hyphens.
---
 doc/gpce-2017/gpce.skb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/gpce-2017/gpce.skb b/doc/gpce-2017/gpce.skb
index 8a98b27..f311865 100644
--- a/doc/gpce-2017/gpce.skb
+++ b/doc/gpce-2017/gpce.skb
@@ -42,6 +42,11 @@
 (define (=>)
   (symbol "=>"))
   
+;; XXX: Terrible hack to turn hyphens into hyphenation points in 'tt'.
+(set! (@@ (skribilo engine latex) latex-tt-encoding)
+      `((#\- "-\\-")
+        ,@(@@ (skribilo engine latex) latex-tt-encoding)))
+
 (define %guix-keywords
   (append (map (lambda (x) (cons x '&source-keyword))
                  '(set! if let let* letrec quote cond case else begin do lambda



reply via email to

[Prev in Thread] Current Thread [Next in Thread]