Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
composition:texte:lignes:url_qui_depasse_dans_la_marge [2018/06/02 15:37] – joseph.wright | 2_composition:texte:lignes:url_qui_depasse_dans_la_marge [2021/01/22 22:22] (Version actuelle) – Renommage des sections de base: correction des liens internes. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Comment bien gérer une URL s'étendant sur deux lignes? ====== |
- | title: Link text doesn't break at end line | + | |
- | category: errors | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | When using the [`hyperref`](https:// | + | Lorsque vous utilisez l' |
- | '' | + | |
- | that text, the reader program will divert to the _target_ of the | + | |
- | link). | + | |
- | The [`hyperref`](https:// | + | Si vous utilisez le pilote '' |
- | as the [`graphics`](https:// | + | |
- | all that hyper-stuff. | + | |
- | If you use the driver for `dvips` output (presumably you want | + | Le problème peut se produire dans un certain nombre de circonstances. Dans quelques cas, il existe des solutions de contournement : |
- | to distill the resulting PostScript), limitations in the way `dvips` | + | * si vous avez une URL qui forme un hyperlien actif. Dans ce cas, l' |
- | deals with the `\special` commands mean that [`hyperref`](https:// | + | * si vous avez une table des matières, une liste de figures ou de tableaux, ou autre construction similaire, l' |
- | must prevent link anchors from breaking at the end of lines. | + | |
- | drivers | + | |
- | suffer from this problem. | + | |
- | The problem may occur in a number of different circumstances. | + | Sinon, si vous avez un long morceau de texte que vous souhaitez activer, vous n'avez actuellement pas de solution simple |
- | couple of them, there are work-arounds: | + | |
- | First, if you have an URL which is active (so that clicking on | + | FIXME //: le contenu de cette page est à valider. Il faut voir s'il faut parler ici de l'option breaklinks et de l'option hypertex |
- | it will activate your web browser to '' | + | ----- |
- | this case [`hyperref`](https:// | + | |
- | split up the URL (as described in | + | |
- | [typesetting URLs](FAQ-setURL)), but the | + | |
- | `dvips` driver then suppresses the breaks. | + | |
- | the [`breakurl`](https:// | + | |
- | to produce several smaller pieces, between each of which a line break | + | |
- | is permitted. | + | |
- | line, is converted to a single clickable link. | + | |
- | Second, if you have a table of contents, list of figure or tables, or | + | //Source:// [[faquk> |
- | the like, [`hyperref`](https: | + | |
- | table of contents, or captions in the lists, active. | + | |
- | caption is long, it will need to break within the table, but the | + | |
- | `dvips` driver will prevent that. In this case, load | + | |
- | [`hyperref`](https:// | + | |
- | the page number will be made active. | + | |
- | + | ||
- | Otherwise, if you have a lengthy piece of text that you want active, | + | |
- | you have at present no simple solution: you have to rewrite your text, | + | |
- | or to use a different PDF generation mechanism. | + | |
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||