I would like to break camel case text that is handed to the \url{} macro of url.sty. The solution here does not work for text in captions, so it seems, ans in particular does not work for \url{}.
Is there a way to break the camel case as in:
\documentclass{article}
\usepackage{url}
\begin{document}
\noindent{}Here some text, and
then \url{BreakThisCamelCaseForMeItWasChosenToMakeSomeTasksEasierButAlas.txt},
and then some more text to indicate the text width, showing that
the URL should break earlier.
\end{document}

\camelurl{}instead of url or should it work for\urlautomatically. (BTW: I'm using XeLaTeX could this be the reason, because the character range is hard coded in\breakifupper?) – white_gecko Jun 13 '13 at 11:55%abencoded anyway. The loop could of course be modified to cover other ranges than a-z similary the test for a following uppercase is assuming code point values in range 40-91. – David Carlisle Jun 13 '13 at 12:18\texttt{}which didn't wrap the text for obvious reasons. – white_gecko Jun 13 '13 at 13:38\texttt? – white_gecko Jun 13 '13 at 13:45\urland\nolinkurlare removing all spaces from the text, which is not what I want in\texttt. – white_gecko Jun 13 '13 at 14:15