Indesign¶
Keyboard Shortcuts:¶
Page Break: Ctrl + Enter (Numpad)
Preview: W
Show Hidden Chars: Ctrl + Alt + I
Restart bullet numbering: Ctrl + Alt + R (custom shortcut)
Clear formatting overrides: Ctrl + Alt + X (custom shortcut)
Convert URL to Hyperlink: Ctrl + H
Hold Ctrl + Shift and click to override a single Master page item
Convert an SGC styled Word doc to InDesign:¶
- Convert the docx to
.md - Run
python "H:\OneDrive - SGC\scripts\Python scripts\md2indd-tagged 1.1.py"on the .md file with 2 arguments: input.md, output.txt - Import to Indesign as tagged text
InDesign bullet characters Unicode¶
Indesign's selection dialog for finding a Unicode character for bullet points is AWFUL! If you need regular bullet points, choose "Noto Serif" Regular as the font, then scroll down almost to the bottom (past all the Greek letters). You'll find the bullets eventually if you keep looking.
◦ 25E6 - white bullet
▫ 25AB - white small square
▪ 25AA - black small square
Automatically copy index from one edition to another (script)¶
Index-Copy-Across-Editions.jsx is a more or less complete script that will find all index topics in an INDD file and try to search for the same text in the updated INDD file and add the same topics to it.
Export RTF files from InDesign book (indb) without merging!¶
Run doScriptWithDocsOfBooks.jsx and then select the ExportAllStories-skip-empty v3 (silent).jsx to run, which will export RTFs of all docs in the book to a subfolder where the docs are stored.
Check separations (for color plates on a black-only PDF)¶
Run in POWERSHELL (don't leave out the & at the beginning)
& "H:\Portable Apps\GhostscriptPortable_10.01.2.paf\bin\gswin64c.exe" -o - -sDEVICE=inkcov "C:\Users\Work\Desktop\temp\ICW Simp Chin indds rec'd 28-Dec-23\ICW Simp Chin (CL rec'd 28-Dec-23).pdf" | Where-Object {$_ -notmatch '0\.00000\s+0\.00000\s+0\.00000'}
Export RTF files¶
ExportAllStories-skip-empty v2.jsx
Hyperlink issues?¶
Exporting as a higher compatibility PDF (Acrobat 5+) solved the problem for me.
Import vectors (SVG) from Excel (charts, etc)¶
In Excel right-click on the very outside edge of the chart to bring up a context menu. Save as Picture... then select SVG as the file format.
Now convert that SVG to EPS (in order for black to be K only; SVG only supports RGB color)
GREP¶
GREP style for no-break: \<(\s?(\S+)){2}$
Find scripture refs that begin with a number and add a nbsp so that they don't break at the end of a line:
F: ([1-3]) (Samuel|King|Chron|Corinth|Thess|Tim|Peter|John)
R: $1~S$2
How to insert SECTION variable: Type > Insert Special Character > Markers > Section Marker
Compare PDF files¶
DiffPdfPortable (in Portable Apps) is the best option.
Other options¶
Plain text comparison -- Compare It! 4: (wincmp4u.zip in Downloads)
Also "diff-pdf-win-0.5.zip" in Downloads.
Usage: diff-pdf --view a.pdf b.pdf
Find Tables in an INDD file¶
text <0016>
Get rid of faint colored lines around photos, etc¶
Just set the image to 99.99% opacity instead of 100%!
GREP Find¶
\h finds all horizontal whitespace (including tabs and nbsp)
Anchor object to text¶
Select object, then drag the little blue box at the top right corner of the object to the position in the text where you want it to be anchored. Source
Add Custom Cross-Reference to Index entry (Lesson x)¶
Use a "thin space" ^< in the "Custom:" dialog, and then enter "Lesson 5" in the "Referenced:" box.
Find Footnotes¶
To apply formatting to the footnote itself you could use grep ^~F, and apply your 'footnote' paragraph style to it. Use just grep ~F to find the superscripted footnote reference. (Deselect "Search Footnotes" to restrict it to only the references).
Find footnotes that begin with a space: (^~F)\x{20} (replace with $1)
Find Overrides with PreFlight¶
Find/Replace at beginning of paragraph (arrow or "static" bullet numbers)¶
Type this into the Find What field: ► (.) and type this in to the Change To field: $1
FindChangeByList ERRORS¶
Error 25 means you have a space between include footnotes REMOVE IT!! (or you missed a quotation mark somewhere)
Error 45 means the Scripture Finder can't find the correct Character Style to apply
FindChangeByList edit¶
If you change the
(on line 117) by You will be able to choose the .txt. So you can have as much version of the findchangebylist.txt that you want.Roaming Data Folder: (Source)¶
%USERPROFILE%\AppData\Roaming\Adobe\InDesign\
Local Cached Data Folder:¶
%USERPROFILE%\AppData\Local\Adobe\InDesign\
Plugins folder:¶
C:\Program Files\Adobe\Adobe InDesign 2023\Plug-Ins
Standardize references to remove a "chapter 1" from in front of them (1:xx to xx)¶
grep {findWhat:"(Obadiah )(1:)([0-9]+(-[0-9]+|))"} {changeTo:"$1$3"} {includefootnotes:true}
grep {findWhat:"(Philemon )(1:)([0-9]+(-[0-9]+|))"} {changeTo:"$1$3"} {includefootnotes:true}
grep {findWhat:"(2 John )(1:)([0-9]+(-[0-9]+|))"} {changeTo:"$1$3"} {includefootnotes:true}
grep {findWhat:"(3 John )(1:)([0-9]+(-[0-9]+|))"} {changeTo:"$1$3"} {includefootnotes:true}
grep {findWhat:"(Jude )(1:)([0-9]+(-[0-9]+|))"} {changeTo:"$1$3"} {includefootnotes:true}
[OUTDATED (see above)] Combine InDesign book (indb) files into one INDD file¶
Open the .indb file, and then run merge books to indd.jsx. http://kasyan.ho.ua/indesign/all/merge_files.html
If you get a bunch of "alternate layouts" disable "keep sections" as per this thread. Actually, that messes with page numbers. :( Remove all sections with this script.