From bc48735cbd3bdccf3f9a0e6ea2e9c729a8c51b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 17 Mar 2022 18:11:31 +0100 Subject: Minor texi fixups. --- doc/ref/guile.texi | 6 ++-- .../javascript/components/tab_group_element.texi | 4 +-- doc/ref/javascript/lib.texi | 33 +++++++++++++--------- doc/ref/javascript/types.texi | 5 ++-- 4 files changed, 27 insertions(+), 21 deletions(-) (limited to 'doc/ref') diff --git a/doc/ref/guile.texi b/doc/ref/guile.texi index 7899c9f9..4d29ab24 100644 --- a/doc/ref/guile.texi +++ b/doc/ref/guile.texi @@ -45,8 +45,8 @@ type = 'BINARY | 'BOOLEAN | 'CAL-ADDRES | 'DATE | 'DATE-TIME @subsubsection types @defun escape-chars str -Escape ``@verb{|,|}'', ``@verb{|;|}'' and ``@verb{|\|}'' with a -backslash, and encode newlines as ``@verb{|\n|}''. +Escape @code{,}, @code{;} and @code{\} with a +backslash, and encode newlines as @code{\n}. @end defun @defun get-writer type @@ -82,7 +82,7 @@ type = 'BINARY | 'BOOLEAN | 'CAL-ADDRES | 'DATE | 'DATE-TIME @defun ns-wrap @lisp (define (ns-wrap sxml) - `(icalendar (@ (xmlns "urn:ietf:params:xml:ns:icalendar-2.0")) + `(icalendar (@@ (xmlns "urn:ietf:params:xml:ns:icalendar-2.0")) ,sxml)) @end lisp Where @var{sxml} is expected to be the output of @var{vcomponent->sxcal}. diff --git a/doc/ref/javascript/components/tab_group_element.texi b/doc/ref/javascript/components/tab_group_element.texi index 7d9ca412..67f3a359 100644 --- a/doc/ref/javascript/components/tab_group_element.texi +++ b/doc/ref/javascript/components/tab_group_element.texi @@ -13,14 +13,14 @@ Each tab consists of two parts, a label which is used for selecting it, and a tab-element, which contains the actual content. These two should refer to each other as follows: -@verbatim +@example +---------------+ +----------------+ | TabLabel | | Tab | +---------------+ +----------------+ | id |<----| aria-labeledby | | aria-controls |---->| id | +---------------+ +----------------+ -@end verbatim +@end example Further information about tabs in HTML can be found here: @url{https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role} diff --git a/doc/ref/javascript/lib.texi b/doc/ref/javascript/lib.texi index e5b13383..a3fb0697 100644 --- a/doc/ref/javascript/lib.texi +++ b/doc/ref/javascript/lib.texi @@ -116,22 +116,29 @@ This means that the @var{utc} field is @code{false}, and that Formats a Date object according to the format specification @var{str}. Keeping with Guile each format specifier starts with a ~. -@c table formatting borrowed from Gulie Reference (SRFI-19 Date to string) -@multitable {MMMM} {MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM} -@item @nicode{~~} @tab literal ~ +@table @samp +@item ~~ +literal ~ @c Almost all fields are left padded. How do I signify this @c with a single footnote? -@item @nicode{~Y} @tab year, left-padding with zeroes. -@item @nicode{~m} @tab month number, left padded with zeroes. -@item @nicode{~d} @tab day of month. -@item @nicode{~H} @tab hour -@item @nicode{~M} @tab minute -@item @nicode{~S} @tab second -@item @nicode{~Z} @tab 'Z' if Date is UTC, otherwise nothing - -@item @nicode{~L} @tab Converts the date to local time +@item ~Y +year, left-padding with zeroes. +@item ~m +month number, left padded with zeroes. +@item ~d +day of month. +@item ~H +hour +@item ~M +minute +@item ~S +second +@item ~Z +'Z' if Date is UTC, otherwise nothing +@item ~L +Converts the date to local time (@pxref{to_local}) (doesn't modify source object). Outputs nothing -@end multitable +@end table @end defmethod @defun format_date date str diff --git a/doc/ref/javascript/types.texi b/doc/ref/javascript/types.texi index b9e6dbbf..6f518f53 100644 --- a/doc/ref/javascript/types.texi +++ b/doc/ref/javascript/types.texi @@ -57,9 +57,8 @@ Alias of @code{'string'}. Alias for a record consisting of @itemize @bullet @item the name of the type, as a string -@item All parameters of the object, as a @code{Record} +@footnote{Which is simply a regular javascript object, mapping strings to anything}. @item An @code{ical_type} value, noting the type of the final field(s) @item And one or more values of the type specified by the third field. @end itemize -- cgit v1.2.3