Non breaking word or phrase

I have some long URLs, and I want to keep the whole url together so that it doesn't break from one line to the next. Is that possible?

You can try
Format > Document > Text Options
Allow Line Breaks After:
[ / - \= \m ]
and remove the characters at which breaks occur, probably including "/".
[ Apply ]

Similar Messages

  • Inserting non-breaking spaces between specific word combinations

    Hi all,
    I'm a bit of an InDesign novice, and need to work out an efficient way to automate a typesetting job. The story is that the work we're publishing is in the Maori language, and there are certain word combinations that are separated by spaces but need to be typeset so that they don't break across a line. When you import a doc file the line breaks can be anywhere, of course, and we've previously gone through and checked manually that all is well, with any changes that need to be made being done by hand (with changes cascading through the rest of the paragraph, of course). As you can imagine, this can be pretty time consuming, and it's all wasted if the client then asks for the font to be slightly larger etc.
    I'd like to help avoid this by running a script that finds and replaces the space between certain words with a non-breaking space. We're currently producing a list of the combinations where this will occur. Are you guys able to show me how to produce a script that will replace "word1[space]word2" with "word1[nbsp]word2", "word3[space]word4" with "word3[nbsp]word4"...?
    Thank you for any help you can offer!
    Stephen

    simplest way: use findChageByList script provided by Adobe.
    the syntax for the list should be like this:
    text[tab here not space]{findWhat:"word_one word_two"}[tab here not space]{changeTo:"word_one^Sword_two"}[tab here not space]{includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:true, wholeWord:true, caseSensitive:true, kanaSensitive:true, widthSensitive:true, ignoreKashidas:true, ignoreDiacritics:false}
    add as many lines as needed and adjust preferenecs to your likings.

  • 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.

  • 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.

  • Is there a Non Break space or Keep with?

    Is there a "Non Break space" or "Keep with next word"?
    In a data merge scenario some records need to stay together such as <<Year>>.<<Make>>  and Vin <<VIN>>
    Is there a character to keep these together?
    ID CS5.5

    You could make the spaces between them non-breaking, (rt-click > Insert White Space > Non-Breaking Space), or apply a no-break Character Style to the fields and the spaces between them.

  • 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.

  • Non breaking space

    Does anyone know how to do the equivalent of MS word's non breaking space.
    trying to use this to keep things like phone numbers (with embedded spaces) from being split across 2 lines when using dynamic templates.

    Hi John,
    The unicode characters are sent as 0xA0 in the PCL output.
    ie. A\u+00a0.B goes to the printer as A B where the space is really a char(0xA0) - Non Breaking Space.
    We have a HP4600DTN here and this code also prints (in PCL5) to HP8150 and HP8550 printers.
    If you want to check if the output from your Central is different (make sure there are no obvious driver differences) we can compare or test the output file from a simple template. By examining the PCL output from yours and mine we should be able to determine if the fault lies with the printer or the output generation process.
    Looking at the sample output you gave:
    0800 4 Tower(0800 486 937)email
    It appears you are dropping a space before the left bracket and a comma and space after the left bracket. Is this correct?
    Terry

  • Non-breaking space in Adobe Muse

    Is it possible to insert non-breaking space in Adobe Muse?

    Hi,
    There is no direct way or Muse-specific keyboard shortcut to insert a non-breaking space.
    On Mac, I was able to insert it using Unicode Hex Input keyboard layout (see http://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input). Non-breaking space is 00A0. I would expect the corresponding Windows method to work too.
    That said, Muse exports a setting (word-wrap: break-word) that allows word breaks at normally 'unbreakable' positions. I haven't tested it, but I have a feeling non-breaking spaces will be defeated by this setting. May I ask what your use case is?
    Thanks,
    Abhishek

  • Is the hair space non-breaking?

    I just started working with Khmer text in InDesign CS 5.5, and in order to use a Khmer hunspell dictionary for spelling I placed a hair space between words and applied a grep style of 1% horizontal width (because Khmer does not use spaces between words and InDesign doesn't think a zero-width space separates words like we normally do for Khmer).  Now I've run into a problem - it seems hair spaces do not allow for line breaks when using justified paragraph styles.
    Can anyone confirm that hair spaces do not allow for a line break?  And any suggestions on how to fix this issue?
    Thanks,
    Nathan

    I believe that all of the fixed-width spaces are non-breaking.

  • Missing the non-breaking space

    On a Powerbook G4 12". In both MS Word and Nisus Writer Pro the 'option+spacebar' combination that should produce a non-breaking space does nothing whatsoever. The option key works fine in other combinations but not that one. As it's across applications, I have to assume the glitch is in the OS or hardware someplace. I've turned off Function keys, turned them back on, nothing's made the slightest difference.
    And the thing is, I don't see this phenomenon on my G5 tower, running the same apps and same flavor of OSX.
    Has anybody encountered this oddity? It's just bloody strange.
    Thanks,
    gf

    I turned up a conflict: Both Input Menu and Spotlight were using the key combo of Command+space, and CommandOptionspace. While neither of these was exactly the option+space key combo, fixing the duplication eliminated the problem.
    Very interesting! Command + Space is an important shortcut for other things, and for it to mess up Option + space is a major bug.
    There are some cases where NBSP will not work at all:
    http://m10lmac.blogspot.com/2008/01/work-around-for-mails-nbsp-bug.html

  • Is there an add on to attach a hyperlink to a word or phrase

    Say you are making a comment on a web page or blog and want to attach a hyperlink to a word or phrase - is there an add on for Firefox to do this

    There might be an add-on for this. You could try searching [https://addons.mozilla.org/firefox/ the Add-ons site].
    This is a little more complicated than it may appear, though, because different sites use different mark-up codes for links. For example, this site works similarly to Wikipedia, but most forum sites use BBCode tags. Still others may allow pure HTML. Not sure about blogs (and any comment with a link may be held for moderation as an anti-spam strategy, so keep that in mind).
    What probably is simplest, if it's available, is to look for a link button above or next to the form you are commenting in. Then you can paste the URL of the destination page and be assured that the site will handle the formatting details.
    Does that help? Are there particular sites where you need this feature?

  • How to insert a non-breaking space in a reference page?

    Hello all,
    Is it possible to insert a non-breaking space in a reference page? I want to control the TOC numbering so that page numbers don't break at the hyphen:
    In my reference page, I have the following TOC definition:
    <$paratext> <$chapnum>-<$pagenum>
    Replacing the hyphen with \+ doesn't seem to work.
    Thanks!
    Sue

    Sue,
    The sequence \+ is used in dialog boxes. Try typing the nonbreaking hyphen as
    Esc hyphen h
    Press the keys in sequence. Do not hold the Esc key down while you type the others.
    A nonbreaking space is
    Esc space h
    OR
    Control+space
    Hope this helps,
    Van

  • Why can I no longer copy a word or phrase from a New York Times article with a right-click? To copy I have to go to the toolbar Edit|Copy.

    mouse right-click no longer allows me to select Copy of a word or phrase in a New York Times article. To copy I have to use the Firefox tool bar Edit|Copy.
    == URL of affected sites ==
    http://www.nytimes.com

    One or more of your add-ons could be affecting the right-click function. You did not list your extensions. Type '''about:support''' in your URL/location bar to see a list of your Extensions, modified preferences and other Firefox information.
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Install/Update Adobe Flash Player for Firefox'''</u>: your ver. 10.0 r32; current ver. 10.1 r53 ('''important security update 2010-06-10''')
    See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    -exit Firefox (File > Exit)
    -check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -double-click on the Adobe Flash installer you just downloaded to install/update Adobe Flash
    -when the Flash installation is complete, start Firefox, and test the Flash installation here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507&sliceId=1
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version of Flash. To install/update the IE ActiveX Adobe Flash Player, same instructions as above, except use IE to download the ActiveX Flash installer.
    *Also see: http://kb.mozillazine.org/Flash ~~red:'''''and'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • Non-Breaking Spaces in Structured FM9 Make a File Invalid

    Hi All,
    I'm working with Structured FrameMaker to author XML and I'm facing a problem that I've never had with FM 7.2: if I have a non-breaking space in a variable definition, when FM saves the file, it replaces the non-breaking space with the character code 0x11. I get the error message that states the file contains invalid characters. Worst of all, I can't reopen this file any longer with FM...
    Is there any solution or workaround? For me it's a crucial issue as it just doesn't allow me to continue using FM for XML.
    I'll appreciate any advice. Many thanks in advance,
    Alex

    Hi Michael,
    Thank you for answering. I installed the patch you mentioned, but it doesn't seem to work. The problem I describe still persist.
    Is there a way to make it work? It's very critical to us as this doesn't allow us to keep using FrameMaker...
    Thanks in advance,
    Alex

Maybe you are looking for

  • My Family ID account problem (blocked?)

    My husband made me and his mother a family aliases ID from the family pack back in 2000 (or so) After icloud was introduced we transferred all the account to icloud so they now work seperatly but yesterday I suddenly couldn't log in anywhere anymore!

  • Bex reports in Dashobard hangs

    Dear Experts, we have Dashboards Reports for Business Reporting. Each Dashboards consists of multiple Bex Queries. The issue is, while user selecting available values from prompt (F4 help) for one of the fields, the Reports gets non responsive. it ge

  • Error - Unable to start a service execution.

    Hi, iam splitting a dual stack system using SWPM tool. Iam getting the above error in the 3rd step - Adapt database to target Java Stack. The problem is, sapinst could not find the path, the error message also says - Unable to change to work director

  • Pl/sql function replying invalid number error

    Hi, I don't know if it's the late hour or I'm just missing something... I wrote a very simple function which is compiling, but returning ORA error 017222 - nvalid number, every time it's executed... Please let me know what am I missing... Thanks! cre

  • Elements Organizer 8- A question everyone should consiter

    Will the picture management system I've programmed with Elements Organizer 8 be lost if I reformat my computer?  How do I prevent the loss of my picture management system I've programmed with Elements Organizer 8 while reformatting my computer? I sto