Re: [O] Near real-time preview of PDF/ODT export?
On Nov 22 2013, Bastien wrote: Hello all, I have been using a simple bash script with a Makefile to make pdf file to be updated with org source on each save while I am editing. It is working fine for me. Of course its not exactly real time but fast enough feedback for me. I am attaching my files hoping that they may be useful for others. one may need to edit init.el and Makefile for their use case. I run something like this. $ watcher.sh paper.org make Watcher script checks every second to see if the org file is modified and runs make command. #!/bin/bash FILE="$1" CMD="$2" LAST=`ls -l "$FILE"` while true; do sleep 1 NEW=`ls -l "$FILE"` if [ "$NEW" != "$LAST" ]; then t="$(date +%s)" echo "watcher action started at " $(date) "$CMD" 2>&1 | tee /tmp/wathcer.log.$$ LAST="$NEW" t="$(($(date +%s)-t))" printf "done; %02d:%02d\n" "$((t/60%60))" "$((t%60))" fi done Makefile Description: Binary data init.el Description: application/emacs-lisp Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] ODT export
Hello Vikas, I don't think you can convert latex bits to org automatically. I was in a similar situation few days ago. I had very satisfying results using LaTeX2HTML and libreoffice convert. (org → latex → html → odt/doc) Citing the procedure I used to convert. ╭─┤ http://askubuntu.com/a/239332/18411 ├─ │Believe it or not, with complex documents and lots of packages included, I got │much better results with LaTeX2HTML than with LaTeX2RTF, Pandoc or TeX4ht. │ │ latex2html texfile.tex -split 0 -no_navigation -info "" -address "" -html_version 4.0,unicode │ │This will generate a folder with the same texfile name, so you'll be able to │convert the generated HTML to ODT: │ │libreoffice --headless --convert-to odt:"OpenDocument Text Flat XML" texfile/index.html │ │This will produce a index.odt file. Take a look at this answer to check how to │use LibreOffice's convert filters. ╰─ On Aug 12 2013, Vikas Rawal wrote: > I have an org file with some latex src code blocks embedded in it. > These are mainly tables which could not be made using orgmode and had > to be coded in latex (orgmode does not allow putting notes at the > bottom of table using something like threeparttable). > > I now need to convert the document to odt. What is my best bet? How > can I convert latex src code blocks to native org syntax, even if it > means loosing some of the things (for example, the threeparttable > stuff). > > Or do I need to write it all over again? > > Vikas > > Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Slides about LaTeX export
On Jun 17 2013, t...@tsdye.com (Thomas S. Dye) wrote: > Carsten Dominik writes: > >> On 16.6.2013, at 23:00, Nick Dokos wrote: >> >>> t...@tsdye.com (Thomas S. Dye) writes: >>> >> Hi Fabrice, >> >> all source code objects are empty yellow squares when I view this >> slide show with Chrome... >> > > It works as expected for me with Google Chrome. > I get empty yellow rectangles with Google Chrome. >>> >>> IIRC, both you and Carsten use Macs - correct? >> >> Yes, this is correct on my side. > > Yes, I'm on a Mac, too. Here is the pdf version of slides. https://github.com/fniessen/stage-latex-dunkerque-2013/blob/master/org-mode-latex-export.pdf?raw=true Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Mobileorg- Automatic pushing and pulling
Hello Thomas, On Apr 28 2013, t...@tsdye.com (Thomas S. Dye) wrote: > Aloha Feng Shu, > > Hmm. The links to an mobileorg FAQ here > http://mobileorg.ncogni.to/support/ and here > https://github.com/richard/mobileorg/wiki/frequently-asked-questions are I think https://github.com/ksexton/mobileorg/wiki/_pages is the updated link although I don't see exact answer to your question. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] New maintainer
Hello Bastien, Thanks a lot for the great work so far. You are the best. On Apr 19 2013, Bastien wrote: > Dear all, > > I'm stepping down as the Org maintainer. > > Carsten accepted to step up, if the community agrees. > Please raise your thumbs up or your concerns, if any. 👍 > > I'm glad I had this opportunity to work as "Robin" and > I'm even more glad "Batman" may strike back! > > :) Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] [BUG] ob-sql.el: probably an extra paren
Hello Achim, On Mar 22 2013, Achim Gratz wrote: > As for Travis CI: a website that shows absolutely nothing when JavaScript is > turned off? No, thanks. Agreed although travis-ci source is under FSF approved license. About hudson/jenkins (any other CI), If we have resources on the server, I would say we should go for it. That will remove Bastien's concern of slowing down development because of running tests by hand. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] tests with travis-ci
Hello Yann, On Mar 22 2013, Yann Hodique wrote: > overall looks good to me. I'm glad to see that it might be useful for > others :) Thanks for the review. > About that, is it just because my code doesn't install a working > ert-x.el for emacs 23 ? Probably not. I thought ert-x.el is a split from the original ert.el (I may be wrong). > If so, it might be worth waiting for me to fix it (I'm afraid it's not > there simply because I didn't need it :)). It would be sad to limit > yourself just because of that. Assuming ert-x.el can be backported > easily, I'll try and work on it in the coming days. That would be useful. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] tests with travis-ci
[CC'ed to Yann Hodique to acknowledge him] Hello Bastien, I am attaching a patch, please have a look. (especially change in org-test.el) It is directly copied from Magit (with one minor change). It uses Yann's virtualenv-emacs¹ python package which creates multiple emacs environments. > Let me know if there is anything I should do. 1) Mirror org-mode to your github repo (https://github.com/bzg/org-mode) with post receive hook. does org-mode.org server uses gitolite to manage git repos? if so https://github.com/miracle2k/gitolite-simple-mirror may be useful. (I use it on my server for mirroring) 2) Allow travis to access your org-mode repository (This must be very easy) - Create an account on https://travis-ci.org., just click "sign in with github" - activate tests org-mode repo at https://travis-ci.org/profile >From 2666c2ec2a85ca5d68f61b49081d82d1e5165a2d Mon Sep 17 00:00:00 2001 From: Yakkala Yagnesh Raghava Date: Fri, 22 Mar 2013 06:37:48 +0900 Subject: [PATCH] * .travis.yml: travis-ci setup (adopted from magit sources). * testing/org-test.el: remove requiring ert-x (needed for < emacs-24) Signed-off-by: Yakkala Yagnesh Raghava --- .travis.yml | 24 testing/org-test.el | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000..2334034 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python +python: + - "2.7" +env: + matrix: +- EMACS=emacs +- EMACS=emacs24 +- EMACS=emacs-snapshot +before_install: + - if [ "$EMACS" = "emacs24" ]; then +sudo add-apt-repository -y ppa:cassou/emacs && +sudo apt-get update -qq && +sudo apt-get install -qq emacs24 emacs24-el; +fi + - if [ "$EMACS" = 'emacs-snapshot' ]; then + sudo add-apt-repository -y ppa:cassou/emacs && + sudo apt-get update -qq && + sudo apt-get install -qq + emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot; +fi + - pip install virtualenv-emacs + - virtualenv_install_emacs --with-emacs=`which "$EMACS"` +script: + make test diff --git a/testing/org-test.el b/testing/org-test.el index 0c9ca58..5f8dd52 100644 --- a/testing/org-test.el +++ b/testing/org-test.el @@ -79,7 +79,6 @@ "Parent major mode from which special major modes should inherit." (setq buffer-read-only t))) (require 'ert) -(require 'ert-x) (when (file-exists-p (expand-file-name "jump/jump.el" org-test-dir)) (require 'jump) -- 1.8.1.5 There are few tests failing² with emacs-23, don't know much about them. Finally, I haven't activated (yet) email option to send an email to author of the commit if a test fails. Thanks., ¹ https://github.com/sigma/virtualenv-emacs ² https://travis-ci.org/yyr/org-mode (direct link to log: https://api.travis-ci.org/jobs/5698864/log.txt?deansi=true) -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
[O] tests with travis-ci (was: [BUG] ob-sql.el: probably an extra paren)
Hello Bastien, On Mar 22 2013, Bastien wrote: > I think this would be *fantastic*. I have no time for this at the > moment, but anyone willing to help setting travis is trivial enough to start using right away. I can make a patch for that. > This is efficient and not intrusive. > > To give another argument about why I think a pre-push hook on the > developer's side is wrong, imagine this scenario: > > - developer A pushes a commit, all tests pass > - developer B works on latest HEAD assuming all tests pass > - he wants to push his commits but the tests fail > - he naturally thinks it's a problem with *his* changes > - ... but it is not ... > - M-x doctor RET > > This happened for real: recently some tests passed under Emacs <24.3 > but failed under Emacs >=24.3. If we had a pre-push hook, I would not > even be able to push the fix, I would have to deactive the hook first. IIUC, it can't be done with travis. After little googling around, I found that such a conditional committing can be made if we have a continuous integration server (eg: jenkins) is installed and setup on org-mode server. How about using travis first.? Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] [BUG] ob-sql.el: probably an extra paren
Hello Bastien, We can use travis-ci for automated tests, I just run tests for org-mode¹ on travis with emacs-snapshot. Magit has been setup recently to run tests for multiple emacs versions² (emacs23, emacs24 and snapshot). travis has a facility to send mails if a test fails. I see you have org-mode repo on your github account, all we need to do put a post recieve hook to mirror org-mode repo to github. we can adopt magit script³ to org-mode as it won't be synced to emacs trunk. what do you think? Thanks., ¹ https://travis-ci.org/yyr/org-mode/builds/5692183 ² https://travis-ci.org/magit/magit ³ https://github.com/magit/magit/blob/master/.travis.yml -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Meaning of install
Hello Achim, Thomas, On Mar 13 2013, Achim Gratz wrote: > Thomas S. Dye writes: >> >> $ cd ~/src/ >> $ git clone git://orgmode.org/org-mode.git >> $ cd org-mode > > Move the cd up here. > >>In most cases, you will probably want to run `make install' to >> install Org with the Emacs system files. Please run `make help' to get >> the full list of options. > > See, that's one of those short descriptions that only seem clear, but > aren't actually helpful. You can't "make install" just now, you have to > decide Whether and where to install and adapt the local configuration > accordingly, both for the build system and within Emacs. I use el-get to manage my org installation from git repo. el-get simply calls 'make oldorg' and sets path. So may be we can mention about oldorg target for users who want to load Org from git repository, and for users who wants to install, we can point to documentation of build system on worg. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Meaning of install
Hello Thomas, On Mar 13 2013, t...@tsdye.com (Thomas S. Dye) wrote: > $ cd ~/src/ > $ git clone git://orgmode.org/org-mode.git > $ make autoloads If user decides to stop at this point he needs to add set paths in `.emacs'. > I now find that I can also install with `make install.' Here `make install' installs compiled org into emacs' site-lisp directory, in which case there is no need to set paths in `.emacs'. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] [RFC] Org version of the Org manual
Hello Thomas, > These instructions assume more knowledge than I have. Could you be more > specific about "in the Org worktree"? Should I create a branch where I > do this? Or, should I put this in one of the upstream branches and > arrange to push it into the Org repo? In any case, can you suggest a > location? /contrib? /doc? IIUC, Achim means, --8<---cut here---start->8--- cd /source/directory/of/org-mode git clone http:github.com/tsdye/orgmanual # or your most updated repo of orgmanual git submodule add orgmanual# optional git commit -m "Commit Message" # optional cd orgmanual Create_Makefile# [1] ln -s ../doc/org-version.inc . cd .. update_local.mk_file # [2] make orgmanual --8<---cut here---end--->8--- For me also texi2dvi failed, but orgmanual.info is generated fine and looks great. Given texi generation is very slow, I wonder which format of manual will be included in Emacs trunk.? Anyway, very nice to see org manual in org Format. Thanks., [1],[2] are code bits from Achim's mail. -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)
[CC'ed to Takafumi Arakaki, author of orgparse] Hello François, > Do you know happen to know how conforming it is? I can't comment on that, since I haven't really used it for anything. > I wrote many ad hoc parsers for Org already, but what I would like > is something really close to the parser which comes with the new > exporter, both in syntax and concept nomenclature, AFAIU it is pretty cleanly written and even includes tests., though its just a reader and can't be used for exporting right now. By glancing through It seems it doesn't entirely know Org's syntax, especially babel related. tkf may tell us more. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)
On Mar 01 2013, François Pinard wrote: > Nicolas Goaziou writes: > >> I can write a document describing Org syntax, as seen by the parser [...] > > That would undoubtedly be useful. > > There is a need I often have, and never found the time to fill so far, > for a dependable Python parser for Org syntax. Not sure how complete it is here is one project., https://github.com/tkf/orgparse -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] bug-tracker
Hello Andreas, (I like the idea of having a function to scan user setup for org) On Feb 23 2013, Andreas Röhler wrote: > Herewith is a slim version, adapted to org-mode AFAIU Tried to test, I got an error., ╭─ │or: Symbol's function definition is void: report-emacs-bug-can-use-xdg-email ╰─ Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Offer for taking over maintainership
Dear Jambunathan, On Feb 14 2013, Jambunathan K wrote: > express yourself freely. By taking advantage of that opportunity, expressing my voice here. Feel *free to ignore/dismiss* it. As a competent programmer and strong FSF supporter you can play a bigger role in the broader field(i.e., Emacs). Since you have now got commit access to Emacs core, you can contribute more to the Emacs as a whole while maintaining org-odt from Emacs. I see you have some interest in CEDET as well, or maybe you could also bless us with some other great project just like Org. That said, Org community(including you) will remember your kind offer and asks your help when it is necessary. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] OT, but not really: todays XKCD
Dear Jambunathan, > If I say Yagnesh has made zero contributions to Tamil Poetry does it > amount to attacking you. Think about it. Sorry to say, that is very bad comparison. Seems you are trying to nullify Bastien's efforts. Though I don't want to quantify, here is one data point, I wonder how much contribution(s) sum up zero+ for you. But personally for me a contributor doesn't need to add code commits. I start counting from a mere up-voter on a thread , I consider anybody a contributor who has at least upvoted pro fsf/org thread. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] OT, but not really: todays XKCD
[RESENT to the list only now] Dear Jambunathan, I respect your contributions to Org/Emacs/FreeSoftware a lot. But I am disappointed to see that you discourage/attack current Org's maintainer directly. I think this won't help anyone in anyway. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] suggestion: M-m should move point to first word on line
Hello Meng, On Feb 08 2013, Meng Weng Wong wrote: > Ordinarily, M-m is bound to (back-to-indentation) – move point to the first > non-whitespace character on the line. It differs from C-a. > > Might it make sense for org-mode to override M-m? > > Move the point to the first "user" word on the line, to the first > non-asterisk/whitespace/dash/TODO character on the line. Alternatively, you can set `org-special-ctrl-a/e' to t and use C-a for your desired movement. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] subscribing to this mailing list with gnus
> I am responding right now in gnus. Kudos.. that was fast. -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Sending BibTeX entries from Zotero to Org-mode via Fireforg
Hello, FWIW, I am using zotelo¹ with org, which works pretty well. (and installation should be easy.) For eg, my setup includes placing local variables in my org document as following, --8<---cut here---start->8--- # Local Variables: # eval: (zotelo-minor-mode 1) # zotero-collection: #("0" 0 1 (name "*MyPaper*")) # End: --8<---cut here---end--->8--- where MyPaper is a directory in zotero database (or ALL if you want all the references). Now in emacs I just call zotelo-update-database, to get my bibliography updated in the specified bib file. Thanks., ¹ https://github.com/vitoshka/zotelo -- ఎందరో మహానుభావులు అందరికి వందనములు. YYR
Re: [O] Emacs 22 compatibility
Hello Bastien, On 12月 19 2012, Bastien wrote: > Hi Yagnesh, > > Yagnesh Raghava Yakkala writes: > >> I just tried building. it was successful although there are lot of >> warnings. > > Good to know it builds fine, even with all those warnings. > > Are you using this version? No, I don't use version. >If so, would you be willing to > report compatibility problems that may happen? Since I don't use that version, I am afraid I can not assure. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] org-drill installation problem
Hello Sanjib, On 12月 13 2012, Sanjib Sikder wrote: > Dear Yagnesh, > > I installed the emacs-snapshot manually as was instructed on the site of ppa. > > There is no contrib directory in my .emacs.d folder. The contrib directory should be in org-mode directory *not* in .emacs.d folder. For eg. if you download org-mode 7.9.2 from http://orgmode.org/org-7.9.2.zip and unzip it you should see contrib folder in there. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] org-drill installation problem
Hello Sanjib, have subscribed to this mailing list.? (https://lists.gnu.org/mailman/listinfo/emacs-orgmode) Memnon Anon has replied to you with a solution. did you try that.? Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Org Writer's room
Hello Matt, On Dec 06 2012, Matt Price wrote: > that looks really great, I'm going to play with it as soon as I can - > -thanks! Hve you set up your own window layouts using htis package? No, But I used a package written by tkf called ne2wm[1] for some time which has very good prospectives (jargon from eclipse). For eg, `ne2wm:dp-code+' is almost similar to the one discussed in this thread (Imenu window, code window, dired). It comes with a nice function set to create a desired prospective with in no time. I stopped using it because of my screen resolution. Thanks., Footnotes: [1] https://github.com/tkf/ne2wm -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Org Writer's room
Hello Matt, IIUC Scrivener, the one difficult part is implementing a window manger, If so you can use window layout package(s) by Kiwanami[1][2]. Footnotes: [1] https://github.com/kiwanami/emacs-window-layout [2] https://github.com/kiwanami/emacs-window-manager -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
[O] org-e-latex: ignoreheading is not working any more.
Hi, I have been using example setting suggested by Nicolas (http://article.gmane.org/gmane.emacs.orgmode/55972) to tell exporter to skip particular headline (with ignoreheading tag). It seems recent commit made this setup obsolete. could anybody suggest me the alternative setting for this.? Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] org-e-beamer: Few queries
Hello Suvayu, On 11月 14 2012, Suvayu Ali wrote: > On Wed, Nov 14, 2012 at 09:14:40AM +0900, Yagnesh Raghava Yakkala wrote: >> >> Hello, >> >> I am trying to use new beamer exporter. I have few questions. >> >> o) When trying to export emacs batch mode, it is asking for "Output file:" >> (export script and setup file for batch process are attached) >> > >> #!/bin/sh >> # batch export >> >> emacs -q --batch -l setup.el \ >> -f org-e-beamer-export-to-latex org-beamer-template.org >> > > I believe you have the order wrong. Emacs first has to open the file > before you can export it. Try this: > > $ emacs -q --batch -l setup.el org-beamer-template.org \ > -f org-e-beamer-export-to-latex Wow that works very well. I was blindly looking all over Elisp source. Thanks a lot., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
[O] org-e-beamer: Few queries
Hello, I am trying to use new beamer exporter. I have few questions. o) When trying to export emacs batch mode, it is asking for "Output file:" (export script and setup file for batch process are attached) #!/bin/sh # batch export emacs -q --batch -l setup.el \ -f org-e-beamer-export-to-latex org-beamer-template.org pdflatex -interaction nonstopmode org-beamer-template.tex # export.sh ends here setup.el Description: application/emacs-lisp --8<---cut here---start->8--- okhotsk19:~/git/org-beamer-template$ ./export.sh Loading /home/yagnesh/.emacs.d/el-get/org-mode/lisp/org-loaddefs.el (source)... Output file: --8<---cut here---end--->8--- By grepping sources, I get this. grep -nH -e "Output file:" *.el org-export.el:2759: "Output file: " pub-dir nil nil nil couldn't figure out why it is failing. o) I used to fold headers for convenience by giving an ARCHIVE tag. its not working in the new exporter. o) how to make two column frame. (see attached example, in old exporter) * setup :ARCHIVE: #+TITLE: Ready made #+AUTHOR: Yagnesh Raghava Yakkala #+DATE: \today #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+OPTIONS: H:2 #+EXPORT_EXCLUDE_TAGS: noexport note * Plain ** Place a figure \centering #+ATTR_LATEX: width=0.75\textwidth #+CAPTION: [[file:path/to/fig.jpg]] * Two Columns ** one figures with bullets :B_columns: :PROPERTIES: :BEAMER_env: columns :END: *** 0.4 :B_column: :PROPERTIES: :BEAMER_env: column :END: - bullet one - bullet two *** 0.6 :B_column: :PROPERTIES: :BEAMER_env: column :END: #+ATTR_LATEX: width=0.90\textwidth #+CAPTION: [[file:path/to/fig.jpg]] * Third section:note: Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [bug?] org-e-latex; unexpected enumerate in export
Hello Nicolas, > I'm not talking about export, but filling. Can you fill correctly > with -Q ? By "fill correctly" I mean that "2008." shouldn't be put at > the beginning of a line unless it wasn't there already. with emacs -Q (with org-mode release_7.9.2-584-g0421be) --8<---cut here---start->8--- The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC 2008. The initial and boundary conditions blah blah. more blah --8<---cut here---end--->8--- fill-paragraph (M-q) is filling following way (I think correctly). --8<---cut here---start->8--- The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC 2008. The initial and boundary conditions blah blah. more blah --8<---cut here---end--->8--- but when the paragraph --8<---cut here---start->8--- The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC 2008. The initial and boundary conditions blah blah. more blah --8<---cut here---end--->8--- fill-paragraph doesn't change anything. May be fill is also assuming the second line as a list and correctly so. I think the fault is with my English and writing habits. After several edits in that paragraph It ended up having number and dot at the bol. I think Its just a watch-out case. >>>Also, what is the value of `fill-nobreak-predicate' variable in that buffer? >> >> Its value is `nil'. > > That is the problem. It should contain at least > `org-fill-paragraph-separate-nobreak-p' and > `org-fill-line-break-nobreak-p' functions. >Do you have an idea why it doesn't? I read it wrong earlier. Sorry for ringing false alarm. Thanks a lot. -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [bug?] org-e-latex; unexpected enumerate in export
Hello Nicolas, > There already is a protection mechanism against this situation. is it by latex-exporter or by auto-fill? :/ > Did you try with -Q? Yes I did, export is still producing enumerate. Of course If I adjust sentence as you suggested earlier manually (fill is not so accurate) export is working as desired. >Also, what is the value of `fill-nobreak-predicate' variable in that buffer? Its value is `nil'. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [bug?] org-e-latex; unexpected enumerate in export
On 11月 13 2012, Yagnesh Raghava Yakkala wrote: > Hello Nicolas, > > Thanks for the reply. > >> Note that this result is impossible to obtain with filling or >> auto-filling, so you probably put it here manually. > > No., It was auto-filled. Now I noticed that, it was because my fill-column is > customized to 78. Seems fill-paragraph and auto-fill are not working properly(at least for me). Some how the number is placed like that unintentionally. But I guess the work-around question is still valid. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [bug?] org-e-latex; unexpected enumerate in export
Hello Nicolas, Thanks for the reply. > Note that this result is impossible to obtain with filling or > auto-filling, so you probably put it here manually. No., It was auto-filled. Now I noticed that, it was because my fill-column is customized to 78. I wonder how to deal with such cases. can there be a work-around, like placing a dummy character or something to protect it. For now I will just rewrite the sentence. Thank you very much. -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
[O] [bug?] org-e-latex; unexpected enumerate in export
I get a unexpected enumerate in the latex export (new exporter). may be a corner a case. please see the attached. * Section 2 The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC 2008. The initial and boundary conditions blah blah. more blah % Created 2012-11-13 火 01:04 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \author{Yagnesh Raghava Yakkala} \date{\today} \title{} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.2 in Emacs 24.2.50.3.}} \begin{document} \tableofcontents \vspace*{1cm} \section{Section 2} \label{sec-1} The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC \begin{enumerate} \item The initial and boundary conditions blah blah. \end{enumerate} more blah % Generated by Org mode 7.9.2 in Emacs 24.2.50.3. \end{document} org-scratch.pdf Description: Adobe PDF document Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] error: Execution of bibtex2html
Hello Vikas, On 11月 07 2012, Vikas Rawal wrote: >> > Sorry, that was a typo. I am able to directly run bibtex2html from the >> > bash shell prompt. ECHO $PATH shows /usr/local/bin. >> >> What does 'which bibtex2html' show? >> > > from within M-x shell: As Nick said in his previous mail, if the shell has executable in its path doesn't ensure emacs to find it. in your emacs, M-: (executable-find "bibtex2html") to see whether emacs can find the executable, if it doesn't, add the following in your .emacs (add-to-list 'exec-path "/path/to/your/bibtex2html/") Hope that helps., Thanks -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [feature] Cut & paste of subtree
> However, testing it with C-c C-x C-y (for pasting the subtree) or simply "C-y" ?? Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [BUG] New latex exporter: Not respecting author:nil and timestamp:nil
Hello Nicolas, sorry for the late reply. On 10月 20 2012, Nicolas Goaziou wrote: > IIUC, there's a mismatch between current behaviour (author:nil => > \author{}) and what you want (author:nil => no author command at all). > I don't mind switching to the second option if there's no unwanted side > effect. It would be good if no author command is export. please implement it. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [feature] Cut & paste of subtree
Hello Sebastien, On 10月 31 2012, "Sebastien Vauban" wrote: > Hello, > > Since more or less one month or so, I've seen a change in the behavior of C-c > C-x C-w, when cutting and pasting a subtree. I did know about this key binding, thanks for letting me know.. generally I go to the beginning of the heading I fold it and cut it., may be work around for you.. coming the problem, I can confirm the behavior. A shot in the dark. --8<---cut here---start->8--- diff --git a/lisp/org.el b/lisp/org.el index 63c4323..039e901 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7721,7 +7721,6 @@ useful if the caller implements cut-and-paste as copy-then-paste-then-cut." (if (org-called-interactively-p 'any) (org-back-to-heading nil) ; take what looks like a subtree (org-back-to-heading t)) ; take what is really there -(org-back-over-empty-lines) (setq beg (point)) (skip-chars-forward " \t\r\n") (save-match-data @@ -7731,7 +7730,6 @@ useful if the caller implements cut-and-paste as copy-then-paste-then-cut." (org-forward-heading-same-level (1- n) t) (error nil)) (org-end-of-subtree t t)) -(org-back-over-empty-lines) (setq end (point)) (goto-char beg0) (when (> end beg) --8<---cut here---end--->8--- Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Capture error
Hello, On 10月 31 2012, t...@tsdye.com (Thomas S. Dye) wrote: > Nick Dokos writes: > >> Thomas S. Dye wrote: >> >>> Hi Nick, >>> >>> I tried moving org-capture.elc out of the way and reloading Org, but >>> with the same results. Starting emacs again didn't make a difference. >>> >>> I'm still getting org-refile: Invalid function: with-demoted-errors >>> >> >> But note the different error: now org-refile complains. It may have had >> the same compilation problem that the original function had. I'd suggest >> cleaning out all the .elc files, trying it, and if that succeeds, remaking >> from scratch. > > Sharp eyes! You must have been down this road before. > > Yes, cleaning out the .elc files corrects the problem. However, the > problem comes back with a new make update. > > Thanks for your help and the interim solution. > > Any idea if the compilation problem is something in my setup that I > should worry about? Or is it likely a problem with the Org build process > that will get ironed out? Sorry for jumping in., If I happened to see something is wrong with my Emacs or org-mode (I build both from vc heads.) I will first do git clean and build again., git reset --hard git clean -xdf # (Remember both commands are destructive in a sense) So that I can make sure my built is clean up to certain degree. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] [BUG] New latex exporter: Not respecting author:nil and timestamp:nil
Hello Nicolas, On 10月 19 2012, Nicolas Goaziou wrote: > Hello, > >> >> #+CAPTION: A wide table with tabulary >> #+LABEL: tbl:wide > > It should be #+NAME: tbl:wide Thanks, Manual need to be updated then.. (info "(org)Tables in LaTeX export") >> #+ATTR_LaTeX: table* tabulary width=\textwidth >> | column 1 | column 2 | >> |---+| >> | first row | a long long long long long long long long long long long long >> | long long long cell | >> > > I don't see any author in your PDF file, so what is the problem? Sorry about that, I should have been clear what I was trying to do. I am trying to use package authblk to set author and affiliations below the title. But with "author:nil" an empty author field is getting exported to latex which is causing problems to the author entry for authblk. Please look into the attached pdf, there is a "author 1^1, author 2^2, and^2" instead of desired "author 1^1 and author 2^2". And also the timestamp:nil is not working also. BTW, not related to this bug report. how can I make that table actually look as a table.? (Please feel free to shout at me to start a new thread for this.) #+TITLE: abcd #+AUTHOR: me me #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: timestamp:nil #+OPTIONS: author:nil # title #+LaTeX_HEADER: \usepackage{authblk} #+LaTeX_HEADER: \author[1]{Author 1} #+LaTeX_HEADER: \author[2]{Author 2} #+LaTeX_HEADER: \affil[1]{Aff 1} #+LaTeX_HEADER: \affil[2]{Aff 2} #+CAPTION: A wide table with tabulary #+NAME: tbl:wide #+ATTR_LaTeX: table* tabulary width=\textwidth | column 1 | column 2 | |---+| | first row | a long long long long long long long long long long long long long long long cell | \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage{authblk} \author[1]{Author 1} \author[2]{Author 2} \affil[1]{Aff 1} \affil[2]{Aff 2} \author{} \date{\today} \title{abcd} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.2 in Emacs 24.2.50.2.}} \begin{document} \maketitle \tableofcontents \vspace*{1cm} \begin{table*}[htb] \caption{\label{tbl-wide}A wide table with tabulary} \begin{center} \begin{tabulary}{\textwidth}{ll} column 1 & column 2\\ \hline first row & a long long long long long long long long long long long long long long long cell\\ \end{tabulary} \end{center} \end{table*} % Generated by Org mode 7.9.2 in Emacs 24.2.50.2. \end{document} org-scratch.pdf Description: Adobe PDF document Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
[O] [BUG] New latex exporter: Not respecting author:nil and timestamp:nil
Hello, New latex exporter doesn't recognize the author:nil and timestamp:nil. test file is attached. #+TITLE: abcd #+AUTHOR: me me #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: timestamp:nil #+OPTIONS: author:nil #+CAPTION: A wide table with tabulary #+LABEL: tbl:wide #+ATTR_LaTeX: table* tabulary width=\textwidth | column 1 | column 2 | |---+| | first row | a long long long long long long long long long long long long long long long cell | org-scratch.pdf Description: Adobe PDF document Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Bib file path relative to home using tilde ~ in Ubuntu
Hello Nicholas, Very good explanation. Its like reading a standard textbook. Thank you very much for your continuous help to org community. Nick Dokos writes: > Sanjib Sikder wrote: > >> Hi, >> >> "The easiest way to update is logout from the computer, login again and >> start emacs." >> >> I did that. Still not working :( >> > > When you have problems like this, you need to take it in small > steps. > > o What shell are you using? Yagnesh's recommendation assumes > that you are running bash as your shell (presumably on some > Linux/Unix system). Is this assumption correct? > > o Assuming you are using bash, there are two relevant initialization > files: a login shell sources $HOME/.profile and any shell (be it a login > shell or one that is started as a descendant of your login shell) sources > $HOME/.bashrc. > > o Adding > > export FOO=bar > > to such an initialization file causes the variable FOO to be defined (with > value "bar") > and to be exported (i.e. it is available in the environment of *any* > subprocess of > this shell). > > o So log out and log back in[fn:2], start a shell and at the prompt say > > echo $FOO > > Does it say "bar"? If not, don't go any further: the problem has nothing to > do with > emacs (note that this is the first time I mention emacs). > > o If this part is OK, start emacs *from this shell*: it should inherit the > variable. > You can check by evaluating this form: > > (getenv "FOO") > > Then the variable will also be available to any subprocesses started by > emacs. > > o In particular, if you define BIBINPUTS as Yagnesh suggests, then the bibtex > invoked > by the latex exporter under emacs will find the bib file where you told it. > > o What can go wrong? The usual problem is that you use some graphical > desktop environment and start emacs by clicking on some icon. Then > the emacs process does not have a bash shell as its parent, so it does > not inherit the exported variables. Try starting emacs from a bash > command line.[fn:2] > > Nick > > Footnotes: > [fn:1] If you define it in .bashrc, you shouldn't have to log out and log >back in: just start a new bash shell. > > [fn:2] I prefer defining variables in my .profile and I have arranged >for my .profile to be sourced by the appropriate initialization >file of my graphical desktop environment, so I get it whether I >log in at the console or through the graphical login. That >way *every* process, no matter how it is started, has the >variables available to it. I use .bashrc only for aliases (which >I use very rarely, so most of the time I don't have a .bashrc >file at all). > > > Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Bib file path relative to home using tilde ~ in Ubuntu
Hello Sanjib, Sanjib Sikder writes: > Hi, > > "The easiest way to update is logout from the computer, login again and start > emacs." > > I did that. Still not working :( First of all can you confirm your .bashrc setting is working.? in the terminal --8<---cut here---start->8--- echo $BIBINPUTS --8<---cut here---end--->8--- and also can you check what is the value of BIBINPUTS in emacs.? Within Emacs evaluate the following (either in scratch buffer or with key press `M-:' or with `M-x eval-expression') --8<---cut here---start->8--- (getenv "BIBINPUTS") --8<---cut here---end--->8--- If you don't get what you set in your .bashrc, means the shell in Emacs is not getting BIBINPUTS variable. May be the last resort would be setting the variable within your .emacs --8<---cut here---start->8--- (setenv "BIBINPUTS" ".:$HOME/bib:") --8<---cut here---end--->8--- BTW how you are starting emacs? (command line or gui mouse click?) Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Bib file path relative to home using tilde ~ in Ubuntu
Hello Sanjib, Sanjib Sikder writes: > export BIBINPUTS=".:$HOME/bib:" > export BSTINPUTS=".:$HOME/bst:" > export TEXINPUTS=".:$HOME/bib:" Actually TEXINPUTS variable is for tex sources (classes, packages ..). (not relevant to the current topic) > > where bib and bst are my two folders whose actual path are /home/USERNAME/bib > for example. > > But it is still not working. may be the environment variables didn't get exported. The easiest way to update is logout from the computer, login again and start emacs. > [I did one mistake, initially instead of placing these in .bashrc, i had run > those in terminal. Is it causing any problem?] I don't think so. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Bib file path relative to home using tilde ~ in Ubuntu
Hello Sanjib, Sanjib Sikder writes: > Hi, > > Can I use the bib file path using tilde (~) when doing latex export ? > > for example, Why can not I use \bibliography{~/Bib/RefAbv} ? > where my bibliography file name is RefAbv.bib > It gives error : undefined citation > > I do not want to use \bibliography{/home/USERNAME/Bib/RefAbv} > > I use dropbox. So if I can use tilde , then synchronzation is perfect. I can > work in any machine without changing the path of my bib files. > > Also I do not want to put the bib file in my working directory. > > I am using Ubuntu 12.04 Its more of bibtex not finding than org-export problem. I have this in my .bashrc (~/git/bib is the folder I put my citations) --8<---cut here---start->8--- export BIBINPUTS=".:$HOME/git/bib:" export BSTINPUTS=".:$HOME/git/bib:" export TEXINPUTS=".:$HOME/git/bib:" --8<---cut here---end--->8--- And in my org file I don't even give any path name.. --8<---cut here---start->8--- \bibliographystyle{plain} \bibliography{bibfile} --8<---cut here---end--->8--- Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] New exporter
Hello Sebastien, Unless you found a bug in org-export-dispatch, I think its `C-c E l p' (since you have C-c E for org-export-dispatch). Watch the highlighted characters as you press `l'. The difference is you need to press two keys instead of one as in old one in the dispatcher window. Actually I found that the new dispatch command is designed more sophisticated way even though there is an extra key press. Of course there is also obvious another way `M-x org-e-latex-export-to-pdf'. "Sebastien Vauban" writes: > Hello Nicolas, > > I want to (really) start using the new exporter as of now. I think it's high > time for me to benefit from it... > > Here some first comments and questions. > > I've been hit by trying to export with `C-c E p' [1] to PDF, but had troubles > doing so. In fact, I had to do `C-c l p' -- though the new dispatcher is much > more clear and _easy_ to use, I thought there was a problem. > > Why? Because there was no beep to say that `p' entered at that moment was a > wrong choice, nor other form of message. I think that'd help, if there was > such a sound produced, for example. Right now, the bad keys are simply ignored > without further notice. > > Second thing that puzzled me: the focus (active modeline) is on the window > with the Org source, not on the window with the dispatcher. It was the same > with the old exporter, but I wonder whether it must be like that, or whether > that could be changed, to emphasize that the key events are well going to the > dispatcher window? > > At first, I thought that my first problem (`p' not doing anything was due to > that -- dispatcher window not active). I wanted to switch over to it (via > `F6' [2]) and ended with garbage in the echo area... C-c E p f6 p p f6... > > Does this make sense? > > Best regards, > Seb > > [1] I have `C-c E' mapped to `org-export-dispatch'. > > [2] I have `f6' mapped to `other-window'. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Fwd: Citation in org mode does not compile
Hello Sanjib, Sanjib Sikder writes: > HI Yagnesh, > > I have tried with > > (setq org-latex-to-pdf-process > '("pdflatex -interaction nonstopmode %b" > "/usr/bin/bibtex %b" > "pdflatex -interaction nonstopmode %b" > "pdflatex -interaction nonstopmode %b")) > > and the problem seems solved. > > I can see there are two instances of emacs one is Emacs Snapshot (GTK) and the > other is Emacs Snapshot (Client). The GTK is properly producing the pdf with > references. > What is the difference between clint and GTK? Which on shall I use and when ? I am not sure what you mean by instance here (from terminal ps command?). --8<---cut here---start->8--- okhotsk19:~$ ps aux | grep emacs Grepping for processes matching emacs... yagnesh993 1.1 4.8 364704 99604 pts/0S12:59 0:46 emacs yagnesh 5300 0.1 0.0 4024 596 pts/4S+ 14:06 0:00 emacsclient -tc --8<---cut here---end--->8--- both emacs and emacsclient would/should behave the same way (mostly). Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Fwd: Citation in org mode does not compile
Hello Sanjib, Sanjib Sikder writes: > HI, > > Just now I have found that now I am not even getting the pdf. I am pasting the > error messages below. > > /usr/bin/texi2dvi: Processing /home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex ... > /usr/bin/texi2dvi: BIBINPUTS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: BSTINPUTS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: DVIPSHEADERS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: INDEXSTYLE='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: MFINPUTS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: MPINPUTS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: TEXINPUTS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: TFMFONTS='.:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::' > /usr/bin/texi2dvi: cd /home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d/pdf/build > /usr/bin/texi2dvi: Cycle 1 for /home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex > /usr/bin/texi2dvi: Running rm -f TestSciDocu.tex > /usr/bin/texi2dvi: Running ln -s /home/sanjib/Ubuntu > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex > /usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdflatex --file-line-error > onstopmode' 'This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) > entering extended mode > LaTeX2e <2009/09/24> > Babel and hyphenation patterns for english, usenglishmax, dumylang, > noh > yphenation, loaded. > > (./TestSciDocu.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > (/usr/share/texmf-texlive/tex/latex/base/size11.clo)) > (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty > (/usr/share/texmf-texlive/tex/latex/base/utf8.def > (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu) > (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu) > (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu))) > (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty > (/usr/share/texmf-texlive/tex/latex/base/t1enc.def)) > (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty) > (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty > (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty) > (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty > (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty) > (/etc/texmf/tex/latex/config/graphics.cfg) > (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))) > (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty) > (/usr/share/texmf-texlive/tex/latex/float/float.sty) > (/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty) > (/usr/share/texmf-texlive/tex/latex/soul/soul.sty) > (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty > (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def > (/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu))) > (/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty) > (/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty) > (/usr/share/texmf-texlive/tex/latex/base/latexsym.sty) > (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty > (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty)) > (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty) > (/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty) > (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty) > (/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty > (/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty)) > (/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def) > (/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty)) > (/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg) > (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty)) > Implicit mode ON; LaTeX internals redefined > (/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty) > (/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty) > (/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty > (/usr/share/texmf-texlive/tex/gene
Re: [O] #+LABEL and CUSTOM_ID with reftex
Hello Bastien, Bastien writes: > Hi Yagnesh, > > Yagnesh Raghava Yakkala writes: > >> other related question., do we have in buffer completion support for cross >> references.? I mean it would be good if C-c C-l can show link targets with in >> the buffer. > > good idea. When M-x org-insert-link RET, links pointing to the current > are now fontified so that you can spot them quickly. Thank you very much. That would be useful, haven't tested yet, will report back if anything is not working as expected Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Scheduling habit Mon to Sat
Hello Charles, Charles Philip Chan writes: > Hello all: > > I would like to schedule a habit to occur 6 times a week from Monday to > Saturday. I have looked through the manual, but I can't seem to find a > way to do it. I have tried: > > , > | <%%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))> > ` Works for me and I use similar to this. do you have associated time for your task or at least a keyword? If I have following it *does not* show in the agenda --8<---cut here---start->8--- ** testing <%%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))> --8<---cut here---end--->8--- where as the following two shows up in my block agenda. --8<---cut here---start->8--- ** TODO testing <%%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))> --8<---cut here---end--->8--- --8<---cut here---start->8--- ** testing 10:00-11:00 <%%(memq (calendar-day-of-week date) '(1 2 3 4 5 6))> --8<---cut here---end--->8--- Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] recurring floating appointments
Hello Carson, Carson Chittom writes: […] > > <%%(org-float t 4 3) 10:00-11:00> > > but that didn't work. --8<---cut here---start->8--- * Recurring Events #+CATEGORY: Meeting ** Monthly Third Thursday Meeting 10:00-11:00 <%%(org-float t 4 3)> --8<---cut here---end--->8--- Maybe like this. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] using an exported zotero library with org-mode
Hello Myles, Myles English writes: > Do you know if it exports the collection's (pdf) files too or just a > .bib file? No it doesn't. I wonder what is the purpose of retrieving pdfs from a collection., Since even after retrieval from zotero, (in rdf format) Its hard to search/open a needed pdf file. In any case if retrieval of a collection is important, one easy way to it would be using pyzotero[1][2]. > The front page says it can "synchronize BibTex file and Zotero > collection" so can you really edit the .bib file and write the changes > back to Zotero, from emacs? No, It only syncs one way i.e., references from zotero collection to bib. Nothing more. Footnotes: [1] https://github.com/urschrei/pyzotero [2] http://pyzotero.readthedocs.org/en/latest/#retrieving-collections Yagnesh
Re: [O] using an exported zotero library with org-mode
Hello, Myles English writes: > Hi, > > In case anyone else is wondering about this. > > There are now several examples of managing bibliographies and associated > papers in orgmode [1][2][3]. Typically these involve a collection of pdf > journal > papers, a .bib file, notes.org and draft_paper.org. There has also been > a bit of discussion of zotero on this list. […] > Any comments are of course welcome but I am really just posting for > posterity. > FWIW I have been using zotexo[1] which does automatic exportation to bib file from a Zotero collection and org-mode, reftex with similar simple setup as you described for writeup. Zotexo interacts with MozRepl[2] for the exportation. The setup for zotexo very simple with just couple of file local variables. But I haven't yet integrated note taking with org-mode. your setup is looks nice, thanks for sharing.. Ideally It would be nice to have a elisp interface with zotero client API(js) just as Magit for Git (Since Zotero UI is not so pretty for a Emacs user). It seems possible, but would be huge task. Another small info, Recently I crossed the zotero.org account limit 100mb (free), So now I switched to cloudme[3] which is offering free WebDAV service for upto 3gb. Thanks., Yagnesh Footnotes: [1] https://github.com/vitoshka/zotexo [2] https://github.com/bard/mozrepl [3] http://www.cloudme.com/en
Re: [O] BUG: new exporter fails to export a source code with stars at bol
Hello Bastien., Bastien writes: > #+BEGIN_SRC elisp > (message "* one\n** two") > #+END_SRC Yes, I could got around with that. Just wanted file a bug report. BTW old one is exporting it fine. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
[O] BUG: new exporter fails to export a source code with stars at bol
Hello., Please try to export attachment org file. the bug is reproduced with minimal configuration. org version is: Org-mode version 7.8.10 (release_7.8.10-649-gfe2e2f @ /home/yagnesh/.emacs.d/el-get/org-mode/lisp/) FYI, generated latex file is also attached. * Headline #+BEGIN_SRC elisp (message "* one ** two") #+END_SRC % Created 2012-06-04 Mon 02:03 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \providecommand{\alert}[1]{\textbf{#1}} \author{Yagnesh Raghava Yakkala} \date{\today} \title{test} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.8.10 in Emacs 24.1.50.3.}} \begin{document} \maketitle \tableofcontents \vspace*{1cm} \section{Headline} \label{sec-1} \#+BEGIN$_{\mathrm{SRC}}$ elisp (message ``* one \subsection{two'')} \label{sec-1-1} \#+END$_{\mathrm{SRC}}$ % Generated by Org mode 7.8.10 in Emacs 24.1.50.3. \end{document} Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] #+STARTUP: showstars
Hello Enda, Enda writes: > Otherwise is like in vi, the additional stars (like **, opposed to > *) are too noisy, and since I do not want to see them whether > it is in org-mode or in vi, etc, so I wondered was there a way to have > the file like > > * first level heading > * second level heading > * third level heading are you looking for org-indent-mode.? --8<---cut here---start->8--- (add-hook 'org-mode-hook (lambda () (org-indent-mode 1))) --8<---cut here---end--->8--- -- YYR
[O] [bug?] new latex exporter failing to export
quot;\n" "\\end{document}") (let ((title (org-export-data (plist-get info :title) info))) (concat (and (plist-get info :time-stamp-file) (format-time-string "%% Created %Y-%m-%d %a %H:%M\n")) (let ((class (plist-get info :latex-class)) (class-options (plist-get info :latex-class-options))) (org-element-normalize-string (let* ((header (nth 1 ...)) (document-class-string (and ... ...))) (org-e-latex--guess-inputenc (org-splice-latex-header document-class-string org-export-latex-default-packages-alist org-export-latex-packages-alist nil (plist-get info :latex-header-extra)) "\\providecommand{\\alert}[1]{\\textbf{#1}}\n" (let ((sec-num (plist-get info :section-numbers))) (when (integerp sec-num) (format "\\setcounter{secnumdepth}{%d}\n" sec-num))) (let ((author (and (plist-get info :with-author) (let (...) (and auth ... (email (and (plist-get info :with-email) (org-export-data (plist-get info :email) info (cond ((and author email (not (string= "" email))) (format "\\author{%s\\thanks{%s}}\n" author email)) (author (format "\\author{%s}\n" author)) (t "\\author{}\n"))) (let ((date (plist-get info :date))) (and date (format "\\date{%s}\n" date))) (format "\\title{%s}\n" title) (format "\\hypersetup{\n pdfkeywords={%s},\n pdfsubject={%s},\n pdfcreator={%s}}\n" (or (plist-get info :keywords) "") (or (plist-get info :description) "") (if (not (plist-get info :with-creator)) "" (plist-get info :creator))) "\\begin{document}\n\n" (org-element-normalize-string (cond ((string= "" title) nil) ((not (stringp org-e-latex-title-command)) nil) ((string-match "\\(?:[^%]\\|^\\)%s" org-e-latex-title-command) (format org-e-latex-title-command title)) (t org-e-latex-title-command))) (let ((depth (plist-get info :with-toc))) (when depth (concat (when (wholenump depth) (format "\\setcounter{tocdepth}{%d}\n" depth)) "\\tableofcontents\n\\vspace*{1cm}\n\n"))) contents (let ((creator-info (plist-get info :with-creator))) (cond ((not creator-info) "") ((eq creator-info (quote comment)) (format "%% %s\n" (plist-get info :creator))) (t (concat (plist-get info :creator) "\n" "\\end{document}")) org-e-latex-template("\n\\begin{enumerate}\n\\item Templates\n\\label{sec-1}\n\\begin{enumerate}\n\\item with single figure\n\\label{sec-1-1}\n\\includegraphics[width=0.10cm]{path/to/fig.jpg}\n\\item one fig with bullets\n\\label{sec-1-2}\n\\begin{enumerate}\n\\item 0.4\n\\label{sec-1-2-1}\n\\begin{itemize}\n\\item bullet one\n\\item bullet two\n\\end{itemize}\n\\item 0.6\n\\label{sec-1-2-2}\n\\includegraphics[width=0.80\\textwidth]{path/to/fig.jpg}\n\\end{enumerate}\n\\item two figs\n\\label{sec-1-3}\n\\begin{enumerate}\n\\item 0.5\n\\label{sec-1-3-1}\n\\includegraphics[width=0.80\\textwidth]{path/to/fig.jpg}\n\\item 0.5\n\\label{sec-1-3-2}\n\\includegraphics[width=0.80\\textwidth]{path/to/fig.jpg}\n\\end{enumerate}\n\\end{enumerate}\n\\end{enumerate}\n" (:author ("Yagnesh Raghava Yakkala") :creator "Generated by Org mode 7.8.10 in Emacs 24.1.50.5." :date "\\today" :description nil :email "yagn...@live.com" :exclude-tags ("noexport") :headline-levels 3 :keywords nil :language "en" :preserve-breaks nil :section-numbers t :select-tags ("export") :time-stamp-file t :title ("Title") :with-archived-trees headline :with-author t :with-clocks nil :with-creator comment :with-drawers t :with-email nil :with-emphasize t :with-entities t :with-fixed-width t :with-footnotes t :with-plannings nil ...)) funcall(org-e-latex-template "\n\\begin{enumerate}\n\\item Templates\n\\label{sec-1}\n\\begin{enumerate}\n\\item with single figure\n\\label{sec-1-1}\n\\includegraphics[width=0.10cm]{path/to/fig.jpg}\n\\item one fig with bullets\n\\label{sec-1-2}\n\\begin{enumerate}\n\\item 0.4\n\\label{sec-1-2-1}\n\\begin{itemize}\n\\item bullet one\n\\item bullet two\n\\end{itemize}\n\\item 0.6\n\\label{sec-1-2-2}\n\\includegraphics[width=0.80\\textwidth]{path/to/fig.jpg}\n\\end{enumerate}\n\\item two figs\n\\label{sec-1-3}\n\\begin{enumerate}\n\\item 0.5\n\\label{sec-1-3-1}\n\\includegraphics[width=0.80\\textwidth]{path/to/fig.jpg}\n\\item 0.5\n\\label{sec-1-3-2}\n\\includegraphics[width=0.80\\textwidth]{path/to/fig.jpg}\n\\end{enumerate}\n\\end{enumerate}\n\\end{enumerate}\n" (:author ("Yagnesh Raghava Yakkala") :creator "Generated by Org mode 7.8.10 in Emacs 24.1.50.5." :date "\\today" :description nil :email "yagn...@live.com" :exclude-tags ("noexport") :headline-levels 3 :keywords nil :language "en" :preserve-breaks nil :section-numbers t :select-tags ("export") :time-stamp-file t :title (
[O] #+LABEL and CUSTOM_ID with reftex
Hello all., is it possible to make reftex to recongise CUSTOM_ID and #+LABEL.? I tried to modify `reftex-label-alist' with no success. did anybody try that.? other related question., do we have in buffer completion support for cross references.? I mean it would be good if C-c C-l can show link targets with in the buffer. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] new latex exporter questions
Hello, Nicolas Goaziou writes: >> - old exporter is running fine pdf processes fine, I get the citations and >> bibliography. but new exporter is failing to export bibliography. I was not >> sure how to debug this. > > I'm not sure about it. Could you provide an ECM for that? Also, is the > LaTeX code produced by the exporter (with 'L') correct? It turns out I have an ARCHIVE tag for the bibliography node which is stopping bib snippet in the exported tex file. --8<---cut here---start->8--- * bibliography :ignoreheading:ARCHIVE: \bibliographystyle{plain} \bibliography{cld} # blabla --8<---cut here---end--->8--- I used your suggestion about ignoreheading from the other discussion[1]. ARCHIVE tag is just to keep that node close while cycling. now I set `org-export-with-archived-trees' to `t' and working fine. Thanks. >> --8<---cut here---start->8--- >> paper.tex changed on disk; really edit the buffer? (y, n, r or C-h) >> --8<---cut here---end--->8--- > > I don't have that behaviour here. Maybe that's something in your config? Could be. I will report to you I can create a ECM for this. >> - Inline tasks., how can i stop exporting inline tasks.? you can see >> above I tried to define `org-e-latex-format-inlinetask-function' and its >> not >> working. > > Your `org-e-latex-format-inlinetask-function' is ill-defined (wrong > number of arguments). > True. your suggestions are working very well. Thanks again. Footnotes: [1] http://article.gmane.org/gmane.emacs.orgmode/55972 -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
[O] new latex exporter questions
Hello Nicolas, I am trying out new exporter, I have file local variables like this --8<---cut here---start->8--- # Local Variables: # org-latex-to-pdf-process: ("pdflatex -interaction nonstopmode %b" "/usr/bin/bibtex %b" "pdflatex -interaction nonstopmode %b" "pdflatex -interaction nonstopmode %b") # reftex-default-bibliography: ("/home/yagnesh/git/bib/") # eval: (reftex-mode 1) # org-inlinetask-export: nil # org-e-latex-pdf-process: ("pdflatex -interaction nonstopmode %b" "/usr/bin/bibtex %b" "pdflatex -interaction nonstopmode %b" "pdflatex -interaction nonstopmode %b") # org-e-latex-format-inlinetask-function: (lambda nil "") # End: --8<---cut here---end--->8--- - old exporter is running fine pdf processes fine, I get the citations and bibliography. but new exporter is failing to export bibliography. I was not sure how to debug this. - new exportor asking for confirmation every time I re export to latex. how can I stop that.? --8<---cut here---start->8--- paper.tex changed on disk; really edit the buffer? (y, n, r or C-h) --8<---cut here---end--->8--- - I bound few variables using #+BIND:. exporter randomly asking for safety confirmation about binding. ( I don't know why it is random) - Inline tasks., how can i stop exporting inline tasks.? you can see above I tried to define `org-e-latex-format-inlinetask-function' and its not working. Thank you very much. -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] installation questions
Hello Achim, Thank you for the reply, Achim Gratz writes: > Yagnesh Raghava Yakkala writes: >> 1. Is the above snippet is all that is needed to load org.? > > The "public" interfaces of org should all be autoloaded, IMHO. Bastien > may be able to answer why some of the interactive functions are not > autoloaded (my guess is that they may need some initialization, but it > may purely be an oversight). > ok. >> 3. why is contrib folder not byte compiled with make.? It seems there is no >>argument for make to do this. > > The build system is for org core. If you want to install something from > contrib, please copy the file into the lisp directory (you can try them > out without byte-compilation by simply loading the files in question). Understood. I will add "require" in my init files for needed modules. Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]
Hello Nicolas, Nicolas Goaziou writes: > #+TITLE: Macro test > #+MACRO: test2 recursive $1 > #+MACRO: test A {{{test2(inner)}}} macro, $1. > #+MACRO: html-builder (eval (+ $1 $2)) > > > {{{test(and an outer one)}}} > > Some complex macro {{{html-builder(1,2)}}}. out of curiosity I tried to export above snippet. it is working nice except for new exporter latex option. (org-export-dispatch and d option) here is the back trace: --8<---cut here---start->8--- Debugger entered--Lisp error: (void-variable \1) (+ \1 \2) (eval (+ \1 \2)) eval((eval (+ \1 \2))) (setq value (eval (read value))) (progn (setq value (eval (read value (if (string-match "\\`(eval\\>" value) (progn (setq value (eval (read value) (when (string-match "\\`(eval\\>" value) (setq value (eval (read value (let* ((key (org-element-property :key macro)) (args (org-element-property :args macro)) (value (org-export-data (plist-get info (intern (format ":macro-%s" key))) info))) (let ((s 0) n) (while (string-match "\\$\\([0-9]+\\)" value s) (setq s (1+ (match-beginning 0)) n (string-to-number (match-string 1 value))) (and (>= (length args) n) (setq value (replace-match (nth (1- n) args) t t value) (when (string-match "\\`(eval\\>" value) (setq value (eval (read value (format "%s" (or value ""))) org-export-expand-macro((macro (:key "html-builder" :value "{{{html-builder(1,2)}}}" :args ("1" "2") :begin 185 :end 208 :post-blank 0)) (:author "Yagnesh Raghava Yakkala" :creator "Generated by Org mode 7.8.10 in Emacs 24.1.50.5." :date "\\today" :description nil :email "yagn...@okhotsk19.lowtem.hokudai.ac.jp" :exclude-tags ("noexport") :headline-levels 3 :keywords nil :language "en" :preserve-breaks nil :section-numbers t :select-tags ("export") :time-stamp-file t :title ("Macro test") :with-archived-trees headline :with-author t :with-clocks nil :with-creator comment :with-drawers t :with-email nil :with-emphasize t :with-entities t :with-fixed-width t :with-footnotes t :with-plannings nil ...)) org-e-latex-macro((macro (:key "html-builder" :value "{{{html-builder(1,2)}}}" :args ("1" "2") :begin 185 :end 208 :post-blank 0)) nil (:author "Yagnesh Raghava Yakkala" :creator "Generated by Org mode 7.8.10 in Emacs 24.1.50.5." :date "\\today" :description nil :email "yagn...@okhotsk19.lowtem.hokudai.ac.jp" :exclude-tags ("noexport") :headline-levels 3 :keywords nil :language "en" :preserve-breaks nil :section-numbers t :select-tags ("export") :time-stamp-file t :title ("Macro test") :with-archived-trees headline :with-author t :with-clocks nil :with-creator comment :with-drawers t :with-email nil :with-emphasize t :with-entities t :with-fixed-width t :with-footnotes t :with-plannings nil ...)) funcall(org-e-latex-macro (macro (:key "html-builder" :value "{{{html-builder(1,2)}}}" :args ("1" "2") :begin 185 :end 208 :post-blank 0)) nil (:author "Yagnesh Raghava Yakkala" :creator "Generated by Org mode 7.8.10 in Emacs 24.1.50.5." :date "\\today" :description nil :email "yagn...@okhotsk19.lowtem.hokudai.ac.jp" :exclude-tags ("noexport") :headline-levels 3 :keywords nil :language "en" :preserve-breaks nil :section-numbers t :select-tags ("export") :time-stamp-file t :title ("Macro test") :with-archived-trees headline :with-author t :with-clocks nil :with-creator comment :with-drawers t :with-email nil :with-emphasize t :with-entities t :with-fixed-width t :with-footnotes t :with-plannings nil ...)) (and (fboundp transcoder) (funcall transcoder data nil info)) (let ((transcoder (org-export-transcoder data info))) (and (fboundp transcoder) (funcall transcoder data nil info))) (cond ((member data (plist-get info :ignore-list)) nil) ((eq type (quote plain-text)) (org-export-filter-apply-functions (plist-get info :filter-plain-text) (let ((transcoder (org-export-transcoder data info))) (if transcoder (funcall transcoder data info) data)) info)) ((not (org-export-interpret-p data info)) (org-export-data (org-export-expand data (mapconcat (lambda (blob) (org-export-data blob info)) (org-element-contents data) "")) info)) ((not type) (mapconcat (lambda (obj) (org-export-data obj info)) data "")) ((or (not (org-element-contents data)) (and (eq type (quote headline)) (eq (plist-get info :with-archived-trees) (quote headline)) (org-element-property :archivedp data))) (let ((transcoder (org-export-transcoder data info))) (and (fboundp transcoder) (funcall
[O] installation questions
Greetings!! I run "make oldorg" to generate org-install.el and have following in my init file, everything is working fine(I believe). (require 'org-install) I have few questions about installation procedure though. 1. Is the above snippet is all that is needed to load org.? suppose I want to use org-inlinetask.el, It seems I need to have (require 'org-inlinetask) or (add-to-list 'org-modules 'org-inlinetask) or is there better way.? IMO org-modules variable can be documented in the installation section[1] for better visibility. 2. I see few interactive functions are present in source files(for eg., org-inlinetask-promote) with no autoload cookies and thus not generated in org-install.el. I thought its good idea to put autoload cookie for every interactive function. what is the rationale for autoload cookies in emacs.? I am asking this because if those functions have autoload(ed) I wouldn't (probably) need extra configuration in my init file. 3. why is contrib folder not byte compiled with make.? It seems there is no argument for make to do this. Thanks., Footnotes: [1] http://orgmode.org/manual/Installation.html#Installation -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
Re: [O] food for thought re. git workflows
Hello Nicholas, Nick Dokos writes: > I thought this was an interesting read: > > http://sandofsky.com/blog/git-workflow.html > Nice read, I thought cleaning up before merge is good indeed. Suppose a beginner like me who want to contribute to a bigger projects like org, wouldn't want put all his stupid, do/undo commits in the org main repository. So cleaning up(rewriting history) of his own branch with good commit messages and annotations would help maintainers to review the code. That also gives more sane look for someone who is coming back to see the commits years later. Thanks., -- YYR
[O] [bug?] Re: layout org-babel menu
Hello Eric, Eric Schulte writes: > Hi, > > Thanks for your concern over the test suite. I believe the problem is > that I've been trying to stick to the version of Org-mode included in > the Emacs24 pre-test, which has changed my load path and means that the > latest version of Org-mode and the test suite take extra care to load. > > Since both Rainer and myself have run this successfully I've just pushed > it up to the main repo. Please let me know if it causes any problems. > > At some point in the next couple of weeks we should both flesh out the > language-specific header argument variables and document this new > auto-complete behavior (although I'm not sure where this documentation > should live). > > Best, A possible bug coming from your commit. I have message-mode hooks defined as follows, (add-hook 'message-mode-hook 'turn-on-orgstruct++) (add-hook 'message-mode-hook 'turn-on-orgtbl) pressing C-x m to compose new message., I am getting this debugger message , | debug(error (wrong-type-argument number-or-marker-p nil)) | org-babel-header-arg-expand() | run-hook-with-args-until-success(org-babel-header-arg-expand) | org-cycle((4)) | org-set-startup-visibility() | org-mode() | org-get-local-variables() | orgstruct-setup() | orgstruct-mode(1) | orgstruct++-mode(1) | turn-on-orgstruct++() | run-hooks(change-major-mode-after-body-hook text-mode-hook message-mode-hook) | apply(run-hooks (change-major-mode-after-body-hook text-mode-hook message-mode-hook)) | run-mode-hooks(message-mode-hook) | message-mode() | message-pop-to-buffer("*unsent mail*" nil) | message-mail() | gnus-summary-mail-other-window(nil) | call-interactively(gnus-summary-mail-other-window) | gnus-article-read-summary-keys(nil) | call-interactively(gnus-article-read-summary-keys nil nil) | ` Thanks., -- YYR
Re: [O] 403 Forbidden link from FAQ
Hello Elias, Elias Assarsson writes: > Hi > > I do not know if this is the appropriate place to report this but at > http://orgmode.org/worg/org-faq.html#unicorn there is a link to > http://orgmode.org/img/ which is 403 Forbidden. I think directory listing is forbidden on org website.(for security reasons) if you like to download psd or svg formats, follow the links http://orgmode.org/img/org-mode-unicorn.psd http://orgmode.org/img/org-mode-unicorn.svg that said, it would be good to have direct links Thanks., -- YYR
Re: [O] layout org-babel menu WAS: About org-babel menu
Rainer M Krug writes: > On 10/04/12 22:35, Bastien wrote: >> Guys, >> >> let me know when you have a first stable draft for the structure of the >> Babel menu and I'll >> implement it. > > Thanks Bastien - here is my suggestion and if no objections are raised, I > would suggest to > implement it: FWIW, I am working on this, I hope to submit initial patch in the coming weekend. I am kinda slow with my Elisp. Thanks -- YYR
Re: [O] About org-babel menu
Bastien writes: > Hi Thorsten, > > I'm interested in having a menu for Babel. > > What I need is (1) the list of functions and contexts in which this menu > should appear and (2) the list of items for such a menu. When we have > this, we can think of context-aware mouse-menu deeper, adapted to what > is already available in the global menu. > > If someone wants to put a stab at (1) and (2), let's go ! Would be a > nice addition for Org 7.9. I will try and report back soon. IMO babel can have its own main menu just like OrgTbl. (with a name "ob" or something). PS: Even I don't use menus. Just thinking of learning more about org babel -- YYR
Re: [O] org -> deck.js?
Hello Matt, Matt Price writes: > Hi folks, > > has anyone had any luck converting org files to deck.js? I'm working > on a presentation for tomorrow... and wondering if html5-slideshow is > still the best export path. Thanks folks!! I am not really answering your question. I had a terrible experience last month, where I took org to html path (Since I needed to show some gif files). The slides' width and height are changed when displaying by the projector and slides stretched out of the screen. Just a word of caution. > matt > -- YYR
Re: [O] AUCTeX conflicting with org-mode
Hello Suvayu., suvayu ali writes: > Hi Yagnesh, > > On Wed, Mar 21, 2012 at 07:01, Yagnesh Raghava Yakkala > wrote: >> Hi Bastien and Suvayu, >> >> suvayu ali writes: >>> >> [snipped 35 lines] >>> >>> 1. Leave the bug unsolved, hoping there will be a cleaner solution >>> later. After all, there is a very simple workaround on the user side, >>> do (load "tex.el") before using org-latex. >> >> how about this patch (to hotfix branch). >> > > I tested it, the problem is still there. That's odd. My tests have passed. >I don't think you can put > arbitrary code within a let* bind and expect to retain the effect in the > main body. I don't understand what you mean here. Anyway it seems poking into variables from other packages is not a good idea in elisp. -- YYR
Re: [O] AUCTeX conflicting with org-mode
Hi Bastien and Suvayu, suvayu ali writes: > [snipped 35 lines] > > 1. Leave the bug unsolved, hoping there will be a cleaner solution >later. After all, there is a very simple workaround on the user side, >do (load "tex.el") before using org-latex. how about this patch (to hotfix branch). diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 2e11ca4..438e5a4 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -871,6 +871,7 @@ when PUB-DIR is set, use this as the publishing directory." filename))) (auto-insert nil); Avoid any auto-insert stuff for the new file (TeX-master (boundp 'TeX-master)) + (dummy (unless TeX-master (makunbound 'TeX-master))) ; make sure we are not introducing TeX-master (buffer (if to-buffer (cond ((eq to-buffer 'string) (get-buffer-create -- YYR
Re: [O] question about org2blog and latex
Hi Stephen, "Stephen J. Barr" writes: > Hello, > > I am working on blogging using org2blog, allowing me to update my > wordpress blog with org-mode. All is working well except latex. I was > expecting latex images but instead just get things like: > > $latex z * k^\theta$ > I don't use org2blog myself. But I see org2blog parse org entry to wordpress post. (setq org2blog/wp-latex-to-wp nil) if you put above may stop org2blog parse the latex bits. However original author Puneeth will have better answers. -- YYR
Re: [O] AUCTeX conflicting with org-mode
Hello Nick., Nick Dokos writes: > suvayu ali wrote: > [snipped] > > Actually, your backtrace in the original post makes things clearer now. > > org-export-as-latex calls find-file-noselect on the .tex file, which > calls after-find-file which runs the find-file-hook. Somehow the > find-file-hook is set up[fn:1] as in VirTeX-common-initialization to > call TeX-master-file - although your backtrace shows compiled code, it's > pretty clear that that's the setting of the find-file-hook that > VirTeX-common-initialization has done. So it looks as if tex.el is > partially loaded: the initialization is done, the hook is set up but the > defvar has failed, probably because of the let-bind. Thanks for the analysis. I think you are right. With my limited elisp skills I would say its a *bug* and coming from org. If I take that let-binding off and setting the TeX-master by checking with if it ever bound seems fixing this problem. this patch fixing the problem. (can be further improved) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 03664b4..9e53849 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -885,7 +885,6 @@ when PUB-DIR is set, use this as the publishing directory." (concat filename ".tex") filename))) (auto-insert nil); Avoid any auto-insert stuff for the new file - (TeX-master t) ; Avoid the Query for TeX master from AUCTeX (buffer (if to-buffer (cond ((eq to-buffer 'string) (get-buffer-create @@ -958,6 +957,8 @@ when PUB-DIR is set, use this as the publishing directory." :exclude-tags (plist-get opt-plist :exclude-tags) :LaTeX-fragments nil))) +(if (boundp 'TeX-master) (setq TeX-master t)) ; Avoid the Query for TeX master from AUCTeX + (set-buffer buffer) (erase-buffer) (org-install-letbind) -- YYR
Re: [O] AUCTeX conflicting with org-mode
Hi Suvayu, suvayu ali writes: > Hi, > > I am having conflicts AUCTeX when I try to open plain latex files after > I exporting an org file to latex. These are the exact steps. > > 1. Start Emacs as: emacs -q (so that the site files load and I have >auctex available). > 2. Open any org file and export to latex, C-c C-e l. > 3. Open another plain latex file. > > At this point I see this backtrace: > > Debugger entered--Lisp error: (void-variable TeX-master) > #[nil "\301\302 !\203 > \303=\203 \304\305\211\306#\210\307\306!\207" [TeX-master > file-exists-p buffer-file-name shared TeX-master-file nil t > TeX-update-style] 4]() > run-hooks(find-file-hook) > after-find-file(nil t) > find-file-noselect-1(# > "~/graphics/velo-links.tex" nil nil "~/graphics/velo-links.tex" > (263573 64770)) > find-file-noselect("~/graphics/velo-links.tex" nil nil t) > find-file("~/graphics/velo-links.tex" t) > call-interactively(find-file nil nil) > > Since removing the auctex site files out of the site-lisp directory > resolves the conflict I am assuming the problem stems from my auctex > installation. > > Can someone help me trouble shoot this? I can reproduce this., I think your auctex installation is fine. Its definitely from org. In org-latex.el Tex-master is set to t to suppress auctex from asking for that variable while exporting with org-latex..(IIRC there was a discussion and Carsten made that change) Some how org leaving that to void at the end of org-latex export (I coundn't figure out how?). -- YYR
Re: [O] :noweb header argument
Eric S Fraga writes: > Eric Schulte writes: > > [...] > |> I've just pushed up a minor code change which makes customization of the |> format of exported code blocks possible. I've added a new |> customization > > I'm coming late to this but just wanted to say thanks! This is very > nice indeed. Yes, this is very useful. now I can simply put (setq org-babel-exp-code-template "``` %lang %name %body ```") to have source code highlighted with Pygments in Jekyll site generation instead of placing an export-hook to clean all "" elements which is very much error prone. -- YYR
Re: [O] fast navigation
Hello, Leo Alekseyev writes: > The patch indeed fixes the problem, but has the following side effect: > the org-goto prompt now acquires a (possibly invalid) default > location, e.g. after I go to node "foo" in some file (file1), and do > an org-goto in some other file (file2), it will give me "foo" as a > default location, even though there's no node "foo" in file2. This is > mostly a cosmetic bug, but a bug nonetheless, because the signature of > the function in the patch is > (org-refile-get-location &optional PROMPT DEFAULT-BUFFER NEW-NODES > NO-EXCLUDE) and we are in fact passing nil to default-buffer. I would > expect this to suppress the showing of the default prompt. It seems this bug is already present there and not introduced by the patch I posted. I think possible solutions are: 1) writing a function similer to org-refile-get-location to be called only by org-goto. 2) modifying org-refile-get-location so that it recognize it is called by org-goto and acts accordingly. Its also possible I am totally wrong here because of my zero+ elisp knowledge. > > > On Wed, Dec 21, 2011 at 8:31 AM, Yagnesh Raghava Yakkala > wrote: >> Hi, >> >> Leo Alekseyev writes: >> >>> I recorded the bug in a short screencast. emacs was started with -Q; >>> in the second part of the screencast it was restarted with a config >>> file that only included ido mode >>> >>> http://www.youtube.com/watch?v=z6nDUh0RH_c&feature=youtu.be >>> >> >> The attached highly unrelible online PATCH fixes the problem. I dont know >> it has any side effects. >> >> >> >> >> -- >> YYR >> > > -- YYR
Re: [O] fast navigation
Hi, Leo Alekseyev writes: > I recorded the bug in a short screencast. emacs was started with -Q; > in the second part of the screencast it was restarted with a config > file that only included ido mode > > http://www.youtube.com/watch?v=z6nDUh0RH_c&feature=youtu.be > The attached highly unrelible online PATCH fixes the problem. I dont know it has any side effects. diff --git a/lisp/org.el b/lisp/org.el index 7e24367..02a4666 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6797,7 +6797,7 @@ hierarchy above." (selected-point (if (eq interface 'outline) (car (org-get-location (current-buffer) org-goto-help)) - (let ((pa (org-refile-get-location "Goto"))) + (let ((pa (org-refile-get-location "Goto" nil nil t))) (org-refile-check-position pa) (nth 3 pa) (if selected-point -- YYR
[O] Re: subscribe org list, but opt out from recieving mails.
Hi Bernt, Thanks for the response., Bernt Hansen writes: > Yagnesh Raghava Yakkala writes: > >> Hi Robert, >> >> Robert Pluim writes: >> >>> Yagnesh Raghava Yakkala writes: >>> >>>> Dear list, >>>> >>>> I read orgmode list from gmane news group and I want to subscribe the >>>> list to be able to post, but dont want to recieve any mails unless they >>>> directs to my mail ID. is it possible?? >>> >>> I believe you can post via gmane without being subscribed to the list >>> (this post being an example :) ) >> >> Thanks, Fist I thought so, then I was afraid of giving manual work to the >> moderators for spam verification. Thanks for the confirmation. >> >> Yagnesh > > Hi Yagnesh, > > Yes you can do this. That is how I am set up. I read the list through > gmane (and Gnus) and am subscribed and set up to not receive email from > the list. This allows posts by me to get to the list without requiring > moderation and I get to read the list the way that is most convenient > for me. > > When someone does reply-all which includes my email address I get a copy > of that mail in my inbox and I'll definitely notice it and respond. > Posts intended for me but just sent only to the list may not be read for > long periods of time (read: days) so the author may not get a timely > response. Thanks I could do that. I didn't notice that there is an option to login into the Mailman and change the subscription option. BTW your org page is great. I feel sometimes it may take years for me to reach the end of your document ;) Thanks, Yangesh. -- You display the wonderful traits of charm and courtesy.
[O] Re: subscribe org list, but opt out from recieving mails.
Hi Robert, Robert Pluim writes: > Yagnesh Raghava Yakkala writes: > >> Dear list, >> >> I read orgmode list from gmane news group and I want to subscribe the >> list to be able to post, but dont want to recieve any mails unless they >> directs to my mail ID. is it possible?? > > I believe you can post via gmane without being subscribed to the list > (this post being an example :) ) Thanks, Fist I thought so, then I was afraid of giving manual work to the moderators for spam verification. Thanks for the confirmation. Yagnesh -- Your supervisor is thinking about you.
[O] Re: Update org-mode
hi Dror, Dror Atariah writes: > I tried to follow the update process described here: > http://orgmode.org/worg/org-faq.html under: > How do I keep current with bleeding edge development? > > The only change I made was the place where I checked out the new version. > Instead of ~/elisp I have ~/Library/elisp. may be problem with the path setting, #+begin_src elisp (setq load-path (cons (expand-file-name "~/Library/elisp") load-path)) (require 'org-install) #+end_src may solve the problem. > > Everything went smooth, except that I had to add "sudo" before the > "make install". Without the sudo, I got an "access denied" > error. Anyway, at the end, I got no warnings and it seems like the > process was smooth. But when I checked the version of org-mode in > aquamacs it was still 6.33x > > I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) > of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac > OS 10.6.7. > > What should I do in order to fix it? > > Thanks in advance, > Dror > > > > > Yagnesh -- You may be infinitely smaller than some things, but you're infinitely larger than others.
[O] subscribe org list, but opt out from recieving mails.
Dear list, I read orgmode list from gmane news group and I want to subscribe the list to be able to post, but dont want to recieve any mails unless they directs to my mail ID. is it possible?? Thanks, Yagnesh -- Chicken Little was right.
[Orgmode] Re: little problem with installing org with el-get
dpom writes: > I use el-get to obtain the last org-mode version and it's ok. > My working configuration is: > > (setq el-get-sources > '( > ... >(:name org-mode > :build ("make clean" "make" "make doc" > "make INSTALL_INFO=ginstall-info infodir=~/.emacs.d/info/org > install-info") > :after (lambda () > (setq load-path (remove "/usr/share/emacs/23.2/lisp/org/" > load-path)) > (add-to-list 'Info-default-directory-list (expand-dir-name "org" > info-dir > )) > > You should replace "/usr/share/23.2/lisp/org/" with your emacs > repository. Thanks Dan Pomohaci. This is working., I understood whats going on. Regards, Yagnesh ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: little problem with installing org with el-get
Dear Jambunathan, Thanks for the reply., Jambunathan K writes: > Unless you specifically want to use el-get there are various options > available. > > See 'Keeping Current' section of http://orgmode.org/worg/org-faq.php for > various options. > > Since you say you are a noob I suggest that you use the Package > Manager - ELPA. previously I used ELPA to maintain few of my plugins. but i found (may be a wrong estimation) that el-get will be more elegant to follow the plugins using not only as a wrapper to ELPA and other plugins with additional protocols like git, http ,svn and more. Problems with ELPA are I had to put ELPA directory into my .emacs.d repo to exchange the my configurations between different computers. so when ever I add/delete a plugin by ELPA, I will have big changes in my .emacs.d repo. Other thing is manual checking for the plugin updates. that's why i chose to use el-get. Again, may be experienced git&elisp users can overcome these problems quite easily. > > Jambunathan K. > > yagnesh raghava yakkala writes: > >> Dear list, >> >> I recently dove into emacs world because of org. This is my first mail >> to list so let me thank to Org-mode , Carsten and all contributors. >> >> Now to the problem, >> >> I am trying to follow the Org-mode from the git head using el-get. how >> ever its not working as intended. even after el-get-update and >> el-get-init , i see org-version is set to 7.1 (I am using emacs from >> git repo few days ago built) instead of 7.3 release_7.3xxx dirty. >> >> I think this is nothing to do with my /init.el/. As a work around I >> removed org folder from the emacs installation. After doing so it is >> showing the correct version which is installed. >> >> I dont know this is a problem with el-get. is anybody using el-get to >> maintain your org and other elisp code. As I said, i could solve my problem with deleting the org directory (bad idea indeed , loosing the fallback option) in my emacs installation. My question was why el-get is not able to init the Org while it is doing good with other packages. if this is not so interesting/important, please ignore this thread as closed Since I am having a working git head org installation. Thanks & Regards, Yagnesh [deleted the tail] ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] little problem with installing org with el-get
Dear list, I recently dove into emacs world because of org. This is my first mail to list so let me thank to Org-mode , Carsten and all contributors. Now to the problem, I am trying to follow the Org-mode from the git head using el-get. how ever its not working as intended. even after el-get-update and el-get-init , i see org-version is set to 7.1 (I am using emacs from git repo few days ago built) instead of 7.3 release_7.3xxx dirty. I think this is nothing to do with my /init.el/. As a work around I removed org folder from the emacs installation. After doing so it is showing the correct version which is installed. I dont know this is a problem with el-get. is anybody using el-get to maintain your org and other elisp code. in my init.el I have el-get-sources setup as the following. -- (setq el-get-sources '( (:name magit :after (lambda () (global-set-key (kbd "C-x C-z") 'magit-status))) (:name org-mode :type git :url "git://repo.or.cz/org-mode.git" :info "doc" :build ("make clean" "make" "make doc") :load-path ("lisp" "contrib/lisp") :features org-install) (:name smex :type git :url "http://github.com/nonsequitur/smex.git";) (:name el-get :type git :url "git://github.com/dimitri/el-get.git" :features el-get :load"el-get.el") )) --- Apologies if my terminology and language confuses you. Regards., Yagnesh PS: I am almost a noob to elisp and even to programming. so please bear with me. I am sending this from /gnus/ for the first time hoping to reach the list. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode