Hello

Thank you for a quick reply and for your advice.
I have tried the ditaval suggestion  but cannot find any attribute to filter on 
that will affect the topic titles.

I tried your suggestion to link a table by reference but I was not sure what 
you meant by a "chapter topic" as  I am using dita not docbook so used a strict 
topic file.  This successfully omits the topic heading (as there is no content 
in that heading) but it also means there is no topic heading to pass to the 
header, where I do want it.
Is there a way I can pass a metadata value from a topic into the header (I have 
tried using a keydef and keyref)?  I could then put the required heading value 
in the metadata and then leave the topic heading blank as you suggest?

Alternatively, as these are very simple reference tables which use very few 
dita elements or attributes and have very simple formatting, we could create 
some bespoke transforms to handle just these files and pass them to pdf without 
using ditac and combine them with the rest of the publication using Acrobat.


Regards

Vic Steadman
Executive Consultant
Mobile: +44 (0) 7940 507304

-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com] 
Sent: 27 June 2013 09:29
To: Vic Steadman
Cc: 'xmleditor-support@xmlmind.com'
Subject: Re: [XXE] Customising pdf Output - DITA Chapter/Topic Headings

On 06/26/2013 05:02 PM, Vic Steadman wrote:
>
> I hope you can help me customise my output from XML Mind into pdf.

In principle, this is out of the scope of normal support. See 
http://www.xmlmind.com/xmleditor/support.html#xmleditor_support_policy




>
> I am using XML Mind to produce some reference tables that form part of a
> maintenance manual.
>
> I have usied the DITA reference topic type.  Each topic consists of a
> CALS table with my reference information and no additional text.
>
> I am using a Dita bookmap - so that I can have chapter titles and,
> later, add in other types of reference material.
>
> I have included the Chapter and topic titles inside my headers

I'm not sure to understand this. Do you mean that XMLmind has 
automatically generated in the chapter an "Child topics:" block 
containing all subtopic titles?




> and do not want these titles to appear in the body of the document when
> published to pdf.
>
> Is there a way  to turn the title off?

I don't see an easy way to do that. (I doubt that filtering the topic 
title using a .ditaval file would work. You can always quickly try that 
if you want.)

Personally, I would do what follows, which in my understanding, reflects 
what you are actually doing. (That is, the files containing the table 
are not actual topics, but simply convenient containers for the tables.)

1) Remove all topicrefs pointing to your files containing tables from 
your bookmap.

2) Open a ``chapter topic'' in XMLmind XML Editor.

3) For each file containing a table:
    a) open it in XMLmind XML Editor;
    b) select the table;
    c) give the table an id attribute;
    d) use Ctrl+Shift-C to copy the table by *reference*;
    e) switch back to the chapter;
    g) Press Ctrl-W (Paster After) somewhere in the chapter to paste a 
*reference* of the table into this chapter.

Now the chapter contains all the tables, without containing any 
subtopic, and hence any subtopic title.



>
> I enclose a screen dump to illustrate what I mean.
>
> The Chapter title is - "System Aircraft - 01"
>
> The topic title is - "Sub-System General -00"
>
> I do not want the 2^nd instance of the topic title (circled in blue) to
> appear.
>




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

Reply via email to