Text breaks / hyphenations – no break?

Hey, I am curious if there is a way that InDesign can format text boxes so there are no hyphenated words at all. I understand that i can manually select words and format "no break" in the text formatting options, but is there a way to do this for every word in the text box? I'm asking because I have a very large document and any changes to the size of text boxes, for instance, neccessitates me to go to every word that's breaking with a hyphen and choose "no break." It seems like there has got to be a less tedious way to do this…
Thanks so much,
Quin

Hey Peter (and Willi)
I've tried to figure out how to do this but somehow I can't get the style to work. I've tried playing around with a paragraph style I've created called "variety/species listing" to set the first line as Garamond, Bold 16 and the second line as Garamond, Italic, 16 – and I'm enclosing images to illustrate how no matter how I set the styles, it continues to display the text as Garamond, Bold, 16.
I've also tried breaking links to the style and then reapplying it. Images enclosed (how the "variety/species listing" style is being applied is illustrated in the first two lines of the final image).
Any advice?
-Quin

Similar Messages

  • Non-Breaking Hyphen in MIF String ?

    I'm using a spreadsheet (LibreOffice Calc) to generate the MIF for a Framemaker table: Paste in lines of tab-separated part_numbers and descriptors, copy out raw MIF that opens in Frame as a 3-column table with callout#, part_number and descriptor, each having a unique Xref Marker with marker text based on the p/n & descriptor. It works (including escaping any Frame-special chars in the descriptors), except for one extra feature I'd like to have.
    I'd like to make all dashes in the part-numbers into non-breaking hyphens (\x15). Using the Calc function SUBSTITUTE, I can change any character to any arbitrary string. Part numbers may have zero or more dashes.
    So for raw string 123-456A, where "-" is an NBH, I'd generate:
    <ParaLine <String `123-456A'>
    According to the MIF(7) reference, either of these MIFs should work:
    <ParaLine <String `123\x15456A'>
    <ParaLine <String `123<Char HardHyphen>456A'>
    They don't.
    They both throw a parsing error on open in Frame.
    This doesn't work either:
    <ParaLine <String `123\\x15456A'>
    It ends up as a literal \x15 in the final table.
    This Calc function doesn't work either (where decimal 21 is hex 15):
    =SUBSTITUTE($RawData.A3;"-";"CHAR(21)")
    The character doesn't survive copy and paste through a plaintext editor, even if a raw 0x15 is valid MIF (which it may not be).
    This is FM7.1 Unix, so I can't use the Unicode code point for an NBH (this is the suggest route for MIF8 or later).
    The following MIF is valid, but may require more parsing of my strings than I care to invest in:
    <String `123'><Char HardHyphen><String `456A'>
    I could use:
    =SUBSTITUTE($RawData.A3;"-";"'><Char HardHyphen><String `")
    If I were sure that no partnumbers began or ended with a dash.
    Any other ideas?

    <String `123\x15456A'> parse fail
    <String `123 \x15 456A'> nbh, but leading space (fail)
    <String `123\x15 456A'> nbh, no spaces, works perfectly, thank you
    Amusingly, if you re-save the same document as MIF, Frame(7) re-codes the nbh as:
    <String `123'>
    <Char HardHyphen>
    <String `456A'>
    ... as does MIF9, saving as MIF9,
    even though the MIF9 reference says that as of MIF8, HardHyphen and 9 of its pals are no longer represented by name - use the UTF-8 code points. I'm guessing that intended policy change had some unintended results.

  • Forced return, non-breaking hyphens & spaces, suppress hyphenation + XML

    Forced return (linefeed), non-breaking hyphens and spaces, suppress hyphenation.
    None of these are preserved when exporting from FrameMaker to XML, since they do not seem to be represented by a Unicode code point. My question to you is: How do you deal with those things in XML?
    The last issues (non-breaking and suppress hyphen) have recently been brought up in:
    http://forums.adobe.com/thread/450363
    http://forums.adobe.com/thread/459503
    Forced return is a common thing in many FrameMaker documents to improve readability of certain phrases.
    For export of FM to XML, there have been proposals to use a special element with a prefix just to capture the special FrameMaker symbol. It works, and may be a valid useful path in certain cases, but I think that it is a questionable way of dealing with it for several reasons:
    It is only relevant for roundtrip, since these special elements will hardly be interpreted by other XML tools, which of course limits the value of XML export.
    It is unwieldy, to say the least, to require the user to insert special elements for saying simple things that otherwise are just natural key strokes in the regular text flow, and which are not perceived as structural elements of information. Most users would think of these symbols/charactes as control characters, and there is no validation warning that says you may not use these characters/symbols.
    An element is used for formatting purposes only, whereas all other elements are used for content or structure.
    There is no automatic way of transforming an existing text that has these "symbols" into some special element when a document is structured with a conversion table.
    There is no automatic way of transforming a structured FM document to XML such that these special "symbols" get translated to some suitable XML construct.
    If the last point could be solved, i.e if all those control characters or markers could automatically be translated to a suitable XML representation, then I would consider the whole issue as solved, otherwise not.
    Even without FrameMaker, how do people deal with these things in "pure xml". For instance, when XML is used for publishing (which I know Arnis Gubins is doing), there will guaranteed be a need to control both hyphenation and line breaks. So how do you (they) do that?
    How do other vendors cope with these issues, e.g XPP?

    Lynne,
    As anyone can see, entity declarations have not really been in the domain of my expertise (understatement), but I might just learn bits and pieces...
    Thanks! I have now done some more reading in various pdfs, such as scructapps etc, but also the w3c xml spec, all of which I have "read" before, but reading is not always the same as understanding...
    I now have used the "entity approach" to make both discretionary hyphen and suppress hyphen work, so that it is represented in the XML export and round-trips just fine.
    Forced return still puzzles me somewhat though: I have a working solution for that using the same entity approach, but it will not work for text ranges (although it is a bit odd to have forced returns in text range elements). Moreover, I am not certain that it really is the best way. In reading other posts on this issue, I have seen that some people want forced returns to really be linefeeds in the xml output, with no other linefeeds, and conversely, when importing xml that are "formatted" in lines, such as code, they want to preserve that.
    One  way to achieve that is to use:
         reader line break is forced return;
         writer line break is 1000 characters;  (or more characters)
    Then it is completely symmetric (i.e works also if some other app has generated the xml with intentional line breaks. And this method is global for all elements, and it works for me.
    Another way to achieve this is to use the following, but it is only valid inside an element:
         preserve line breaks;
         writer line break is 1000 characters;
    Then it is also completely symmetric (in the above sense), and it works for me.
    The latter method has the drawback that it only works for text in the element; it is not inherited to its children.
    But if we look at only one element, what is the difference between the two methods?
    As far as I have been able to see, the results are identical! Why two methods? The first one seems more powerful and general(?)
    Scrutinizing the documentation though, it says that 'preserve line breaks' will add an attribute 'xml:space', but I can't see that in my output?
    Also, concerning the documentation for line break, it says that FM would ignore line breaks when exporting, but it does NOT do that (fortunately). Forced returns always result in linefeeds, no matter what.
    I would be thankful if these issues could be explained, or elaborated.
    Also, would you recommend against any of these methods?
    With my preferred method of using the global 'reader line break is forced return' instead of a local (or many local) 'preserve line breaks', there is of course the danger that when importing xml, it is absolutely necessary that the xml really only has line breaks where they are intended, and not generated every 80 characters or so!
    Is there anything that says it is "ugly" or "bad style" to honor line breaks, and generate long lines?
    Finally, why do we need to limit the number of characters written in one line these days? Why 80, why 1000, why not an unlimited number of characters!?
    Will software these days really crash if given a very long line (assuming that it doesn't exceed total ram memory of course)?
    Sorry about so many questions, but I can't find any answers to them in the docs I have read and searched.

  • Automatic Non-Breaking Hyphen

    Hi,
    Is there a way to make InDesign CS5.5 to automatically use a non-breaking hyphen when I paste a bunch of text with regular hyphens in it?
    Or, is there a way to tell it to treat a regular hyphen in the middle of the word as if it were a letter; that is not to break up a word with a hyphen in it when Hyphenation is turned off?
    Thanks.

    Manually: Use Alt+Command+Hyphen to manually insert a non-breaking hyphen (... I use it all the time on Windows but can't recall the Win key combo! ).
    On a text selection: Use Find/Change on your selected text to change all hyphens to non-breaking hyphens. See the Change Text dropdown menu for the code for a non-breaking hyphen.
    Alternatively:
    Add a GREP style to the paragraph style(s) you are using for your text that applies a character style specifying "No Break" on the regular hyphen, which is simply this single character
    in the To Text field of the GREP Style list.

  • Why won't InDesign break hyphenated words at the hyphen?

    Why does InDesign not break hyphenated words at the hyphen?
    For example: "empty-handed".
    InDesign will break either "empty" or "handed" on either side of the hyphen. But not right at the hyphen, even if "empty" and "handed" are each set to No Break.
    Anyone know why?
    The hypen is typed in normally using the hyphen key on the keyboard.
    If I type a space after the hyphen, InDesign will break there, of course: "empty- handed"
    InDesign will break at an en-space: "empty–handed".
    But I prefer not to have to type a space or insert an en-space or other characters because I also need to export text to ePUB and want only the actual text.
    Correct break (if needed) at end of a line should be:
    . . . empty-
    handed . . .

    There is no reason why InDesign should avoid breaking hyphenated words at the hyphen. That's the preferred break location.
    This must be a bug.
    Evidence:
    When I turn Hyphenation OFF for a paragraph that contains a hyphenated word (such as my example, "empty-handed"), the hyphenated word is correctly broken at the hyphen (if needed at the end of a line). But when I turn hyphenation back ON, the word will not break at the hyphen.
    See the two screenshots below.
    1) Hyphenation is ON. "Empty-handed" is unbrokenat start of Line 3, yet line 2 is very loose, with room to fit "Empty-":
    2) Hyphenation is OFF. "Empty-handed" is broken at the end of line two, at the hyphen (resulting in better word spacing).
    By the way, the other settings in this Hyphenation dialog don't affect this issue. I tried changing them all, with no different result relating to the break at the hyphen.

  • Non-breaking hyphen not displayed correctly

    The non-breaking hyphen (\u2011, &#8209) is not displayed
    correctly - the wrong glyph is shown.
    To reproduce, do the following:
    1. Start the TLF demo editor
    http://labs.adobe.com/technologies/textlayout/demos/
    2. Import the markup below
    Results:
    - Line wrapping is correct: no line break at the hyphen
    - Times New Roman on Windows does have the glyph defined - it
    should look like an ordinary hyphen.
    This was seen in Build 3291.
    Cheers
    David
    Markup:
    <?xml version="1.0" encoding="utf-8"?>
    <flow:TextFlow whiteSpaceCollapse="preserve" xmlns:flow="
    http://ns.adobe.com/textLayout/2008"><flow:p
    marginRight="5"><flow:span fontSize="60">
    2011 non-breaking hyphen Macro‑media
    </flow:span></flow:p></flow:TextFlow>

    Hi Chris,
    you're right, Times New Roman does not contain the glyph. I
    was seeing 2013 whlie I type 2011 -- my mistake, sorry.
    However, it's a pity non of the OTFs implement this glyph
    (also Myriad Pro doesn't, for instance). Open Office 3 seems to
    replace it by a hypen (which is greyed), and InDesign CS4 also
    seems to replace the character and does no word-wrap at this
    position.
    Of course it would be very convenient if Flash could handle
    it the same way..
    Btw, character map is the same as my "chart table
    application", at least it's my translation from the German
    "Zeichentabelle". :-)
    So, sorry again for the confusion...
    david

  • Non-breaking hyphens

    Non-breaking hyphens in WebHelp do not work (the hyphenated
    work breaks at the end of the line) when the help system is
    displayed in Internet Explorer, although they work fine (keeps the
    hypenated word together) when displayed in another browser such as
    Mozilla Firefox. Is this a known issue with IE?
    The code that RoboHELP inserts for a non-breaking hyphen is
    <symbol name="Nonbreaking
    Hyphen"><!--begin!kadov{{-->&#45;<!--}}end!kadov-->.
    Thanks for any clues you can provide.

    pamz109 -
    Welcome to the forum. The built-in RHtml editor is known to
    take these kinds of liberties with your code, and you really do
    need to see a "&#8209" in there, or perhaps, just the html
    entity itself. This is where you might consider using DreamWeaver
    as your default editor. It won't change your code like the native
    editor (or FrontPage, for that matter) does.
    The alternative is to use a search-n-replace tool (like
    ReplaceEm) to process the
    files after generation.

  • Export non-breaking hyphen to XML

    Hi,
    Using (still) Framemaker 8, Structured. I have documents that use the non-breaking hyphen. I would like to save these to XML, then use XSLT to translate the documents to a new form. When I encounter the non-breaking hyphen I would like to translate the non-break hyphen to a reagular hyphen.
    What code(s) should I be looking for in the regular expression?
    Thanks,
    - m

    Matt,
    If you talk about regular expressions I assume you want to post-process the XML using XSLT 2.0?
    Anyway, the non-breaking hyphen (entered as Esc - h) is a valid Unicode character and should appear in your XML as character &#x2011; – at least it does so using FrameMaker 9.
    - Michael

  • Are there non-breaking hyphens in Pages '09?

    In some programs, like Adobe InDesign, you can do a find and replace for "regular" hyphens and replace them with non-breaking hyphens. Is this an option in Pages? I don't see anything like that described in the Help file.
    Thanks,
    Richard

    as I insert the character it seems to alter line interspacing from the previous line.
    That may indicate that the font you are using does not contain 2011, so another font with different vertical metrics gets used instead. You can see which fonts contain this character by selecting it in Character Viewer and looking in the Font Variation pane there.

  • How to handle non-breaking hyphens on translation to XML

    Hi,
    I have a document that uses non-breaking hyphens in some places and hyphens in others. I think they were trying to stop line wraps from happening in certain cases.
    Anyway, now I need to save these files as XML. I believe I need a 'reader character map is 0x2D = 0x??;' statement in my ReadWrite Rules.
    Problem is I don't know what ESC - h equates to in hex so I can fill in 0x??
    Anyone know the hex value for the non-breaking hyphens?
    Thanks,
    - mike

    Mike,
    I do not know the answer to your question, but I handle nonbreaking spaces and nonbreaking hyphens with elements. That is, I define an empty element for each one in my EDD; the EDD inserts the appropriate character in FrameMaker. When exported to XML, these elements become simply empty elements but with names indicating their purposes. Import back into FrameMaker allows the EDD to insert the appropriate characters. Nothing needs to be done in the read/write rules. Of course, if the XML is to be processed by some other application, then the other application needs to convert these elements into spaces or hyphens for its use.
    This solution may not work in your situation.
    Van

  • Need help understandin section breaks or page breaks

    Hi there, was hoping I can gain a better undersrtanding of how to use section breaks and page breaks.
    I have typed several reports while using apple pages.  I click on the VIEW button on upper left corner and all the pages appear to run continously. I do not want that to continue to happen. How can I make each and every page its own page.  I have done it once years ago and have observed a this fine line below each page under the view option so that I may move or rearragne pages. Can someone please help?
    dee

    Pages 5.1 only lets you delete Sections, you can't drag them into place.
    You can Menu > Insert > Section Break on the bottom of every page or
    Setup > Document > uncheck Document Body which will delete all yout content in teh Document Body
    or Better still use Pages '09 which should still be in your Applications/iWork folder.
    Peter

  • Selecting Hebrew text uses incorrect line breaks

    On both an iPhone and an Android device running the latest version of Adobe Reader (10.4), as well as in Adobe Reader XI on a Win7 laptop, using the text selection tool to select Hebrew text is inaccurate. Often the line breaks are incorrect due to the RTL nature of Hebrew text. Also, at times, words are skipped entirely within the text selection region.
    I have tried this with multiple documents prepared by different PDF tools.
    Has anyone else foudn a way to make text selection work correctly with Hebrew PDF files?

    On both an iPhone and an Android device running the latest version of Adobe Reader (10.4), as well as in Adobe Reader XI on a Win7 laptop, using the text selection tool to select Hebrew text is inaccurate. Often the line breaks are incorrect due to the RTL nature of Hebrew text. Also, at times, words are skipped entirely within the text selection region.
    I have tried this with multiple documents prepared by different PDF tools.
    Has anyone else foudn a way to make text selection work correctly with Hebrew PDF files?

  • Hiding a non-breaking hyphen

    I'm updating an edit from 2009 and cannot fathom how I managed to make a hyphen not show.  d-oh!
    I have applied a modified text animation "fly out by words" preset to a string of words.  These fly towards camera in apparent 3D.  Hyphenated words will stay grouped.  Those not hyphenated will animate independently. 
    In 2009 I found a way of concealing the hyphen so the joined words appear unhyphenated.  AE will not permit me to select no fill to both outline and fill, and I cannot adjust transparency to a single character. 
    Help!  I cannot recall how I did this 5 yeas ago.
    I would also like to add a depth of field effect to the camera so that the text flies into focus.  The issue is that this is a 2D effect creating the allusion of 3D - so the text reminds in one plane.  Any bright ideas of how to fake DoF would be welcome.
    Thanks in advance.

    To enable Depth of Field you need to add a camera. You don't have to animate it, just add it. There's nothing to it.
    If you want to fake it you can add an expression to the blur radius of something like Camera Lens Blur. If your expression divides the Z position of the layer by some factor then the farther away the layer is from Z = 0, the  more blurry it gets. Throw in an if statement to fix the problem that happens when you get negative numbers and you've got something like this:
    z = position[2];
    iris = 4;
    if (z >= 0)  {
         b = z/iris}
    else
    b = z/iris * -1
    z is the position of the layer in Z
    iris is something like the aperture of the lens. 4 seems to give some nice results when the layer moves about 500 pixels in Z. Iris works like the aperture on a camera 4 gives a shallow depth of field 16 gives a deeper depth of field just like a camera lens.
    The if statement says if Z is greater than or equal to zero then divide the z value by the iris value, but if the z value is not greater than or equal to zero, in other words, divide the z position by the iris value and then multiply that number by negative one to turn it to a positive value.
    EZ PZ. You could class up this expression by adding an Expression Control Slider and making iris = effect("iris")("Slider");
    If you use a slider you will have to be careful to not set the slider to zero or animate the value to zero of you'll get a divide by zero error. You could also fix that by modifying the expression with an if statement.
    Here's an animation preset from my collection:  fakeDOF.ffx

  • In MS Word, it is possible to prevent tables from breaking at page breaks.  So, if a table, when populated with data gets too big for the spae allotted on one page, the table will move in its entirety, to the next page. Can this be done in "Pages"?

    I am trying to figure out ow to prevent tables from breaking along a row when there is a page break in "Pages".  This is done in MS Word by going under Table properties under "Rows".   I have a document with small three row tables and I want to keep the tables together and move to the next page in its entirety when there is a page break.  Help!

    The table that I don't want to break between rows looks like this, except it fits the width of the page:
    quilt name
    picture of quilt      
    source
    Size: XX; Difficulty Level: 3
    I inserted a Inline Text box into the document, copied the table inside the text box, then pasted it through the document (which lists quilting projects).  When the table spans a page break, even when in an inline text box, the picture which is in the right hand column splits, as well as the information pertaining to the particular quilt.
    Jerry - thank you for your help.  I tried to give you a "solved my problem" rating, but I am adjusting to the Mac slowly after 20+ years on a PC.

  • Where in the icx tables are price break and price break quantities stored?

    I am trying to build a query from the icx tables that will show me all the BPA line price breaks and quantities.
    I cannot seem to find any documentation on what is specifically is extracted from the BPA lines when an internal catalog build is performed. I am able to validate that in iP, the price breaks are being taken into consideration when I create Requisitions with various quantities, but I do not know where iP is storing this information. Perhaps the data isn't stored and is taken from the core app po_line_locations_all table at the time the requisition is being created?
    I have a BPA, line 27, that has multiple price break lines.
    select rt_item_id, price_type, contract_num, contract_line_num, allow_price_override_flag, not_to_exceed_price, value_basis
    from apps.icx_cat_item_prices
    where contract_num = 'xxxxxx' and contract_line_num = '27'
    and price_type = 'BLANKET';
    All I could find when running this query was the price break information for the first price break line, none of the other price break lines.
    If anybody knows where the documentation is that tells me exactly what is extracted from the core application BPA to the icx tables, I would be greatly appreciative. Even better, if someone already knows the answer to either 1) price break and quantity are not stored in icx tables or 2) they are stored and you have SQL that shows me how to find it, I would be so very appreciative to have this information.
    Edited by: user6287397 on Jan 24, 2009 6:40 AM

    I got the answer. :-)
    Price breaks details are not stored in any icx tables. iP retrieves the information based on the need by date entered on the requisition.
    Oracle support referred me to the Oracle® Purchasing Release 11i10 Open Interfaces and APIs.
    The java code - SourceDocHelper.java - is responsible to get the price information by calling the procedure po_price_break_grp.get_price_break (POXPRBKB.pls DefaultPricing ) For a given a Source Document (Quotation/Catalog), Quantity and Unit of Measure, this procedure derives the best price for the calling routine.
    The SQL used to get the price information that was sent to me is attached. Note that this SQL uses the need by date to get the right price in case of price break used at the distribution level.
    SELECT poll.price_override
    , round(poll.price_override * v_conversion_rate,
    l_base_curr_ext_precision )
    , poh.rate_date
    , poh.rate
    , poh.currency_code
    , poh.rate_type
    , poll.price_discount
    , poll.price_override
    , decode( poll.line_location_id,
    null, pol.unit_meas_lookup_code,
    poll.unit_meas_lookup_code)
    , poll.line_location_id -- SERVICES FPJ
    FROM po_headers_all poh -- FPI GA
    , po_lines_all pol -- FPI GA
    , po_line_locations_all poll -- FPI GA
    WHERE poh.po_header_id = p_source_document_header_id
    and poh.po_header_id = pol.po_header_id
    and pol.line_num = p_source_document_line_num
    and pol.po_line_id = poll.po_line_id
    and ( p_required_currency is null
    or poh.currency_code = p_required_currency )
    and ( p_required_rate_type is null
    or poh.rate_type = p_required_rate_type )
    and nvl(poll.unit_meas_lookup_code, nvl(p_unit_of_measure,
    pol.unit_meas_lookup_code))
    = nvl(p_unit_of_measure, pol.unit_meas_lookup_code)
    Change sysdate to l_pricing_date in order to use the Need By
    Date
    to determine the price.
    and (trunc(nvl(l_pricing_date, trunc(sysdate))) >= trunc(poll.
    start_date) -- FPJ Custom Price
    OR
    poll.start_date is null)
    and (trunc(nvl(l_pricing_date, trunc(sysdate))) <= trunc(poll.
    end_date) -- FPJ Custom Price
    OR
    poll.end_date is null)
    --Bug #2693408: added nvl clause to quantity check
    and nvl(poll.quantity, 0) <= nvl(p_in_quantity, 0)
    Determining the price based on ship-to-location and
    destination organization
    and ((poll.ship_to_location_id = v_ship_to_location_id OR poll.
    ship_to_location_id is null)
    AND
    (poll.ship_to_organization_id = p_destination_org_id OR poll.
    ship_to_organization_id is null))
    and poll.shipment_type in ('PRICE BREAK', 'QUOTATION')
    -- <2721775 START>: Make sure Quotation Price Breaks are Approved.
    AND ( -- ( poll.shipment_type IS NULL )
    ( poll.shipment_type = 'PRICE BREAK' )
    OR ( ( poll.shipment_type = 'QUOTATION' )
    AND ( ( poh.approval_required_flag <> 'Y' )
    OR ( EXISTS ( SELECT ('Price Break is Approved')
    FROM po_quotation_approvals pqa
    WHERE pqa.line_location_id = poll.line_location_id
    AND pqa.approval_type IN ('ALL
    ORDERS', 'REQUISITIONS')
    AND trunc(nvl(l_pricing_date,
    sysdate)) -- FPJ Custom Price
    BETWEEN
    trunc(nvl(start_date_active, sysdate-1))
    AND trunc(nvl(end_date
    _active, sysdate+1)))))))
    -- <2721775 END>
    order by poll.ship_to_organization_id ASC, poll.ship_to_location_id ASC,
    NVL(poll.quantity, 0) DESC,
    trunc(poll.creation_date) DESC, poll.price_override ASC; /*
    */

Maybe you are looking for