Forum Replies Created
-
AuthorPosts
-
Alberto Gutierrez
ParticipantBingo Vinny! it was exactly that: instead a space it needed a tab.
All working fine, thanks!.
Alberto Gutierrez
ParticipantI made sure that the quotes are straight and the actual syntax is:
text {findWhat:”<0016>”} {appliedParagraphStyle:app.activeDocument.paragraphStyleGroups.item(“tablas”).paragraphStyles.item(“tab_texto”)} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
I still get the error 25 message. <0016> finds a table, and in this case applies the paragraph style tab_texto.
Alberto Gutierrez
ParticipantThanks for your answer Vinny. I tried your expression with a paragraph style, changing the word “character” for “paragraph”:
text {findWhat:”<0016>”} {appliedParagraphStyle:app.activeDocument.paragraphStyleGroups.item(“tablas”).paragraphStyles.item(“tab_texto”)}
And i get the error message, is there any semantic difference between character and paragraph?
Alberto Gutierrez
ParticipantBingo! thanks a lot Vinny, exactly as you pointed… you made my day ;-)
Alberto Gutierrez
ParticipantThanks for the clue Raphael!, i will take a look at LiveTOC to see if it fits my needs.
September 29, 2017 at 12:04 am in reply to: Combine two paragraph styles in a single TOC entry #98449Alberto Gutierrez
ParticipantHi Aaron, thanks for your help. Sure, I tend to use a “chapter number” style to split files when exporting the ePub. That style is not included in the TOC, that’s the reason i have to enter manually when editing the code. Long books with looong TOC are a pain in the neck, inserting those “Chapter 1, Chapter 2…” manually.
September 19, 2017 at 1:22 am in reply to: Combine two paragraph styles in a single TOC entry #98198Alberto Gutierrez
ParticipantYour wisdom great is Obi-wan (read with Yoda voice). Nice trick that of playing with auto numbering in the Chapter title style. The final destination of my book is a reflowable ePub. Anything you change in the generated TOC will not have any effect in the final pub file. So your solution is positive, but if the book has preface, prologue, introduction… the numbering of the chapters will be incorrect. A script or a comercial solution that can merge two paragraph styles in the same TOC entry will be great. ¿Any motivated scripter in the room?. Thanks.
Alberto Gutierrez
ParticipantThanks for the link Colin, I’m going to give it a try ;-)
November 3, 2013 at 3:00 am in reply to: Select or Export all text of a certain Paragraph Style #66076Alberto Gutierrez
ParticipantHi Justine. A solution will be to make a “fake” table of contents selecting as the only entry the paragraph style you want. Select no page number and if there are several indesign documents in the book check the option to find the entire book. Copy and paste the text of the TOC and voilà.
Hope it helps.
Alberto Gutierrez
ParticipantHi Anne-Marie, both of them. Let me explain with a couple of screenshots.
This my InDesign book document:
https://img.photobucket.com/albums/v632/disain/Capturadepantalla2013-10-15alas172548_zps4bd5a030.png
This is an example page of my book:
https://img.photobucket.com/albums/v632/disain/Capturadepantalla2013-10-15alas170528_zps53f1bec2.png
This is the TOC dialog from the INDEX document containing the three levels that I want: chapter title, header 1 and header 2:
https://img.photobucket.com/albums/v632/disain/Capturadepantalla2013-10-15alas170749_zps2bda6afe.png
This is the generated TOC:
https://img.photobucket.com/albums/v632/disain/Capturadepantalla2013-10-15alas170907_zps0bc2db2e.png
Since the TOC “collects as is” every paragraph with the specified style, I get a TOC in all caps and small caps. I’m looking for a way to change the TOC to sentence case when exporting to epub.
Thanks.
Alberto Gutierrez
ParticipantHi Dwayne, thanks for your reply. The problem is still there. I’ve done trials combining layer to have two different versions of the headers, one in sentence case and the other in all caps. The problem is that when making the TOC, InDesign insists in including both layers contents, even if one of them is locked and invisible.
The “better than nothing” solution was to edit the TOC of the epub in a html editor and perform a GREP seach to change the caps to sentence case.
Keep on working…
-
AuthorPosts
