apply default format to entire project

User avatar
dutchg
Posts: 82
Joined: Sat May 28, 2011 10:47 am
Platform: Mac

Fri Jun 12, 2020 3:31 pm Post

Is it possible to apply default formatting to an entire project in one go?

I've shaped my formatting the way I like it, and I now want to apply that new formatting to all of the (several hundred) documents within one project. I can't see a way to globally apply default formatting within a project; as far as I can see, I have to select each file I want to change and then apply the documents>convert operation. I know I can multi-click to select more than one file at a time, but this project has multiple folders, subfolders, and documents, and the operation doesn't work if you just select a folder instead of each document within the folder.

Any way to apply that conversion operation to the whole shebang at once?

Ji
JimRac
Posts: 1672
Joined: Wed Aug 27, 2014 2:06 pm
Platform: Win + iOS

Fri Jun 12, 2020 4:01 pm Post

Hi dutchg,

You're probably trying to do this from the Binder, but the trick is to do it from the Outliner.

This thread contains instructions for how to accomplish that: https://www.literatureandlatte.com/forum/viewtopic.php?f=30&t=57220&

It was written for a Windows user, but will also apply to Mac, although the menu options/keys involved may be slightly different.

Best,
Jim
I’m just a customer.

User avatar
xiamenese
Posts: 4371
Joined: Mon Jan 29, 2007 1:32 am
Platform: Mac
Location: London or Exeter, UK.

Fri Jun 12, 2020 4:06 pm Post

Click on Manuscript/Draft: enter Scrivenings mode; Cmd-A; Documents > Convert > Text to Default Formatting…

:D

Mark
The Scrivenato sometimes known as Mr X.
iMac 27" (late 2015) 10.15.4, 24GB RAM, 512GB SSID
MBP17" (late 2011) 10.13.6, 16GB RAM, 2TB SSID
2017 iPad, iPadOS 13.3, 128GB, Apple Pencil
Scrivener, Scapple, Nisus Writer Pro, Bookends …

User avatar
dutchg
Posts: 82
Joined: Sat May 28, 2011 10:47 am
Platform: Mac

Fri Jun 12, 2020 4:29 pm Post

Thanks all. That did it. Definitely works from Outliner view, and definitely not from the Binder. That discrepancy seems odd to me, but there we are. I appreciate the help.

User avatar
AmberV
Posts: 24287
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Fri Jun 12, 2020 5:05 pm Post

Hmm, it should work just fine from the Binder, as well as Corkboard and Scrivenings mode for that matter.

…but this project has multiple folders, subfolders, and documents, and the operation doesn’t work if you just select a folder instead of each document within the folder.


But maybe you were trying by selecting “Draft” all by itself. That wouldn’t work as then your selection for conversion consists of one item, a thing that by definition has no text of its own. What you would want to do in that case is, after clicking on “Draft”, use the Edit ▸ Select ▸ Select with Subdocuments menu command (⌥⌘A) and there you go.

Another approach, if by “an entire project” you well and truly mean every text item no matter where it is in the binder, Draft or no—then try this:

  1. Open the Project Search tool.
  2. Click the magnifying glass to the lefty and set the search scope to “Text”, make sure the other settings are good for what you want.
  3. Now search for “*” (asterisk).

That will return a list of every file in the binder that has text. ⌘A to select the entire search result, and run the conversion command.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
dutchg
Posts: 82
Joined: Sat May 28, 2011 10:47 am
Platform: Mac

Sat Jun 13, 2020 8:10 pm Post

Thanks, AmberV. I was trying it the way xiamanese described--from the Binder view--and that wasn't giving results. I appreciate your note, and next time I need it, 'll give it a try with your techniques. I didn't know "Select with Subdocuments" existed.

User avatar
xiamenese
Posts: 4371
Joined: Mon Jan 29, 2007 1:32 am
Platform: Mac
Location: London or Exeter, UK.

Sat Jun 13, 2020 8:40 pm Post

dutchg wrote:Thanks, AmberV. I was trying it the way xiamanese described--from the Binder view--and that wasn't giving results. I appreciate your note, and next time I need it, 'll give it a try with your techniques. I didn't know "Select with Subdocuments" existed.

To be clear, when in Scrivenings mode the focus has to be in the Editor, not the Binder, but I'll alway's bow down to AmberV's superior knowledge,

:D

Mark
The Scrivenato sometimes known as Mr X.
iMac 27" (late 2015) 10.15.4, 24GB RAM, 512GB SSID
MBP17" (late 2011) 10.13.6, 16GB RAM, 2TB SSID
2017 iPad, iPadOS 13.3, 128GB, Apple Pencil
Scrivener, Scapple, Nisus Writer Pro, Bookends …

User avatar
dutchg
Posts: 82
Joined: Sat May 28, 2011 10:47 am
Platform: Mac

Mon Jun 15, 2020 11:04 am Post

Thanks for the clarification, Mark. I appreciate your help!

User avatar
AmberV
Posts: 24287
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Mon Jun 15, 2020 11:12 am Post

It's a bit academic at this point, since you've got it figured out, but some things do require the focus to be in Scrivenings. The Edit ▸ Text Tidying ▸  commands, for example, are text level tools that require the cursor to be in a text editor. For the most part, commands found in the Documents menu should be relevant to documents though, as objects. There are only a few exceptions, like Split, which naturally needs the cursor to know where to split from. Conversion is definitely designed to be executed at any level of the project though. You can run it from Scrivenings, you should be able to run it from a hand selected list of items from a search result in the sidebar, too. You should be able to hit ⌘9 in the Binder (to expand everything all the way down to the bottom of the tree), followed by ⌘A to select all, and run it. It is even programmed to skip over binder selections that are invalid, like the trash can, PDF files and so on.

So, I don’t know why it isn’t working from the binder! :)
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

ps
pseingalt
Posts: 176
Joined: Sun Nov 07, 2010 3:14 am
Platform: Mac

Mon Jun 15, 2020 12:33 pm Post

I'd love to be able to do this:

What is (the) Outliner View? View>Outliner Options=everything is greyed out except "Use Fixed Row Height"
View>Outline>=everything is greyed out except "Show Subdocument Counts in Binder"

I vaguely remember using Scrivenings in v.2.0 but I don't see how to get there in 2.0 and there's nothing relevant in the Help menu.

User avatar
AmberV
Posts: 24287
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Mon Jun 15, 2020 3:27 pm Post

Sorry, I’m not really sure if we are on the same topic at this point, and I’m having a hard time understanding the context of your question in the framework of converting default formatting in text files. None of the outliner or outlining commands would be relevant to changing the font and such. They aren’t text editing tools, which is probably why they are disabled.

Maybe this was meant to be posted to another thread? Happy to move it for you if so.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

ps
pseingalt
Posts: 176
Joined: Sun Nov 07, 2010 3:14 am
Platform: Mac

Mon Jun 15, 2020 8:16 pm Post

AmberV wrote:Sorry, I’m not really sure if we are on the same topic at this point, and I’m having a hard time understanding the context of your question in the framework of converting default formatting in text files. None of the outliner or outlining commands would be relevant to changing the font and such. They aren’t text editing tools, which is probably why they are disabled.

Maybe this was meant to be posted to another thread? Happy to move it for you if so.


This was one of the answers above. I was looking for an explanation of the Outline view:
Hi dutchg,

You're probably trying to do this from the Binder, but the trick is to do it from the Outliner.

This thread contains instructions for how to accomplish that: viewtopic.php?f=30&t=57220&

It was written for a Windows user, but will also apply to Mac, although the menu options/keys involved may be slightly different.

Best,
Jim

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

Tue Jun 16, 2020 6:20 am Post

Scrivenings, Outline, and Corkboard view are the first three options on the View menu, or can be activated from the group of three icons to the right of the Quick Search bar.

See also the Get Organised section of the Interactive Tutorial project, available from the Help menu, or Section 4.2 of the manual.

Katherine
Scrivener Support Team

User avatar
dutchg
Posts: 82
Joined: Sat May 28, 2011 10:47 am
Platform: Mac

Wed Jun 17, 2020 11:31 am Post

AmberV, thanks once again for the further details and clarification. Much appreciated.