diff options
| author | Paul Eggert | 2015-10-16 19:01:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-10-16 19:01:48 -0700 |
| commit | 4328d3dba2cc4f6089a8efb964c2539164d5db91 (patch) | |
| tree | bfd17806c792194f2df52590e1879dd6056b78d7 | |
| parent | 8868b834022379f81268b387363cd6a3ff1214b4 (diff) | |
| download | emacs-4328d3dba2cc4f6089a8efb964c2539164d5db91.tar.gz emacs-4328d3dba2cc4f6089a8efb964c2539164d5db91.zip | |
Fix quoting of data within htmlfontify doc
* doc/misc/htmlfontify.texi (Data Structures, Customization):
Fix quoting of data structures. A Lisp quote is needed only
when data appears within Lisp code.
| -rw-r--r-- | doc/misc/htmlfontify.texi | 77 |
1 files changed, 38 insertions, 39 deletions
diff --git a/doc/misc/htmlfontify.texi b/doc/misc/htmlfontify.texi index b14f2d3b8fd..1b0afdd2e8d 100644 --- a/doc/misc/htmlfontify.texi +++ b/doc/misc/htmlfontify.texi | |||
| @@ -1153,8 +1153,8 @@ An assoc with elements of the form @samp{(face-name style-name . style-string)}. | |||
| 1153 | The actual stylesheet for each page is derived from one of these. | 1153 | The actual stylesheet for each page is derived from one of these. |
| 1154 | 1154 | ||
| 1155 | @lisp | 1155 | @lisp |
| 1156 | '((default "default" . "@{ background: black; color: white@}") | 1156 | ((default "default" . "@{ background: black; color: white@}") |
| 1157 | (font-lock-string-face "string" . "@{ color: rgb(64,224,208) @}")) | 1157 | (font-lock-string-face "string" . "@{ color: rgb(64,224,208) @}")) |
| 1158 | @end lisp | 1158 | @end lisp |
| 1159 | 1159 | ||
| 1160 | @item hfy-facemap-assoc | 1160 | @item hfy-facemap-assoc |
| @@ -1173,24 +1173,24 @@ dealt with (and therefore no longer care about) will be invalid at any | |||
| 1173 | time. | 1173 | time. |
| 1174 | 1174 | ||
| 1175 | @lisp | 1175 | @lisp |
| 1176 | '((64820 . end) | 1176 | ((64820 . end) |
| 1177 | (64744 . font-lock-comment-face) | 1177 | (64744 . font-lock-comment-face) |
| 1178 | (64736 . end) | 1178 | (64736 . end) |
| 1179 | (64722 . font-lock-string-face) | 1179 | (64722 . font-lock-string-face) |
| 1180 | (64630 . end) | 1180 | (64630 . end) |
| 1181 | (64623 . font-lock-string-face) | 1181 | (64623 . font-lock-string-face) |
| 1182 | (64449 . end) | 1182 | (64449 . end) |
| 1183 | ;; Big similar section elided. You get the idea. | 1183 | ;; Big similar section elided. You get the idea. |
| 1184 | (5459 . end) | 1184 | (5459 . end) |
| 1185 | (5431 . (:inherit font-lock-keyword-face :background "7e7e7e")) | 1185 | (5431 . (:inherit font-lock-keyword-face :background "7e7e7e")) |
| 1186 | (5431 . end) | 1186 | (5431 . end) |
| 1187 | (4285 . font-lock-constant-face) | 1187 | (4285 . font-lock-constant-face) |
| 1188 | (4285 . end) | 1188 | (4285 . end) |
| 1189 | (4221 . font-lock-comment-face) | 1189 | (4221 . font-lock-comment-face) |
| 1190 | (4221 . end) | 1190 | (4221 . end) |
| 1191 | (4197 . font-lock-constant-face) | 1191 | (4197 . font-lock-constant-face) |
| 1192 | (4197 . end) | 1192 | (4197 . end) |
| 1193 | (1 . font-lock-comment-face)) | 1193 | (1 . font-lock-comment-face)) |
| 1194 | @end lisp | 1194 | @end lisp |
| 1195 | 1195 | ||
| 1196 | @end table | 1196 | @end table |
| @@ -1301,36 +1301,35 @@ access to the face spec you would use if you were connected to an X display. | |||
| 1301 | Some valid class specification elements are: | 1301 | Some valid class specification elements are: |
| 1302 | 1302 | ||
| 1303 | @lisp | 1303 | @lisp |
| 1304 | '(class color) | 1304 | (class color) |
| 1305 | '(class grayscale) | 1305 | (class grayscale) |
| 1306 | '(background dark) | 1306 | (background dark) |
| 1307 | '(background light) | 1307 | (background light) |
| 1308 | '(type x-toolkit) | 1308 | (type x-toolkit) |
| 1309 | '(type tty) | 1309 | (type tty) |
| 1310 | '(type motif) | 1310 | (type motif) |
| 1311 | '(type lucid) | 1311 | (type lucid) |
| 1312 | @end lisp | 1312 | @end lisp |
| 1313 | 1313 | ||
| 1314 | Multiple values for a tag may be combined, to indicate that any one or more | 1314 | Multiple values for a tag may be combined, to indicate that any one or more |
| 1315 | of these values in the specification key constitutes a match, eg: | 1315 | of these values in the specification key constitutes a match. For |
| 1316 | example, @code{((class color grayscale) (type tty))} would match any of: | ||
| 1316 | 1317 | ||
| 1317 | '((class color grayscale) (type tty)) would match any of: | ||
| 1318 | @lisp | 1318 | @lisp |
| 1319 | '((class color)) | 1319 | ((class color)) |
| 1320 | '((class grayscale)) | 1320 | ((class grayscale)) |
| 1321 | '((class color grayscale))) | 1321 | ((class color grayscale))) |
| 1322 | '((class color foo)) | 1322 | ((class color foo)) |
| 1323 | '((type tty)) | 1323 | ((type tty)) |
| 1324 | '((type tty) (class color)) | 1324 | ((type tty) (class color)) |
| 1325 | @end lisp | 1325 | @end lisp |
| 1326 | and so on. | ||
| 1327 | 1326 | ||
| 1328 | @item hfy-page-header | 1327 | @item hfy-page-header |
| 1329 | @vindex hfy-page-header | 1328 | @vindex hfy-page-header |
| 1330 | @anchor{hfy-page-header} | 1329 | @anchor{hfy-page-header} |
| 1331 | 1330 | ||
| 1332 | Function called with two arguments (the filename relative to the top | 1331 | Function called with two arguments (the filename relative to the top |
| 1333 | level source directory being etag'd and fontified), and a string containing | 1332 | level source directory being etagged and fontified), and a string containing |
| 1334 | the @samp{<style>@dots{}</style>} text to embed in the document---the string | 1333 | the @samp{<style>@dots{}</style>} text to embed in the document---the string |
| 1335 | returned will be used as the header for the htmlfontified version of | 1334 | returned will be used as the header for the htmlfontified version of |
| 1336 | the source file. | 1335 | the source file. |
| @@ -1355,7 +1354,7 @@ be large and take a long time to render or be difficult to navigate. | |||
| 1355 | @vindex hfy-find-cmd | 1354 | @vindex hfy-find-cmd |
| 1356 | @anchor{hfy-find-cmd} | 1355 | @anchor{hfy-find-cmd} |
| 1357 | 1356 | ||
| 1358 | ``find'' command used to harvest a list of files to attempt to fontify. | 1357 | The ``find'' command used to harvest a list of files to attempt to fontify. |
| 1359 | 1358 | ||
| 1360 | @item hfy-extn | 1359 | @item hfy-extn |
| 1361 | @vindex hfy-extn | 1360 | @vindex hfy-extn |