Commit 54c20cb285d613697ed4a8a3c4c0f760c1a2b397
1 parent
f95fb25a6b
Exists in
master
Ajout du fichier style.conf et d'un Readme
Showing 2 changed files with 104 additions and 0 deletions Side-by-side Diff
Readme.txt
| 1 | +Templates améliorés pour zim | |
| 2 | +---------------------------- | |
| 3 | + | |
| 4 | +Description | |
| 5 | +----------- | |
| 6 | ++ Headers décalés pour une meilleure identification de section | |
| 7 | ++ verbatim coloré | |
| 8 | ++ souligné souligné et pas surligné | |
| 9 | ++ magnifique export/print des tableaux ;-) | |
| 10 | ++ 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) | |
| 11 | ++ coloration syntaxique des codes insérés lors de l'export/print | |
| 12 | ++ police 'serif' pour le print et 'sans serif' pour l'export html | |
| 13 | + | |
| 14 | +Installation | |
| 15 | +------------ | |
| 16 | +Le contenu de ce dossier est à placer sous : | |
| 17 | +$HOME/.local/share/zim/ | |
| 18 | + | |
| 19 | +Le fichier style.conf est à placer sous : | |
| 20 | +$HOME/.config/zim/ | |
| 21 | +Il contient peu de modifications, les headers décalés, le verbatim coloré et le souligné. | |
| 22 | + | |
| 23 | +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. |
style.conf
| 1 | +# | |
| 2 | +# Regarder l'aide de zim section Config Files | |
| 3 | +# | |
| 4 | +[TextView] | |
| 5 | +indent=30 | |
| 6 | +tabs=None | |
| 7 | +font= | |
| 8 | +justify= | |
| 9 | +linespacing=3 | |
| 10 | +bullet_icon_size=GTK_ICON_SIZE_MENU | |
| 11 | + | |
| 12 | +[Tag strong] | |
| 13 | +weight=PANGO_WEIGHT_BOLD | |
| 14 | + | |
| 15 | +[Tag emphasis] | |
| 16 | +style=PANGO_STYLE_ITALIC | |
| 17 | + | |
| 18 | +[Tag mark] | |
| 19 | +underline=PANGO_UNDERLINE_SINGLE | |
| 20 | +background=white | |
| 21 | + | |
| 22 | +[Tag strike] | |
| 23 | +strikethrough=True | |
| 24 | +foreground=grey | |
| 25 | + | |
| 26 | +[Tag code] | |
| 27 | +foreground=#8B008B | |
| 28 | +family=monospace | |
| 29 | + | |
| 30 | +[Tag pre] | |
| 31 | +foreground=#8B008B | |
| 32 | +family=monospace | |
| 33 | +wrap-mode=GTK_WRAP_NONE | |
| 34 | +indent=20 | |
| 35 | + | |
| 36 | +[Tag link] | |
| 37 | +foreground=blue | |
| 38 | + | |
| 39 | +[Tag tag] | |
| 40 | +foreground=#ce5c00 | |
| 41 | + | |
| 42 | +[Tag h1] | |
| 43 | +foreground=#4e9a06 | |
| 44 | +underline=PANGO_UNDERLINE_SINGLE | |
| 45 | +weight=PANGO_WEIGHT_BOLD | |
| 46 | +scale=1.75 | |
| 47 | + | |
| 48 | +[Tag h2] | |
| 49 | +foreground=#4e9a06 | |
| 50 | +weight=PANGO_WEIGHT_BOLD | |
| 51 | +scale=1.52 | |
| 52 | +indent=20 | |
| 53 | + | |
| 54 | +[Tag h3] | |
| 55 | +foreground=#4e9a06 | |
| 56 | +style=PANGO_STYLE_ITALIC | |
| 57 | +weight=PANGO_WEIGHT_BOLD | |
| 58 | +scale=1.32 | |
| 59 | +indent=40 | |
| 60 | + | |
| 61 | +[Tag h4] | |
| 62 | +foreground=#4e9a06 | |
| 63 | +weight=PANGO_WEIGHT_BOLD | |
| 64 | +scale=1.15 | |
| 65 | +indent=60 | |
| 66 | + | |
| 67 | +[Tag h5] | |
| 68 | +foreground=#4e9a06 | |
| 69 | +weight=PANGO_WEIGHT_BOLD | |
| 70 | +indent=80 | |
| 71 | + | |
| 72 | +[Tag h6] | |
| 73 | +foreground=#4e9a06 | |
| 74 | +indent=100 | |
| 75 | + | |
| 76 | +[Tag checked-checkbox] | |
| 77 | + | |
| 78 | +[Tag xchecked-checkbox] | |
| 79 | + | |
| 80 | +[Tag migrated-checkbox] |