Commits

Anonymous committed 9ee3b25

Documented quoting to AttributeList element attributes.

  • Participants
  • Parent commits 4b78aa0

Comments (0)

Files changed (3)

File CHANGELOG.txt

 
 Version 8.3.3 (2009-01-02)
 --------------------------
-This release supercedes 8.3.2.
+This release supersedes 8.3.2.
 
 .Bug fixes
 - The broken and confusing numeration and numeration2 numbered list

File doc/asciidoc.dict

-personal_ws-1.1 en 732 
+personal_ws-1.1 en 735 
 Sturmer
+Kléber
 Kleber
-Kléber
 quis
 auctor
 linkcss
 callouts
 bulleted
 starttags
+ListingBlock
 listingblock
-ListingBlock
 eval
 ListLabel
 asc
 lowerroman
 gif
 Builtin
+optionname
 tabledef
 manpurpose
 dignissim
 TitleBlock
 fmt
 subscripted
+middlename
 MiddleName
-middlename
 subdirectories
 footnoteref
 passtext
 Ghostscript
 verear
 Buenos
+LinuxDoc
 linuxdoc
-LinuxDoc
 PostScript
 hhp
 Vijay
 GPL
 hsides
 upperalpha
+Bólido
 Bolido
-Bólido
 footrow
 misspelt
 WINNT
 hoc
 LiteralParagraphs
 primis
+verbatimblock
 VerbatimBlock
-verbatimblock
+corpname
 shiftwidth
 misevaluations
 asciidocEmphasized
 fringilla
 retab
 BackendBlocks
+ChangeLog
 changelog
-ChangeLog
 tis
 Ubuntu
 sectids
 vel
 Iisaka's
 localtime
+BlockMacro
 blockmacro
-BlockMacro
 Xandros
 groff
 POSIX
 txt
 BlockId
 passthrough
+Berguvsvägen
 Berguvsvagen
-Berguvsvägen
 noincsearch
 TableRow
 inlinemediaobject
 cb
 tuple
 cd
+asciimathml
+AsciiMathML
 ASCIIMathML
-AsciiMathML
-asciimathml
 arounds
 filename
 mansource
 cp
 xsl
 fb
+DocBook
 docbook
-DocBook
 stylesheet
 pagefile
 superscripted
 colabswidth
 tabsize
 smallnew
+BlockTitles
 blocktitles
-BlockTitles
 localdate
 bodyrow
 hs
 td
 py
 AROUT
+literalblock
 LiteralBlock
-literalblock
 sgml
 biggy
 softtabstop
 blandit
 inline
 Martín
+SectionBody
 sectionbody
-SectionBody
 VM
 conformant
 listchars
 ralink
 outfile
 TableData
+autowidth
 listtags
 aap
 bibendum
 qanda
 noout
 massa
+AsciiDoc
 asciidoc
-AsciiDoc
 manmanual
 TableBody
 realpath

File doc/asciidoc.txt

 The 'BlockId' element has the same syntax and serves a similar
 function to the <<X30,anchor inline macro>>.
 
+[[X79]]
+AttributeList Element
+---------------------
+An 'AttributeList' block element is an <<X21,attribute list>> on a
+line by itself.  'AttributeList' attributes are only applied to the
+following block element -- the attributes are available for markup
+template substitution. Often the first attribute in the list is used
+to specify the following element's <<X23,style>>.
+
+By default only attribute references are substituted within attribute
+values, this is because not all attributes are destined to be marked
+up and rendered as text (for example the table 'cols' attribute). To
+perform normal inline text substitutions (special characters, quotes,
+macros, replacements) on an attribute value you need to enclose it in
+single quotes. In the following quote block the second attribute value
+in the AttributeList is quoted to ensure the 'http' macro is expanded
+to a hyperlink.
+
+---------------------------------------------------------------------
+[quote,'http://en.wikipedia.org/wiki/Samuel_Johnson[Samuel Johnson]']
+_____________________________________________________________________
+Sir, a woman's preaching is like a dog's walking on his hind legs. It
+is not done well; but you are surprised to find it done at all.
+_____________________________________________________________________
+---------------------------------------------------------------------
+
 
 Paragraphs
 ----------
 [[X69]]
 Table attributes
 ~~~~~~~~~~~~~~~~
-Individual tables are customized by an optional <<X21,AttributeList>>
+Individual tables are customized by an optional <<X79,AttributeList>>
 preceding the table. Specify attributes when you want to change the
 default table format:
 
 empty but it cannot be omitted. List entries are used to pass
 attribute values to macro markup templates.
 
-AttributeList Element
-~~~~~~~~~~~~~~~~~~~~~
-An <<X21,attribute list>> on a line by itself constitutes an
-'AttributeList' block element, its attributes apply to the following
-block element.  The list attributes are passed to the next block
-element for markup template substitution. Often the first list
-parameter is used to specify the element's <<X23,style>>.
-
 
 Attribute References
 --------------------
 
 |autowidth |xhtml11,html4 |table|
 The column widths are determined by the browser, not the AsciiDoc
-'cols' atribute. If there is no 'width' attribute the table width is
+'cols' attribute. If there is no 'width' attribute the table width is
 also left up to the browser.
 
 |breakable, unbreakable |docbook (XSL/FO) |table|