retention of the words italic when you apply the paragraph style

When you place text in InDesign, I want to apply a paragraph style, but keep some (foreign) words in italics without having to search for each word and apply the italic character style. Texts are long and not originated by myself.

The most recommended book for beginners here on the forum is Visual QuickStart of Sandee Cohen for InDesign. The 'bible' in my opinion, for very advanced users is Real World InDesign.

Tags: InDesign

Similar Questions

  • Default fonts to 50 points when you apply a paragraph style

    I ran into this many times.  To update a file, InDesign from a previous version (now using CS5) when I apply a paragraph style, the default font is 50 points no matter the style settings.  Is it possible to avoid this.  Currently, I copy and paste the chart into a new file and have to set the text.  If I copy some old text, it causes the same problem.

    Most of our text is copied and pasted from Microsoft Word (old version and new text changes), however, the text that was already in the document and the new text both do the same thing when a style is applied.

    CS5

    Win 7 Pro 64-bit

    Your styles are based on standard paragraph, or is it an applied character style? If so, check to see if any of them have 50 as the size.

  • Why do the downtime when you apply a patch using opatch?

    Hello Experts,

    Version: 11.2.0.3

    Platform: OEL 5.5

    I would like to know why we need downtime when you apply a patch to a single instance using opatch database? Is it because the binaries get relinked after the patch?

    Thank you

    Satya

    2750208 wrote:

    Hello Experts,

    Version: 11.2.0.3

    Platform: OEL 5.5

    I would like to know why we need downtime when you apply a patch to a single instance using opatch database? Is it because the binaries get relinked after the patch?

    Thank you

    Satya

    Yes, most patches require a restoring links and who will be demanding the oracle process to stop.

    Aman...

  • Help! When you apply a filter "Fluidity" in the picture - objects of art.

    When you apply a filter " fluidity" in the picture - objects of art

    Front

    befor.jpg

    After

    after.jpg

    Hi AlexSecstasy,

    The problem with the Liquify Filter has been fixed in the latest update: Photoshop CC 2015.1.1. Learn more about the update here: keeping up to date of Photoshop

    Thanks for posting and your patience!

    Melissa

  • Automatic table row apply the paragraph style

    Hello

    I am new to scripting in Indesign. I would like to write a script to apply a paragraph on a line style in a table like this:

    1 search for the string 'XX' in a table

    2. when the 'XX' string is found, apply a paragraph style named "ParA" to the line that contains the string "XX".

    3. apply a cell style named "CellA" to the cell that contains the sting "XX".

    4. apply the style of paragraph called 'Service' to the string "XX".

    5 search for the string "XX" to the end of the table

    Can someone help me?

    Hi Syd,

    For the selected table, use the below a.

    var doc = app.activeDocument,
        _tables = app.selection[0],
        i, j, k, l, a =0, _rows,_cells, rowlen; 
    
    _rows = _tables.rows;
    for(k =0;k<_rows.length;k++)
    {
        _cells = _rows[k].cells;
        for(l =0;l<_cells.length;l++)
        {
            if(_cells[l].contents == "xx")
            {
                rowlen = _cells[l].parent.cells.length;
                a = 0;
                while(rowlen--)
                {
                      _cells[l].parent.cells[a].paragraphs.everyItem().appliedParagraphStyle = doc.paragraphStyles.item("ParA");
                      a++;
                    }
                _cells[l].paragraphs.everyItem().appliedParagraphStyle = doc.paragraphStyles.item("ParB");
                _cells[l].appliedCellStyle = doc.cellStyles.item("CellA");
                }
            }
        }
    

    Kind regards

    Cognet

  • Only able to do a line of text when you create a paragraph?

    Cannot do a single line of text. The return/enter key on transport does not create a new line when you build a paragraph? The cursor goes to the beginning or the Middle depending on the configuration of the justification.

    There are two things going on here. First of all, your attack, the distance between the lines, should be set to Auto or adjusted to the desired size. Second, if you click and drag a text box before you type AE ends automatically the text to fill the area as it does in Photoshop.

    I start by clicking on the small icon at the top right of the palette character and then select Reset the character at the bottom of the list.

  • Apply a paragraph style to the first cell in the first row of a table

    I want to apply a paragraph style to the first cell in the first row of a table.

    I use JavaScript with ID CS 5.

    Thank you.

    . aragraphStyles.itemByName ("NameOfStyle") .p appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.itemByName ("NameOfGroup")

  • Automatically apply "next paragraph Style...". "in place of the text

    I want to import an Excel (arrow) line 8 500 spreadsheet into InDesign and have it add the necessary number of pages and text related frameworks can flow text AND format her, lines spare in 1 2 paragraph styles. I can do everything until it automatically formatting the text. Paragraph Styles are set up for "Style of next paragraph...". "but it doesn't seem to work on the text. Can anyone help?

    I don't know if this can be done with a table, which is probably what you get from placing your excel file. A table Style might work.

    If you convert a table to text, however, you can select all, right-click on the name of the first style that you need in the paragraph styles Panel, and then choose apply and following style.

  • Script will not apply the paragraph style

    Hello

    I'm new to scripting in InDesign (CS3), and I'm trying to understand why the scipt below does not apply a style in the following text file? :

    < ASCII-WIN >

    < ParaStyle: Heading 1 > who are we? < ParaStyle >:

    For ease of reading, I have shortend the text file to just two lines.

    The script that I use to open and to format the text file is:

    Create a new document.

    myDocument var = app.documents.add ();

    Set the units of measure and the origin of the rule.

    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;

    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

    myDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;

    Get a reference to the first master spread.

    var myMasterSpread = myDocument.masterSpreads.item (0);

    Get a reference to preferences on the margins of the first page in the Master spread.

    var myMarginPreferences = myMasterSpread.pages.item (0) .marginPreferences;

    Now set up the page margins and columns.

    myMarginPreferences.left = 4;

    myMarginPreferences.top = 70;

    myMarginPreferences.right = 70;

    myMarginPreferences.bottom = 78;

    myMarginPreferences.columnCount = 2;

    myMarginPreferences.columnGutter = 14;

    The margins of page and columns for the right-hand page.

    var myMarginPreferences = myMasterSpread.pages.item (1) .marginPreferences;

    myMarginPreferences.left = 48;

    myMarginPreferences.top = 70;

    myMarginPreferences.right = 70;

    myMarginPreferences.bottom = 78;

    myMarginPreferences.columnCount = 3;

    myMarginPreferences.columnGutter = 14;

    Adding Master Page items

    var myMasterSpread = myDocument.masterSpreads.item (0);

    var myLeftPage = myMasterSpread.pages.item (0);

    var myRightPage = myMasterSpread.pages.item (1);

    var myLeftFooter = myLeftPage.textFrames.add ();

    myLeftFooter.geometricBounds = [70, 742, 728, 528];

    myLeftFooter.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myLeftFooter.contents = SpecialCharacters.autoPageNumber;

    myLeftFooter.parentStory.characters.item (0) .pointSize = 11;

    myLeftFooter.parentStory.characters.item (0) .leading = 14;

    var myRightFooter = myRightPage.textFrames.add ();

    myRightFooter.geometricBounds = [48, 742, 728, 542];

    myRightFooter.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myRightFooter.contents = SpecialCharacters.autoPageNumber;

    myRightFooter.parentStory.characters.item (0) .pointSize = 11;

    myRightFooter.parentStory.characters.item (0) .leading = 14;

    myRightFooter.parentStory.characters.item (0) .justification = Justification.rightAlign;

    Adding master text frames

    var myLeftPage = myMasterSpread.pages.item (0);

    var myRightPage = myMasterSpread.pages.item (1);

    var myLeftTextFrame = myLeftPage.textFrames.add ();

    myLeftTextFrame.geometricBounds = [70, 70, 714, 528];

    myLeftTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myLeftTextFrame.textFramePreferences.textColumnCount = 3;

    myLeftTextFrame.textFramePreferences.textColumnGutter = 14;

    Add a label to make the image easier to find later.

    myLeftTextFrame.label = "BodyTextFrame";

    var myRightTextFrame = myRightPage.textFrames.add ();

    myRightTextFrame.geometricBounds = [70, 48, 714, 542];

    myRightTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myRightTextFrame.textFramePreferences.textColumnCount = 3;

    myRightTextFrame.textFramePreferences.textColumnGutter = 14;

    Add a label to make the image easier to find later.

    myRightTextFrame.label = "BodyTextFrame";

    Link the two frames using the nextTextFrame property.

    myLeftTextFrame.nextTextFrame = myRightTextFrame;

    The substitution of Master Page points and adds text

    var myTextFrame = myDocument.masterSpreads.item (0).pages.item (1).textFrames.item (0) .override (myDocument.pag es.item (0));

    Add text by setting the contents of the insertion of a string.

    In JavaScript, "\r" is a return character.

    .silence myTextFrame.insertionPoints.item (0) = "dok\r";

    Adding and applying a paragraph Style

    var myParagraphStyle = myDocument.paragraphStyles.item ("title 1");

    try {}

    var myName = myParagraphStyle.name;

    }

    {} catch (MonErreur)

    //The style of paragraph don't have not exist, so create it.

    myParagraphStyle = myDocument.paragraphStyles.add ({name: 'Title 1'});

    }

    We need to create a color. Check if the color already exists.

    myColor var = myDocument.colors.item ("Green");

    try {}

    myName = myColor.name;

    }

    {} catch (MonErreur)

    //The color have not exist, so create it.

    myColor = myDocument.colors.add ({name: 'Green', model: ColorModel.process, colorValue:[100,0,100,0]});})

    }

    Now set the formatting of the paragraph style.

    myParagraphStyle.appliedFont = "Arial";

    myParagraphStyle.fontStyle = "Bold";

    myParagraphStyle.pointSize = 24;

    myParagraphStyle.spaceAfter = 24;

    myParagraphStyle.spaceBefore = 24;

    myParagraphStyle.fillColor = myDocument.colors.item ("Green");

    Apply the style to the paragraph.

    myDocument.pages.item (0).textFrames.item (0).paragraphs.item (0) .applyParagraphStyle (myParag raphStyle, true);

    You can also use:

    myDocument.pages.item (0).textFrames.item (0).paragraphs.item (0) .appliedParagraphStyle = //myParagraphStyle;

    Import a text file

    Display a standard dialog box open the file to select a text file.

    var monFichierTexte is File.openDialog ("choose a text file");.

    If you selected a text file, and if you didn't press Cancel,

    Place the file of text on the first insertion point after the title.

    If ((monFichierTexte! = "") & & (monFichierTexte!) (= null)) {}

    myTextFrame.insertionPoints.item(-1).place (myTextFile);

    }

    Place a graphic

    Display a standard dialog box open the file to select a graphic file.

    var myGraphicFile is File.openDialog ("choose a graphic file");.

    If you have selected a graphics file, and if you didn't press Cancel,

    Place the graphic file on the page.

    If ((myGraphicFile! = "") & & (myGraphicFile!) (= null)) {}

    var myGraphic = myDocument.pages.item (0) .place (myGraphicFile);

    //Since you can place multiple graphics at once, the place method

    //returns a table. For the graph you have placed, get the first

    //item in the table (beginning of JavaScript arrays with element 0).

    myGraphic = myGraphic [0];

    //Create a style object to apply to the graphic image.

    var myObjectStyle = myDocument.objectStyles.item("GraphicFrame");

    try {

    var myName = myObjectStyle.name;

    }

    catch (MonErreur) {}

    //The an object style have not exist, so create it.

    myObjectStyle = myDocument.objectStyles.add({name:"GraphicFrame"});)

    }

    myObjectStyle.enableStroke = true;

    myObjectStyle.strokeWeight = 3;

    myObjectStyle.strokeType = myDocument.strokeStyles.item("Solid");

    myObjectStyle.strokeColor = myDocument.colors.item("Green");

    //The frame containing the graphic is the parent of the graphic.

    myFrame var = myGraphic.parent;

    myFrame.applyObjectStyle (myObjectStyle, true);

    //Resize the frame to a specific size.

    myFrame.geometricBounds = [0,0,600,600];

    //Fit the graph in the image proportionally.

    myFrame.fit (FitOptions.proportionally);

    / / Next, mount the frame to the resized image.

    myFrame.fit (FitOptions.frameToContent);

    var myBounds = myFrame.geometricBounds;

    var myGraphicWidth = myBounds [3] - myBounds [1];

    //Move the graphic frame.

    var myPageWidth = myDocument.documentPreferences.pageWidth;

    var myTopMargin = myDocument.pages.item (0).marginPreferences.top;

    myFrame.move ([myPageWidth-myGraphicWidth, myTopMargin]);

    //Apply a wrap to the graphic frame.

    myFrame.textWrapPreferences.textWrapType = TextWrapTypes.boundingBoxTextWrap;

    myFrame.textWrapPreferences.textWrapOffset = [12, 24, 12, 24].

    }

    I hope someone can point me in the right direction.
    Thanks in advance.
    Ron

    Hey, Ron.

    The problem has nothing to do with your script. You can see if you attempt to place the file from indesign tagged text by hand.

    Your instinct for divide and conquer for debugging is a good - have a short text file to work with is very useful - of course this is also true for the script.

    During the validation of the scripts on the forum, please do not use the syntax insert > feature Java which lies behind the > arrow in the toolbar. Otherwise, cut and paste your script are difficult requiring manual corrections.

    Anyway, your problem is that each paragraph can have only a single paragraph style, and it's the last one that you define.

    So in your IDTT file, you set the heading 1 paragraph style, enter the content of the paragraph and then set the style of paragraph votes to zero.

    If you have included a line break before setting the style of paragraph votes to zero, you must set the None style for the following paragraph. But since you have not, it resets just the style to the current paragraph.

    In short: success back before .

  • WTH?  I have a gap in the text that I can't fill.  There is no hidden formatting that I can find, and I apply a paragraph style to text.

    WTH?  I have a gap in the text that I can't fill.  There is no hidden formatting that I can find, and I apply a paragraph style to text.

    I'm not well-versed in indesign, but what I've discovered, is that the box around the page number on the master was wrapping text, which was originally my text to break around her at the center bottom of the pages.  Problem solved, and amiellemiel is right.

  • Apply the Master Page by using the paragraph Style

    Hi all

    I am a beginner in the script. Learn the script through tutorials cs3 scripts.

    According to the paragraph style it automatically applies the master page.

    For example:

    Paragraph style = "CT".      To apply the Master Page = 'A-Master '.

    Paragraph style = "PT";       To apply the Master Page = "B-Master".

    These are the lines I'm working on:

    myDocument var = app.activeDocument;

    var myPStyles = myDocument.paragraphStyles.everyItem () .getElements ();

    myPage var = myDocument.pages.everyItem () .getElements ();

    for (i = 0; i < myPStyles.length; i ++)

    {

    If (myPStyles [i] .appliedParagraphStyle is "CT")

    {

    .appliedMaster myPStyles [i] = 'A-master. "

    }

    }

    Where I have error. Can someone help me solve this problem.

    Thanks in advance engineering...

    Try this one,

    var myDocument = app.activeDocument;
    var myParas = myDocument.stories.everyItem().paragraphs.everyItem().getElements();
    var myPage = myDocument.pages;
    for(i=0; i
    

    Good luck...

  • Color of the paragraph Styles is not overridden CS5.5.

    I have some documents and I have a few Styles to paragraph (PStyles) I load in the latest documents.

    I have some who are in fact PStyles within a Table. 2 small problems; I can live with the first:

    1. It does not actually load the PStyle formatted correctly;
    2. Once I have format the PStyle as I want, the PStyle coloring does not replace the text that I assign. For example I have orange text, I then choose PStyle 1 (orange), the font is changed to the correct font type but the color does not change.

    It is certainly a fault?

    Make sure that all of the text in the paragraph of style [none] has also defined as the style of his character. You could have a paragraph style with the filling of text defined on orange and a character style with a black fill applied to all the words in the paragraph. In this case, the text would be black.

    Alternatively, you can substitute the paragraph styles. If this is the case when the text is selected, a + sign appears in the paragraph Styles Panel, next to the name of the style.

  • Importing Word documents in CS5 - matter of paragraph Style

    Hi, we import Word documents in a model of CS5, removing the Word styles brings (spend a paragraph text or body base) but the text is coming in black 100% when we have defined in InDesign that 80% and then we find that paragraph Styles will not apply properly. Does anyone else have this problem? I tried it get around by copy - paste, but it still does, especially if I copy and paste into a table.
    If you have any ideas as to what's going on would be great.

    Check the window paragraph styles to see if you have local substitutes on the text (click in and see if the name of the style has a + next to him). If so, hold the Option key (Mac OS, maybe the ALT key on Windows) and click on the style name. That will erase the replacements the. You can also do the fly of the styles window.

    If you've already tried this, check the window character styles. Character styles will change the look of the paragraph styles, but they do not trigger the replacements the + indicator, because they are not considered to be a local override. You can apply the no character style if that's what the problem is, but it will apply to the text that you selected, unlike paragraph styles, where all you have to do is click in a paragraph.

  • Problem with the paragraph style "paragraph NET."

    I have a paragraph style with a paragraph in her net. There is something that I don't know what to do about it.

    When I hit 'back' to move a paragraph with this style, it leaves a rule in its wake. Here is a screenshot:

    Screen shot 2010-08-15 at 9.58.04 AM.png

    The title "Introduction" has a paragraph with a net of applied paragraph style. I put the cursor just before the word 'Introduction', press return, and it leaves a line in the previous line. Weird huh?

    Don't use not paragraph refers ALWAYS to put in place a space between paragraphs. Use the space before or after the space in the paragraph in withdrawal and spacing Style.

    If it's the beginning of a block of text and you want it to appear lower in the frame adjust them the object > text frame Options and give him a Medallion from the top. OR this way http://indesignsecrets.com/push-down-the-first-line-of-text.php

    The line of paragraph appears is because when you press back the paragraph he the same paragraph style, ergo the same paragraph style. To get rid of it, change the paragraph style from the paragraph above to something else.

    But you shouldn't really use back to add a space between paragraphs. Space before and after the space are much more effective.

    http://blogs.Adobe.com/indesigndocs/2009/05/5_typing_rules.html

    http://creativementor.com.au/adding-space-after-paragraphs

    http://help.Adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6dcea.html

  • Why apply a paragraph style let substitutions sometimes? How to prevent this?

    Sometimes when I apply a paragraph of a text style he chooses replace some attributes, making me have click on the button "ignore substitutions" constantly. If I tell indesign to apply a paragraph style why it assumes that my intention was not to implement also the font weight or other random attributes? I can't seem to find the reason for it or how to prevent it, your time and cause errors of formatting if I missed something. Any ideas? No style of characters used in the document.

    Thank you!

    If you want to remove manual replacements you must hold down the ALT key when you apply the style.

    And for the local formatting, you must use character styles.

Maybe you are looking for