Output to Word -- Keywords

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Output to Word -- Keywords

Unread postby John Johann » Tue Feb 12, 2019 4:10 pm

When I output a topic with a keyword to a DOCX, the keyword gets attached to the title.

E.g. Mytopic.xml with Keyword "Blah" --> in Word --> Chapter Title = Mytopic {XE "Blah"}

How do I output the title only?

I tested my own template and also a default template -- same behaviour.
John Johann
 
Posts: 158
Joined: Mon Aug 21, 2017 7:35 pm

Re: Output to Word -- Keywords

Unread postby Tim Green » Wed Feb 13, 2019 9:59 am

Hi John,

I'm having this checked but I think the only real problem here is that you have activated the display of fields and hidden text in Word. The keywords have to be attached somewhere and since an Word file is a single file, topics from your project are only defined by their headings. The index keywords have to be attached somewhere, and the heading is the only clear marker showing where a topic begins. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20896
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Output to Word -- Keywords

Unread postby Alexander Halser » Wed Feb 13, 2019 1:46 pm

Hi John,

The keyword is just an invisible marker and it is placed right next to the topic title, because that's where the keyword points to. You can ignore the keyword markers - they won't have any effect unless the document has a keyword index.

Tip: you are seeing the keyword markers because Word shows you invisible content as well. There is a setting in the Word options to hide invisible content.
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Alexander Halser
EC-Software Support
 
Posts: 3940
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria

Re: Output to Word -- Keywords

Unread postby Tim Frost » Wed Feb 13, 2019 4:14 pm

I use Alt-F9 to toggle the display of hidden items on and off.
Tim Frost
 
Posts: 247
Joined: Mon Nov 22, 2004 11:45 pm

Re: Output to Word -- Keywords

Unread postby John Johann » Wed Feb 13, 2019 4:54 pm

Thanks,
I have Word set to shade fields and display the content.

When I press Alt + F9, it toggles *other* field codes between code and content on and off -- the keywords hanging onto the titles stay visible.

However, they do not print.

Turning Datei --> Optionen --> Anzeige --> "Ausgeblendeten Text" OFF does the trick.

Is there any particular reason why they are output in the first place?
John Johann
 
Posts: 158
Joined: Mon Aug 21, 2017 7:35 pm

Re: Output to Word -- Keywords

Unread postby Tim Green » Wed Feb 13, 2019 5:03 pm

John Johann wrote:Is there any particular reason why they are output in the first place?

Without them it would not be possible to generate a keyword index for the Word file. :?
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20896
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Output to Word -- Keywords

Unread postby Alexander Halser » Wed Feb 13, 2019 5:04 pm

Turning Datei --> Optionen --> Anzeige --> "Ausgeblendeten Text" OFF does the trick.
Is there any particular reason why they are output in the first place?


That's the right option. It is normally "OFF", so most people don't see the markers anyway.
The keyword markers are output to help Word build a keyword index with page references, which is a typical requirement for a print manual.
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Alexander Halser
EC-Software Support
 
Posts: 3940
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria

Re: Output to Word -- Keywords

Unread postby John Johann » Wed Feb 13, 2019 7:05 pm

Good point with the automatic keyword index. Another thing to maintain :-)
John Johann
 
Posts: 158
Joined: Mon Aug 21, 2017 7:35 pm


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 5 guests