* export to latex..
@ 2009-01-07 16:35 sergio_101
2009-01-07 17:53 ` Carsten Dominik
0 siblings, 1 reply; 10+ messages in thread
From: sergio_101 @ 2009-01-07 16:35 UTC (permalink / raw
To: emacs-orgmode
i have been running orgmode for awhile now, and using it to export my
files to latex for printing..
for some reason, today, it stopped working..
when i do a C-c C-e and select 'l' to export to latex, i get the following:
Sorting environment...
Removing duplicates... done
Applying style hooks... done
and then it just hangs..
i have tried checking *messages* for some clues, but that is all it says..
anyone have any ideas where i might look to fix this?
thanks!
--
___
peace,
sergio
www.village-buzz.com
photographer, journalist, visionary
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex..
2009-01-07 16:35 export to latex sergio_101
@ 2009-01-07 17:53 ` Carsten Dominik
2009-01-07 18:18 ` sergio
0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2009-01-07 17:53 UTC (permalink / raw
To: sergio_101; +Cc: emacs-orgmode
Hi Sergio,
are you explicitly trying to hide information?
For example: did you upgrade today?
What is your current version?
Do you have a small example file which does already reproduce the
problem?
You really don't give me anything to work on....
- Carsten
On Jan 7, 2009, at 5:35 PM, sergio_101 wrote:
> i have been running orgmode for awhile now, and using it to export my
> files to latex for printing..
>
> for some reason, today, it stopped working..
>
> when i do a C-c C-e and select 'l' to export to latex, i get the
> following:
>
>
> Sorting environment...
> Removing duplicates... done
> Applying style hooks... done
>
> and then it just hangs..
>
> i have tried checking *messages* for some clues, but that is all it
> says..
>
> anyone have any ideas where i might look to fix this?
>
> thanks!
>
> --
> ___
> peace,
> sergio
> www.village-buzz.com
> photographer, journalist, visionary
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex..
2009-01-07 17:53 ` Carsten Dominik
@ 2009-01-07 18:18 ` sergio
2009-01-08 18:36 ` Manish
0 siblings, 1 reply; 10+ messages in thread
From: sergio @ 2009-01-07 18:18 UTC (permalink / raw
To: Carsten Dominik; +Cc: emacs-orgmode
> For example: did you upgrade today?
no upgrades on anything..
>
> What is your current version?
current version: 6.12a
>
> Do you have a small example file which does already reproduce the
> problem?
>
here is a file called test.org that i tried to export:
---- test.org ----
* This is a heading
and some text
1 this
that
the other
1. a point.
2. another point.
---- end file ----
__
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex..
2009-01-07 18:18 ` sergio
@ 2009-01-08 18:36 ` Manish
0 siblings, 0 replies; 10+ messages in thread
From: Manish @ 2009-01-08 18:36 UTC (permalink / raw
To: sergio; +Cc: emacs-orgmode
On Wed, Jan 7, 2009 at 11:48 PM, sergio wrote:
>> For example: did you upgrade today?
>
> no upgrades on anything..
>
>>
>> What is your current version?
>
> current version: 6.12a
>>
>> Do you have a small example file which does already reproduce the problem?
>>
>
> here is a file called test.org that i tried to export:
>
> ---- test.org ----
> * This is a heading
> and some text
>
> 1 this
> that
> the other
>
> 1. a point.
> 2. another point.
>
>
> ---- end file ----
>
This file exports fine to PDF.
--
Manish
WinXP SP2, TexLive 2008, Emacs 22.3, Latest Org
^ permalink raw reply [flat|nested] 10+ messages in thread
* export to latex
@ 2009-01-11 0:07 sergio_101
2009-01-11 9:15 ` Carsten Dominik
0 siblings, 1 reply; 10+ messages in thread
From: sergio_101 @ 2009-01-11 0:07 UTC (permalink / raw
To: Emacs-orgmode
okay, i am still having problems exporting to latex, so i did a few more
things and did some investigating.. hopefully this will be of some help.
platform:
_______
osx 10.5
Org-mode version 6.17trans
carbon emacs
what i did:
__________
- totally deleted my org-mode directory
- checked out the newest version from git
- did NOT make the file, so it would run from .el files
the results:
___________
this file, a one line file exports to tex just fine..
,----[ onelinefile.org ]
| one line file
`----
this file, a two line file, poops out..
----[ twolinefile.org ]
| one line file
| two line file
`----
the error:
_________
,----[ error ]
| Debugger entered--Lisp error: (quit)
| add-text-properties(6 6 (org-protected t))
| (while (re-search-forward org-latex-entities-regexp nil t) (add-text-properties (match-beginning 0) (match-end 0) (quote ...)))
| org-export-latex-preprocess()
| (progn (require (quote org-export-latex) nil) (org-export-latex-preprocess))
| (if latexp (progn (require ... nil) (org-export-latex-preprocess)))
| (when latexp (require (quote org-export-latex) nil) (org-export-latex-preprocess))
| (save-current-buffer (set-buffer (get-buffer-create " org-mode-tmp")) (erase-buffer) (insert string) (setq case-fold-search t) (org-export-kill-licensed-text) (let (...) (org-mode)) (setq case-fold-search t) (run-hooks (quote org-export-preprocess-hook)) (untabify (point-min) (point-max)) (org-export-handle-include-files) (run-hooks (quote org-export-preprocess-after-include-files-hook)) (org-export-remove-archived-trees archived-trees) (org-export-remove-comment-blocks-and-subtrees) (org-export-handle-export-tags (plist-get parameters :select-tags) (plist-get parameters :exclude-tags)) (run-hooks (quote org-export-preprocess-after-tree-selection-hook)) (org-export-replace-src-segments-and-examples backend) (org-export-protect-colon-examples) (when (plist-get parameters :footnotes) (org-footnote-normalize nil t)) (setq target-alist (org-export-define-heading-targets target-alist)) (org-export-remove-or-extract-drawers drawers (plist-get parameters :drawers)) (when (plist-get parameters :skip-before-1st-heading) (goto-char ...) (when ... ... ... ...)) (when (plist-get parameters :add-text) (goto-char ...) (insert ... "\n")) (org-export-remove-headline-metadata parameters) (setq target-alist (org-export-handle-invisible-targets target-alist)) (org-export-select-backend-specific-text backend) (org-export-protect-quoted-subtrees) (org-export-protect-verbatim) (org-export-mark-blockquote-and-verse) (org-export-remove-clock-lines) (unless (plist-get parameters :timestamps) (org-export-remove-timestamps)) (setq target-alist (org-export-attach-captions-and-attributes backend target-alist)) (org-export-mark-radio-links) (org-export-concatenate-multiline-links) (org-export-normalize-links) (org-export-target-internal-links target-alist) (when (plist-get parameters :emph-multiline) (org-export-concatenate-multiline-emphasis)) (when org-export-table-remove-special-lines (org-export-remove-special-table-lines)) (run-hooks (quote org-export-preprocess-before-backend-specifics-hook)) (when latexp (require ... nil) (org-export-latex-preprocess)) (when asciip (org-export-ascii-preprocess)) (when htmlp (org-export-html-preprocess parameters)) (org-export-handle-comments (plist-get parameters :comments)) (run-hooks (quote org-export-preprocess-final-hook)) (setq rtn (buffer-string)))
| (with-current-buffer (get-buffer-create " org-mode-tmp") (erase-buffer) (insert string) (setq case-fold-search t) (org-export-kill-licensed-text) (let (...) (org-mode)) (setq case-fold-search t) (run-hooks (quote org-export-preprocess-hook)) (untabify (point-min) (point-max)) (org-export-handle-include-files) (run-hooks (quote org-export-preprocess-after-include-files-hook)) (org-export-remove-archived-trees archived-trees) (org-export-remove-comment-blocks-and-subtrees) (org-export-handle-export-tags (plist-get parameters :select-tags) (plist-get parameters :exclude-tags)) (run-hooks (quote org-export-preprocess-after-tree-selection-hook)) (org-export-replace-src-segments-and-examples backend) (org-export-protect-colon-examples) (when (plist-get parameters :footnotes) (org-footnote-normalize nil t)) (setq target-alist (org-export-define-heading-targets target-alist)) (org-export-remove-or-extract-drawers drawers (plist-get parameters :drawers)) (when (plist-get parameters :skip-before-1st-heading) (goto-char ...) (when ... ... ... ...)) (when (plist-get parameters :add-text) (goto-char ...) (insert ... "\n")) (org-export-remove-headline-metadata parameters) (setq target-alist (org-export-handle-invisible-targets target-alist)) (org-export-select-backend-specific-text backend) (org-export-protect-quoted-subtrees) (org-export-protect-verbatim) (org-export-mark-blockquote-and-verse) (org-export-remove-clock-lines) (unless (plist-get parameters :timestamps) (org-export-remove-timestamps)) (setq target-alist (org-export-attach-captions-and-attributes backend target-alist)) (org-export-mark-radio-links) (org-export-concatenate-multiline-links) (org-export-normalize-links) (org-export-target-internal-links target-alist) (when (plist-get parameters :emph-multiline) (org-export-concatenate-multiline-emphasis)) (when org-export-table-remove-special-lines (org-export-remove-special-table-lines)) (run-hooks (quote org-export-preprocess-before-backend-specifics-hook)) (when latexp (require ... nil) (org-export-latex-preprocess)) (when asciip (org-export-ascii-preprocess)) (when htmlp (org-export-html-preprocess parameters)) (org-export-handle-comments (plist-get parameters :comments)) (run-hooks (quote org-export-preprocess-final-hook)) (setq rtn (buffer-string)))
| (let* ((htmlp ...) (asciip ...) (latexp ...) (backend ...) (archived-trees ...) (inhibit-read-only t) (drawers org-drawers) (outline-regexp "\\*+ ") target-alist rtn) (setq org-export-target-aliases nil) (setq org-export-code-refs nil) (with-current-buffer (get-buffer-create " org-mode-tmp") (erase-buffer) (insert string) (setq case-fold-search t) (org-export-kill-licensed-text) (let ... ...) (setq case-fold-search t) (run-hooks ...) (untabify ... ...) (org-export-handle-include-files) (run-hooks ...) (org-export-remove-archived-trees archived-trees) (org-export-remove-comment-blocks-and-subtrees) (org-export-handle-export-tags ... ...) (run-hooks ...) (org-export-replace-src-segments-and-examples backend) (org-export-protect-colon-examples) (when ... ...) (setq target-alist ...) (org-export-remove-or-extract-drawers drawers ...) (when ... ... ...) (when ... ... ...) (org-export-remove-headline-metadata parameters) (setq target-alist ...) (org-export-select-backend-specific-text backend) (org-export-protect-quoted-subtrees) (org-export-protect-verbatim) (org-export-mark-blockquote-and-verse) (org-export-remove-clock-lines) (unless ... ...) (setq target-alist ...) (org-export-mark-radio-links) (org-export-concatenate-multiline-links) (org-export-normalize-links) (org-export-target-internal-links target-alist) (when ... ...) (when org-export-table-remove-special-lines ...) (run-hooks ...) (when latexp ... ...) (when asciip ...) (when htmlp ...) (org-export-handle-comments ...) (run-hooks ...) (setq rtn ...)) (kill-buffer " org-mode-tmp") rtn)
| org-export-preprocess-string(#("Archive System Workflow:\n\nSome Definitions:\n\n1. Backup - This is the process of making a copy of live data in the\n event that something horrible happens: accidental file deletion,\n hardware failure, act of nature, call of nature, etc.\n2. Archive - The process of gathering necessary, but outdated data and\n putting it into offline storage. This frees up space that the data\n would have taken on the hard drive.\n3. Media - The actual stuff that the data lives on. This could be\n tapes, CD's. DVD's, etc.\n4. Index - The act of keeping track of data so that the files can be searched.\n\nThings to think about:\n\n1. Data Aging - When is data old? When is it no longer useful to keep\n on our system? At what point do we call access to data \"Not very often\"?\n2. Archive Format - some of the things that are generally considered\n are:\n 1. Media Longevity - How long is the media thought to last? Does it\n have a known shelf life?\n 2. Media Cost - Altough DATs can hold a TON of data, the readers\n and media are way expensive.\n 3. Accessibility - How easy is it to get at a file on the archive?\n What is the least amount of information you will have when\n looking for a file? A partial filename? A datestamp?\n 4. Complexity - What skills are needed to produce the archive? Can\n a temp do it, or does it take an evil genius to do it?\n 5. Technology - Is the media technologically sound? Will it be\n around in the next ten years? (Think JAZ and ZIP drives)\n3. Indexing Archived Data - Where should this index live? What should\n be the interface?\n4. Data Access - How do we get the data once it's archived? Do we need\n any special programs or software to get it? How much training is\n required to access data?\n5. Documentation - Is our archive system documented? What flags an\n involved in accessing archive data? archive creation? Who is\n reponsible for each step?\n\n\n\n\n\n\n" 0 25 (:org-license-to-kill t fontified nil) 25 509 (fontified nil) 509 1038 (fontified nil) 1038 1557 (fontified nil) 1557 1911 (fontified nil)) :for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil :LaTeX-fragments nil)
| (org-export-latex-content (org-export-preprocess-string (buffer-substring pt end) :for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil :LaTeX-fragments nil))
| (prog1 (org-export-latex-content (org-export-preprocess-string ... :for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading nil :LaTeX-fragments nil)) (add-text-properties pt (max pt ...) (quote ...)))
| (let* ((pt ...) (end ...)) (prog1 (org-export-latex-content ...) (add-text-properties pt ... ...)))
| (save-excursion (goto-char (or beg ...)) (if (org-at-heading-p) (beginning-of-line 2)) (let* (... ...) (prog1 ... ...)))
| org-export-latex-first-lines(nil)
| (if skip "" (org-export-latex-first-lines rbeg))
| (let* ((wcf ...) (opt-plist org-export-latex-options-plist) (region-p ...) (rbeg ...) (rend ...) (subtree-p ...) (opt-plist ...) (org-export-latex-options-plist opt-plist) (title ...) (filename ...) (filename ...) (buffer ...) (odd org-odd-levels-only) (header ...) (skip ...) (text ...) (first-lines ...) (coding-system ...) (coding-system-for-write ...) (save-buffer-coding-system ...) (region ...) (string-for-export ...)) (set-buffer buffer) (erase-buffer) (and (fboundp ...) (set-buffer-file-coding-system coding-system-for-write)) (unless (or ... body-only) (insert header)) (when (and text ...) (insert ... "\n\n")) (unless (or skip ...) (insert first-lines)) (org-export-latex-global (with-temp-buffer ... ... ...)) (unless body-only (insert "\n\\end{document}")) (or to-buffer (save-buffer)) (goto-char (point-min)) (message "Exporting to LaTeX...done") (prog1 (if ... ... ...) (set-window-configuration wcf)))
| org-export-as-latex(nil)
| call-interactively(org-export-as-latex)
| (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set-process-sentinel p ...) (message "Background process \"%s\": started" p)) (call-interactively (nth 1 ass)))
| (let* ((bg ...) (help "[t] insert the export option template\n[v] limit export to visible part of outline tree\n\n[a] export as ASCII\n\n[h] export as HTML\n[H] export as HTML to temporary buffer\n[R] export region as HTML\n[b] export as HTML and browse immediately\n[x] export as XOXO\n\n[l] export as LaTeX\n[p] export as LaTeX and process to PDF\n[d] export as LaTeX, process to PDF, and open the resulting PDF document\n[L] export as LaTeX to temporary buffer\n\n[i] export current file as iCalendar file\n[I] export all agenda files as iCalendar files\n[c] export agenda files into combined iCalendar file\n\n[F] publish current file\n[P] publish current project\n[X] publish... (project will be prompted for)\n[A] publish all projects") (cmds ...) r1 r2 ass) (save-window-excursion (delete-other-windows) (with-output-to-temp-buffer "*Org Export/Publishing Help*" ...) (org-fit-window-to-buffer ...) (message "Select command: ") (setq r1 ...)) (setq r2 (if ... ... r1)) (unless (setq ass ...) (error "No command associated with key %c" r1)) (if (and bg ... ... ...) (let ... ... ...) (call-interactively ...)))
| org-export(nil)
| call-interactively(org-export)
`----
--
___
peace,
sergio
http://www.village-buzz.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex
2009-01-11 0:07 sergio_101
@ 2009-01-11 9:15 ` Carsten Dominik
2009-01-11 11:56 ` Manish
0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2009-01-11 9:15 UTC (permalink / raw
To: sergio_101; +Cc: Emacs-orgmode
I still cannot reproduce this, my commit is
5a8f775d79f4089d03968dd16ba7d073b7c9f142
and your file exports just fine.
Note that "trans" is not a well-defined version.
- Carsten
On Jan 11, 2009, at 1:07 AM, sergio_101 wrote:
> | one line file
> | two line file
> `----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex
2009-01-11 9:15 ` Carsten Dominik
@ 2009-01-11 11:56 ` Manish
2009-01-11 13:08 ` Carsten Dominik
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Manish @ 2009-01-11 11:56 UTC (permalink / raw
To: Carsten Dominik; +Cc: Emacs-orgmode
On Sun, Jan 11, 2009 at 2:45 PM, Carsten Dominik wrote:
> I still cannot reproduce this, my commit is
>
> 5a8f775d79f4089d03968dd16ba7d073b7c9f142
>
> and your file exports just fine.
>
> Note that "trans" is not a well-defined version.
>
> - Carsten
>
> On Jan 11, 2009, at 1:07 AM, sergio_101 wrote:
>
>> | one line file
>> | two line file
>> `----
>
Just to add one additional (quite useless data point).. I tried the
example file and it did seem to hang with Emacs consuming lots of CPU.
Although export to HTML worked for the file. Not just the example
file.. my other files also got stuck at PDF export. Then I rebooted
Emacs and tried PDF export first thing (i.e. w/o exporting to HTML
first) and it myteriously worked for all files.
Sorry I do not have more useful information, I did try debug-on-error
but it did not produce anything.. I had to cancel after waiting for
export to finish.
This was on Org (commit: 5a8f775), WinXP SP2, Emacs 22.3.
--
Manish
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex
2009-01-11 11:56 ` Manish
@ 2009-01-11 13:08 ` Carsten Dominik
2009-01-11 17:43 ` sergio_101
2009-01-12 14:50 ` Uwe Jochum
2 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2009-01-11 13:08 UTC (permalink / raw
To: Manish; +Cc: Emacs-orgmode
On Jan 11, 2009, at 12:56 PM, Manish wrote:
> On Sun, Jan 11, 2009 at 2:45 PM, Carsten Dominik wrote:
>> I still cannot reproduce this, my commit is
>>
>> 5a8f775d79f4089d03968dd16ba7d073b7c9f142
>>
>> and your file exports just fine.
>>
>> Note that "trans" is not a well-defined version.
>>
>> - Carsten
>>
>> On Jan 11, 2009, at 1:07 AM, sergio_101 wrote:
>>
>>> | one line file
>>> | two line file
>>> `----
>>
>
> Just to add one additional (quite useless data point).. I tried the
> example file and it did seem to hang with Emacs consuming lots of CPU.
> Although export to HTML worked for the file. Not just the example
> file.. my other files also got stuck at PDF export. Then I rebooted
> Emacs and tried PDF export first thing (i.e. w/o exporting to HTML
> first) and it myteriously worked for all files.
>
> Sorry I do not have more useful information, I did try debug-on-error
> but it did not produce anything.. I had to cancel after waiting for
> export to finish.
If you can make it hang, try setting debug-on-quit, get it to hang,
and press C-g.
- Carsten
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex
2009-01-11 11:56 ` Manish
2009-01-11 13:08 ` Carsten Dominik
@ 2009-01-11 17:43 ` sergio_101
2009-01-12 14:50 ` Uwe Jochum
2 siblings, 0 replies; 10+ messages in thread
From: sergio_101 @ 2009-01-11 17:43 UTC (permalink / raw
To: Emacs-orgmode
> Just to add one additional (quite useless data point).. I tried the
> example file and it did seem to hang with Emacs consuming lots of CPU.
okay, i knew i was going to miss something...
html export works just fine..
but i never do get a fail.. the processor usage shoots to 100%.. and
hangs there... i let it go for a few hours.. then quit it.
the error message i sent was from after cancelling in the middle of the
export..
--
___
peace,
sergio
http://www.village-buzz.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: export to latex
2009-01-11 11:56 ` Manish
2009-01-11 13:08 ` Carsten Dominik
2009-01-11 17:43 ` sergio_101
@ 2009-01-12 14:50 ` Uwe Jochum
2 siblings, 0 replies; 10+ messages in thread
From: Uwe Jochum @ 2009-01-12 14:50 UTC (permalink / raw
To: emacs-orgmode
> Just to add one additional (quite useless data point).. I tried the
> example file and it did seem to hang with Emacs consuming lots of CPU.
> Although export to HTML worked for the file. Not just the example
> file.. my other files also got stuck at PDF export. Then I rebooted
> Emacs and tried PDF export first thing (i.e. w/o exporting to HTML
> first) and it myteriously worked for all files.
Here's a trick that works on my office machine (Windows XP, Emacs 22.3.1):
Before exporting to LaTeX I export to html. That done an export to LaTeX
works fine (all four commands). I have no clue why this is necessary on my
WinXP machine. At home, on my Linux machine, a prior export to html is
uneccessary before exporting to LaTeX.
Regards,
Uwe
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-01-12 14:50 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 16:35 export to latex sergio_101
2009-01-07 17:53 ` Carsten Dominik
2009-01-07 18:18 ` sergio
2009-01-08 18:36 ` Manish
-- strict thread matches above, loose matches on Subject: below --
2009-01-11 0:07 sergio_101
2009-01-11 9:15 ` Carsten Dominik
2009-01-11 11:56 ` Manish
2009-01-11 13:08 ` Carsten Dominik
2009-01-11 17:43 ` sergio_101
2009-01-12 14:50 ` Uwe Jochum
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.