Forum Replies Created
-
AuthorPosts
-
September 18, 2017 at 7:12 am in reply to: Use document name without extension and a grep question #98169
Dimitri De Bruyn
ParticipantDoes this image work?
@graham-park I knew this, but I hoped for an solution.. Too bad.
If I convert it to text and the revision changes it does not change in the document..September 18, 2017 at 6:54 am in reply to: Use document name without extension and a grep question #98165Dimitri De Bruyn
ParticipantHi
It was a long weekend.. sorry for the delay..
Anyway.. my document name is DEM0010-REV C_example document.INDD
and I want to print DEM0010-REV C at the end of the brochure.I tried it with nested styles, after the underscore the color of the font would be none.
But it doesn’t work with variable text, unless I convert it to normal text.I use the variable Documentname
[url=https://flic.kr/p/YxAZow][img]https://farm5.staticflickr.com/4336/37113617246_34fcf656bc_c.jpg[/img][/url][url=https://flic.kr/p/YxAZow]Screen Shot 2017-09-18 at 16.02.22[/url] by [url=https://www.flickr.com/photos/dimelot/]Dimitri de Bruyn[/url], on Flickr
September 15, 2017 at 7:28 am in reply to: Use document name without extension and a grep question #98117Dimitri De Bruyn
ParticipantYesss.. that’s the one I had in mind. Thanks @kimmi-patterson
So problem 2 is solved..
Now I need a solution for problem 1 :)
September 15, 2017 at 6:27 am in reply to: Use document name without extension and a grep question #98113Dimitri De Bruyn
ParticipantThat’s a very nice code :thumbs:
September 15, 2017 at 4:04 am in reply to: Use document name without extension and a grep question #98110Dimitri De Bruyn
ParticipantThanks @graham-park
final code:
(?=implant[|\[||s|\:\.\,|\{])iThis code will cover the most. And it will do the job just fine.
But I want to be sure to cover all possibilities. And if there is one possibility that could happen it is (implant) or ‘implant’ betweenSo i added “|’|\(|\)
(?=implant[|\[“|’\(|\)||s|\:\.\,|\{])i
September 13, 2017 at 10:46 am in reply to: Use document name without extension and a grep question #98059Dimitri De Bruyn
Participant@graham-park thanks it works great, but it also works on implantation and justimplant.Even though justimplant is not a real word. Do I have to make an exception grep style?
Dimitri De Bruyn
ParticipantThanks for the smaller code, but it doesn’t do the job
For example: 20x20x20cm and 10x30mm
changes into 20 x20 x20 cm and 10 x30 mmAnd I changed the replace code by $1~s$2 because I don’t want to have regular spaces. I used non-breaking spaces
Dimitri De Bruyn
ParticipantI even expanded it with not to make a difference between uppercase or lowercase.
(\d+)((?i)x)(\d+)((?i)x)(\d+).?((?i)mm|cm)
If it could I like to change the uppercase into lowercase :)
Dimitri De Bruyn
ParticipantI’ve found how to find mm or cm
Search:
(\d+)(x)(\d+)(x)(\d+).?(mm|cm)Replace by:
$1~4$2~4$3~4$4~4$5~6$6Dimitri De Bruyn
ParticipantI saw this movie on the site..
Dimitri De Bruyn
ParticipantYou must use Textanchors. You’ll find them in the Hyperlinkspalette (Window/Interactive/Hyperlinks)
To make a textanchor
– First you select the text or anchord object
– In your Hyperlinkpalette in the pulldown menu you select “new hyperlink destination”.
– Select Textanchor
– Give it a name like “Image on page number”To place the textanchor in your text
– In your Hyperlinkpalette in the pulldown menu you select “new cross reference”
– Make sure you choose ‘Link to Text anchor’
– Choose your Textanchor (Image on page number)
– Choose your Cross Reference formatClick OK and it should be working
Dimitri De Bruyn
ParticipantJongware, I just bought the eBook from Peter. And as u know I’m still a Dutchman and bought it with a 50% discount ;)
Dimitri De Bruyn
ParticipantWow! That works perfectly…. Thank you very much.
Btw is it possible to have a crash course in GREP given by you? ;)
Is it possible to get in contact with you via web? I also come from the Netherlands.
Dimitri De Bruyn
ParticipantThe reply form Eugenyus is not correct. Or he did not copy and paste the backslash in the expression.
This one is tested en works perfectly..
Find: \((.+?)\)
Change to: $1
Dimitri De Bruyn
Participant -
AuthorPosts

