[dundee] Emacs and org-mode

Nistur nistur at googlemail.com
Mon May 17 12:31:02 UTC 2010


Ok, I've sorted most of my problems. For the contents, I just set
toc:nil and wrote the LaTeX manually to write it in the correct place.
There were also some awkward typesetting things I needed to sort like
no page numbers on the first page, the next page starts at ii and then
the first with actual text starts with 1... all done with shiny shiny
LaTeX :P It's all sorted now apart from my references. I found that
org-mode exports hyperlinks to \href{}{} whereas most things suggest
using \url{}. I honestly have no idea what the difference is and I am
too busy finishing writing to check up on it, but I know that \url{}
made it so the tilde showed up (yay!) still have the problem with the
line wrapping though (boo!) Think I may still resort to TinyURL

Ahh well. Thanks again for help, just thought I should send a followup
email just in case amyone else has problems.
Nistur

On Fri, May 14, 2010 at 2:28 PM, Nistur <nistur at googlemail.com> wrote:
> Thanks Rick
> Thanks for the  detailed reply. I haven't felt comfortable enough jet
> joining another mailing list, but will probably do so this weekend to
> get it sorted if I haven't managed.
>
> I have got the colon in, it still puts it underneath the contents. I'm
> exporting to LaTeX and then converting to PDF (I think the uni would
> have a heart attack if I submitted a tex file :P)
>
> I will try the url export thing, I can't do footnotes because it's for
> the references. I believe I should use bibtex for this but I had a
> look at it a few months ago and it hurt my head, so I'm doing them
> manually, at least for now. Haven't got time to mess around with it,
> what with my dissertation being due in on Wednesday :S:S:S
>
> Checking the tex file for the last point, I've found that the tilde is
> separate, which I guess means it's a LaTeX not org-mode thing. Meh.
>
> Will continue working at this. Thanks again everyone :)
>
> Nistur.
> On Fri, May 14, 2010 at 1:08 PM, Rick Moynihan <rick.moynihan at gmail.com> wrote:
>> Hi Nistur,
>>
>> I think there are solutions to all these issues.  Firstly I'd
>> recommend posting to the org-mode mailing list, it's incredibly
>> helpfull, and if org-mode doesn't have a feature you require, it'll
>> likely gain it shortly after you ask!
>>
>> On 14 May 2010 11:59, Nistur <nistur at googlemail.com> wrote:
>>>
>>> The first and most important thing is, when exporting, is there any
>>> way to put text before the contents page?
>>> I thought I could manage this with #+TEXT but it didn't want to do that.
>>
>> I think you need to use +TEXT: (note the colon),  but could be wrong
>> (I'm writing this from someone else's machine, which sadly doesn't
>> have Emacs on).  Either way this is certainly possible and should
>> work... What are you exporting to, HTML or LaTEX?
>>
>>> Secondly, is there any way to get it to force linebreaks? I have some
>>> long URLs that go more than 1 line and rather than wrapping they just
>>> keep going off the page...
>>> I have considered tinyurl'ing them but it seems a little awkward.
>>
>> Yes, I think double backslash forces line breaks, i.e \\ , but if
>> you're exporting to HTML I'd recomend just making links out of your
>> HTML, or using footnotes, e.g. [[http://mylinkhere.com/][text here]];
>> if you need the URL literally in the export, how does org export it if
>> you do: [[http://link.com][http://link.com]] ?
>>
>>> Lastly, one of the urls has a home directory in it
>>> (http://staff.science.uva.nl/~awitzel/papres/papers.php?download=2008-10_AIIDE
>>> which ironically is the only URL which _does_ wrap) but org-mode
>>> exports the directory to be āwitzel. Any way of stopping that?
>>> Actually, apparently the guy changed to NYU and that URL doesn't have
>>> a tilde in it, best update my reference. Still would be interesting to
>>> know if I could stop that.
>>
>> Take a look at: http://orgmode.org/manual/Export-options.html , I
>> think you need the following line at the top of your org file to
>> switch off the special character export... Though the URL trick above
>> "might" work too.
>>
>> #+OPTIONS:  -:nil
>>
>> R.
>>
>> _______________________________________________
>> dundee GNU/Linux Users Group mailing list
>> dundee at lists.lug.org.uk  http://dundeelug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/dundee
>> Chat on IRC, #tlug on irc.lug.org.uk
>



More information about the dundee mailing list