[Orgmode] Re: latex wrap
Carsten Dominik gmail.com> writes: Hi Carsten, > > having only used latex before: is there a way to prevent > > emacs/org-mode---upon pressing M-q---to wrap a paragraph > > > > bla bla > > \begin{equation} > > 1+1=2 > > \end{equation} > > > > into > > > > bla bla \begin{equation} 1+1=2 \end{equation} > > Why would you press M-q in such a location? Because using org-mode as a note-taking program you may fiddle around on a paragraph and when done press M-q to reformat it nicely on the screen. (At least with auctex) it is nice that M-q is respecting also long \cite lists or % comments which can help to increase readability of the tex-document. > > Can I make org-mode more aware of latex constructs? A different font- > > face > > would also be really nice! > > Turn on both org-export-with-LaTeX-fragments and > org-highlight-latex-fragments-and-specials that's great! thank you. josef ___ 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
Re: [Orgmode] Online manual
Many thanks. Shaun. Carsten Dominik wrote: Actually, yes, there was a problem, fixed now. - Carsten On Jun 29, 2009, at 3:24 PM, Shaun Johnson wrote: Hi All, I've just visited the online manual (http://orgmode.org/org.html)and I see it has changed - there is no longer a navigation sidebar. Is this a mistake or a deliberate change? Did I miss something on the mailing list? Thanks, Shaun Johnson. ___ 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 ___ 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
[Orgmode] Arthur Dent born in May?
Hello, this might be an important glitch in org-mode's documentation: %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old probably should read %%(diary-anniversary 05 14 1956) Arthur Dent is %d years old if Douglas Adams had May in mind for Mr Dent. So according to the Emacs documentation the format is "month day year" which feels distinctly alien to me (I am used to "day month year"). Is there another way to have the same functionality with a different date format? Warm regards, Stefan -- Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut für neurologische Forschung Gleuelerstr. 50, 50931 Köln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: voll...@nf.mpg.de http://www.nf.mpg.de ___ 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
Re: [Orgmode] Arthur Dent born in May?
At Tue, 30 Jun 2009 11:27:22 +0200, Stefan Vollmar wrote: > > Hello, > > this might be an important glitch in org-mode's documentation: > > %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old > > probably should read > > %%(diary-anniversary 05 14 1956) Arthur Dent is %d years old > > if Douglas Adams had May in mind for Mr Dent. > > So according to the Emacs documentation the format is "month day year" > which feels distinctly alien to me (I am used to "day month year"). Is > there another way to have the same functionality with a different date > format? The format of dates in Emacs' Diary is controlled by diary-date-forms which you can customise if you wish. There are pre-defined forms for european, american and iso-date. Type C-h v diary-date-forms for full help. ___ 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
Re: [Orgmode] Arthur Dent born in May?
this might be an important glitch in org-mode's documentation: %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old probably should read %%(diary-anniversary 05 14 1956) Arthur Dent is %d years old if Douglas Adams had May in mind for Mr Dent. So according to the Emacs documentation the format is "month day year" which feels distinctly alien to me (I am used to "day month year"). Is there another way to have the same functionality with a different date format? The format of dates in Emacs' Diary is controlled by diary-date-forms which you can customise if you wish. There are pre-defined forms for european, american and iso-date. Type C-h v diary-date-forms for full help. You can just put (european-calendar) in your .emacs to get dates in the "proper" format (customize will do the same thing). Ian. ___ 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
Re: [Orgmode] Arthur Dent born in May?
At Tue, 30 Jun 2009 11:48:04 +0100, Ian Barton wrote: > [...] > You can just put (european-calendar) in your .emacs to get dates in > the "proper" format (customize will do the same thing). True but note (from the description of that command): , | This function is obsolete since 23.1; use `calendar-set-date-style' instead. ` so maybe the calendar function noted in this message is the best route for future-proofing? ___ 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
[Orgmode] Shotcut Icon and PDF problem in the HTML output
Hello Experts, I noticed two problems with recent org publishing HTML with js support. To make is specific, one can use this page as example: http://orgmode.org/Changes.html 1.) The shortcut icon is no longer displayed (the small icon in the address bar) In the HTML, the line is still there: 2.) Print one webpage into PDF is not working: For example, go to page: http://orgmode.org/Changes.html#sec-4.3.5 In firefox (3.0.11), Ctrl+p (File->Print ) into PDF, then open with Adobe reader gives: Adobe Reader: There was an error processing a page. There was a problem reading this document(109). It might due to the org-info.js ... Thanks! Xin ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Xin Shi writes: > Hello Experts, > > I noticed two problems with recent org publishing HTML with js support. > > To make is specific, one can use this page as example: > > http://orgmode.org/Changes.html > > 1.) The shortcut icon is no longer displayed (the small icon in the address > bar) > > In the HTML, the line is still there: > > I didn't notice that. But, yes, it is missing the icon. > > 2.) Print one webpage into PDF is not working: > > For example, go to page: > http://orgmode.org/Changes.html#sec-4.3.5 > > In firefox (3.0.11), Ctrl+p (File->Print ) into PDF, then open with Adobe > reader gives: > Adobe Reader: There was an error processing a page. There was a problem > reading this document(109). I can't reproduce this. Is your browser work for other sites? > > It might due to the org-info.js ... > > Thanks! > > Xin > -- c/*__o/* <\ * (__ */\ < ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Hi Xiao-Yong, Yes. My broser works on the same page a few weeks ago. I tested on other sites, it is OK. I also tried on the orgmode homepage, same error. Thanks! Xin On Tue, Jun 30, 2009 at 9:43 AM, Xiao-Yong Jin wrote: > Xin Shi writes: > > > Hello Experts, > > > > I noticed two problems with recent org publishing HTML with js support. > > > > To make is specific, one can use this page as example: > > > > http://orgmode.org/Changes.html > > > > 1.) The shortcut icon is no longer displayed (the small icon in the > address > > bar) > > > > In the HTML, the line is still there: > > > > type="image/x-icon" /> > > I didn't notice that. But, yes, it is missing the icon. > > > > > 2.) Print one webpage into PDF is not working: > > > > For example, go to page: > > http://orgmode.org/Changes.html#sec-4.3.5 > > > > In firefox (3.0.11), Ctrl+p (File->Print ) into PDF, then open with Adobe > > reader gives: > > Adobe Reader: There was an error processing a page. There was a problem > > reading this document(109). > > I can't reproduce this. Is your browser work for other > sites? > > > > > It might due to the org-info.js ... > > > > Thanks! > > > > Xin > > > -- >c/*__o/* ><\ * (__ >*/\ < > > > ___ > 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 > ___ 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
[Orgmode] Changing way hlines in tables are exported?
Hi, I wonder if there is an easy way to change the style of the "exported" hlines in tables. This should not only be possible per table but per single hline, e.g. the first hline should be thick and in blue, the next two one are ordinary ones and the third should be thick and red. This should be possible for HTML, LaTeX and other export formats. Regards, Rainer ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Xin Shi writes: > Hi Xiao-Yong, > > Yes. My broser works on the same page a few weeks ago. > > I tested on other sites, it is OK. I also tried on the orgmode homepage, same > error. It works for me in firefox, which is compiled and distributed by archlinux. Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061314 GranParadiso/3.0.11 Let's see if other people have the same problem as you do. Xiao-Yong -- c/*__o/* <\ * (__ */\ < ___ 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
[Orgmode] Sorting and renumbering footnotes
I use Org to write quite long documents with many footnotes and I am wondering if there is a way to renumber the footnotes when sorting with "C-u C-c C-x f s". "n" at the end is not what I am looking for. I'd like the footnotes to stay at the position set by org-footnote-section. Simple visual example: --- * First Headline Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing project[fn:3] planning, and authoring with a fast and effective[fn:1] plain-text system. [fn:1] Third Footnote. [fn:2] Frist Footnote. [fn:3] Second Footnote. * Second Headline - Pressing "C-u C-c C-x f s" resuls in the following: -- * First Headline Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing project[fn:3] planning, and authoring with a fast and effective[fn:1] plain-text system. [fn:2] Frist Footnote. [fn:3] Second Footnote. [fn:1] Third Footnote. * Second Headline --- How can I achieve this: --- * First Headline Org-mode is for keeping[fn:1] notes, maintaining ToDo lists, doing project[fn:2] planning, and authoring with a fast and effective[fn:3] plain-text system. [fn:1] Frist Footnote. [fn:2] Second Footnote. [fn:3] Third Footnote. * Second Headline -- Karl ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Xin Shi wrote: > Yes. My broser works on the same page a few weeks ago. > > I tested on other sites, it is OK. I also tried on the orgmode homepage, > same error. > I see neither of the problems you see: the icon is in the proper place and the PDF of the org home page is readable by both xpdf and acroread. But note that Carsten fixed something having to do with (I'm guessing) with org-info.js, that was causing the navigation sidebar of the manual to be absent. That may have fixed the problems that you see, too? In any case, it's worth rechecking. Thanks, Nick ___ 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
[Orgmode] [PATCH] fix org-feed when retrieve-method is curl or wget
Hi Carsten and everyone. I love using org-feed, to gather various collection points (delicious, starred in google reader, dial2do, etc) into org-mode. I tried switching the org-feed-retrieve-method to curl or wget, and encountered some bugs. The fixes were simple, and the full details are in the attached git patch. The problem I was trying to solve, however, was that delicious.com would return a "500 server error" sometimes with url.el, and I'm not sure why. It returns RSS content anyway, with the error message as an . Org-feed doesn't notice the HTTP response status, and processes the error as if it were a legit item (which means that next time the error occurs, it is silent). Now that I got curl working, the 500 doesn't seem to happen anymore. My hypotheses so far: maybe it has something to do with the user- agent, or with mangling special characters in the URL. The delicious URL contains the '&' argument separator, and when the error message comes back, it appears with something like '&' in it.. as if it were replaced twice. I haven't traced further, to determine if fault lies with url.el or with delicious.com. Best wishes Chris 0001-fix-org-feed-when-retrieve-method-is-curl-or-wget.patch Description: Binary data ___ 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
[Orgmode] Reminder Windows. Was Timestamp question
Forwarded Message From: Louis A. Turk Reply-to: l...@dayspringpublisher.com To: Eric S Fraga Subject: Reminder Windows. Was Timestamp question Date: Tue, 30 Jun 2009 10:41:13 +0800 On Sat, 2009-06-27 at 11:54 +0100, Eric S Fraga wrote: > At Fri, 26 Jun 2009 23:10:52 +0800, Louis A. Turk wrote: > > > > 2. I would also like a reminder window to pop up 15 minutes before the > > meeting starts. > > Bernt has answered your first question. For this one, have a look at these > links: > > ;; and from RichardRiley's entry: http://www.emacswiki.org/emacs/OrgMode-OSD > ;; and from Nick Dokos: http://article.gmane.org/gmane.emacs.orgmode/5271 > > (from my comments in my .emacs which sets up org-mode for window > popups) which interface org-mode, Emacs's own appointment mechanism > and on-screen display features in Linux. > > HTH. Eric, Many thanks for the links! I'm trying out OrgMode-ODS, so far it is not working. The following error message may be related: ServerError: : not well-formed (invalid token): line 1, column 62 But I'm not sure, as I also see a problem in Agenda view. Note the middle line below: Friday 9 January 2009 projects: 13:14.. DONE Page layout Saturday 10 January 2009 Perhaps I've entered some data wrong or something. I've planned several year in detail, so there is lots of data. When I try to view past weeks in Agenda view, I get this: Debugger entered--Lisp error: (error "Before first headline at position 3361 in buffer anniversaries.org") signal(error ("Before first headline at position 3361 in buffer anniversaries.org")) error("Before first headline at position %d in buffer %s" 3361 #) byte-code("ÀÁ`p#‡" [error "Before first headline at position %d in buffer %s"] 4) org-back-to-heading(t) org-get-todo-state() byte-code("Æ Ç•Sbˆ`ÈÉ!ˆ `{ÊË!ƒ# There is more to the above quote, but everything past the byte code didn't paste. Here is the line in question from the anniversary file: %%(diary-anniversary 06 25 1993) Tryphena & Kristian married %d years ago. Help from anyone will be appreciated! Lou ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Hi Nick, I tested on another machine with Debian 5.0 /Iceweasel 3.0.6. It can produce the PDF file but the icon is still missing. Xin On Tue, Jun 30, 2009 at 10:53 AM, Nick Dokos wrote: > Xin Shi wrote: > > > > Yes. My broser works on the same page a few weeks ago. > > > > I tested on other sites, it is OK. I also tried on the orgmode homepage, > > same error. > > > > I see neither of the problems you see: the icon is in the proper place and > the PDF of the org home page is readable by both xpdf and acroread. But > note > that Carsten fixed something having to do with (I'm guessing) with > org-info.js, > that was causing the navigation sidebar of the manual to be absent. That > may > have fixed the problems that you see, too? In any case, it's worth > rechecking. > > > Thanks, > Nick > ___ 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
Re: [Orgmode] [PATCH] fix org-feed when retrieve-method is curl or wget
Applied, thanks. - Carsten On Jun 30, 2009, at 5:59 PM, Christopher League wrote: Hi Carsten and everyone. I love using org-feed, to gather various collection points (delicious, starred in google reader, dial2do, etc) into org-mode. I tried switching the org-feed-retrieve-method to curl or wget, and encountered some bugs. The fixes were simple, and the full details are in the attached git patch. The problem I was trying to solve, however, was that delicious.com would return a "500 server error" sometimes with url.el, and I'm not sure why. It returns RSS content anyway, with the error message as an . Org-feed doesn't notice the HTTP response status, and processes the error as if it were a legit item (which means that next time the error occurs, it is silent). Now that I got curl working, the 500 doesn't seem to happen anymore. My hypotheses so far: maybe it has something to do with the user- agent, or with mangling special characters in the URL. The delicious URL contains the '&' argument separator, and when the error message comes back, it appears with something like '&' in it.. as if it were replaced twice. I haven't traced further, to determine if fault lies with url.el or with delicious.com. Best wishes Chris <0001-fix-org-feed-when-retrieve-method-is-curl-or-wget.patch> ___ 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 ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Hi > I see neither of the problems you see: the icon is in the proper place and > the PDF of the org home page is readable by both xpdf and acroread. But note > that Carsten fixed something having to do with (I'm guessing) with > org-info.js, > that was causing the navigation sidebar of the manual to be absent. That may > have fixed the problems that you see, too? In any case, it's worth rechecking. The icon _is_ missing in the online version of the manual. Actually, there seems to be no html to display the icon or link it. The home page is fine. Printing to a PDF file seems to be working for me. Vikram ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Hi Vikram, I think the manual is a different story than the other HTML pages generated by org-mode. >From the source of the manual: http://orgmode.org/manual/index.html One can see that it is generated by: makeinfo, not org-mode. Xin On Tue, Jun 30, 2009 at 1:58 PM, Vikram S V wrote: > Hi > > > I see neither of the problems you see: the icon is in the proper place > and > > the PDF of the org home page is readable by both xpdf and acroread. But > note > > that Carsten fixed something having to do with (I'm guessing) with > org-info.js, > > that was causing the navigation sidebar of the manual to be absent. That > may > > have fixed the problems that you see, too? In any case, it's worth > rechecking. > > The icon _is_ missing in the online version of the manual. Actually, > there seems to be no html to display the icon or link it. > The home page is fine. Printing to a PDF file seems to be working for me. > > > > Vikram > ___ 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
Re: [Orgmode] Changing way hlines in tables are exported?
On Jun 30, 2009, at 4:15 PM, Rainer Hansen wrote: Hi, I wonder if there is an easy way to change the style of the "exported" hlines in tables. This should not only be possible per table but per single hline, e.g. the first hline should be thick and in blue, the next two one are ordinary ones and the third should be thick and red. This should be possible for HTML, LaTeX and other export formats. Not currently, I guess this would need a look by CSS exports. Org uses the hlines to define different groups. We could probably assign classes to them, but I don't have a recipe on how to do this differently on a per-table base. Would get complex, it would require new #+ inbuffer settings. As an alternative, maybe look at at the variable org-export-table-row-tags an do special formatting for some rows? HTH - Carsten Regards, Rainer ___ 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 ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Hi Xin, > I think the manual is a different story than the other HTML pages generated > by org-mode. I see. Thank you for the pointer. As you can see (?), the icon seems to be missing in the manual pages too. I am no expert at org-mode, my naive guess is that, probably there is some common "source" to this problem of missing icons. Vikram ___ 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
Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Hi Vikram, On Tue, Jun 30, 2009 at 2:17 PM, Vikram S V wrote: > Hi Xin, > > > I think the manual is a different story than the other HTML pages > generated > > by org-mode. > I see. Thank you for the pointer. As you can see (?), the icon seems > to be missing in the manual pages too. No problem. You're right. In the manual case, there is no such line in the HTML. > > I am no expert at org-mode, my naive guess is that, probably there is > some common "source" to this problem of missing icons. > However, in the Changes.html, the HTML file has it as I pointed in my first email: When loading that page: http://orgmode.org/Changes.html, if one looks carefully, one can see the icon shows up in the address bar very quickly and then disappear. :) > > Vikram > Xin ___ 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
[Orgmode] wish list: sort tasks by age
I would love to be able to sort TODOs by their age, so it becomes painfully obvious what I have been ignoring. Since org relies on free- form text (a strength), it's tricky to ensure that every item gets a 'creation-time' property. But it doesn't need to be accurate to the second; even a script that added that property once every day or so might do the trick. Since I commit my agenda files to git every day or so, I can actually get an approximation to this with git-blame... grep the TODO headlines, then sort by commit date. It's pretty hackish, and I'm not sure I want to go to the trouble of integrating that raw data with the agenda view, if there's a better way within org. Ideas? Thanks! Chris ___ 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
Re: [Orgmode] latex wrap
Hi Carsten, On 27.06.2009 09:00 Carsten Dominik wrote: > > On Jun 26, 2009, at 11:13 PM, hello world wrote: > >> bla bla >> \begin{equation} >> 1+1=2 >> \end{equation} >> >> into >> >> bla bla \begin{equation} 1+1=2 \end{equation} > > Why would you press M-q in such a location? This behaviour is also bothering me. The example may not illustrate the problem explicitly enough. Here is a more elaborate one: I often find myself writing a paragraph that includes an equation like in this example: --- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. --- When writing such a paragraph you need to use M-q. In AUCTeX this is no problem. You easily get the above paragraph using M-q. In org-mode, however, you get this: --- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. --- This is quite confusing. A possible workaround to this problem is to insert newlines around the equation like this: --- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ---+ However, the equation is then put into a new paragraph which is not intended here: The resulting PDF contains additional spacing around the equations. The intention that this should be a single paragraph is not achieved. It would be very nice to have the same behaviour in this setting as AUCTeX. Cheers, Patrick ___ 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
Re: [Orgmode] latex wrap
On Jul 1, 2009, at 2:16 AM, Patrick Bahr wrote: Hi Carsten, On 27.06.2009 09:00 Carsten Dominik wrote: On Jun 26, 2009, at 11:13 PM, hello world wrote: bla bla \begin{equation} 1+1=2 \end{equation} into bla bla \begin{equation} 1+1=2 \end{equation} Why would you press M-q in such a location? This behaviour is also bothering me. The example may not illustrate the problem explicitly enough. Here is a more elaborate one: I often find myself writing a paragraph that includes an equation like in this example: --- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. --- When writing such a paragraph you need to use M-q. In AUCTeX this is no problem. You easily get the above paragraph using M-q. In org-mode, however, you get this: --- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. --- This is quite confusing. A possible workaround to this problem is to insert newlines around the equation like this: Another work-around would be Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. # \[ a^2 + b^ = c^2 \] # Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. --- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. \[ a^2 + b^ = c^2 \] Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ---+ However, the equation is then put into a new paragraph which is not intended here: The resulting PDF contains additional spacing around the equations. The intention that this should be a single paragraph is not achieved. It would be very nice to have the same behaviour in this setting as AUCTeX. Cheers, Patrick ___ 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