Commit 5baab291d2dea7e38fb7776fe8bb652e4e73837d
1 parent
a349cce983
Exists in
master
Déplacement de fichiers, modification du Readme
Showing 5 changed files with 3 additions and 0 deletions Side-by-side Diff
Readme.txt
... | ... | @@ -10,9 +10,12 @@ |
10 | 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 | 11 | + coloration syntaxique des codes insérés lors de l'export/print |
12 | 12 | + police 'serif' pour le print et 'sans serif' pour l'export html |
13 | ++ Icones pour la navigation | |
13 | 14 | |
14 | 15 | Installation |
15 | 16 | ------------ |
17 | +S'assurer que zim est bien complètement fermé. | |
18 | + | |
16 | 19 | Le contenu de ce dossier est à placer sous : |
17 | 20 | $HOME/.local/share/zim/ |
18 | 21 |
templates/html/common/util/highlight.pack.full.js
No preview for this file type
templates/html/common/util/hljs_octave.js
1 | - /* | |
2 | -Language: Matlab | |
3 | -Author: Denis Bardadym <bardadymchik@gmail.com> | |
4 | -Contributors: Eugene Nizhibitsky <nizhibitsky@ya.ru>, Egor Rogov <e.rogov@postgrespro.ru> | |
5 | -Category: scientific | |
6 | -*/ | |
7 | - | |
8 | -/* | |
9 | - Formal syntax is not published, helpful link: | |
10 | - https://github.com/kornilova-l/matlab-IntelliJ-plugin/blob/master/src/main/grammar/Matlab.bnf | |
11 | -*/ | |
12 | -hljs_octave = function(hljs) { | |
13 | - | |
14 | - var TRANSPOSE_RE = '(\'|\\.\')+'; | |
15 | - var TRANSPOSE = { | |
16 | - relevance: 0, | |
17 | - contains: [ | |
18 | - { begin: TRANSPOSE_RE } | |
19 | - ] | |
20 | - }; | |
21 | - | |
22 | - return { | |
23 | - keywords: { | |
24 | - keyword: | |
25 | - 'break case catch classdef continue else elseif end enumerated events for function ' + | |
26 | - 'global if methods otherwise parfor persistent properties return spmd switch try while', | |
27 | - built_in: | |
28 | - 'sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan ' + | |
29 | - 'atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot ' + | |
30 | - 'cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog ' + | |
31 | - 'realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal ' + | |
32 | - 'cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli ' + | |
33 | - 'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint ' + | |
34 | - /*'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma ' +*/ | |
35 | - 'gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms ' + | |
36 | - 'nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones ' + | |
37 | - 'eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ' + | |
38 | - 'ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril ' + | |
39 | - 'triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute ' + | |
40 | - 'shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan ' + | |
41 | - 'isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal ' + | |
42 | - 'rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table ' + | |
43 | - 'readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun ' + | |
44 | - 'legend intersect ismember procrustes hold num2cell ' | |
45 | - }, | |
46 | - illegal: '(//|"|#|/\\*|\\s+/\\w+)', | |
47 | - contains: [ | |
48 | - { | |
49 | - className: 'function', | |
50 | - beginKeywords: 'function', end: '$', | |
51 | - contains: [ | |
52 | - hljs.UNDERSCORE_TITLE_MODE, | |
53 | - { | |
54 | - className: 'params', | |
55 | - variants: [ | |
56 | - {begin: '\\(', end: '\\)'}, | |
57 | - {begin: '\\[', end: '\\]'} | |
58 | - ] | |
59 | - } | |
60 | - ] | |
61 | - }, | |
62 | - { | |
63 | - className: 'built_in', | |
64 | - begin: /true|false/, | |
65 | - relevance: 0, | |
66 | - starts: TRANSPOSE | |
67 | - }, | |
68 | - { | |
69 | - begin: '[a-zA-Z][a-zA-Z_0-9]*' + TRANSPOSE_RE, | |
70 | - relevance: 0 | |
71 | - }, | |
72 | - { | |
73 | - className: 'number', | |
74 | - begin: hljs.C_NUMBER_RE, | |
75 | - relevance: 0, | |
76 | - starts: TRANSPOSE | |
77 | - }, | |
78 | - { | |
79 | - className: 'string', | |
80 | - begin: '\'', end: '\'', | |
81 | - contains: [ | |
82 | - hljs.BACKSLASH_ESCAPE, | |
83 | - {begin: '\'\''}] | |
84 | - }, | |
85 | - { | |
86 | - begin: /\]|}|\)/, | |
87 | - relevance: 0, | |
88 | - starts: TRANSPOSE | |
89 | - }, | |
90 | - { | |
91 | - className: 'string', | |
92 | - begin: '"', end: '"', | |
93 | - contains: [ | |
94 | - hljs.BACKSLASH_ESCAPE, | |
95 | - {begin: '""'} | |
96 | - ], | |
97 | - starts: TRANSPOSE | |
98 | - }, | |
99 | - hljs.COMMENT('^\\s*\\%\\{\\s*$', '^\\s*\\%\\}\\s*$'), | |
100 | - hljs.COMMENT('\\%', '$') | |
101 | - ] | |
102 | - }; | |
103 | -} |
templates/html/util/highlight.pack.full.js
No preview for this file type
templates/html/util/hljs_octave.js
1 | + /* | |
2 | +Language: Matlab | |
3 | +Author: Denis Bardadym <bardadymchik@gmail.com> | |
4 | +Contributors: Eugene Nizhibitsky <nizhibitsky@ya.ru>, Egor Rogov <e.rogov@postgrespro.ru> | |
5 | +Category: scientific | |
6 | +*/ | |
7 | + | |
8 | +/* | |
9 | + Formal syntax is not published, helpful link: | |
10 | + https://github.com/kornilova-l/matlab-IntelliJ-plugin/blob/master/src/main/grammar/Matlab.bnf | |
11 | +*/ | |
12 | +hljs_octave = function(hljs) { | |
13 | + | |
14 | + var TRANSPOSE_RE = '(\'|\\.\')+'; | |
15 | + var TRANSPOSE = { | |
16 | + relevance: 0, | |
17 | + contains: [ | |
18 | + { begin: TRANSPOSE_RE } | |
19 | + ] | |
20 | + }; | |
21 | + | |
22 | + return { | |
23 | + keywords: { | |
24 | + keyword: | |
25 | + 'break case catch classdef continue else elseif end enumerated events for function ' + | |
26 | + 'global if methods otherwise parfor persistent properties return spmd switch try while', | |
27 | + built_in: | |
28 | + 'sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan ' + | |
29 | + 'atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot ' + | |
30 | + 'cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog ' + | |
31 | + 'realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal ' + | |
32 | + 'cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli ' + | |
33 | + 'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint ' + | |
34 | + /*'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma ' +*/ | |
35 | + 'gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms ' + | |
36 | + 'nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones ' + | |
37 | + 'eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ' + | |
38 | + 'ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril ' + | |
39 | + 'triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute ' + | |
40 | + 'shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan ' + | |
41 | + 'isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal ' + | |
42 | + 'rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table ' + | |
43 | + 'readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun ' + | |
44 | + 'legend intersect ismember procrustes hold num2cell ' | |
45 | + }, | |
46 | + illegal: '(//|"|#|/\\*|\\s+/\\w+)', | |
47 | + contains: [ | |
48 | + { | |
49 | + className: 'function', | |
50 | + beginKeywords: 'function', end: '$', | |
51 | + contains: [ | |
52 | + hljs.UNDERSCORE_TITLE_MODE, | |
53 | + { | |
54 | + className: 'params', | |
55 | + variants: [ | |
56 | + {begin: '\\(', end: '\\)'}, | |
57 | + {begin: '\\[', end: '\\]'} | |
58 | + ] | |
59 | + } | |
60 | + ] | |
61 | + }, | |
62 | + { | |
63 | + className: 'built_in', | |
64 | + begin: /true|false/, | |
65 | + relevance: 0, | |
66 | + starts: TRANSPOSE | |
67 | + }, | |
68 | + { | |
69 | + begin: '[a-zA-Z][a-zA-Z_0-9]*' + TRANSPOSE_RE, | |
70 | + relevance: 0 | |
71 | + }, | |
72 | + { | |
73 | + className: 'number', | |
74 | + begin: hljs.C_NUMBER_RE, | |
75 | + relevance: 0, | |
76 | + starts: TRANSPOSE | |
77 | + }, | |
78 | + { | |
79 | + className: 'string', | |
80 | + begin: '\'', end: '\'', | |
81 | + contains: [ | |
82 | + hljs.BACKSLASH_ESCAPE, | |
83 | + {begin: '\'\''}] | |
84 | + }, | |
85 | + { | |
86 | + begin: /\]|}|\)/, | |
87 | + relevance: 0, | |
88 | + starts: TRANSPOSE | |
89 | + }, | |
90 | + { | |
91 | + className: 'string', | |
92 | + begin: '"', end: '"', | |
93 | + contains: [ | |
94 | + hljs.BACKSLASH_ESCAPE, | |
95 | + {begin: '""'} | |
96 | + ], | |
97 | + starts: TRANSPOSE | |
98 | + }, | |
99 | + hljs.COMMENT('^\\s*\\%\\{\\s*$', '^\\s*\\%\\}\\s*$'), | |
100 | + hljs.COMMENT('\\%', '$') | |
101 | + ] | |
102 | + }; | |
103 | +} |