From 54c20cb285d613697ed4a8a3c4c0f760c1a2b397 Mon Sep 17 00:00:00 2001 From: William Daniau Date: Mon, 30 Sep 2019 21:01:30 +0200 Subject: [PATCH] Ajout du fichier style.conf et d'un Readme --- Readme.txt | 23 ++++++++++++++++++ style.conf | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 Readme.txt create mode 100644 style.conf diff --git a/Readme.txt b/Readme.txt new file mode 100644 index 0000000..713e8ce --- /dev/null +++ b/Readme.txt @@ -0,0 +1,23 @@ +Templates améliorés pour zim +---------------------------- + +Description +----------- ++ Headers décalés pour une meilleure identification de section ++ verbatim coloré ++ souligné souligné et pas surligné ++ magnifique export/print des tableaux ;-) ++ images centrées lors de l'export html (pas lors du print, cela permet de ne pas découper les images lors de l'impression) ++ coloration syntaxique des codes insérés lors de l'export/print ++ police 'serif' pour le print et 'sans serif' pour l'export html + +Installation +------------ +Le contenu de ce dossier est à placer sous : +$HOME/.local/share/zim/ + +Le fichier style.conf est à placer sous : +$HOME/.config/zim/ +Il contient peu de modifications, les headers décalés, le verbatim coloré et le souligné. + +Le template spécial Print.html ne supporte pas les resources zim, de ce fait les chemins sont absolus, on remplacera toutes les occurences de "/home/daniau" par le chemin adéquat dans ce fichier. diff --git a/style.conf b/style.conf new file mode 100644 index 0000000..64094b7 --- /dev/null +++ b/style.conf @@ -0,0 +1,81 @@ +# +# Regarder l'aide de zim section Config Files +# +[TextView] +indent=30 +tabs=None +font= +justify= +linespacing=3 +bullet_icon_size=GTK_ICON_SIZE_MENU + +[Tag strong] +weight=PANGO_WEIGHT_BOLD + +[Tag emphasis] +style=PANGO_STYLE_ITALIC + +[Tag mark] +underline=PANGO_UNDERLINE_SINGLE +background=white + +[Tag strike] +strikethrough=True +foreground=grey + +[Tag code] +foreground=#8B008B +family=monospace + +[Tag pre] +foreground=#8B008B +family=monospace +wrap-mode=GTK_WRAP_NONE +indent=20 + +[Tag link] +foreground=blue + +[Tag tag] +foreground=#ce5c00 + +[Tag h1] +foreground=#4e9a06 +underline=PANGO_UNDERLINE_SINGLE +weight=PANGO_WEIGHT_BOLD +scale=1.75 + +[Tag h2] +foreground=#4e9a06 +weight=PANGO_WEIGHT_BOLD +scale=1.52 +indent=20 + +[Tag h3] +foreground=#4e9a06 +style=PANGO_STYLE_ITALIC +weight=PANGO_WEIGHT_BOLD +scale=1.32 +indent=40 + +[Tag h4] +foreground=#4e9a06 +weight=PANGO_WEIGHT_BOLD +scale=1.15 +indent=60 + +[Tag h5] +foreground=#4e9a06 +weight=PANGO_WEIGHT_BOLD +indent=80 + +[Tag h6] +foreground=#4e9a06 +indent=100 + +[Tag checked-checkbox] + +[Tag xchecked-checkbox] + +[Tag migrated-checkbox] + -- 2.16.4