Forum Replies Created
-
AuthorPosts
-
Theunis De Jong
MemberYou don't have separate master pages for left and right?
Theunis De Jong
MemberEugene Tyson said:
The filename it generates is terrible.
Anyway to custom name or to use the words of the text frame as the file name?
Word does this automatically when you save a file, using the first few words in the document.
This is the offending line:
myFileName = “StoryID” + myID + myExtension;… Would you like it to?
November 10, 2011 at 8:05 am in reply to: Kozuka Mincho Pro: Italics are alternative glyphs, what to do? #61035Theunis De Jong
MemberI have read that InDesign supports somekind of GSUB (glyph subsitution) feature …
It does, but only for the items that are defined through the Character panel: the ones listed in the Opentype flyout menu. And 'ital' is not one of them. So apparently there is no way to automatically access/replace these glyphs.
For what it's worth, I think the 'ital' Opentype feature is deprecated by now as it was a very bad idea to begin with.
Theunis De Jong
MemberYou can also try ExportAllStories.jsx, as it comes free with your installation of InDesign.
November 3, 2011 at 11:00 am in reply to: GREP search for superscript changed to superscript with brackets #60984Theunis De Jong
MemberChange that to
change format: Normal (in the Position dropdown)
and it'll save you the last step of removing the superscript.
November 2, 2011 at 5:48 am in reply to: How do I make endnotes if my indd file has no paragraph or character styles? #60972Theunis De Jong
MemberIt's a bit unclear what you need I'm afraid.
* To convert formatted text into character styles, you can use scripts: Free Scripts Help Fix Word Formatting
* To convert unformatted paragraphs into paragraph styles (and also character styles, incidentally) you can use David's own Blatner Tools
* What does “restyle” mean? The tools above will create a character style 'superscript' for you and apply it to, uh, the superscripted text (which may include but not be limited to your endnote reference numbers).
(Addend:) Were you thinking there has to be a way to create 'real' endnotes in InDesign? They don't exist, so you would have to fake them anyway.
November 2, 2011 at 5:42 am in reply to: New to InDesign — Book Creation MS Word-InDesign Workflow Question #60971Theunis De Jong
Member1a. Yes. This option is off by default, but you can enable it in the Preferences (it's called Link to text files, something like that.)
There is a very good reason it's off by default! Every time you update the link, the original file gets re-read into InDesign, and that means that all of your InDesign edits will disappear. (I think it's worthwhile to make this point stand out a bit.) Only with a very careful workflow you can seamlessly transfer paragraph and character styles from one to the other.
1b. Well, it depends.
1c. Well, it depends.
“It depends” because you need to decide what you want to do with your Word file afterwards. If you intend to use this (and not the InDesign version) for any other further processing, you will need those edits.
It's also possible to export your plain text out of InDesign to RTF (although this will not give you the same Word file “with edits” back).
Theunis De Jong
MemberAlso,
(?<=d.)[a single space]+
will find a number followed by a period and space anywhere, not just at the beginning of a list so don't do a “Replace All” with it.
Yeah — change it to
(?<=^d.)[space)
to anchor it to the start of a paragraph.
Theunis De Jong
MemberMake it center.
Theunis De Jong
MemberWell, good thing you asked because you can't.
It's the same as with all new versions of ID: you never have been able to “open” a new document into an older version.
To transfer a document one version down, you need to Export it to IDML – you can open that with your CS4. Need I remind you any new features used will be lost at that point?
Theunis De Jong
MemberInDesign's default paragraph settings take the line endings of entire paragraphs into account when calculating the optimal line breaks, and it does an extremely thorough job. That's why it sometimes leaves odd ends: because the alrernative is worse.
You can toggle this behavior off in the Justification dialog, under Paragraph Composer, if it really bothers you.
see also https://development.creativepro.com/the…..sition.php
Theunis De Jong
MemberUh, so you want to delete all number combinations except when they contain an '8', right? Then the simplest solution is not to use d to search for all digits but make a set of your own:
t*b1?[0-79]-1?[0-79]b[ t]*
Theunis De Jong
MemberHuh — only now I notice the editor is smarter than I am!
This is the HTML code you need to insert:
{pre}{code}
.. your script comes here
{/code}{/pre}
And of course you need to replace the curly braces with <..>
It seems the editor not only doesn't like backslashes (as you have noticed elsewhere :) ) but also agressively interprets anything that looks like HTML.
Theunis De Jong
MemberTrial and error :)
The forum editor is picky when accepting formatting code, so I switch to HTML view and insert this manually:
… your code comes here
remember to escape &, < and >
(as well as the usual \ to get )If I remember correctly you have to be very careful when post-editing.
Theunis De Jong
Member(Looks around) We're in the Scripting forum, right?
someFolder = Folder.selectDialog (“Choose a Folder”);
if (someFolder != null)
{
filenameList = [];
fileList = someFolder.getFiles( function(x) { return x instanceof File && !x.hidden; } );if (fileList.length > 0)
{
writeFile = File.saveDialog( 'Save File As:' )
if (writeFile != null)
{
if (writeFile.open(“w”))
{
for (i=0; i<fileList.length; i++)
writeFile.write (fileList[i].fsName+”r”);
writeFile.close();
} else
alert (“unable to create file “+writeFile.fsName);
}} else
alert (“No files found in “+someFolder.fsName);}
-
AuthorPosts
