merge with file name as heading?

He
HelenF
Posts: 28
Joined: Sat Dec 16, 2017 9:46 am
Platform: Mac

Sat Jan 18, 2020 3:51 am Post

When we split documents, we have the option to 'split with selection as title'.

I use this quite a lot. As my documents get long, I select its section headings, and 'split with selection as title' to create a series of documents, one for each section, each titled with the heading of the section (which I can then show in screenings via 'show titles in scrivenings'.

I'm wondering if there is a parallel option for merging documents?
As far as I can see (Manual Section 15.4.2), what currently happens when we merge is that the new document only includes the TEXT of the merged items, losing the titles of all but the first item. If I want the filenames to become section headings I have to re-type them by hand.

What I'd like would be to (optionally) merge documents while KEEPING THEIR FILENAMES AS HEADINGS IN THE NEW MERGED DOCUMENT.
Is this currently possible? If not would it be possible to make it possible?
Thanks!
Helen

User avatar
lunk
Posts: 4234
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Sat Jan 18, 2020 7:10 am Post

When you merge two documents, the two becomes one and can only have one title.
To me it sounds as if you are moving documents, not merging. From your description it sounds as if you have a document with sub-documents, and you want this whole structure to be a part of another document, right?
If so, just drag and drop it where you want it.
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, running different OS.
* iOS Scrivener 1 on an iPhone 11 Pro, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

He
HelenF
Posts: 28
Joined: Sat Dec 16, 2017 9:46 am
Platform: Mac

Sun Jan 19, 2020 1:50 am Post

Thanks - but that is not quite what I meant. I'll try to be clearer.

I understand that when I merge documents I get one document with one title - that is what I want to do.

However I don't want to completely lose the titles - I want the titles to be copied into my document, so I can use them as headings of sections within that document.

I've attached two pictures. My question is:
Is it possible to get something like the 'what I want' picture instead of the 'what i get' picture?

Hope that clarifies!
Thanks again


before and after 1.png
before and after 1.png (443.01 KiB) Viewed 452 times
before and after 2.png
before and after 2.png (422.54 KiB) Viewed 452 times

User avatar
lunk
Posts: 4234
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Sun Jan 19, 2020 7:31 am Post

I don't think so.
Why do you merge them if you essentially want to retain them as a kind of sub-parts in the text?
Why not simply use scrivenings view and display the titles in the text?
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, running different OS.
* iOS Scrivener 1 on an iPhone 11 Pro, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

Fr
Freja
Posts: 2
Joined: Fri Oct 19, 2018 6:55 pm
Platform: Mac

Fri Feb 21, 2020 9:21 pm Post

I would also like to be able to do this, has anyone figured out a way yet?
It seems like there might be some confusion as to why anyone would want this, I'll try to clear that up: I have a document with chapters that contain sub-sections, each with their own section heading. Think of it not like a novel but like a non-fiction document where the titles themselves are part of the document and not just something to remind me the writer of what's inside. The important thing is that the title is part of the text, so I want it. Is there a way to merge two or more documents but keep the titles so that they show up as subtitles, exactly as they look when I set up Scrivenings Mode to show the titles under the dashed subdividing line? And I don't just want them merged that way in compile either, if there's a way to do that I could imagine someone misunderstanding my desire to mean that, but instead I'd like to be able to do it right in the editor so that the files are actually merged into one. If anyone has any ideas I'd be grateful, thanks.

User avatar
rdale
Posts: 2063
Joined: Tue Jul 14, 2015 1:07 pm
Platform: Mac, Win + iOS
Location: St. Louis, MO
Contact:

Fri Feb 21, 2020 10:05 pm Post

There's no current way to make scrivener do what you want, the way that you want to do it.

If you want to designate some files as "sub-sections with document titles as section headings" during compile, that's quite doable, in a number of ways... but that's not what's been asked for, so I'm not going to push you to change your methods.
FKA: robertdguthrie
AKA: R Dale Guthrie, Robert, Mr. Obscure, and "Oh, it's you again".

User avatar
kewms
Posts: 6557
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Fri Feb 21, 2020 10:59 pm Post

Freja wrote:I would also like to be able to do this, has anyone figured out a way yet?
It seems like there might be some confusion as to why anyone would want this, I'll try to clear that up: I have a document with chapters that contain sub-sections, each with their own section heading. Think of it not like a novel but like a non-fiction document where the titles themselves are part of the document and not just something to remind me the writer of what's inside. The important thing is that the title is part of the text, so I want it. Is there a way to merge two or more documents but keep the titles so that they show up as subtitles, exactly as they look when I set up Scrivenings Mode to show the titles under the dashed subdividing line?


The easiest way to do this would be to use the Compile command to merge the files together -- with headings -- and then re-import the resulting file back into Scrivener.

Katherine
Scrivener Support Team

br
brookter
Posts: 2170
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Sat Feb 22, 2020 8:42 am Post

Freja wrote:I would also like to be able to do this, has anyone figured out a way yet?
It seems like there might be some confusion as to why anyone would want this, I'll try to clear that up: I have a document with chapters that contain sub-sections, each with their own section heading. Think of it not like a novel but like a non-fiction document where the titles themselves are part of the document and not just something to remind me the writer of what's inside. The important thing is that the title is part of the text, so I want it.


Freja,

As people have said, there isn't an easy way to do this, but I'd just like to explore exactly why you want it. For me, having the title of the section / subsection / subsection etc in the binder and in the header provides all the information I need (combined with showing it in a scrivening if I'm in that mode). What benefits are you getting by duplicating that title in the document itself, when you're going to have to remove the in-document title when you get to compile anyway (otherwise you lose the benefit of easy automatic numbering etc) and it stops you from being able to move subsections around easily? It's extra work, so what benefit does it give you to make it worthwhile? (This is a genuine question by the way, not a criticism....)

Thanks.