* error exporting latex src block
@ 2013-10-17 1:22 Jason Lewis
2013-10-17 1:30 ` Jason Lewis
2013-10-17 3:59 ` Eric Schulte
0 siblings, 2 replies; 6+ messages in thread
From: Jason Lewis @ 2013-10-17 1:22 UTC (permalink / raw)
To: org-mode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
If I try and export:
#+BEGIN_SRC latex
\\
#+END_SRC
as html from org-mode, it gives me the following error:
face-attribute: Invalid face: font-lock-warning
and fails to export anything.
Is this a bug or a feature?
Is there any way I can include a double \\ in a latex SRC block?
I'm using Org-mode version 8.2.1 (8.2.1-3-g35e5e5-elpa @
/Users/jason/.emacs.d/elpa/org-20131007/)
Thanks,
Jason
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCAAGBQJSXzvCAAoJEPpXHsdQXnZOdE8QAJRAK6guJS9c/qGVfwK4FSQx
ridM3+JiScSWKPy3dzxy14EC++r5kCqU5zt4/mn7QTWI6/skdUZSfAB9rJ4AJ1jm
gV8lnqtA8XzYW9judrxK57QnU2Xlz9oz+CCdGDTpX4xW/Ek3Wc1wWZB2f8AAtiEZ
e2LGqxZDIgJYew1aSR/+xMb+g3RVq0XUaXwmuu25AfryXIyYyCZzkdkl5JY/IJGT
HV1nrgP/SBOR4KUr0xexRXC8pk9DyVuA7JwEGuoRIfJOPyvktQkTwNsqUX50kA85
1cQ7UPA+aUV2Zsx5Qhry65URHoxw6LBkG0xSpOZZ8GJtnyx14XbJzSPFX4/yqqaK
NQWWaXaY9B/WInFXsOFWOzs18zhaqWX31vfx836dTwEL+I+JhmnPOxZa8qmElQSA
QHzbwoZnKbqnpY9zocwmBtIfdgAfM02HguI+msLjNEEfiY6vOE0aYB8ZB6SHlluz
Iui+sSUV1W9F6U6IFHBVp+ooufT4efkzZ6w50Omky0zL6L5ao3fPwi+TGf0/9Bii
jtqUdyRjnF5rWkPwuCNBZDU0u6eZhllJxT3mVLOSEZ/6715SA7J7RzQeWyXVRnXL
XkU29m048tPEw1pJNU9n+G6D59Mk6RhTX+ujDP6j7OfCW4mfoNLxOI6/sYRkNRok
+bjYFwYu40hpTZREVxEW
=nX9v
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error exporting latex src block
2013-10-17 1:22 error exporting latex src block Jason Lewis
@ 2013-10-17 1:30 ` Jason Lewis
2013-10-17 1:40 ` Jason Lewis
2013-10-17 3:59 ` Eric Schulte
1 sibling, 1 reply; 6+ messages in thread
From: Jason Lewis @ 2013-10-17 1:30 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
On 17/10/13 12:22 PM, Jason Lewis wrote:
>
> Hi,
>
> If I try and export:
>
> #+BEGIN_SRC latex
> \\
> #+END_SRC
I also get the same error with
#+BEGIN_SRC latex
\newline
#+END_SRC
I'm exporting with C-c C-e hH
[-- Attachment #2: Type: text/html, Size: 630 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error exporting latex src block
2013-10-17 1:22 error exporting latex src block Jason Lewis
2013-10-17 1:30 ` Jason Lewis
@ 2013-10-17 3:59 ` Eric Schulte
2013-10-17 10:50 ` Jason Lewis
1 sibling, 1 reply; 6+ messages in thread
From: Eric Schulte @ 2013-10-17 3:59 UTC (permalink / raw)
To: Jason Lewis; +Cc: org-mode
Jason Lewis <jasonblewis@gmail.com> writes:
> Hi,
>
> If I try and export:
>
> #+BEGIN_SRC latex
> \\
> #+END_SRC
>
> as html from org-mode, it gives me the following error:
>
> face-attribute: Invalid face: font-lock-warning
>
> and fails to export anything.
>
Your example exports w/o problem for me with Org-mode version Org-mode
version 8.2.1. I believe the problem on your system lies in the latex
fontification on your system. Org-mode uses htmlize to export fontified
code to html, so you could try running htmlize-buffer from a latex-mode
buffer with "\\".
Hope this helps,
>
> Is this a bug or a feature?
>
> Is there any way I can include a double \\ in a latex SRC block?
>
> I'm using Org-mode version 8.2.1 (8.2.1-3-g35e5e5-elpa @
> /Users/jason/.emacs.d/elpa/org-20131007/)
>
> Thanks,
>
> Jason
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error exporting latex src block
2013-10-17 3:59 ` Eric Schulte
@ 2013-10-17 10:50 ` Jason Lewis
2013-10-17 14:17 ` Eric Schulte
0 siblings, 1 reply; 6+ messages in thread
From: Jason Lewis @ 2013-10-17 10:50 UTC (permalink / raw)
To: Eric Schulte; +Cc: org-mode
Hi Eric,
On 17/10/13 2:59 PM, Eric Schulte wrote:
> Jason Lewis <jasonblewis@gmail.com> writes:
>
> Your example exports w/o problem for me with Org-mode version Org-mode
> version 8.2.1. I believe the problem on your system lies in the latex
> fontification on your system. Org-mode uses htmlize to export fontified
> code to html, so you could try running htmlize-buffer from a latex-mode
> buffer with "\\".
>
Thanks for the pointer.
You were correct, the test resulted in the same error.
I'm at a loss as to how I might resolve it. emacs doesn't seem to
produce any useful error, and toggle-debug-on-error doesn't seem to trap
when the error happens either.
Any ideas?
Thanks,
Jason
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error exporting latex src block
2013-10-17 10:50 ` Jason Lewis
@ 2013-10-17 14:17 ` Eric Schulte
0 siblings, 0 replies; 6+ messages in thread
From: Eric Schulte @ 2013-10-17 14:17 UTC (permalink / raw)
To: Jason Lewis; +Cc: org-mode
Jason Lewis <jasonblewis@gmail.com> writes:
> Hi Eric,
>
> On 17/10/13 2:59 PM, Eric Schulte wrote:
>> Jason Lewis <jasonblewis@gmail.com> writes:
>>
>> Your example exports w/o problem for me with Org-mode version Org-mode
>> version 8.2.1. I believe the problem on your system lies in the latex
>> fontification on your system. Org-mode uses htmlize to export fontified
>> code to html, so you could try running htmlize-buffer from a latex-mode
>> buffer with "\\".
>>
> Thanks for the pointer.
>
> You were correct, the test resulted in the same error.
>
> I'm at a loss as to how I might resolve it. emacs doesn't seem to
> produce any useful error, and toggle-debug-on-error doesn't seem to trap
> when the error happens either.
>
> Any ideas?
>
I'd start with "emacs -Q" and bisect your init until you find the source
of the error.
>
> Thanks,
>
> Jason
>
>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-17 14:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17 1:22 error exporting latex src block Jason Lewis
2013-10-17 1:30 ` Jason Lewis
2013-10-17 1:40 ` Jason Lewis
2013-10-17 3:59 ` Eric Schulte
2013-10-17 10:50 ` Jason Lewis
2013-10-17 14:17 ` Eric Schulte
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).