Difference between revisions of "Documentation/Writer for Students/Extra Long"
From Apache OpenOffice Wiki
(Created page with "{{DISPLAYTITLE:Extra Long Web Addresses}} {{Documentation/WriterforStudentsTOC |ShowPrevNext=block |ShowPrevPage=block |PrevPage=Documentation/Writer for Students/Cross Tables...") |
(Adjusted to revision May 2014) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|ShowPrevNext=block | |ShowPrevNext=block | ||
|ShowPrevPage=block | |ShowPrevPage=block | ||
− | |PrevPage=Documentation/Writer for Students/Cross Tables | + | |PrevPage=Documentation/Writer for Students/Cross Tables |
|NextPage=Documentation/Writer for Students/Fonts | |NextPage=Documentation/Writer for Students/Fonts | ||
}}__NOTOC__ | }}__NOTOC__ | ||
− | Web addresses tend to get longer by the day. So you could end up with a line like | + | Web addresses tend to get longer by the day. So you could end up with a line like this:<br> |
− | <pre | + | <pre> Please refer to: |
− | http:// | + | http://uk.search.yahoo.com/long_chain/long_chain/long_chain/long_chain/ |
+ | long_chain/long_chain/ | ||
+ | </pre> | ||
+ | It would be nicer to have:<br> | ||
+ | <pre>Please refer to: http://de.search.yahoo.com/long_chain/long_chain/long_chain/ | ||
+ | long_chain/long_chain/long_chain/</pre> | ||
− | + | In other words you want to achieve two things: i) the url should start on the same line as the preceding phrase and ii) you want to be able to insert a line break at the right place. | |
− | + | ||
− | + | For this you need to do the following: | |
− | + | # Under '''Tools › Options › Language Settings › Languages''' tick the box next to '''Show UI Elements for Bi-directional writing'''. | |
− | + | # Place the cursor after any / or _ where you might want a line break. | |
− | + | # Activate the menu '''Insert › Formatting Mark › No-width optional break'''. | |
+ | # If you have lots of URLs you can speed up the process by '''Finding & Replacing''' (in the menu '''Edit''') all occurrences of / with your new combination of '''/No-width optional break'''; conversely, in order to prevent '''http://''' from breaking at the end of a line, you can replace all double occurrences of '''/No-width optional break with //'''; you could apply the same logic to the underscore _ and other such typical URL characters. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | ---------- | ||
+ | <p style="text-align:left;">[[Documentation/Writer for Students/Cross Tables|< Previous Page]]</p> | ||
+ | <p style="text-align:right;">[[Documentation/Writer for Students/Fonts|Next Page >]]</p> | ||
+ | |||
+ | [[Category:Documentation/Writer]] |
Latest revision as of 15:13, 9 June 2014
- Introduction
- Theory
- Document Structure
- Chapter Headings
- Chapter Numbering
- Table of Contents
- Outline
- Navigator
- Text Body
- Paragraph styles overview
- Reusing styles
- Default Page Formatting
- Title Page
- Papers without a Title Page
- Pages with and without numbering
- Roman Page Numbering
- Group Work
- Proofreading
- Numbered lists and bullets
- Line numbering
- Cross-references
- Footnotes
- Bibliography
- Quotes
- Tables
- Charts
- Pictures
- Snapshots
- Presentations & Graphics
- Cross tables (Statistics)
- Extra Long Web Adresses
- Fonts
- Emphasis
- Special Characters
- Non separable combinations
- Shortcut keys
- Mouse clicks
- PDFs
- Saving your files
- Several files open at once
- Search and replace
- Spell Check
- Synonyms
- Document Infos
- Labels and Form letters
- Help
- Installing Program
- Microsoft Word
- Practice I
- Practice II
Web addresses tend to get longer by the day. So you could end up with a line like this:
Please refer to: http://uk.search.yahoo.com/long_chain/long_chain/long_chain/long_chain/ long_chain/long_chain/
It would be nicer to have:
Please refer to: http://de.search.yahoo.com/long_chain/long_chain/long_chain/ long_chain/long_chain/long_chain/
In other words you want to achieve two things: i) the url should start on the same line as the preceding phrase and ii) you want to be able to insert a line break at the right place.
For this you need to do the following:
- Under Tools › Options › Language Settings › Languages tick the box next to Show UI Elements for Bi-directional writing.
- Place the cursor after any / or _ where you might want a line break.
- Activate the menu Insert › Formatting Mark › No-width optional break.
- If you have lots of URLs you can speed up the process by Finding & Replacing (in the menu Edit) all occurrences of / with your new combination of /No-width optional break; conversely, in order to prevent http:// from breaking at the end of a line, you can replace all double occurrences of /No-width optional break with //; you could apply the same logic to the underscore _ and other such typical URL characters.