Can File --> Export export styles?

gs
gsz
Posts: 4
Joined: Tue Jun 12, 2018 11:30 pm
Platform: Mac

Tue Jun 12, 2018 11:36 pm Post

I have folders of ~60 PDF files each. I type notes for each file its corresponding notes section (yellow part of the inspector). When I type these notes, I use two custom styles for specific annotations (to highlight quotes I like, or to record my thoughts).

My problem is: when I export the folder (and choose to also export the notes in the options tab of the export dialog), the notes get stripped of the custom styles (even if I export as RTFD).

Is there any way to fix this? It's great that Notes are full-featured documents in their own right with formatting, etc. etc., but it would be even better if all that formatting was preserved upon export.

Thank you, and I apologize if this is the wrong place to post this. I'm new here :)

User avatar
KB
Site Admin
Posts: 19880
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Wed Jun 13, 2018 8:35 am Post

Hi,

Styles are automatically included when you export. However, you will need to use a format that supports styles and open the file in a program that supports styles too. The only formats that support styles are .docx, .doc and .rtf - the RTFD format that you are currently using does not support styles, so that won't work.

You will then need to open the file in a word processor such as Microsoft Word, Nisus Writer, Apple Pages or LibreOffice for the styles to be visible (note, however, that Pages ignores styles in RTF files so you will need to use DOCX for Pages). TextEdit, which is the default system app for RTF files, ignores styles because it does not support them.

All the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

gs
gsz
Posts: 4
Joined: Tue Jun 12, 2018 11:30 pm
Platform: Mac

Wed Jun 13, 2018 9:53 pm Post

KB wrote:Hi,

Styles are automatically included when you export. However, you will need to use a format that supports styles and open the file in a program that supports styles too. The only formats that support styles are .docx, .doc and .rtf - the RTFD format that you are currently using does not support styles, so that won't work.

You will then need to open the file in a word processor such as Microsoft Word, Nisus Writer, Apple Pages or LibreOffice for the styles to be visible (note, however, that Pages ignores styles in RTF files so you will need to use DOCX for Pages). TextEdit, which is the default system app for RTF files, ignores styles because it does not support them.

All the best,
Keith


Thanks a million!!! It works using DOCX, but does not work with RTF. Is there a setting I can change, or is this perhaps a bug? Happy to send screenshots, exported files, etc. if you would like.

User avatar
KB
Site Admin
Posts: 19880
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Thu Jun 14, 2018 8:14 am Post

gsz wrote:Thanks a million!!! It works using DOCX, but does not work with RTF. Is there a setting I can change, or is this perhaps a bug? Happy to send screenshots, exported files, etc. if you would like.


RTF includes styles as well, so that's strange - in fact, internally, DOCX files are created by generating an RTF file and running it through a third-party converter to produce a DOCX file. Are you opening the RTF file in Word or another word processor?
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

gs
gsz
Posts: 4
Joined: Tue Jun 12, 2018 11:30 pm
Platform: Mac

Thu Jun 14, 2018 11:21 pm Post

KB wrote: Are you opening the RTF file in Word or another word processor?


I tried opening in Word and importing into Scrivener -- either way, no styles show up. I tried attaching the exported RTF file to this message, and got the following error:

ERROR
Invalid file extension: Eichler, HG, K Hruby et al. “[Accidental Fatal Formaldehyde Poisoning].” Wien Klin Wochenschr 95.7 ( Notes.rtf

Maybe that has something to do with it?

User avatar
KB
Site Admin
Posts: 19880
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Fri Jun 15, 2018 5:45 pm Post

You'll need to zip up the file to attach it here, as the forum does not support RTF files being uploaded directly.
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

gs
gsz
Posts: 4
Joined: Tue Jun 12, 2018 11:30 pm
Platform: Mac

Sat Jun 16, 2018 5:24 pm Post

Archive.zip
(539.57 KiB) Downloaded 4 times


Ok I'm attaching the exported RTF from scrivener as well as a screenshot of what the note looks like in Scrivener before export.

thank you!

User avatar
KB
Site Admin
Posts: 19880
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Mon Jun 18, 2018 1:17 pm Post

The RTF appeared perfect to me. I opened it in Word, clicked into he text, and sure enough, the two passages marked out in pink in Scrivener came out as using the "Noteworthy Quote" style in Word, and the passage marked out in green came out as using the "Notes from Research" style. So everything seems to be working as expected, with styles embedded correctly into the RTF file.
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

 

 

cron