Unlike DocBook, DITA has no specialized <biblioentry> element.

DITA bookmaps have just a specialized "pointer" to a bibliography called <bibliolist>.

The object pointed to by a <bibliolist> is any kind of topic you want.

Unlike <tablelist>, <figurelist>, etc, which are automatically generated by ditac, you must write yourself the content of this topic. You have chosen to specify bibliography entries as table/entries, which is OK.

Because DITA has no specialized <biblioentry> element, ditac has no support at all for bibliography entries. This means that you are on your own to implement bibliography entries and to create XSL stylesheet templates for your implementation of bibliography entries.



--> If you were using the DITA Open Toolkit, I'm sure that a good soul has already created a plug-in which does all this:

1) Specialize <ul> to specify bibliography entries. Specialize <li> to specify a bibliography entry.

By specialize, I mean do it by the DITA book[*], by modifying the DITA DTDs:

- 2.5.3 Specialization
http://docs.oasis-open.org/dita/dita/v1.3/errata01/os/complete/part2-tech-content/archSpec/base/specialization.html#specialize

- 2.6 Coding practices for DITA grammar files
http://docs.oasis-open.org/dita/dita/v1.3/errata01/os/complete/part2-tech-content/archSpec/base/coding-requirements.html#coding-practices

2) Add a few XSL stylesheet templates to render the above specialization in XHTML and XSL-FO.



--> Ditac also supports plug-ins allowing to do achieve the same kind of taks. See:

"Chapter 10. Using ditac to convert documents conforming to a DITA specialization"
http://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/specialize.html

However, no bibliography plug-in is available for ditac.





---
[*] Which is just horribly complex and error prone.

Low-end, easy approach: use the "outputclass" attribute as a marker (e.g. outputclass="biblioentry"):

- 3.11.9 Other common attributes
http://docs.oasis-open.org/dita/dita/v1.3/errata01/os/complete/part2-tech-content/langRef/attributes/commonAttributes.html#common-atts__outputclass





On 01/10/2018 12:54 PM, Leif Halvard Silli wrote:
Hi! Now I solved my problem. In XMLmind, in the output conversion options, for 
PDF, I selected the 'entry' element, and then 'text-indent', and, voila ..


Using the "XMLmind XSL Customizer" application (http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xslcustom.Customizer.html)?

Which is displayed by "Options|Customize Configuration|Customize Document Conversion Stylesheet" (http://www.xmlmind.com/xmleditor/_distrib/doc/help/customizeConfigurationMenu.html)




Only thing I am looking for now is the ability to limit the text-indent to just 
that Bibliography table - and not any other table in the document ....




On 01/10/2018 12:54 PM, Leif Halvard Silli wrote:
Hello. Sorry for having asked in a probably short and unclear way. In
fact, I have not gotten so far as to become unsatisfied with the
footnote content rendering ... ! (For the record, while a Chicago
bibliography uses hanging indentation, according to my information, the
content of a Chicago footnote should not have hanging indentation.)

My reference to the footnote style was only because the Chicago footnote
style belongs together with the Chicago bibliography style ...  So: I
was trying to refer to what it DITA is called a <bibliolist>, which
occurs in <backmatter>. Thus a Chicago style bibliography referred to
from <bibliolist>. I need - or should optimally have - a bibliography,
according to the Chicago manual of style, which is frequently used in
Humaniora and more. See http://www.chicagomanualofstyle.org/home.html

Anyway, a Chicago bibliography looks like this:

Authors Name1. «The long
   title». Publisher1. 2017
Authors Name2. «The good
   title». Publisher2. 2011
Authors Name3. «The bad
   title». Publisher3. 2013

For the record, I have created my bibliography inside a one column
<table>, since XMLmind permits the sorting of tables - but not of lists.

I could imagine that I would need to mark up the author name, for
instance like below, in order to give XSL something to work with (e.g.
so that it can “move” the author name to the left, to create a intendation:

   <entry><text>Author Name</text> <i>The bad title.</i> Publisher3.
2013</entry>

However, in real life, for the moment, each row of the bibliography
looks more like this:

   <entry>Author Name <i>The bad title.</i> Publisher3. 2013</entry>

(Thus, I have, for the time being, not marked up the author name.)

If it had been CSS I had to work with, then I could use the
entry:first-letter selector to move the first letter e.g. 3em to the
left (perhaps after first having created a 3em padding-left).

And, also, I use <table>, but it is possible I should reather have used
<simpletable>.

And another issue: Each row of the bibliography should occur “compact”,
thus there ought be no big gap between each row. This has, sofar, been
another issue for me ...

By the way - and just for the record: My initial idea was to use one
column for each part. Thus one <entry> for author, another <entry> for
title, another <entry> for publisher, and another one for year and so.
And then - if it had been XHTML output - I could just modify the HTML
table to look as I wanted. However, that was - indeed - impossible for
me in PDF output. So now I am back with a one column table.


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to