emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Exporting to html
Date: Wed, 09 Feb 2011 10:53:33 +0100	[thread overview]
Message-ID: <m1pqr18rfm.fsf@ip1-201.halifax.rwth-aachen.de> (raw)

I have a quite huge file with a lot of code blocks in many possible
languages.
Now the problem is that I'm not able to export it to html/pdf.
Some other times it happened that pdf export was not working, but it was
quite easy to spot the mistake and fix it.

But with html export I'm not understanding where is the error, since I
don't get the line...
The funny thing is that the 2 lines that I can see downthere from the
debugger ("import static..." and "..jython..") are now *deleted* from
the buffer.

So where are they still coming from? (I also deleted the previously
created html file).

Maybe it would be useful to have some system to spot easily the line
that causes trouble during exportation, and even better would be to see
it visually in the org-buffer if something could cause troubles...

Here below the backtrace..
Thanks!


Debugger entered--Lisp error: (args-out-of-range 137 150)
  put-text-property(137 150 face font-lock-type-face)
  c-fontify-recorded-types-and-refs()
  #[(match-pos inside-macro) "`\306`\307\"\310=\203\0\311	!\204R\nSf\312>\203|\neX\203$\313\202~\306\nS\314\"\211\315=\2035\316\202x\f\317=\204C\nSf\320=\203H\321\202x\f\203Q\313\202x\r\203\\\n)W\202`\n*W\203v\316\nS+\322+\211T\314\315$\210)\202x\313)\202~\323\x0e,\205\206\v\313=-\324\n\v.#\211/\203R\x0e/\325=\203\241`.\202M\r\203\262`)V\203\274`)\202\274`*V\203\274`*/@b\210\v\203\x01\nSf\326=\205\x01\212\nSb\210\327 \210\330\331!\332W\204\x010\333=\205\x01`1\334\323x\332W\203\n\335\323x\332W\203\n\3112!\203\n\332\2251Y\203\n\336\202\x011b\210\323)\205\x01\3113!)\202\x01\336\2114\203C\212\327 \210o\204B`S+\322+\211T\314/A\203>\337\202?\340$\210))\341d4/A#\210)\342 \210\323\207\bb\210\343\336\n\323#\2115\205\260\x0e5\344=\203\200\3226\2117@@)6\2117@A)\3078$\210\202\254\x0e5\345=\203\237\3226\2117@@)6\2117@A)\307\310$\210\202\254\x0e5\346=\203\254\347\3506\"\210\3236\336\207" [start-pos c-not-decl-init-keywords match-pos context type inside-macro get-text-property face font-lock-keyword-face looking-at (40 44 91 60) arglist c-type c-decl-arg-start decl c-<>-arg-sep 60 <> put-text-property nil c-forward-decl-or-cast-1 cast 40 c-backward-sws skip-syntax-backward "w_" 0 pike-mode "-!%&*+/<=>^|~[]()" "`" t c-decl-type-start c-decl-id-start c-font-lock-declarators c-fontify-recorded-types-and-refs c-forward-label goto-target qt-1kwd-colon qt-2kwds-colon mapc #[... "\301\b@\bA\302\303$\207" [kwd put-text-property face font-lock-keyword-face] 5] max-type-decl-end-before-token max-type-decl-end -pos- c-recognize-<>-arglists c-restricted-<>-arglists last-cast-end decl-or-cast c-buffer-is-cc-mode pos ...] 6](0 nil)
  c-find-decl-spots(36 "[[:alpha:]_]" (nil font-lock-type-face font-lock-constant-face font-lock-keyword-face) #[(match-pos inside-macro) "`\306`\307\"\310=\203\0\311	!\204R\nSf\312>\203|\neX\203$\313\202~\306\nS\314\"\211\315=\2035\316\202x\f\317=\204C\nSf\320=\203H\321\202x\f\203Q\313\202x\r\203\\\n)W\202`\n*W\203v\316\nS+\322+\211T\314\315$\210)\202x\313)\202~\323\x0e,\205\206\v\313=-\324\n\v.#\211/\203R\x0e/\325=\203\241`.\202M\r\203\262`)V\203\274`)\202\274`*V\203\274`*/@b\210\v\203\x01\nSf\326=\205\x01\212\nSb\210\327 \210\330\331!\332W\204\x010\333=\205\x01`1\334\323x\332W\203\n\335\323x\332W\203\n\3112!\203\n\332\2251Y\203\n\336\202\x011b\210\323)\205\x01\3113!)\202\x01\336\2114\203C\212\327 \210o\204B`S+\322+\211T\314/A\203>\337\202?\340$\210))\341d4/A#\210)\342 \210\323\207\bb\210\343\336\n\323#\2115\205\260\x0e5\344=\203\200\3226\2117@@)6\2117@A)\3078$\210\202\254\x0e5\345=\203\237\3226\2117@@)6\2117@A)\307\310$\210\202\254\x0e5\346=\203\254\347\3506\"\210\3236\336\207" [start-pos c-not-decl-init-keywords match-pos context type inside-macro get-text-property face font-lock-keyword-face looking-at (40 44 91 60) arglist c-type c-decl-arg-start decl c-<>-arg-sep 60 <> put-text-property nil c-forward-decl-or-cast-1 cast 40 c-backward-sws skip-syntax-backward "w_" 0 pike-mode "-!%&*+/<=>^|~[]()" "`" t c-decl-type-start c-decl-id-start c-font-lock-declarators c-fontify-recorded-types-and-refs c-forward-label goto-target qt-1kwd-colon qt-2kwds-colon mapc #[... "\301\b@\bA\302\303$\207" [kwd put-text-property face font-lock-keyword-face] 5] max-type-decl-end-before-token max-type-decl-end -pos- c-recognize-<>-arglists c-restricted-<>-arglists last-cast-end decl-or-cast c-buffer-is-cc-mode pos ...] 6])
  c-font-lock-declarations(36)
  font-lock-fontify-keywords-region(1 36 t)
  font-lock-default-fontify-region(1 36 t)
  font-lock-fontify-region(1 36 t)
  byte-code("\212\303 \304\216\305ed	#\210\306 \210\307\211+\207" [save-match-data-internal verbose font-lock-fontified match-data ((byte-code "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) font-lock-fontify-region font-lock-after-fontify-buffer t] 4)
  font-lock-default-fontify-buffer()
  font-lock-fontify-buffer()
  org-export-format-source-code-or-example(html "java" "import static org.junit.Assert.*;\n\n" " " 0 nil)
  org-export-replace-src-segments-and-examples(html)
  org-export-preprocess-string(#("* Jython\n** Set up jython\n#+begin_src sh\n  wget http://netcologne.dl.sourceforge.net/project/jython/jython-dev/2.5.2b1/jython_installer-2.5.2b1.jar\n  java -jar jython_installer-2.5.2b1.jar\n  wget
  org-export-as-html(nil hidden)
  org-export-as-html-and-open(nil)
  call-interactively(org-export-as-html-and-open)
  org-export(nil)
  call-interactively(org-export nil nil)

             reply	other threads:[~2011-02-09  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  9:53 Andrea Crotti [this message]
2011-02-12 15:17 ` Exporting to html Bastien
  -- strict thread matches above, loose matches on Subject: below --
2010-09-22 11:44 Juri Artamonov
2010-09-22 12:24 ` Giovanni Ridolfi
2010-09-22 12:49   ` Juri Artamonov

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=m1pqr18rfm.fsf@ip1-201.halifax.rwth-aachen.de \
    --to=andrea.crotti.0@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).