Reply to topic  [ 5 posts ] 
TOC in NWP documents and DevonthinkPro 
Author Message
User avatar

Joined: 2004-07-28 01:27:49
Posts: 26
Location: Tilff, Belgium
Hi.
I have several NWP RTF files with TOC.
I store these documents in DevonThinkPro databases.
Of course, the internal DTPro viewer cannot show the TOC.
However, either if open the document with NWPro from within DTPro or drag the document to the Desktop and then open it with NWP, the TOC has disappeared.

Is the TOC stored in a RTF special part/tag/attribute of the document that DTPro is not able to import ?

Thanks
Philippe

_________________
Mac Mini Intel 10.8


2007-09-28 10:24:17
Profile WWW
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
philippe99 wrote:
Is the TOC stored in a RTF special part/tag/attribute of the document that DTPro is not able to import ?

This is most likely the case. Applications that do not support a particular feature will generally strip that information from the RTF file if it is opened and re-saved by that application.


2007-10-01 13:25:50
Profile WWW
User avatar

Joined: 2004-07-28 01:27:49
Posts: 26
Location: Tilff, Belgium
Post 
Martin,
Just had a discussion with Christian Crunenberg of DevonTechnologies

I open the NWP file (the one with TOC) in TextEdit, change some stuff and then resave it: no TOC when reopened in NWP.

Does it mean that the method you use to store the TOC in the RTF file is not "compatible" to Mac OS X's text engine ? Perhaps because the Mac text engine is rather "poor" as far as functionnalities are concerned ?

Martin, this is not a criticism at all :wink: , but I would like to know; if yes, the TOC is "specially" stored in a NWP file -which is not at all a problem for me-, I would rather externally index my files from within DTPro rather than importing them directly in the database.

Thanks
Philippe

_________________
Mac Mini Intel 10.8


2007-10-01 23:21:51
Profile WWW
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
Bonjour Philippe,

philippe99 wrote:
I open the NWP file (the one with TOC) in TextEdit, change some stuff and then resave it: no TOC when reopened in NWP.

This is expected as TextEdit does not support TOC/indexing and thus will not be preserved in the resaved RTF file. Really this loss of information includes any features that TextEdit does not support, eg: stylesheets, floating graphics, etc.

Quote:
Does it mean that the method you use to store the TOC in the RTF file is not "compatible" to Mac OS X's text engine ? Perhaps because the Mac text engine is rather "poor" as far as functionnalities are concerned ?

Martin, this is not a criticism at all :wink: , but I would like to know; if yes, the TOC is "specially" stored in a NWP file

There's nothing special or incompatible with the way we store TOC information in our RTF files. It just happens to be information that TextEdit skips over when it reads the files because the default OSX text engine does not support the feature. If you used TextEdit to open a ".doc" file saved by Word you'd also lose any TOC information contained therein.

Hopefully that makes some sense, cheers!


2007-10-02 00:32:08
Profile WWW
User avatar

Joined: 2004-07-28 01:27:49
Posts: 26
Location: Tilff, Belgium
Post 
martin wrote:
Hopefully that makes some sense, cheers!


Tout à fait mon cher :)
Thanks for all.
Philippe

_________________
Mac Mini Intel 10.8


2007-10-02 22:47:08
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software