I have had the "too long URL" problem in the past and was monitoring this thread. I changed Herbert's test file just slightly (attached), and I don't see any difference in the way the 2 urls are treated. Both are broken correctly with pdflatex, but in the other pdf and xdvi output, they run off into the right margin and off the edge of the page.

I have the same problem with equations, and in that case I think I have no alternative but to break into lines manually. But with URLs, where line placement is more unpredictable, I'm concerned.


Herbert Voss wrote:
Jason L W Lynn wrote:

 > I guess there isn't a solution to this problem as of yet.  Perhaps I
 > will have to keep the URL as standard text and put the link somewhere
 > else (for those that are using the electronic copy).


you do not understand what I mean. Attached your doc, run it with pdflatex and everything will be as you expect.

HErbert

\the_end


--
Paul E. Johnson                       email: [EMAIL PROTECTED]
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage[colorlinks]{hyperref}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Custom
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 15cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

This URL is one example that is causing trouble with PDF generation What
 if this does not have a full line to work with?
\begin_inset LatexCommand 
\url{http://www.blkaskjsd.lsdkjslkjsd.com/sdlkjlsd/alksjdlkjsd/lksdjlkjsd.html}

\end_inset 

.
\layout Standard

While this URL is one example that is not causing troubles with PDF.
 This one runs off the end of the page.
 
\begin_inset LatexCommand 
\url{http://www.blkaskjsd.lsdkjslkjsd.com/sdlkjlsd/alksjdlkjsd/lksdjlkjsd.html}

\end_inset 


\the_end

Reply via email to