emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Weigele <martin@weigele.de>
To: emacs-orgmode@gnu.org
Cc: Rasmus <rasmus@gmx.us>
Subject: Re: Solution for very long hyperlinks when exporting to latex?
Date: Fri, 03 Oct 2014 12:02:04 +0200	[thread overview]
Message-ID: <1664500.k5V1IFGYQD@sirius> (raw)
In-Reply-To: <3892684.7xxkJYO0Cx@sirius>

[-- Attachment #1: Type: text/plain, Size: 5298 bytes --]

Problem solved by uncommenting the "[NO-DEFAULT-PACKAGES]" and "[EXTRA]" 
parts (see elisp part below) in the emacs lisp initialisation of .emacs.

Am Mittwoch, 1. Oktober 2014, 02:29:23 schrieb Martin Weigele:
> That is exactly the problem, Rasmus... I am lost in the complexity of object
> and metalevels and don't really know where to start reducing it. Except for
> the naughty monster urls everything else works fine. Thanks anyway. :)
> 
> Good night, Martin
> 
> Am Mittwoch, 1. Oktober 2014, 02:20:45 schrieb Rasmus:
> > Martin Weigele <martin@weigele.de> writes:
> > > There you go. Thx.
> > 
> > Please send a minimal example that displays the undesired behavior :)
> > 
> > > #+TITLE: Blah
> > > #+AUTHOR: Me und Du
> > > 
> > > #+OPTIONS:   H:20
> > > #+LATEX_CLASS: scrbook
> > > 
> > > #+LATEX_CLASS_OPTIONS:
> > > [paper=17cm:22cm,DIV=calc,BCOR=12mm,titlepage,11pt,scrhack]
> > > 
> > > #+LATEX_HEADER: \usepackage[english,ngerman]{babel}
> > > #+LATEX_HEADER:\usepackage{
> > > #+LATEX_HEADER:  fixltx2e  % Verbessert einige Kernkompetenzen von
> > > LaTeX2e
> > > #+LATEX_HEADER:}
> > > #+LATEX_HEADER:\usepackage{%
> > > #+LATEX_HEADER:  ellipsis, % Korrigiert den Weißraum um
> > > Auslassungspunkte
> > > #+LATEX_HEADER:  ragged2e, % Ermöglicht Flattersatz mit Silbentrennung
> > > #+LATEX_HEADER: marginnote,% Für bessere Randnotizen mit \marginnote
> > > statt
> > > #+LATEX_HEADER:            % \marginline
> > > #+LATEX_HEADER:}
> > > #+LATEX_HEADER:\usepackage[tracking=true]{microtype}%
> > > #+LATEX_HEADER:            % Microtype ist einfach super, aber lesen Sie
> > > #+LATEX_HEADER:            % unbedingt die Anleitung um das Folgende zu
> > > #+LATEX_HEADER:            % verstehen.
> > > #+LATEX_HEADER: \usepackage{mathptmx, enumerate,
> > > setspace,alnumsec}\alnumsecstyle{LRald}
> > > #+LATEX_HEADER: \pagenumbering{roman}
> > > #+LATEX_HEADER: \usepackage[hyphens]{url}
> > > #+LATEX_HEADER: \usepackage{pdfpages}
> > > #+LATEX_HEADER: \usepackage{graphics, color}
> > > #+LATEX_HEADER: \usepackage{xcolor}
> > > #+LATEX_HEADER: \usepackage{graphicx, latexsym, keyval, ifthen,
> > > moreverb}
> > > #+LATEX_HEADER: \usepackage{gnuplottex}
> > > #+LATEX_HEADER: \usepackage{tikz}
> > > #+LATEX_HEADER: \usepackage{gnuplot-lua-tikz}
> > > #+LATEX_HEADER: \hypersetup{
> > > #+LATEX_HEADER:  breaklinks=true,
> > > #+LATEX_HEADER:  pdfkeywords={},
> > > #+LATEX_HEADER:  pdfsubject={},
> > > #+LATEX_HEADER:  pdfcreator={Emacs Org-mode version }}
> > > 
> > > #+TEXT: [TABLE-OF-CONTENTS]
> > > 
> > > -----------------------------
> > > 
> > > (require 'package)
> > > (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
> > > (require 'ox-odt)
> > > (require 'org-latex)
> > > (setq org-export-latex-listings t)
> > > (add-to-list 'org-latex-classes
> > > 
> > >              '("scrartcl"
> > >              
> > >                "\\documentclass{scrartcl}"
> > > 
> > > ;;                 [NO-DEFAULT-PACKAGES]
> > > ;;                 [EXTRA]"
> > > 
> > >                ("\\section{%s}" . "\\section*{%s}")
> > >                ("\\subsection{%s}" . "\\subsection*{%s}")
> > >                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> > >                ("\\paragraph{%s}" . "\\paragraph*{%s}")
> > >                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
> > > 
> > > (add-to-list 'org-latex-classes
> > > 
> > > 	     '("scrbook"
> > > 	     
> > >                "\\documentclass{scrbook}"
> > > 
> > > ;;                 [NO-DEFAULT-PACKAGES]
> > > ;;                 [EXTRA]"
> > > 
> > > 	       ("\\chapter{%s}" . "\\chapter*{%s}")
> > > 	       
> > >                ("\\section{%s}" . "\\section*{%s}")
> > >                ("\\subsection{%s}" . "\\subsection*{%s}")
> > >                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> > >                ("\\paragraph{%s}" . "\\paragraph*{%s}")
> > >                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
> > > 
> > > ;; active Babel languages
> > > (org-babel-do-load-languages
> > > 
> > >  'org-babel-load-languages
> > >  '((gnuplot . t)))
> > > 
> > > ;; add additional languages with '((language . t)))
> > > (custom-set-variables
> > > 
> > >  ;; custom-set-variables was added by Custom.
> > >  ;; If you edit it by hand, you could mess it up, so be careful.
> > >  ;; Your init file should contain only one such instance.
> > >  ;; If there is more than one, they won't work right.
> > >  '(org-latex-with-hyperref nil))
> > > 
> > > (custom-set-faces
> > > 
> > >  ;; custom-set-faces was added by Custom.
> > >  ;; If you edit it by hand, you could mess it up, so be careful.
> > >  ;; Your init file should contain only one such instance.
> > >  ;; If there is more than one, they won't work right.
> > >  )
> > > 
> > > ----------------------------------------------------
> > > 
> > > Am Mittwoch, 1. Oktober 2014, 02:04:34 schrieb Rasmus:
> > >> Martin Weigele <martin@weigele.de> writes:
> > >> > Hi Rasmus, thank you very much, Wasn't really aware of texdoc
> > >> > <package>
> > >> > this is great. A lot improvement since the old days... :)
> > >> 
> > >> TL is astonishing software.
> > >> 

[-- Attachment #2: Type: text/html, Size: 30445 bytes --]

      reply	other threads:[~2014-10-03 10:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  2:30 Bug: shift-enter in org tables leaves cursor in wrong position [8.2.5h (8.2.5h-6-g8e1386-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20140203/)] Jason Lewis
2014-02-06  8:59 ` Bastien
2014-02-25 10:46   ` Michael Brand
2014-03-01  9:02     ` Bastien
2014-03-01 10:39       ` Michael Brand
2014-03-01 11:13         ` Bastien
2014-03-01 13:58           ` Michael Brand
2014-03-12 18:42             ` Bastien
2014-03-20 14:15     ` Bastien
2014-03-20 16:00       ` Michael Brand
2014-09-30 22:24   ` Solution for very long hyperlinks when exporting to latex? Martin Weigele
2014-09-30 23:02     ` Rasmus
2014-09-30 23:51       ` Martin Weigele
2014-10-01  0:04         ` Rasmus
2014-10-01  0:17           ` Martin Weigele
     [not found]             ` <87bnpw8wte.fsf@gmx.us>
2014-10-01  0:29               ` Martin Weigele
2014-10-03 10:02                 ` Martin Weigele [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1664500.k5V1IFGYQD@sirius \
    --to=martin@weigele.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).