Applying Bolds and Italics while doing a Find/Replace on Data Merged content

Hi,
Wonder if you kind knowledgeable folks can help me with a Find/Replace question.
I am doing a data merge of a book contents into indesign, where my data merge file is a straightforward text csv file which is tab delimited. I have two (almost similar) things I would like to do to specific parts of the text but don't know how to achieve this. 
-  Firstly, I would like to preserve words/sentences with an 'italic' form but this is obviously lost in a csv file.  Is there anyway I can mark these words in order that a find/replace can make this word italics.  Im hoping there is a solution which resembles something like this;
eg.  Book content is "The Word Italic needs to be adjusted".
Original content is amended to be "The Word $Italic$ needs to be adjusted", so that a dollar sign encapsulates the word to be made Italic.
Then I am able to data merge the csv file and somehow do a find/replace of words/sentences which are encapsulated by the dollar sign.  Thus, doing a find/replace of all words/sentences which satisfy this condition and then apply italics to all words between the dollar signs.
- My other issue is I am using the '|' character in my text to determine the paragraph seperators.  I then do a find/replace after importing the text to replace all instances of '|' to the paragraph seperator (a kind of $ symbol, a representative character from the pop-up menu to the right of the Change To box). This works fine, but I'd like to make the paragraph seperator to be a BOLD format so that it can distinguish better the seperating sections of text.
But this is different from my 'italics' issue above since I am trying to apply a BOLD format to the 'Change to' character, rather than something which exists in my original csv.
Hope I make sense but I'd be happy to provide screenshots etc (when I get home )
Best Rgds
L

two solutions.
for the italic solution, i'd say the OP answered his own question with one exception - don't use dollar symbols, instead use = or another character which isn't reserved by GREP.
the solution i would use for italics would be a GREP search once the merge is complete. have a look at the picture to see what i've done.
the second solution: GREP styles.
this assumes that the text will have a paragraph style assigned to it. make a character style called BOLD and within that style, the only thing to change is within basic character formats, make the font style bold. could even make the character another colour such as cyan so it is more easily idenfiable.
next, go to the paragraph style options, go to GREP styles and match the following screengrab
the advantage with a GREP style is that once the pipe symbol (|) is replaced, its bold GREP style character formatting is lost; and it means less post processing and no need for a second search of the text - it's all live.

Similar Messages

  • Lion mail doesn't allow shortcuts for bold and italics.

    Hi,
    I've come across this problem in which Lion mail doesn't allow shortcuts for bold and italics. I try pressing the short cut for Command + B or Command + I
    but it does not affect the text at all. I have to move my cursor to the Bold or Italic icon to change a particular word's form.
    Of note, Command + U allows me to underline a word just fine. I also write my mail in the default Helvetica, and in size 12.
    Anyone know of a solution? I'm pretty sure it's just a glitch, but it's become a great annoyance for me.
    Thanks for your help!

    Hi,
    I've come across this problem in which Lion mail doesn't allow shortcuts for bold and italics. I try pressing the short cut for Command + B or Command + I
    but it does not affect the text at all. I have to move my cursor to the Bold or Italic icon to change a particular word's form.
    Of note, Command + U allows me to underline a word just fine. I also write my mail in the default Helvetica, and in size 12.
    Anyone know of a solution? I'm pretty sure it's just a glitch, but it's become a great annoyance for me.
    Thanks for your help!

  • Bold and Italics

    Is it possible to get the output of a pl/sql procedure in Bold and Italics?

    user533919 wrote:
    Hi Rafu,
    Thanks for the answer, but my result is different. This is what I get.
    SQL> select htf.bold(htf.italic('foo')) from dual;
    HTF.BOLD(HTF.ITALIC('FOO'))
    <B><I>foo</I></B>
    SQL> create function bolditalic(v varchar2) return varchar2 as
    2 begin
    3 return htf.bold(htf.italic(v));
    4 end;
    5 /
    Function created.
    SQL> select bolditalic('foo') from dual;
    BOLDITALIC('FOO')
    <B><I>foo</I></B>
    oh ok this works fine in a webbrowser. But is there any way I can display it in SQL PLUS?SQL*Plus is a console based/command line based tool. It has no concept font styles etc. just a plain character set. So you cannot produce font effects in the SQL*Plus output. For that you need a proper GUI interface that does handle such effects.

  • How to saperate 543 and 101 while doing GR against subcontracting PO?

    Hi all,
         As you know,while doing GR against subcontracting PO ,the Mvt type 543 will be following  with 101.
    My requirement is that, when doing GR, i want the Mvt type 543 not post with 101. Of course, if i don't active  the checkbox of the components manually in MIGO, 543 wont be post.But i want to know if there are any userexits or enhancements to realize it automatically. I mean no matter end-users make the components' checkbox active or not, 543 dont post while 101 posting.I tried to use MB_MIGO_BADI and
    MB_MIGO_ITEM_BADI to inactive the components' checkbox madatory, but failed. Could you give me some suggestion?
    Regards
    Joey

    Hi,everyone, i try many userexits and enhancements, but failed. Now, i try to use BDC recording MIGO, active 101 items and inactive 543 items.If you have some other ways, give some feedback please. Thank you!
    Regards
    Joey

  • Send E-mail to Buyer and Requisitioner while doing GR for a Purchase Order

    Hi All,
    I  would like to send automatic notification messages to buyers and Requisitioners when goods receipt is completed for Purchase orders (Document type ZE). Notification should be sent only for the purchase requisitions that are created manually.
    Notification message should contain the following info:
    u2022 Purchase order number
    u2022 Purchase requisition number
    u2022 Purchase requisition line item number
    u2022 Vendor
    u2022 Material Number
    u2022 Short Text
    u2022 Goods Receipt quantity
    u2022 Batch number
    u2022 Storage Location
    Notification messages should send to an email address, requisitioneru2019s SAP address and e-mail address that was maintained SAP user profile.
    If goods receipt document contains more than one line and those lines related to more than one requisition the system should generate one message per requisitioner.
    There is standard fonctionality in message determination that enables sending a message to the buyer when GR is performed on a PO. But not to requisitioner.
    would this require Worfklow or is there a user exit available at Goods Receipt time to do this kind of notification?
    Please let me know
    Thanx in advance.

    Hi,
    You can send the mail in the BADI MB_DOCUMENT_BADI.
    But i suggest to check with your functional consultant to set up a routine in output determination.
    In this routine you can add the code to send the mail.
    Regards,
    Ankur Parab

  • Issue while doing GR before the delivery date in PO

    Hello All,
    I have a PO with 1 line item having delivery date or statistical delivery date as 12/31/2012
    But when today I am trying to do GR system doesn't allow and throws an error "earliest possible delivery date is 12/31/2012"
    Please suggest what to do?
    Thanks in advance,
    Forum Shah

    Hi
    Greetings!!!
    Kindly Help!!!
    Recently we are using the Latest GR date (Latest Possible Goods Receipt) functionality on Purchase Order but I want to know the standard Report for the same and is it possible to delete or lock or Delivery Complete of the line item automatically after the date? If yes, then please provide me the process.
    My actual requirement is after Latest Possible Goods Receipt date the line item should not be show on Pending or to be delivering Qty. But in ME2* (M, N, L etc.) report it not happen.
    Note:
    I have checked the t-code ME80FN, but it not fill my requirements.
    Actually I want to know the report for Latest GR Date (Latest Possible Goods Receipt) on purchase order in a Report. We can see the date manually on me23n-Item Detail-Delivery-Latest GR Date
    Field Name- LEWED in Table EKPO but my requirement is SAP standard Report for the same.
    In which report we check the latest GR date for more then 100 Purchase Order containing more then 1000 line Item and I know the Table but I am asking about only T-codes/ Reports.
    Regards,
    Sumant

  • Help with Find / Replace button title tag contents (text)

    Hi there,
    I designed my site with Sitegrinder (Medialab) –
    Currently all the title tags generated for buttons are the same as
    the actual html page name.
    The problem with this is that the tooltip which appears in
    browsers when you hover over the button with the mouse gives you
    the page name. Instead I want to use these tooltips to give the
    user an indication of what the function of the button is.
    An example: A zoom button above an image: Currenty the
    tootlip says “zoom imagename pagename” – Instead
    it should say “click here to zoom”.
    I need help to get the Dreamweaver Find and Replace tool to
    batch replace these tags for me for about a 100 pages.
    Here is an example of the code:
    <body>
    <div id="id1zoomimpastooilweddingbutton"><a
    href="zoomimpastooilwedding.html"
    title="zoomimpastooilwedding"></a></div>
    I only want to replace the text in the title tag - Since the
    text “zoom” appears several times in the body, I
    can’t get the Find tool to pick up and Replace the occurrence
    of “zoom” in the title only…….
    Options I’ve tried:
    Search Current document: Search for: “specific
    tag”: “title”, “containing”:
    “text” = zoom (I’ve tried this with
    “zoomimpastooilwedding” and zoom[^”]* with no
    results
    I’ve also tried: Search for: “specific
    tag”: “body”, “containing”:
    “specific tag” “title”
    “containing”: “text” = zoom
    etc……………..
    I need help with what parameters to enter in order to find
    and replace all the text within the title tag with my own text
    Thanks very much!
    Anton

    You have ~ 100 pages, each of which has images with title
    attributes (not
    tags), all of which BEGIN with the letters "zoom"?
    What do you want to replace that text with? Wouldn't it be
    different for
    each button? Or do you mean that you would do multiple
    sitewide searches,
    one for each button? This illustrates how wrong it is to not
    use DW
    Templates or server-side includes to simplify the management
    of your
    navigation elements....
    Did you ask Medialabs if it would be possible to specify this
    before
    generating the HTML?
    How did you like working with SiteGrinder? It looks like a
    nice product to
    me, although I'm not fond of the final results code-wise....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "unison123" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi there,
    >
    > I designed my site with Sitegrinder (Medialab) ?
    Currently all the title
    > tags
    > generated for buttons are the same as the actual html
    page name.
    >
    > The problem with this is that the tooltip which appears
    in browsers when
    > you
    > hover over the button with the mouse gives you the page
    name. Instead I
    > want to
    > use these tooltips to give the user an indication of
    what the function of
    > the
    > button is.
    >
    > An example: A zoom button above an image: Currenty the
    tootlip says ?zoom
    > imagename pagename? ? Instead it should say ?click here
    to zoom?.
    >
    > I need help to get the Dreamweaver Find and Replace tool
    to batch replace
    > these tags for me for about a 100 pages.
    >
    > Here is an example of the code:
    >
    > <body>
    > <div id="id1zoomimpastooilweddingbutton"><a
    > href="zoomimpastooilwedding.html"
    > title="zoomimpastooilwedding"></a></div>
    >
    > I only want to replace the text in the title tag - Since
    the text ?zoom?
    > appears several times in the body, I can?t get the Find
    tool to pick up
    > and
    > Replace the occurrence of ?zoom? in the title only??.
    >
    > Options I?ve tried:
    >
    > Search Current document: Search for: ?specific tag?:
    ?title?,
    > ?containing?:
    > ?text? = zoom (I?ve tried this with
    ?zoomimpastooilwedding? and zoom[^?]*
    > with
    > no results
    >
    > I?ve also tried: Search for: ?specific tag?: ?body?,
    ?containing?:
    > ?specific
    > tag? ?title? ?containing?: ?text? = zoom etc?????..
    >
    > I need help with what parameters to enter in order to
    find and replace all
    > the
    > text within the title tag with my own text
    >
    > Thanks very much!
    >
    > Anton
    >
    >

  • Preserve Bold & Italics  while cut paste

    hi,
    I am trying to cut some text and paste into another location through scripting.  While pasting it,does'nt preserves the bold and
    italic. All the text fall as a normal text only. Anybody tell me how to preserve the overrides(Bold and Italics) while pasting.
    Thanks
    Ranjan

    @Ranjan – instead of "cut" and "paste" you could use the move() method of the texts object of your source text frame or your selection, if text ist selected.
    See screenshot:
    See my snippet with annotations:
    //In InDesign CS5.5 you can use the click order in the UI to determine
    //what selected object is [0] and [1] etc.
    //if you select two objects, [0] is the first one, [1] the second one.
    //So to move formatted text from the left to the right text frame
    //first click on the left text frame, hold shift and click on the right one
    //before executing this code:
    var sel = app.selection;
    sel[0].texts[0].move(LocationOptions.AFTER,sel[1].insertionPoints[0]);
    More generally spoken:
    sourceTextFrame.texts[0].move(LocationOptions.AFTER,targetTextFrame.insertionPoints[0]);
    You could also move selected text to another insertionPoint:
    app.selection[0].texts[0].move(LocationOptions.AFTER,targetTextFrame.insertionPoints[0]);
    Uwe

  • Bold or Italics no longer works in Mail

    When composing a message in Mail, using font style shortcuts no longer work. I've tried everything! For example, in the text of my email message, I select the word(s) that I want to bold, I press Cmd+B and it does nothing to the text. The font stays regular. Alternately, if I style it manually by choosing Format from the menu and then choosing Style, I see that it shows Bold as already being selected with a check mark, but the text still is not. This also applies to italicizing as well.
    Thinking that I may have a corrupt Helvetica font, I changed the font to several others only to have the same problem. To test my corrupt theory one step further, I opened TextEdit, typed some text in the same fonts (ones that I know support bold and italics), press Cmd+B and Cmd+I and it works like a charm! No problems at all. I have beautifully bolded and italicized text. What gives?
    Then I thought I would check my MacBook to see what folder Mail is reading the fonts from that I have chosen. The settings are exactly the same on my MacBook as they are on my iMac and both machines are happily running Leopard 10.5.5.
    Does anyone have any idea what might have caused this or how to fix such an odd issue? Is reinstalling the Mail app possible or even worth considering? My only workaround is to type what I want bolded and/or italicized in TextEdit, then copy/paste it into my message, even though I can't remove the bold or italics once it's copied in. HELP!

    Anthony Beard wrote:
    NOW I KNOW WHAT THE PROBLEM WAS...--> THE FONT!!!
    I always use monospaced fonts for email, by preference; it's easy to line up things. The problem is the font. Change the font to something other than what you're using, I just selected Arial and then the italic feature worked!!! Hope this helps!
    It isn't about whether it's monospaced, it's about whether the font contains the style variants. Clearly Apple is taking the position of the typographic purist, which means they won't fake a bold or italic like in the old days, they only want to use it if it actually exists.

  • Text appearing as Bold and Italic in CS4

    Hi Guys
    Whenever I create a new document and type into it the text is automatically 'bold' and 'italics', I have saved the page and opened on another computer running CS4 and the text is fine (not bold or italic). I have created a page on another computer and opened it on the troublesome one and again it is bold and italic ((
    I cannot see anything in the preferences that may cause it, I have also discarded the configuration folder which contains the preferences for the program - no good either (( So as a last resort I have re-installed Dreamweaver and it is still playing up. I guess I can re-installs the complete CS4 suite but rather not as it is going to take a while and also may not fix the problem.
    Any ideas anybody??

    I have just copied the code from the page as below and as you can see there is no bold or italic applied:-
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    hello
    </body>
    </html>

  • CS4 (XP Pro)--missing bold and italic fonts for PMingLiu font

    I'm working on a book that's been translated into Chinese. The Chinese text I'm using was sent to me in Microsoft Word using the PMingLiu font. While in Word, there are some characters that appear in bold and/or italics, but those disappear when I try any means of importing into ID (as in placing the file as a Word document, placing the file as rtf, or even just copying and pasting from Word).
    As I've seen mentioned in other topics on this forum, no matter what I do, I get the pink boxes that I have to highlight and change to PMingLiu (slow but not a huge problem). But I really do need the bolds and italics. I only seem to have "Regular" PMingLiu--don't have the bold and italic varieties listed in my font list.
    Are those fonts available somewhere to download?
    Thanks so much to the oh-so helpful readers of this forum!

    Microsoft Office applications as well as many other applications allow you to "bold" or "italicize" content even when the "bold" or "italic" version of the font is either not installed or in fact might not even exist. Artificial bold usually consists of stroking the character slightly in addition to filling it. Artificial italic is performed by skewing (obliqueing) the character to simulate the look of an italic style. Although these artificial techniques sometimes yield usable results, they are typically NOT supported by graphic arts programs such as InDesign, Illustrator, or Photoshop. Typically, bold and italic faces are typical of most but not all "Latin" font families but are less common for non-Latin font families.
    In your particular case, I suspect that artificial bold, italic, and/or combinations of bold and italic were used with the font in question. InDesign does "the right thing" by indicating that no such font exists. If you want to simulate bold, let the characters in question be stroked in addition to being filled. The width of the stroke will obviously depend on the point size of the text and the style of the characters. You will need to experiment a bit. For italics, skew the characters to the right; again you will need to experiment.
    Doing a quick web search, from what I can best determine, there are no bold or italic versions of PMingLiu available either for free or for paid licensing.
    - Dov

  • Batch export text from multiple Indesign files, applying em and strong tags

    Hi there,
    I am struggling for a while now with the following workflow:
    batch exporting all text (text only) as plain text, from multiple Indesign files, applying <em> and <strong> for all the bold and italics (for instance: Molluptas verion <strong>nossum</strong> idist <em>doluptatet</em> maiorerum quiaspienit, cum erferiosapis eos expe nonsequas verumquae dolor sim eos doluptatiur autet lab idicili beatum deliquat).
    Properly tagging the styles, will be too time consuming, as these documents are as old as 1998, have inconsistent untagged styles; it will mean to manually open up each file, assign tags for all styles (not to mention that might be some local overwrites).
    This task is necessary to have all the archive, available on wordpress website.
    Any feedback would be much appreciated it.
    Thanks.

    There may well be a script or you may have pay someone to write it. All I can tell you is that any text not mapped to a style will be a mess in the HTML code.
    Can’t comment on Quark files. I have no clue what they’re capable of.
    Bob

  • PDFExport fonts. How they are detected, difference between bold and italic.

    Hi,
    i am experiencing issues with PDFExport mainly because i don't understand how the engine detects fonts in the original document.
    First i will explain my issue:
    PDFExport is used on linux machine environment.
    Copyright reasons prevents me from using windows fonts for PDFExport. I downloaded some open source fonts, most of time they are working fine. the issues that i have are with the variations the fonts. italicized and bold.
    Lets take an example of a .doc file. the file contains Hebrew characters some of them are bolded some italicized and some are regular. the font that .doc used is a windows font called David.
    When i use PDFExport with the original David fonts everything works fine and converted correctly to PDF. Since i cannot use windows fonts i resorted to using the Open Source fonts, they too have similar in style to David. they have bold version, italicized version and regular version.
    When i use the open source fonts the detection of the font is incorrect. the entire document becomes italic. when i remove the italic version of the font everything is bold. and when i remove the bold version everything becomes regular. -- i am missing the bold and italic styles when they are used in the document.
    (note that the original document can use any font it wants not restricted to the Copyright issue)
    if i understood how the detection worked, i could modified the open source fonts that i have so that it will detect correctly all the different style (bold and italicized ) correctly.
    my first question:
    How can i use the Open source fonts and also not lose the bold and italicized styles?
    my second question:
    2. Is there a way to recieve via the API which fonts the engine looked for and didn't find? it can help me to better understand which fonts i need. and may be look for them and bring them manually.
    sometimes even when i used the entire windows fonts folder still the fonts where missing or incorrect. (in the resulted converted PDF 'squares' instead of characters). an API like this may help me look for the missing fonts.
    my third question:
    is there a general guide or Standard which fonts to use. i wish to use the minimum number of fonts which will get the job done. i.e characters will be visible and not squares, styles (bold and italicized) should not be lost.
    my forth question:
    How do the engine choose which font to use?

    These are very deep technical questions and I assume it will be difficult to find anyone who knows answers on this forum.
    You will need to speak with Outside In people (you could also try other conversion component such as OpenOfficeConversion - see http://docs.oracle.com/cd/E23943_01/doc.1111/e10800/c03_pdfi_all.htm#IBRAG238). Contacts to OIT are available at Oracle Outside In Technology, or try to create a SR via Metalink.

  • Error while doing BDC

    Hi,
    I am doing a bdc program on t.code MIR4 (Display invoice screen).The problem is this screen has a SGA/GPA set so that whenever you into this transaction the last entered value is shown in the first screen.
    While doing BDC i deleted the old invoice content (on the first screen) and entered my new invoice number and did the recording.
    Now when I run my call transaction using this BDC table the process get stopped in the first screen itself and the old value (set by SGA/GPA) is not removed and hence my bdctab value is not populated and it is showing a error "field 000 not present is program SAPMIR4"
    PS : after that i checked my recording and saw that the place where I am clearing the old value on the first screen and entering my new value, nothing is recorded in place of BDC_OKCODE, only bdc_fnam  and fval have my new entered value. Maybe it is because the clearing of data is not recorded by my recording...But to record that as there is no okcode for that?
    Please advise how to proceed?

    Hi priyasingh ,
    just go through the following Code .
    There is no problem in the flow .You just need th eclear the data in the internal table BDC_DATA  so that there are no prevoius values .
    form BDC_FIELD  using    FNAM FVAL.
    IF FVAL <> ''.
        CLEAR BDC_DATA.
        BDC_DATA-FNAM = FNAM.
        BDC_DATA-FVAL = FVAL.
        APPEND BDC_DATA.
      ENDIF.
    endform.
    and
    form BDC_DYNPRO  using    PROGRAM DYNPRO.
    CLEAR BDC_DATA.
      BDC_DATA-PROGRAM  = PROGRAM.
      BDC_DATA-DYNPRO   = DYNPRO.
      BDC_DATA-DYNBEGIN = 'X'.
      APPEND BDC_dATA.
    endform.
    Hope this may help you .
    Thanks and regards
    Aditi Wason

  • What are the Pros and Cons while joining tables at DF and Universe level

    Hi Experts,
    I am new to Data federator designer. I need help on the below.
    Could you please let me know the Pros and Cons while joining the source tables in data federator
    And While joining the DF target tables in universe designer.
    Regards,
    Gana

    Hi,
    1. I have created target tables based on source tables with one to one mapping and then join all target tables in universe.
    Ex: Source tables: Infocube text tables, fact tables and 3rd party data base table
    Target tables:Target tables are same as source tables
    --- Yes this is the way to create target Tables  and join them in the universe.These target Tables gives you the flexibility  like in future your requirement is to add one more object based on some calculation which is not possible in the universe so that time you can create  one more column in the target table and do the calculation. at the same time if you are using source table you can not do anything.
    2. Created single target table with all objects of source tables and merged all sources tables data.
    Ex: Source tables: Infocube text tables, fact tables and 3rd party data base table
    Target table: Single table.
    --- This is bit complex structure to merge all tables data in the one target table.in this situation you have to put more efforts and it is more complex.basically this type of target table is useful when you are merging data by multiple source into single  or  creating one target table based on the  union of tables by adding two mapping rules or more and you can not join tables in universe.
    Better approach is first 1. create target tables based on the source tables and join them in the universe.
    Thanks,
    Amit

Maybe you are looking for