Bold type within a Qlogic string

531 views
Skip to first unread message

dal...@viatechpub.com

unread,
Jul 17, 2015, 9:29:33 AM7/17/15
to xmpie...@googlegroups.com
I am needing to bold a word or too within a string in QLogic.

if(|->[MailIntroduction] = "NEPH" and |->[MailGap1_EN] = "Eye")

{

"Your eyes are very IMPORTANT to you."

}

else

{

""

}



The word IMPORTANT needs to be Bold.


Is there a way to have this happen?

Thanks

Braam Ekermans

unread,
Jul 17, 2015, 9:35:51 AM7/17/15
to xmpie...@googlegroups.com
Hi

Best way will be to use adobe tagged text, see description below:

1. In your Document, draw a text frame and enter the text, including the Text Content Object you wish to style
2. Style the text as required
3. Select all the text and from the File menu, select Export to export the text as an Adobe InDesign Tagged Text file (*.txt) into the Campaign's Assets folder
4. Name the text file, and click Save.
5. Select Tag Form: Verbose, and Encoding: Unicode and click OK.
6. Repeat steps 1 to 5 for each tagged Text File
7. Create a new Content Object as a Text File Content Object, and call the txt file via a ADOR rule










Confidential: This email and its attachments may contain confidential and privileged information. If you are not the intended recipient, you are not authorized to retain, copy, or distribute the email message or its attachments. If you received this email in error, please notify the sender immediately.




From: dal...@viatechpub.com
To: xmpie...@googlegroups.com
Sent: Friday, July 10, 2015 10:06:18 PM
Subject: [xmpie-users] Bold type within a Qlogic string
--
You received this message because you are subscribed to the Google Groups "XMPie Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xmpie-users...@googlegroups.com.
To post to this group, send email to xmpie...@googlegroups.com.
Visit this group at http://groups.google.com/group/xmpie-users.
For more options, visit https://groups.google.com/d/optout.



Tyrone

unread,
Jul 17, 2015, 10:10:31 AM7/17/15
to xmpie...@googlegroups.com

Add the variables below to your ador then add code below to your variables hope this helps

if(|->[MailIntroduction] = "NEPH" and |->[MailGap1_EN] = "Eye")

{

@{InDesign_Font_Intro} & @{Normal_Arial_Font} & "Your eyes are very" & @{Bold_Arial_Font} & "IMPORTANT& @{Normal_Arial_Font}  to you."

}

else

{

""

}

Create 3 Variables

 

 

Add The following code to the 3 variables ”InDesign_Font_Intro”

1.       "<UNICODE-WIN>\r\n<Version:5><FeatureSet:InDesign-Roman><ParaStyle:NormalParagraphStyle>"

2.       "<cTypeface:Regular><cSize:9.000000><cLeading:16.000000><cFont:Arial (OTF)>" NOTE this defines the font and size

3.       "<cTypeface:Bold><cSize:50.000000><cLeading:20.000000><cFont:Arial (OTF)>" This Defines Font Bold an Size

 

This will allow you to control all aspects of your sdesign

 

Regards,

 

Tyrone O’Brien

Director | Professional services | Multi-Channel Developer

 

Description: connect_E_logo

 

P: 041 661 4187

E: tyr...@connect1to1.com.au

W: www.connect1to1.com.au

 

From: xmpie...@googlegroups.com [mailto:xmpie...@googlegroups.com] On Behalf Of dal...@viatechpub.com
Sent: Saturday, 11 July 2015 6:06 AM
To: xmpie...@googlegroups.com
Subject: [xmpie-users] Bold type within a Qlogic string

 

I am needing to bold a word or too within a string in QLogic.

--

You received this message because you are subscribed to the Google Groups "XMPie Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xmpie-users...@googlegroups.com.
To post to this group, send email to xmpie...@googlegroups.com.
Visit this group at http://groups.google.com/group/xmpie-users.
For more options, visit https://groups.google.com/d/optout.




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


image001.png
image002.jpg

Sylvain

unread,
Jul 24, 2015, 4:52:02 PM7/24/15
to XMPie Interest Group, dal...@viatechpub.com
if(|->[MailIntroduction] = "NEPH" and |->[MailGap1_EN] = "Eye")

{

"Your eyes are very <strong>IMPORTANT</strong> to you."

}

else

{

""

}


Then use inDesign grep styles to do the rest.
  • 1 grep style to style the content located between the <strong></strong> tags.
  • 1 grep style to hide the <strong></strong> tags.

cda...@tucsoncps.com

unread,
Apr 23, 2017, 10:26:31 PM4/23/17
to XMPie Interest Group, dal...@viatechpub.com
For those of us who are grep deficient, could you show us what these grep expressions might look like?

Tyrone

unread,
Apr 23, 2017, 10:35:02 PM4/23/17
to xmpie...@googlegroups.com, dal...@viatechpub.com

Here is a step by step of how to use GREP in this format

 

Regards,

 

Tyrone O’Brien

Director | DM Solutions Specialist

 

emailsignature

--

You received this message because you are subscribed to the Google Groups "XMPie Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xmpie-users...@googlegroups.com.
To post to this group, send email to xmpie...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.


Virus-free. www.avast.com
image003.jpg
Designing with XMPie grep.docx

ROBERT HOPFNER

unread,
Apr 23, 2017, 11:11:00 PM4/23/17
to xmpie...@googlegroups.com, cda...@tucsoncps.com, dal...@viatechpub.com

First of all I would take out the <strong> tags as they do nothing for you. All you need is InDesign and the GREP style. 


To me this seems like a tag line of some sort so you probably don't have to share the paragraph style with any other text, and in this case you probably don't want to.


Create a paragraph style based on the whole sentence without anything done to the word "Important". Call the paragraph style "tagline" or something you can remember.

Now change the word important to you you want it to look, bold, red, etc...

Highlight the word "Important" and create a new character style based on what you want it to look like, bold, red etc. Call the character style "strong" if you like that.


Now go back to the "tagline" paragraph style and edit it. Go to the section regarding GREP styles and create a new one. In the text box that has d*/ or whatever the default is and type in "Important". Then go down to the style drop down and choose "strong".


Close and you are done with setting up the style. Highlight your text and apply the paragraph style and the word "Important" should change if everything was set up ok. 


When your copy changes to anything else, blank or otherwise NOT having the word "Important" in it, it should remain the default paragraph style. Anytime the word "Important" shows up, it gets changed. If you have other words that need changing, like Sale, or Congratulations, just add them after a Pipe | symbol and those words will change too.


cheers,

Bob

--

cda...@tucsoncps.com

unread,
Apr 24, 2017, 12:03:15 AM4/24/17
to XMPie Interest Group, dal...@viatechpub.com
Tyrone, this was the bomb! Thank you very much. I'll be utilizing this much more in my VDP!

Regards,

Craig

hevelhouse

unread,
Sep 12, 2018, 4:09:26 PM9/12/18
to XMPie Interest Group
OMG.  This is awesome.  I came across this article after searching for hours and trying many different ideas.  Thanks for putting together this document.  Much appreciated.

Thanks,
Reply all
Reply to author
Forward
0 new messages