Forum Replies Created
-
AuthorPosts
-
June 20, 2015 at 5:02 am in reply to: Saving a doc in 2015 that was created in an earlier version #76096
Masood Ahmad
ParticipantWell I’ll not call it a touture, it is a feature actually that notifies us that the file we have opened was created in an older version is InDesign. This way we can retain its version, especially if the file was supplied by some client.
Masood Ahmad
ParticipantYes,you both are right, technically, but the trick is to get the balls rolling.
Masood Ahmad
ParticipantYes, you can, even in InDesign…
1) Place all the images in InDesign.
2) Arrange them all as per your design/style.
3) Group all the images and cut or press “ctrl + x”
4) Create an empty picture box and select it.
5) Go to Edit menu and select ‘Paste Into’ or press “Alt + ctrl + v”
6) To edit the group images in the new box, you have to press the “select content” option from the control panel.This way you can minimize the number of boxes… Just a fun trick :)
I know David and Dwayne knows this, but seems they are playing tricks here… Am I right, guys :)
Masood Ahmad
ParticipantThanks Oleh. It works great. Just one greediness, Is is possible to prompt a user for the delimiter. For example in the above example it was a comma, whereas it might be possible that the words are separated by semicolon or slash etc.
Something like a message box asking user to input a character(delimiter) and then sorting the selected text separated by the same delimiter.
Masood Ahmad
ParticipantYou can explore the GREP section here itself. Just search for “grep”, and you’ll get a page full of references and other useful links to start with.
Best of luck :)
Masood Ahmad
ParticipantIt seems, we are closer to it after tweeking the Jongware’s code:
(?![0-1999]\d{3})\d{4,}Masood Ahmad
ParticipantJongware, can you help me on this.
Masood Ahmad
ParticipantJongware, I knew that you’ll join this post. It is something new and interesting and possibly not possible with GREP. As Eugene pointed out, can this be achieved with a JavaScript?
Masood Ahmad
ParticipantI too can smell the same here, Justin.
Sorry for interrupting here in between the two giants of knowledge.
However, when I tested the codes by Eugene, I found that it is searching all the numbers whether greater or lesser than 2000.
“This includes 2000
\<\d\d{3,99}
Result: It is searching for the numbers greater or equal to four digits whether it is 1000 or 1999 or 2000 etc.This excludes 2000
(?!2000)\<\d\d{3,99}
Result: This is same, searching for the numbers greater or equal to four digits excluding 2000 onlyThis excludes 2000
(?![01]|2000)\<\d\d{3,99}
(?![01]|2000)\<\d\d+
Result: This code is also looking for the numbers greater or equal to four digits. But the problem with the code is that it is also ignoring the numbers if the starting digit is one for example: 15860, 192453. Although these are greater than 2000.”Whereas the code by Justin
2\d\d[1-9]|[3-9]\d\d\d?\d+proves to be somewhat closer to the query raised by Delfim.
but it has the same problem as listed above. It is not searching for the numbers if it is starting at one for example 123456, 15860, 192453 etc.The code needs tweaking.
Masood Ahmad
ParticipantYou’re welcome. Anything else I can do for you.
Masood Ahmad
ParticipantTry this:
Find what:
([\u])( )(\d)
Change to:$1~m$3Masood Ahmad
ParticipantI’m not into e-Pubs, but as far as I know, it is not possible, you can check the links given below:
https://stackoverflow.com/questions/10092072/how-to-protect-an-epub-file-from-copying-and-printing
But it is also possible that someone having such specialization can give you a better solution :)
Let’s see…
Masood Ahmad
ParticipantThe smiley :) :) :) :) is here…
Masood Ahmad
ParticipantSorry, you cannot do a find and replace using the GREP style. To achieve things like this, you have to use the Find/Change feature either Text or GREP.
Masood Ahmad
ParticipantEugene, your suggestions are always welcome. I too have learned a lot from your replies. You’re amazing. Your help is and will always be needed. It is just that I love GREP, and wants to explore more…
Please don’t take it otherwise :)
-
AuthorPosts
