Re: [O] Org-mode for school work
Hi Steve, Steve Prud'Homme sprud...@gmail.com writes: I realy like the org-mode. I use it for my school work. I have a questions about litle things like : 1. It is possible when i export a org file in pdf to make a title page verticaly centered. This depends on the LaTeX class you use -- from memory, the class report dedicates one page to the title page, and centers the title vertically (or somewhat close.) 2. It is possible when i export a org file in pdf It is possible to do a page brake after the table of content Just use \pagebreak in your Org file. 3. It is possible when i export a org file in pdf It is possible give the text a interline of 1.5 for certain part of the text. #+LaTeX: \renewcommand{\baselinestretch}{1.5} before the part you want to modify, and #+LaTeX: \renewcommand{\baselinestretch}{1} to go back to a normal interline after this part. 4. When i make table i use table - create (ex: 7x3). It is possible to merge cell like in word(example first row 1 colomn second row 4 column) No. 5. It is possible when i export a org file in pdf It is possible to set the font size Yes - customize `org-export-latex-classes' to your needs, adding \documentclass[11pt]{article} where it makes sense. 6. Finaly it is possible to make a table that i use a lot a form that i can fill and it is possible with i don't know a short-cut or something to call this form when i need it. It's not currently possible, but we can imagine a helper function for that. For now I would suggest: just store the empty table in a register: select the table, `C-x r s', then `C-x r i' when you want to insert the empty table again. Please excuse my english, i'm french J'ai réussi à comprendre à peu près :) HTH! -- Bastien
Re: [O] org file for reference card?
Hi Vikas, Vikas Rawal vikasli...@agrarianresearch.org writes: I will try to produce an org file but the real utility would be if we could find a way to produce a pdf out it. We can write a dedicated exporter for that. Basically, it just needs to insert a specific header (see doc/orgcard.tex) and to convert list items into \key{...}{...} entries -- those kinds of things are now possible with org-element.el and org-export.el. My skills are limited and I really do not know if there is a way to specify a template that will export the org file with the desired layout. The utility of an org file (against a tex or a pdf file) will be that the org gile will allow users to to easily customise their refcards. Yes -- I completely agree. That is, if I am interested in a subset of commands rather than the whole set, an org file could be easily edited and then exported. Wonder if it interests the community. At least I am interested :) Having an org-clone of the Org reference card on worg is a good start IMHO. Thanks again! -- Bastien
Re: [O] Org-mode for school work
6. Finaly it is possible to make a table that i use a lot a form that i can fill and it is possible with i don't know a short-cut or something to call this form when i need it. Depending on what exactly you have in mind, Org Capture might be the answer. Yours, Christian
Re: [O] fast navigation
Hi, Leo Alekseyev dnqu...@gmail.com 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_cfeature=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] Unable to unfold a folded block having point directly after the folded block
Hi, I experience an annoying behaviour: Having *** Headline :LOGBOOK: - point is at the end of the headline - moving one line down I am at the end of the LOGBOOK line There I cannot open the folded LOGBOOK block with TAB. I have to move point one character back in order to unfold it with TAB. After that I can no more reach the end of this line like before, where I could not unfold with TAB. Is this intended? I would appreciate being able to unfold a block when being directly after the last character of the folded thing. Would it make sense to be able to configure such a behaviour? Rainer
Re: [O] Org-mode for school work
2011/12/21 Bastien b...@altern.org Hi Steve, Steve Prud'Homme sprud...@gmail.com writes: I realy like the org-mode. I use it for my school work. I have a questions about litle things like : 1. It is possible when i export a org file in pdf to make a title page verticaly centered. This depends on the LaTeX class you use -- from memory, the class report dedicates one page to the title page, and centers the title vertically (or somewhat close.) 2. It is possible when i export a org file in pdf It is possible to do a page brake after the table of content OK but where in the org file to put the pagebreake after the table of content. When I put the pagebreake in the beginning of the org-file i have a blank page in the begening of my document. Just use \pagebreak in your Org file. 3. It is possible when i export a org file in pdf It is possible give the text a interline of 1.5 for certain part of the text. #+LaTeX: \renewcommand{\baselinestretch}{1.5} before the part you want to modify, and #+LaTeX: \renewcommand{\baselinestretch}{1} to go back to a normal interline after this part. Cool but it apply on title, not on regular paragraph text 4. When i make table i use table - create (ex: 7x3). It is possible to merge cell like in word(example first row 1 colomn second row 4 column) No. Yes, finaly i found a cool video about this : http://www.youtube.com/watch?v=7w3cOypPhDI 5. It is possible when i export a org file in pdf It is possible to set the font size Yes - customize `org-export-latex-classes' to your needs, adding \documentclass[11pt]{article} where it makes sense. It is posible to do that but only when i need it... like the interline. 6. Finaly it is possible to make a table that i use a lot a form that i can fill and it is possible with i don't know a short-cut or something to call this form when i need it. It's not currently possible, but we can imagine a helper function for that. For now I would suggest: just store the empty table in a register: select the table, `C-x r s', then `C-x r i' when you want to insert the empty table again. Please excuse my english, i'm french J'ai réussi à comprendre à peu près :) Ah bein tabarouette ! HTH!
Re: [O] Org-mode for school work
Steve Prud'Homme sprud...@gmail.com wrote: Hi, I realy like the org-mode. I use it for my school work. I have a questions about litle things like : 1. It is possible when i export a org file in pdf to make a title page verticaly centered. 2. It is possible when i export a org file in pdf It is possible to do a page brake after the table of content 3. It is possible when i export a org file in pdf It is possible give the text a interline of 1.5 for certain part of the text. 4. When i make table i use table - create (ex: 7x3). It is possible to merge cell like in word (example first row 1 colomn second row 4 column) 5. It is possible when i export a org file in pdf It is possible to set the font size 6. Finaly it is possible to make a table that i use a lot a form that i can fill and it is possible with i don't know a short-cut or something to call this form when i need it. 1., 2., 3. and 5. are really LaTeX questions. Both 1. and 2. can be obtained by using the appropriate LaTeX class, e.g. #+LaTeX_CLASS: report at the top of your document will give you a dedicated title page, vertically centered, and a dedicated TOC with a page break afterwards. But it will also give you Parts and Chapters, in addition to Sections, etc. which may not be what you want. You can certainly customize all of that in LaTeX, but I suspect that it's going to be a fair amount of work. You can change the font size of the text globally by adding something like: #+LaTeX: \huge at the top of your file. This will only take effect after the TOC however, and it will not affect the font size of headings, IIUC. You can also wrap a portion of the text like this: #+LaTeX: {\huge some text #+LaTeX: } to make font size changes locally. You can also change the interline spacing, (see e.g. p. 136 of the french version of A not-so-short introduction to LaTeX by Tobias Oetiker http://mirror.math.ku.edu/tex-archive/info/lshort/french/lshort-fr.pdf ) by changing \baselineskip appropriately. I don't understand 4. - it might be a good idea for you to provide an example of what you want. There are various ways to accomplish 6. : you can put the template in a file, define a function to insert the file and bind it to a key, you can define a macro or a function that inserts what you want, you can use any of the abbrev/template systems that emacs provides... Here is a bare-bones implementation of the first idea: you have a file /home/stevep/lib/org/templates/my-favorite-table.org with the table template in it. You define a function (put this stuff in your .emacs): (defun stevep-org-insert-my-favorite-table-template () (interactive) (insert-file /home/stevep/lib/org/templates/my-favorite-table.org)) and you bind it to function-key F4 (probably not a good idea, but this is just an example): (define-key global-map [f4] 'stevep-org-insert-my-favorite-table-template) HTH, Nick
Re: [O] Org-mode for school work
Steve Prud'Homme sprud...@gmail.com wrote: 2011/12/21 Bastien b...@altern.org Hi Steve, Steve Prud'Homme sprud...@gmail.com writes: I realy like the org-mode. I use it for my school work. I have a questions about litle things like : 1. It is possible when i export a org file in pdf to make a title page verticaly centered. This depends on the LaTeX class you use -- from memory, the class report dedicates one page to the title page, and centers the title vertically (or somewhat close.) 2. It is possible when i export a org file in pdf It is possible to do a page brake after the table of content Just use \pagebreak in your Org file. OK but where in the org file to put the pagebreake after the table of content. When I put the pagebreake in the beginning of the org-file i have a blank page in the begening of my document. Maybe \newpage works better? Nick
Re: [O] [bug] Symbol's function definition is void: org-pop-to-buffer-same-window
Just wanted to add a line here. I also encountered this problem when upgrading to Emacs 24.0.92 on windows and started using ELPA to install the newest release of Org. Sebastiens comments were helpful in finding the reason for this. It seems to relate to the fact that everything handled by ELPA doesn't load until after the init file. Org (from ELPA) is auto-loaded first when called by the user but the settings done in the init file still remains from the default org-mode installation causing problems as this. I solved it by adding the function (package-initialize) to my init file before calling org to do things for me. I don't know if this has any bad side-effects yet.. But please point at a better solution if one comes to mind. Regards Gustav On Wed, Dec 7, 2011 at 9:45 PM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi all, Sebastien Vauban wrote: Nick Dokos wrote: Shelagh Manton shelagh.man...@gmail.com wrote: On Tue, 06 Dec 2011 16:19:36 -0500, Nick Dokos wrote: Shelagh Manton shelagh.man...@gmail.com wrote: On Thu, 01 Dec 2011 11:40:11 -0300, Kenny Meyer wrote: On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban In conditions which I consider unchanged (I speak of my emacs config file), with the latest Org-mode version, I now have the message: There was the original mistake: conditions were changed! let*: Symbol's function definition is void: org-pop-to-buffer-same-window when doing, for example, `C-c C-x C-j' to jump on the currently clocked item. Explicitly Loading `org-compat' does cure this problem... But we must miss a `require' somewhere, but where? In `org.el' itself? I've just been bitten by this as well. requiring org-compat manually did nothing. My config files have not changed, just pulled latest org-mode, did a make clean and make. Suddenly my org-drill sessions don't work. Did you restart emacs? Yes. I did just then and same thing. Do you get the error with org-drill only or do you get it in the instances that Seb and Kenny Meyer report? If the former, it may be a bug with org-drill. Otherwise, I throw up my hands: I certainly cannot reproduce it. FYI: - I don't use .elc files. - I've recently upgraded to Emacs 24.0.91.1 on Windows -- not sure if the problem appeared directly after, or a little bit before. - I began suspecting work that I could have done in a branch, and mixed versions that way -- as I'm not yet familiar with git and switching between branches. - I've deleted all my Org directory, and cloned a fresh one But it still occurs. Though: - Requiring org-compat does cure the problem. - I see calls to org-compat in every crucial Org file -- I don't understand where it could be missing. - I still must try to dissecate my .emacs, or use a minimal Emacs config file to see if it's reproducible that way. So, what was the problem in my case? I've been trying to use the starter kit approach, and have a 2-file system: - ~/.emacs - ~/emacs/site-lisp/seb-conf.el (tangled from its .txt equivalent) which contains add-to-load-path calls for all packages (Org, Gnus, etc.) and all my customization. In ~/.emacs, I've replaced my previous: (require 'seb-conf) by (defun starter-kit-load ...) (defun starter-kit-compile ...) (starter-kit-load emacs/site-lisp/seb-conf.txt) Doing so, as it now calls `org-babel-load-file' (in `starter-kit-load'), and as that function is autoloaded in Emacs 24, Emacs was loading the Org version bundled with Emacs 24.0.91.1 -- that is, not the latest one, not the one in my Git working copy. This is very tricky to spot, IMHO, as all the checks done after Emacs has been started up will give partially false answers: (locate-library org-compat) shows my git version as the load-path has been updated at the very beginning of loading `seb-conf'. In summary: - this is explained, and due to a mistake of mine; - this is quite tricky to detect; - this is a mix of different Org versions which causes the reported symptom. Best regards, Seb -- Sebastien Vauban
[O] Custom title page in org-mode
Ok so i use emacs for school work. I was trying to make a custom title page because, the default latex custom page do not respect my teacher standard So my org-file look like that : French comment : Exemple de page titre de l'UQAM intégrée dans un fichier.org #+LaTeX_CLASS: report #+LaTeX: \renewcommand{\baselinestretch}{1.5} #+latex_header: \usepackage[french]{babel} #+LaTeX: \begin{document} #+LaTeX:\begin{center} #+LaTeX:\thispagestyle{empty} #+LaTeX:\textbf {Université du Québec à Montréal} \\ #+LaTeX:\vspace*{\fill} #+LaTeX:Travail écrit : Mon métier d'hier à aujourd'hui\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Travail présenté à\\ #+LaTeX:Mme Sophie Grossman\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Dans le cadre du cours\\ #+LaTeX:FPT 1402, groupe 20, Réflexion critique sur le métier, la technique\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Par\\ #+LaTeX:\textbf{Joseph Benoît Steve Prud'Homme}\\ #+LaTeX:PRUS28108006\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Programme\\ #+LaTeX:Baccalauréat d'enseignement en formation professionnelle et technique #+LaTeX:Concentration en formation professionnelle au secondaire\\ #+LaTeX:\vspace*{\fill} #+LaTeX:25 octobre 2010\\ #+LaTeX:\vspace*{\fill} #+LaTeX:\end{center} * Introduction et compréhension de la thématique (...) The problem it is possible to cancel the default latex title page in my org-file. It is possible te place the table of content after the custom title page. I know that is latex question but i want to rest in my .org file and not edit my .tex file. -- Posté par Steve Prud'Homme sprud...@gmail.com 514 466-3951
[O] New Org Mode section in latest GNU Emacs manual
Dear all, I just updated the Emacs manual with a short section about Org Mode, and some pointers to the Org Mode manual for further details¹. If some of you update Emacs from the bzr repo regularily, please check this section and suggest any enhancement. This is doc/emacs/text.texi in the source code, and the Org Mode info item from the Emacs manual. Best, ¹ http://lists.gnu.org/archive/html/emacs-diffs/2011-12/msg00150.html -- Bastien
Re: [O] descriptions about org-cycle is separated
Hi Takaaki, Takaaki ISHIKAWA tak...@ieee.org writes: It is separated into P.13 and P.14. So, I make a patch, please find it below. I just jointed the separated descriptions. I see now -- thanks for the patch, I've now applied it! Best, -- Bastien
[O] Please test the new Makefile
Dear all, I've now bundled Achim's new Makefile in these archives: http://orgmode.org/Org-7.8.03-TestMakefile.tar.gz http://orgmode.org/Org-7.8.03-TestMakefile.zip Can some of you test the make procedures from there? Things are fine here, you should be safe. The purpose of the test is to make sure `make make install' do the right thing in various setups. Thanks for your help, Ps: for those who want to test this from Achim's branch, here is the recipe, assuming you are in your org-mode dir: git remote add -t Makefile remote-tableheadings git://repo.or.cz/org-mode/org-tableheadings.git git fetch remote-tableheadings Makefile:local-Makefile git checkout local-Makefile -- Bastien
Re: [O] Custom title page in org-mode
Steve Prud'Homme sprud...@gmail.com wrote: Ok so i use emacs for school work. I was trying to make a custom title page because, the default latex custom page do not respect my teacher standard So my org-file look like that : French comment : Exemple de page titre de l'UQAM int=E9gr=E9e dans un fichi= er.org #+LaTeX_CLASS: report #+LaTeX: \renewcommand{\baselinestretch}{1.5} #+latex_header: \usepackage[french]{babel} #+LaTeX: \begin{document} #+LaTeX:\begin{center} #+LaTeX:\thispagestyle{empty} #+LaTeX:\textbf {Universit=E9 du Qu=E9bec =E0 Montr=E9al} \\ #+LaTeX:\vspace*{\fill} #+LaTeX:Travail =E9crit : Mon m=E9tier d'hier =E0 aujourd'hui\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Travail pr=E9sent=E9 =E0\\ #+LaTeX:Mme Sophie Grossman\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Dans le cadre du cours\\ #+LaTeX:FPT 1402, groupe 20, R=E9flexion critique sur le m=E9tier, la techn= ique\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Par\\ #+LaTeX:\textbf{Joseph Beno=EEt Steve Prud'Homme}\\ #+LaTeX:PRUS28108006\\ #+LaTeX:\vspace*{\fill} #+LaTeX:Programme\\ #+LaTeX:Baccalaur=E9at d'enseignement en formation professionnelle et techn= ique #+LaTeX:Concentration en formation professionnelle au secondaire\\ #+LaTeX:\vspace*{\fill} #+LaTeX:25 octobre 2010\\ #+LaTeX:\vspace*{\fill} #+LaTeX:\end{center} * Introduction et compr=E9hension de la th=E9matique (...) Ugh. The problem it is possible to cancel the default latex title page in my org-file. It is possible te place the table of content after the custom title page. I know that is latex question but i want to rest in my .org file and not edit my .tex file. This is actually not a latex question: the org latex exporter does these things in a standard way. It may be possible to override some or all of this behavior, but I haven't checked because I think there is a better method. If I were you, what I would do is make my own LaTeX class. Start from the one closest to the desired result (probably article), incorporate whatever changes you want from report.cls (in particular, the page breaks you want), make whatever changes you want to the \title, \author etc. macros, save the result as myarticle.cls in the same directory as your org file, and add an entry for it to org-export-latex-classes. Then add a #+LaTeX_CLASS: myarticle to your org file and off you go. In more detail: 1) I copied the official article.cls to myarticle.cls in the current directory with cp $(kpsewhich article.cls) myarticle.cls 2) In myarticle.cls, I changed \@titlepagefalse to \@titlepagetrue in order to get a separate title page, and I added a \newpage at the end of the \tableofcontents macro (btw, report.cls does the latter in a subtler way, but never mind about that) and just for the heck of it, I also changed the baselinestretch - but I think this last is better done in a different way [fn:1]: --8---cut here---start-8--- $ diff -u $(kpsewhich article.cls) myarticle.cls --- /usr/share/texmf-texlive/tex/latex/base/article.cls 2009-09-28 11:31:27.0 -0400 +++ myarticle.cls 2011-12-21 16:50:18.150992695 -0500 @@ -58,7 +58,7 @@ \newcommand\@ptsize{} \newif\if@restonecol \newif\if@titlepage -\@titlepagefalse +\@titlepagetrue \if@compatibility\else \DeclareOption{a4paper} {\setlength\paperheight {297mm}% @@ -123,7 +123,7 @@ \input{size1\@ptsize.clo} \setlength\lineskip{1\p@} \setlength\normallineskip{1\p@} -\renewcommand\baselinestretch{} +\renewcommand\baselinestretch{1.3} \setlength\parskip{0\p@ \@plus \p@} \@lowpenalty 51 \@medpenalty 151 @@ -514,6 +514,7 @@ \@mkboth{% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% \@starttoc{toc}% +\newpage% } \newcommand*\l@part[2]{% \ifnum \c@tocdepth -2\relax --8---cut here---end---8--- 3) I added a stanza to org-export-latex-classes (I did that temporarily in my *scratch* buffer, but you can add it to .emacs if you want): --8---cut here---start-8--- (add-to-list 'org-export-latex-classes '(myarticle \\documentclass[11pt]{myarticle} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s}))) --8---cut here---end---8--- 4) I added the LaTeX_CLASS line to my org file: --8---cut here---start-8--- #+LaTeX_CLASS: myarticle --8---cut here---end---8--- That's all that's needed to produce separate title and TOC pages and keep the rest of the article class intact. If you don't like the titlepage format, you can modify it to your heart's content: you will need to figure out the LaTeX
Re: [O] Custom title page in org-mode
On Wed, Dec 21, 2011 at 4:15 PM, Nick Dokos nicholas.do...@hp.com wrote: Steve Prud'Homme sprud...@gmail.com wrote: Ok so i use emacs for school work. I was trying to make a custom title page because, the default latex custom page do not respect my teacher standard So my org-file look like that : [...] If I were you, what I would do is make my own LaTeX class. Start from the one closest to the desired result (probably article), incorporate whatever changes you want from report.cls (in particular, the page breaks you want), make whatever changes you want to the \title, \author etc. macros, save the result as myarticle.cls in the same directory as your org file, and add an entry for it to org-export-latex-classes. Then add a #+LaTeX_CLASS: myarticle [...] That's all that's needed to produce separate title and TOC pages and keep the rest of the article class intact. If you don't like the titlepage format, you can modify it to your heart's content: you will need to figure out the LaTeX part to do that, but that's not as difficult as you might think it is at first sight - and I guarantee that you will have an easier time this way than fighting the org latex exporter, a fight that you will probably lose :-) IMO, of course. I just did this and took a different method. I simply added: --- #+text: \input{./title.tex} --- to the beginning of my document. Then I created a separate .tex file with the title. If something is recurring, maybe it's worth the separate article class file. If not, I think it *might* be simpler to just define a custom title page and do as above. I think I just followed this: http://en.wikibooks.org/wiki/LaTeX/Title_Creation#Custom_Title_Pages Up to you! I can't guarantee this is right; I'm on a work computer and did this on my home one. John Nick Footnotes: [fn:1] Bastien is right that redefining \baselinestretch is better than mucking around with the \baselineskip as I suggested (see e.g. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=linespace ) It's probably even better to do it like this however: --8---cut here---start-8--- #+LaTeX_HEADER: \usepackage{setspace}\doublespacing --8---cut here---end---8--- or --8---cut here---start-8--- #+LaTeX_HEADER: \usepackage{setspace}\onehalfspacing --8---cut here---end---8--- or if you don't like the built-in factors, choose your own: --8---cut here---start-8--- #+LaTeX_HEADER: \usepackage{setspace}\setstretch{1.3} --8---cut here---end---8--- BTW, I think the factors are logarithmic: doublespacing is about 1.66 and onehalfspacing is 1.25 or so (depending on the font size).
Re: [O] Custom title page in org-mode
John Hendy jw.he...@gmail.com wrote: That's all that's needed to produce separate title and TOC pages and keep the rest of the article class intact. If you don't like the titlepage format, you can modify it to your heart's content: you will need to figure out the LaTeX part to do that, but that's not as difficult as you might think it is at first sight - and I guarantee that you will have an easier time this way than fighting the org latex exporter, a fight that you will probably lose :-) IMO, of course. I just did this and took a different method. I simply added: --- #+text: \input{./title.tex} --- to the beginning of my document. Then I created a separate .tex file with the title. If something is recurring, maybe it's worth the separate article class file. If not, I think it *might* be simpler to just define a custom title page and do as above. I think I just followed this: http://en.wikibooks.org/wiki/LaTeX/Title_Creation#Custom_Title_Pages Up to you! I can't guarantee this is right; I'm on a work computer and did this on my home one. ... but you have to do something (or perhaps *not* do something) in order to convince the org latex exporter not to produce a title page, right? Is it something simple like omitting #+TITLE and #+AUTHOR? Nick
Re: [O] Custom title page in org-mode
Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: That's all that's needed to produce separate title and TOC pages and keep the rest of the article class intact. If you don't like the titlepage format, you can modify it to your heart's content: you will need to figure out the LaTeX part to do that, but that's not as difficult as you might think it is at first sight - and I guarantee that you will have an easier time this way than fighting the org latex exporter, a fight that you will probably lose :-) IMO, of course. I just did this and took a different method. I simply added: --- #+text: \input{./title.tex} --- to the beginning of my document. Then I created a separate .tex file with the title. If something is recurring, maybe it's worth the separate article class file. If not, I think it *might* be simpler to just define a custom title page and do as above. I think I just followed this: http://en.wikibooks.org/wiki/LaTeX/Title_Creation#Custom_Title_Pages Up to you! I can't guarantee this is right; I'm on a work computer and did this on my home one. ... but you have to do something (or perhaps *not* do something) in order to convince the org latex exporter not to produce a title page, right? Is it something simple like omitting #+TITLE and #+AUTHOR? One has to either a) explicitly have an empty #+TITLE: or b) set org-export-latex-title-command to . The in-file setting for the latter is #+BIND: org-export-latex-title-command but #+TITLE: is easier :-) Nick PS. BTW, there's plenty o' stuff on the mailing list about such problems: http://thread.gmane.org/gmane.emacs.orgmode/38156 http://thread.gmane.org/gmane.emacs.orgmode/28138 http://thread.gmane.org/gmane.emacs.orgmode/40596 http://thread.gmane.org/gmane.emacs.orgmode/32081 and probably much more...
Re: [O] Please test the new Makefile
Hi Bastien, I have tried to install the new package in my clean VM of Suse 12.1. I'd like to report my install experience. http://orgmode.org/Org-7.8.03-TestMakefile.zip 1. When I just type make, I find a fatal error message: Not a git repository (or any parent up to mount parent ) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). 2. make all works well with the same message above. make all will be the default command instead of make? 3. Packages are installed into /usr/share/emacs/site-lisp. This is a known change in ML. 4. M-x org-version shows: ( @ /usr/share/emacs/site-lisp/org/org-install.el) Best regards, Takaaki Ishikawa GNU Emacs 23.3.1 (x86_64-suse-linux-gnu, GTK+ Version 2.24.7) of 2011-10-30 on build17
Re: [O] Custom title page in org-mode
On Wed, Dec 21, 2011 at 5:25 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: That's all that's needed to produce separate title and TOC pages and keep the rest of the article class intact. If you don't like the titlepage format, you can modify it to your heart's content: you will need to figure out the LaTeX part to do that, but that's not as difficult as you might think it is at first sight - and I guarantee that you will have an easier time this way than fighting the org latex exporter, a fight that you will probably lose :-) IMO, of course. I just did this and took a different method. I simply added: --- #+text: \input{./title.tex} --- to the beginning of my document. Then I created a separate .tex file with the title. If something is recurring, maybe it's worth the separate article class file. If not, I think it *might* be simpler to just define a custom title page and do as above. I think I just followed this: http://en.wikibooks.org/wiki/LaTeX/Title_Creation#Custom_Title_Pages Up to you! I can't guarantee this is right; I'm on a work computer and did this on my home one. ... but you have to do something (or perhaps *not* do something) in order to convince the org latex exporter not to produce a title page, right? Is it something simple like omitting #+TITLE and #+AUTHOR? Good point. Yes. Now that I'm back at home I looked at the document and the header stuff in the document in which I used this technique is: #+OPTIONS: toc:nil TeX:t LaTeX:t H:4 f:t todo:nil num:nil tags:nil #+BIND: org-export-latex-title-command #+text: \input{./title-page.tex} * first headline Neat tip about just doing #+title: ; hadn't realized a blank would do the same as the bind entry! John Nick
Re: [O] Custom title page in org-mode
John Hendy jw.he...@gmail.com wrote: Neat tip about just doing #+title: ; hadn't realized a blank would do the same as the bind entry! Carsten pointed that out in one of the threads that I referred to in my other email. I hadn't realized it back then and I didn't remember it now until I found that thread. Time to get a new brain... Nick PS. ... and thank goodness for the mailing list archives.