Applying a style only to selected text

In the latest version of Pages is there anyway to apply a style only to selected text and not to whole paragraph? Thanks.

Yes, use Character Styles.
Peter

Similar Messages

  • Script to apply a style to currently selected text

    I can only find example scripts that work on complete files. What I want, is a script that works on currently selected text.
    If I can create a macro that applies a specific paragraph style to all currently selected paragraphs, or a character style to currently selected text, I can put that style under a shortcut key.
    That way, "emphasis" or "strong" can be put under ctrl-b, for example.
    If there is another way to achieve the same (in RH 9), I would be interested to hear it as well.
    Kind regards,
    Erwin Timmerman

    I had a quick look at Macro Express, but it seems that it only records key strokes and mouse clicks etc. This means that it only works if I have the style pod constantly open (which I do), always in the exact same position, with the same filter styles selected, and with the same CSS loaded, positioned at the same location in the scroll bar.
    Am I correct in assuming this, or is there a better way to program it?
    I am not sure this would be possible all the time. What's more, this script should work across multiple computers with different layouts, and with writers who don't really want to hack to get it working.
    With character styles there would be the possibility to automatically switch to HTML view, cut, write <span...>, paste, write </span>, go back to design view.
    But paragraph styles? That would be harder to do in HTML view, especially for multiple selected lines.

  • How to apply TD style only to cells in one particular table

    The "schedtable" class below is applied to a nested table,
    but my syntax for
    the TD applies the rule to the outer table cells as well.
    What would the correct syntax be to limit the rule to only
    the cells in the
    "schedtable"
    Please take a look -
    <style type="text/css">
    <!--
    .schedtable {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-variant: small-caps;
    line-height: 2em;
    border-collapse: collapse;
    .td {
    padding-left: 10px;
    border-bottom-style: inset;
    border-bottom-color: #FF0000;
    border-bottom-width: 1px;
    Thanks

    I owe you one more Os,
    much appreciated.
    "Osgood" <[email protected]> wrote in
    message
    news:fp4fr0$7dq$[email protected]..
    > Ken Binney wrote:
    >> The "schedtable" class below is applied to a nested
    table, but my syntax
    >> for the TD applies the rule to the outer table cells
    as well.
    >> What would the correct syntax be to limit the rule
    to only the cells in
    >> the "schedtable"
    >>
    >> Please take a look -
    >>
    >> <style type="text/css">
    >> <!--
    >> .schedtable {
    >> font-family: Arial, Helvetica, sans-serif;
    >> font-size: 11px;
    >> font-variant: small-caps;
    >> line-height: 2em;
    >> border-collapse: collapse;
    >> }
    >> .td {
    >> padding-left: 10px;
    >> border-bottom-style: inset;
    >> border-bottom-color: #FF0000;
    >> border-bottom-width: 1px;
    >> }
    >
    >
    >
    > .schedtable td {
    > Blah: Blah;
    > }

  • Apply grep style only once

    I can't get my brain around what is probably a very simple problem: I want a paragraph style that applies boldfacing to any character up to an including the first colon in a paragraph. If I used  a nested style "through 1 :" the whole graf is bold if there is no colon. So that's out.
    A grep style ".+: " seems to work in most cases, but if there's a second colon, the boldfacing is extended to that point. What I think I want is a grep style that works "zero or 1 times" but I cannot figure out how to use the ? to make that happen.

    @Jongware – I think Robert wants to limit the GREP style to the first line of a paragraph.
    But unfortunately GREP in InDesign does not know about line endings.
    In scripting we could do something like what he wants, but comes with some obstacles, because the GREP will apply a character style, that will probably change the line ending. A very dynamic situation…
    Example 1
    Basic situation:
    This is my text here comes the colon: and
    here another one: that Robert don't like
    to take into account using the GREP style.
    Formatted after  the GREP style is applied:
    This is my text here comes the colon: and
    here another one: that Robert don't like
    to take into account using the GREP style.
    As I understand it, in case that the first colon will leave line one, only the first line should be formatted like this:
    (Case 1)
    This is my text here comes the first
    colon: and here another one: that
    Robert don't like to take into account
    using the GREP style.
    Or should it be, that the style should only be applied, if it's in the first line?
    (Case 2):
    This is my text here comes the first
    colon: and here another one: that
    Robert don't like to take into account
    using the GREP style.
    But what, if the colon in the basic case is at the end of line 1 and will be shifted to line 2 after formatting?
    What should happen then?
    That is simply not possible to format automatically (dynamically) using GREP styles in InDesign.
    Uwe

  • How do I apply a style to the rich text editor in 10.1.2

    I am trying to add text items to a portlet. How do I maintain the style for item text?

    that implies to constrain the styles in the RTE (instead proposing too much choices : font, size etc..)
    A method:
    customize the RTE by reducing the styles to a choice between standard HTML styles (header 1, header 2, body text, paragraph,..).
    Then map these styles to the css styles propsed by Portal.
    As a sample, get all the css from your portal by typing:
    http://<you.machine>/pls/portal/PORTAL.wwv_setting.render_css?p_lang_type=NOBIDI&p_subscriberid=1&p_styleid=12&p_siteid=0&p_rctx=P
    for RTE customizing: http://www.oracle.com/technology/products/ias/portal/pdf/cm_rte_10gr2_features.pdf
    Patrick.

  • Applying Adjustment Layers Only to Selected Layers

    How do I make adjustment layers 1 & 2 apply to all layer below them,
    but have adjustment layers 3 & 4 only apply to the indented layers
    below them -- layers 4, 5 & 6? That is adjustment layers 3 & 4 should
    apply to layers 5 & 6 but, not apply to the background layer.
    Adjustment layer 1
    Adjustment layer 2
    Adjustment layer 3
    Adjustment layer 4
    Image/content layer 5
    Image/content layer 6
    Background layer

    On Wed, 2 Apr 2008 20:14:48 -0700, "Andrei Doubrovski"<br /><[email protected]> wrote:<br /><br />>Jim,<br />>- Put the layers 3,4,5, and 6 into group<br />>- set the group's blending mode to "Normal"<br /><br />Andrei<br /><br />I don't know how to set the blending mode for a group, but the<br />blending mode for layers 3-6 is normal.<br /><br />When doing this the adjustment layers are still applied to the<br />background layer.  For example, if layer 3 is a color balance<br />adjustment layer this color change applies to all layers below it<br />including the background.  This is what I'm trying to prevent.

  • Apply Nested Styles Script not working for me anymore

    //DESCRIPTION: Applies nested styles as directly applied character styles.         WARNING: This script will override any character styles which are directly applied to the text with the nested styles applied, and formatting might change!
    (function(){
         function IsValid (obj){
              var err;
              try{
                   if(!obj){return false}
                   if(kAppVersion>=6){
                        return obj.isValid;
                   var test = obj.parent;
                   return true;
              catch(err){return false;}
         function ResetFindPrefs(){
              if(kAppVersion<5){app.findPreferences = null;}
              else{app.findTextPreferences = null;ResetFindChangeOptions();}
         function ResetFindChangeOptions(){
              app.findChangeTextOptions.properties = {
                   includeLockedStoriesForFind:false,
                   includeLockedLayersForFind:false,
                   includeHiddenLayers:false,
                   includeMasterPages:false,
                   includeFootnotes:false,
                   wholeWord:false,
                   caseSensitive:false
         function GetTempColor(doc){
              for(var i=0;i<doc.swatches.length;i++){
                   if(doc.swatches[i].label == 'harbsTempColor'){return doc.swatches[i]}
              return doc.colors.add({label:'harbsTempColor'});
         function GetAppColor(colorName){
              for(var i=0;i<app.swatches.length;i++){
                   if(app.swatches[i].name==colorName){return app.swatches[i]}
              return null;
         if(app.documents.length==0){return}
         kAppVersion = parseFloat(app.version);
         var doc = app.documents[0];
         if(kAppVersion<5){
              var charStyles = doc.characterStyles;
         }else{
              var charStyles = doc.allCharacterStyles;
         var tempDocColor = GetTempColor(doc);
         var colorName = tempDocColor.name;
         var tempAppColor = GetAppColor(colorName);
         var removeAppColor=false;
         if(!tempAppColor){
              removeAppColor=true;
              tempAppColor=app.colors.add({name:colorName})
         for(var i=1;i<charStyles.length;i++){
              var savedColor = charStyles[i].underlineGapColor;
              var finds=undefined;
              var findsLength=0;
              do{
                   if(finds){findsLength=finds.length}
                   charStyles[i].underlineGapColor=tempDocColor;
                   ResetFindPrefs();
                   if(kAppVersion<5){
                        app.findPreferences.underlineGapColor = tempDocColor;
                        app.changePreferences.appliedCharacterStyle = charStyles[i];
                        doc.search("",false,false,'');
                        break;
                   }else{
                        if(kAppVersion<6){
                             app.findTextPreferences.underlineGapColor = tempAppColor;
                        }else{
                             app.findTextPreferences.underlineGapColor = tempDocColor;
                        app.changeTextPreferences.appliedCharacterStyle = charStyles[i];
                        finds = doc.changeText();
                        //alert(finds.length);
              }while(findsLength!=finds.length);
              charStyles[i].underlineGapColor=savedColor;
         tempDocColor.remove();
         if(removeAppColor){tempAppColor.remove()}
    This was a script to apply nested styles directly to the text as character styles.It was supplied to me by someone on this forum to help make a file adaptable to an epub doc. It has worked fine for many months but now it does not. I am wondering if the cause is that I have added two nested styles in the paragraphs, where before there was only one. The paras. are currently set up with nested styles as follows:[none] up to En Space, italic through 5 sentences.                  I am using 5 sentences because I can't figure how to use a para. end as a limiter. I know this is confused but any help will be appreciated. Thanks

    That looks like mine (and someone didn't follow my request on this page) :
    http://in-tools.com/scripts.html
    What doesn't work?
    You can PM me, and I'll try to figure out what's wrong...
    Harbs

  • How to apply effects to only a portion of a track?

    I recorded drums through a presonus firepod audio interface and my 2,16Ghz MacBook Pro on 4 different tracks.
    There are some parts on the tracks where i'd like to apply some effects (like am radio kind of effects) but i can't seem to apply it on only the selected part. It seems to apply to the whole track...
    Anyone wants to tell me how to do that?

    To further expand on John's advice...
    One way to do this with automation, is to send the outputs of your drum tracks to an Aux. Then set that Aux track as an input to another Aux track.
    Put the radio effect plug-in on that second aux track, and mute it.
    Using automation, you leave the first Aux track unmuted for the majority of the song, but when that section comes up, you unmute the second aux track, while you mute the first aux track. After the section passes, revert the mute status back to the way it was originally.
    Using automation, you can fine tune this so it becomes seamless...
    Just one of many ways to skin this proverbial cat...

  • JTextPane, Selecting Text and Applying Styles

    Hello,
    Anyone encounter this situation? I have a mini word processor application that I have written using the RTFEditor kit and a JTextPane. To change style, e.g bold, font size, font face, etc, one can select text and then click a button or select a menu item. That part works fine. The styles are primarily changed by using the Action classes provided in the javax.swing.text.* package.
    The problem is, that if a user selected text of more than one style, all of the text is automatically converted to the style of the first part of the text selected, without the user even eanting to change ANY style just yet.
    If anyone knows why this might be happening I would surely appreciate it.
    Thanks,
    acal

    Solution to the style appling problem...
    public void actionPerformed( ActionEvent e )
            if (flag) return;
            if(e.getSource() == boldButton)
                SimpleAttributeSet attrs = new SimpleAttributeSet();
                attrs.addAttribute(StyleConstants.Bold,boldButton.isSelected());
                applyStyleToSelection(attrs);
                editorPane.grabFocus();
                return;
    public void applyStyleToSelection(AttributeSet attrs)
            int start = editorPane.getSelectionStart();
            int end = editorPane.getSelectionEnd();
            DefaultStyledDocument doc = (DefaultStyledDocument) editorPane.getDocument();
            doc.setCharacterAttributes(start, end - start, attrs, false);
            StyledEditorKit styled = (StyledEditorKit) editorPane.getEditorKit();
            MutableAttributeSet mas = styled.getInputAttributes();
            mas.addAttributes(attrs);
        }Filipi Silveira
    [email protected]

  • Select text based on format (free form style text)

    As suggested by Apple, I'm trying to create my first ePub using Pages as opposed to inDesign.
    I only have a PDF as a source file and don't want to re-type all the text.
    When I copy the text from the PDF and paste to Pages, the text comes in with the 'free form' style applied no matter what options I select during copy and paste.
    In order to produce an ePub, I need to set styles for the text. This is quite tedious.
    Is there any way to select text based on the way it is formatted when styles are not applied to the text?

    Here is a script which may be useful if your problem surface again.
    --{code}
    --[SCRIPT words_attributes_to_Style]
    Enregistrer le script en tant que Script : words_attributes_to_Style.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    Ouvrir un document Pages contenant des mots soulignés
    Aller au menu Scripts , choisir Pages puis choisir “words_attributes_to_Style”
    Le script appliquera :
    le style "Souligné" aux mots soulignés
    le style "Accentuation" aux mots en gras
    le style "Italic" (si vous l'avez créé) aux mots en italique.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: words_attributes_to_Style.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    Select a Pages document embedding underlined words
    Go to the Scripts Menu, choose Pages, then choose “words_attributes_to_Style”
    The script will apply :
    the named style "Underlined" to the underlined words
    the named style "Emphasis" to bolded words
    the named style "Italic" (assuming that you defined it) to italicized words.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/11/13
    2011/11/13 enhanced by Nigel Garvey in : http://macscripter.net/viewtopic.php?pid=145883#p145883
    --=====
    on run
              set Underlined_loc to my getLocalizedStyleName("Pages", "Blank.template", "STYLE_Underline")
              set Emphasis_loc to my getLocalizedStyleName("Pages", "Blank.template", "STYLE_Emphasis")
              tell application "Pages" to tell document 1
                        set character style of words whose underline type is single underline or underline type is double underline to character style Underlined_loc
                        set character style of words whose bold is true to character style Emphasis_loc
    Assuming that you defined your own Italic style named "Italic", you may use : *)
                        try
                                  set character style of words whose italic is true to character style "Italic"
                        end try
              end tell
    end run
    --=====
    Example
    set Heading8_loc to my getLocalizedStyleName("Pages", "STYLE_Heading 8")
    Requires :
    getLocalizedName()
    on getLocalizedStyleName(theApp, tName, x)
      activate application theApp
              tell application "System Events"
                        (application file of application process theApp as text) & "Contents:Resources:Templates:" & tName & ":Contents:Resources:"
                        return my getLocalizedName(theApp, x, result)
              end tell
    end getLocalizedStyleName
    --=====
    on getLocalizedName(a, x, f)
              tell application a to return localized string x from table "Localizable" in bundle file f
    end getLocalizedName
    --=====
    List of default styles embedded in the Blank template :
    "STYLE_Body" = "Corps";
    "STYLE_Body Bullet" = "Puce du corps de texte";
    "STYLE_Bullet" = "Puce";
    "STYLE_Caption" = "Légende";
    "STYLE_Emphasis" = "Accentuation";
    "STYLE_Footnote Text" = "Texte de note de bas de page";
    "STYLE_Free Form" = "Format libre";
    "STYLE_Harvard" = "Harvard";
    "STYLE_Header & Footer" = "En-tête et bas de page";
    "STYLE_Heading 1" = "Sous-section 1";
    "STYLE_Heading 2" = "Sous-section 2";
    "STYLE_Heading 3" = "Sous-section 3";
    "STYLE_Heading 4" = "Sous-section 4";
    "STYLE_Heading 5" = "Sous-section 5";
    "STYLE_Heading 6" = "Sous-section 6";
    "STYLE_Heading 7" = "Sous-section 7";
    "STYLE_Heading 8" = "Sous-section 8";
    "STYLE_Heading 9" = "Sous-section 9";
    "STYLE_Legal" = "Légal";
    "STYLE_None" = "Aucun";
    "STYLE_Normal" = "Normal";
    "STYLE_Normal 22" = "Normal 22";
    "STYLE_Normal 4" = "Normal 4";
    "STYLE_Normal 8" = "Normal 8";
    "STYLE_Numbered List" = "Liste numérotée";
    "STYLE_Series_0" = "Series_0";
    "STYLE_Series_1" = "Series_1";
    "STYLE_Series_2" = "Series_2";
    "STYLE_Series_3" = "Series_3";
    "STYLE_Series_4" = "Series_4";
    "STYLE_Series_5" = "Series_5";
    "STYLE_Strikethrough" = "Barré";
    "STYLE_TOC" = "Table des matières";
    "STYLE_TOC Heading 1" = "Sous-section 1 de table des matières";
    "STYLE_TOC Heading 2" = "Sous-section 2 de table des matières";
    "STYLE_TOC Heading 3" = "Sous-section 3 de table des matières";
    "STYLE_TOC Heading 4" = "Sous-section 4 de table des matières";
    "STYLE_Title" = "Titre";
    "STYLE_Underline" = "Souligné";
    "STYLE_[Null]" = "[Nul]";
    You may use more sophisticated custom styles embedding several properties:
    baseline shift (real) : Raise or lower the target text.
    bold (boolean) : Whether the font style is bold.
    capitalization type (all caps/normal capitalization/small caps) : Whether a capitalization style is applied.
    character background color (color) : The color of the character's background.
    color (color) : The color of the font.
    font name (text) : The name of the font.
    font size (real) : The size of the font.
    italic (boolean) : Whether the font style is italic.
    ligatures (all ligatures/default ligatures/none) : Remove ligatures from the target text if the document is set to use ligatures.
    name (text) : The name of the style.
    outline (boolean) : Whether the font style is outline.
    shadow (boolean) : Whether the text box content casts a shadow or not.
    shadow angle (real) : The directional angle, in degrees, that the shadow is cast.
    shadow blur (integer) : The relative amount of blur of images seen through the shadow.
    shadow color (color) : The color of the shadow.
    shadow offset (real) : The offset from the text box content that the shadow extends to.
    shadow opacity (real) : The amount of opacity for the shadow, in percent.
    strikethrough color (color) : The color of the strikethrough line(s).
    strikethrough type (double strikethrough/none/single strikethrough) : Whether one or more lines are drawn through the characters.
    subscript (boolean) : Decrease the font size and lower the baseline of the text.
    superscript (boolean) : Decrease the font size and raise the baseline of the text.
    tracking (real) : The space between text characters, in percent.
    underline color (color) : The color of the underline(s).
    underline type (double underline/none/single underline) : Whether the font style is underline.
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) lundi 2 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Design View - Can't Select Text, Only Divs

    This is a page I did not build, and I hope I can describe this properly. Here's the published page -
    www.wheeltime.com
    I'm in CS4 and there are two things going on when trying to edit in design view. The first is I can't select text of content. Clicking to select said content, say a line of text or a word, selects and highlights the entire div container and all the content within in one big chunk. Why is DW not letting me select the actual content? This is the first time I've enver encountered this issue. 
    This is the same for all the div ontainers on the page. But another, perhaps related problem, has to do with this content area. In design view, there's a fixed height, so not only can I not select the content, but I can't see it all. It's OK in the browser, expands as it should. I've looked at all the properties anywhere and don't see any height attribute anywhere, especially those that enclose this area of content.
    One this that has be wondering - this content area is warpped in a "main-content" div, with a class applied. But this div has no corresponding entry or properties in the style sheet. I can see where a div can be used that has no specific properies of it's own, but is it OK to not be mentioned at all in the style sheet? And can this affect what's going on in design view editing?
    So, I guess the question is - what is governing this inability to edit in Design view?  Thank you in advance!!

    Have you tried double clicking the content?
    I'm not sure what causes this exactly, but I downloaded your page and ran it in my DWCS4. It did the same thing until I double clicked the content of the divs. That allowed me to select it without issue from that point on.
    It may have something to do with the content being wrapped in <span> tags within each <div>.
    Onto your other question, your <div id="main-container"class="container"> is being affected by the .container class in your style.css file rather than a #main-container id.
    EDIT: HTML id's like <div id="main-content"> serve to identify elements for many purposes, not just css. There is no problem with giving an element an id simply for organizational purposes, though usually they are used as targets for javascripts, css or php scripting purposes.

  • Can no longer select text in email template or read only field with mouse using IE or Firefox?

    Hi Guys,
    I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
    Thanks
    Dave
    David Kelly

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If those features work correctly, this points to one of your extensions or custom settings as the problem.
    To also disable plugins, you can use this page:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
    Any change?

  • Apply different styles to text within a Text field?

    I am working on an application that consumes a user-generated
    HTML file and displays it on part of a Flex screen. The main
    problem is HTML can look something like this (for example):
    Hello <span class="greeting">Mr. Smith</span>,
    how are you doing <span class="title>today</span>.
    Unfortunately, the Flex Text control only accepts a single
    style that is applied to all text within the control and the
    htmlText property only allows for very basic HTML markup and does
    not include support for applying styles to a part of the text.
    I've thought about creating a series of Text controls (each
    with its own style as needed) and putting them together in an HBox.
    However, this messes up word wrapping if the text exceeds the width
    of its container.
    Anyone have any ideas how to solve this problem?
    Thanks!
    Dustin

    Could you please elaborate your requirement since you can have different instances of synchronized text have different formatting.
    So your original menu can consist of various text blocks (marked with different content tags) and then duplicate them and apply different formatting to the copied text. The text is still linked and an update to one will get synced to the other.
    If you are looking at applying different styling to chunks of text within one textframe (marked using a content tag), THAT is not possible, since the tagged content is supposed to maintain integrity of text and not the associated styling (which you should be able to apply independently).
    Hope that makes sense.
    Cheers,
    Vikas

  • Applying paragraph styles to placed text

    I have a catalog document built  with with master pages and paragraph styles. The layout has a grid of  image boxes for product with a text box beneath for descriptions. The  text boxes should have style 1 applied to the 1st line, and style 2  applied to the following lines. Style 1 is applied to the text boxes in  the master, and has next style set to style 2 in the paragraph style  settings. This works fine when typing directly in the document, but I am  placing the text from a word document. When I place the text, InDesign  is just applying the default text settings instead of the correct  styles. Is there a way to get it to automatially apply the correct  styles, or will I need to manually set the styles?
    Using CS5
    thanks,
    Katie

    Part of your answer is very easy: after you've placed your text, select a few paragraphs, and then right-click on "style 1" and select "Apply Style, Then Next Style." That's how to use "Next Style" on text that you've placed.
    The other part of your question -
    When I place the text, InDesign  is just applying the default text settings instead of the correct  styles. Is there a way to get it to automatially apply the correct  styles, or will I need to manually set the styles?
    is a fair bit more complicated. If you're placing Word files, and all of the text in Word is styled with "Normal," then you'd probably need to manually set styles. If the text is in Word, but is styled carefully, then you can click the "Import Options" checkbox upon placing, and you can do all kinds of things to the file, including stripping all Word formatting & mapping Word styles to InDesign styles. If you have text in some other format, it may be possible to automate styling, but it depends completely on what you have to place. Raw text with XML tags? CSV files? RTFs generated by a translation memory tool? If you can post example files or screenshots, we may be able to figure out a way to smooth out this part of your workflow, depending on the materials with which you're working.

  • Apply certain css styles only when JS is enabled?

    I'm wondering if there's a relatively simple way to apply certain CSS styles only when JavaScript is enabled in the browser (and thus, not applied when JS is disabled)... I've created a jQuery-based image gallery, and I'd like to modify how it degrades by selectively disabling certain CSS styles...
    thanks for any direction here.

    Hi
    As your jQuery image gallery would not work correctly if javascript was disabled,. The better approach would be to enable the required css styles using jQuery, (the title says this, but your post says the opposite).
    To do this see the jQuery documentation regarding css, at -http://api.jquery.com/css/.
    PZ

Maybe you are looking for

  • Connecting my Ipod to a loaner computer

    My computer is down in the dumps and i need to create a playlist. can i connect my ipod to a loaner (friends) computer just to make a playlist? I dont want to plug in and accidently lose my music. itunes is not installed on the loaner computer.

  • What is my remote connection service? == Plug in went to wrong PS

    I by mistake deleted my remote plug in service in the plugin in photoshop CC and now don't know what to put in its place.  ==  alsol I bought a plugin and it won't run I think because it is in photoshop CS6 and when I looked it wants photoshop CC to

  • Making a 3D path (or how do i get Zdepth on a control point?)

    I'm sure this is either really simple or totally impossible: I want to draw a path, that has 4 control points. Control point #2 forms a 90degree angle between points 1 and 3 (no problem here). However I'd like to have Control point #4 "above" control

  • Boot camp not showing ''Create a Windows 7 install disk''

    So i am trying install windows 7 64 bit version on my 2008 macbook pro and i dont know if this is the problem or not, it doesnt show ''Create a Windows 7 install disk''. The other thing that i have not made clear is, when doing a windows 7 cd, do i n

  • Need help with Mac Pro purchasing decision

    I've read preliminary reviews on the new Mac Pro, and I'm ready to upgrade my current Mac Pro (which is Dual 2.4 Ghz Quad-core with 32 GB RAM).  But I'm going through some major turmoil in the decision.  My current Mac Pro, aged as it may be, has bee