emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
@ 2016-04-02 23:36 Reuben Thomas
  2016-04-05 22:01 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Reuben Thomas @ 2016-04-02 23:36 UTC (permalink / raw)
  To: emacs-orgmode



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

The output for

  [[file:Starting%20Workshop%20Notes.org][file:Starting Workshop Notes.org]]

is:

  \href{Starting\%20Workshop\%20Notes.org}{\url{Starting} Workshop Notes.org}

despite the fact that in the org-mode buffer the URL is correctly
displayed as a whole, and mousing over it shows the whole thing is
active.

Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8)
 of 2014-11-21 on skwd, modified by Debian
Package: Org-mode version 8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)

current state:
==============
(setq
 org-export-backends '(ascii html icalendar latex odt)
 org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-latex-classes '(("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                      ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                     ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
                      ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                     ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}")
                      ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                     ("scrartcl" "\\documentclass{scrartcl}" ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                      ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                     )
 org-latex-default-packages-alist '(("postscript" "ucs" nil) ("" "pifont" nil) ("utf8x" "inputenc" t)
                                    ("T1" "fontenc" t) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil)
                                    ("" "float" nil) ("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t)
                                    ("" "amsmath" t) ("" "textcomp" t) ("" "marvosym" t) ("" "wasysym" t)
                                    ("" "amssymb" t) ("" "hyperref" nil) "\\tolerance=1000" ("" "palatino" nil))
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-export-with-section-numbers nil
 org-file-apps '((t . "xdg-open %s") (system . "xdg-open %s"))
 org-export-with-toc nil
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "~/Notes/Notes.org"
 org-startup-indented t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-from-is-user-regexp "\\<Reuben Thomas\\>"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '((lambda nil (local-set-key "\351" (quote org-toggle-iimage-in-org))) window-margin-mode
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes turn-on-eldoc-mode)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-directory "~/Notes"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-footnote-define-inline t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odt-format-drawer-function '(lambda (name contents) contents)
 org-latex-default-class "scrartcl"
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-footnote-auto-label nil
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-latex-inputenc-alist '(("utf8" . "utf8x"))
 )
-- 
http://rrt.sc3d.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-02 23:36 Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)] Reuben Thomas
@ 2016-04-05 22:01 ` Nicolas Goaziou
  2016-04-06  8:53   ` Reuben Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2016-04-05 22:01 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: emacs-orgmode

Hello,

Reuben Thomas <rrt@sc3d.org> writes:

> The output for
>
>   [[file:Starting%20Workshop%20Notes.org][file:Starting Workshop Notes.org]]
>
> is:
>
>   \href{Starting\%20Workshop\%20Notes.org}{\url{Starting} Workshop Notes.org}
>
> despite the fact that in the org-mode buffer the URL is correctly
> displayed as a whole, and mousing over it shows the whole thing is
> active.

What output did you expect?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-05 22:01 ` Nicolas Goaziou
@ 2016-04-06  8:53   ` Reuben Thomas
  2016-04-06  9:13     ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Reuben Thomas @ 2016-04-06  8:53 UTC (permalink / raw)
  To: Reuben Thomas, emacs-orgmode@gnu.org

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

On 5 April 2016 at 23:01, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello,
>
> Reuben Thomas <rrt@sc3d.org> writes:
>
> > The output for
> >
> >   [[file:Starting%20Workshop%20Notes.org][file:Starting Workshop
> Notes.org]]
> >
> > is:
> >
> >
> ​​
> \href{Starting\%20Workshop\%20Notes.org}{\url{Starting} Workshop Notes.org}
> >
> > despite the fact that in the org-mode buffer the URL is correctly
> > displayed as a whole, and mousing over it shows the whole thing is
> > active.
>
> What output did you expect?
>

​
​​
\href{Starting\%20Workshop\%20Notes.org}{\url{Starting Workshop Notes.org}}

But maybe the space ends the URL?

-- 
http://rrt.sc3d.org

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  8:53   ` Reuben Thomas
@ 2016-04-06  9:13     ` Nicolas Goaziou
  2016-04-06  9:26       ` Reuben Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2016-04-06  9:13 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: emacs-orgmode@gnu.org

Hello,

Reuben Thomas <rrt@sc3d.org> writes:

> \href{Starting\%20Workshop\%20Notes.org}{\url{Starting Workshop Notes.org}}
>
> But maybe the space ends the URL?

Indeed. For obvious reasons, "plain links" do not accept spaces since
those are used as a delimiter. However, angular links could be used in
this case, since they are morally equivalent to plain links. 

Hence, it is possible to write the following in latest Org

 [[file:Starting%20Workshop%20Notes.org][<file:Starting Workshop Notes.org>]]


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  9:13     ` Nicolas Goaziou
@ 2016-04-06  9:26       ` Reuben Thomas
  2016-04-06  9:35         ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Reuben Thomas @ 2016-04-06  9:26 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

On 6 April 2016 at 10:13, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello,
>
> Reuben Thomas <rrt@sc3d.org> writes:
>
> > \href{Starting\%20Workshop\%20Notes.org}{\url{Starting Workshop
> Notes.org}}
> >
> > But maybe the space ends the URL?
>
> Indeed. For obvious reasons, "plain links" do not accept spaces since
> those are used as a delimiter. However, angular links could be used in
> this case, since they are morally equivalent to plain links.
>
> Hence, it is possible to write the following in latest Org
>
>  [[file:Starting%20Workshop%20Notes.org][<file:Starting Workshop
> Notes.org>]]
>

​Thanks, apologies for misreporting.

When you say "latest Org", which version is that?

-- 
http://rrt.sc3d.org

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  9:35         ` Nicolas Goaziou
@ 2016-04-06  9:35           ` Reuben Thomas
  2016-04-06  9:44             ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Reuben Thomas @ 2016-04-06  9:35 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

On 6 April 2016 at 10:35, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Reuben Thomas <rrt@sc3d.org> writes:
>
> > When you say "latest Org", which version is that?
>
> The tip of master branch, a.k.a. development version. At the moment, is
> it "release_8.3.4-705-g716e33".
>

​So the feature is not in 8.3.4?

thanks again,

Reuben

-- 
http://rrt.sc3d.org

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  9:26       ` Reuben Thomas
@ 2016-04-06  9:35         ` Nicolas Goaziou
  2016-04-06  9:35           ` Reuben Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2016-04-06  9:35 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: emacs-orgmode@gnu.org

Reuben Thomas <rrt@sc3d.org> writes:

> When you say "latest Org", which version is that?

The tip of master branch, a.k.a. development version. At the moment, is
it "release_8.3.4-705-g716e33".

Regards,

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  9:44             ` Nicolas Goaziou
@ 2016-04-06  9:43               ` Reuben Thomas
  2016-04-06 16:02                 ` Reuben Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Reuben Thomas @ 2016-04-06  9:43 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

On 6 April 2016 at 10:44, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Reuben Thomas <rrt@sc3d.org> writes:
>
> > ​So the feature is not in 8.3.4?
>
> No it isn't. New feature are added to development branch (master, which
> will become Org 9.0 when ready), not stable branch.
>

​Thanks again.

-- 
http://rrt.sc3d.org

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  9:35           ` Reuben Thomas
@ 2016-04-06  9:44             ` Nicolas Goaziou
  2016-04-06  9:43               ` Reuben Thomas
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Goaziou @ 2016-04-06  9:44 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: emacs-orgmode@gnu.org

Reuben Thomas <rrt@sc3d.org> writes:

> ​So the feature is not in 8.3.4?

No it isn't. New feature are added to development branch (master, which
will become Org 9.0 when ready), not stable branch.

Regards,

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2016-04-06  9:43               ` Reuben Thomas
@ 2016-04-06 16:02                 ` Reuben Thomas
  0 siblings, 0 replies; 10+ messages in thread
From: Reuben Thomas @ 2016-04-06 16:02 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

I'm sorry, I only just understood, from looking at git, that you added the
ability to use angular links inside link descriptions in response to my
query.

Thanks very much for this quick fix! I look forward to the next release.

On 6 April 2016 at 10:43, Reuben Thomas <rrt@sc3d.org> wrote:

> On 6 April 2016 at 10:44, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
>> Reuben Thomas <rrt@sc3d.org> writes:
>>
>> > ​So the feature is not in 8.3.4?
>>
>> No it isn't. New feature are added to development branch (master, which
>> will become Org 9.0 when ready), not stable branch.
>>
>
> ​Thanks again.
>
> --
> http://rrt.sc3d.org
>



-- 
http://rrt.sc3d.org

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-06 16:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-02 23:36 Bug: URL with spaces in is incorrectly rendered in LaTeX export [8.3.3 (8.3.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)] Reuben Thomas
2016-04-05 22:01 ` Nicolas Goaziou
2016-04-06  8:53   ` Reuben Thomas
2016-04-06  9:13     ` Nicolas Goaziou
2016-04-06  9:26       ` Reuben Thomas
2016-04-06  9:35         ` Nicolas Goaziou
2016-04-06  9:35           ` Reuben Thomas
2016-04-06  9:44             ` Nicolas Goaziou
2016-04-06  9:43               ` Reuben Thomas
2016-04-06 16:02                 ` Reuben Thomas

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).