[-- Attachment #1.1: Type: text/plain, Size: 935 bytes --] Hi I have been trying out 'publish projects' in org mode. It works perfectly (following the instructions on Sebastian's tutorial), but I have a very basic question - The tutorial describes putting (require 'org-publish) (setq org-publish-project-alist '( ;; ... add all the components here (see below)... )) into the *scratch* buffer, followed by C-x C-e two times. Other than re-entering all the "org-publish-project-alist" info each time I publish to HTML, where does this code go - ? into my .emacs file ? change it via org menu -> customize -> customize -> Org Publishing -> Org Publish Project alist ? a separate file On a related note, searching the mailing list on the org main page doesn't seem to work : *Warning*: Unable to include '/cgi-bin/omega.cgi?query=publish&group=gmane.emacs.orgmode' - request execution failed in */home/xapian/html/index.php* on line *105 *Thanks !* *Charles Snyder* * [-- Attachment #1.2: Type: text/html, Size: 1279 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
On Mon, Jun 29, 2009 at 9:14 PM, charles snyder wrote: > Hi > > I have been trying out 'publish projects' in org mode. It works > perfectly (following the instructions on Sebastian's tutorial), but > I have a very basic question - The tutorial describes putting > > (require 'org-publish) > (setq org-publish-project-alist > '( > > ;; ... add all the components here (see below)... > > > )) > > into the *scratch* buffer, followed by C-x C-e two times. Other than > re-entering all the "org-publish-project-alist" info each time I > publish to HTML, where does this code go - > > ? into my .emacs file > ? change it via org menu -> customize -> customize -> Org Publishing -> Org > Publish Project alist > ? a separate file You can keep the org-publish-project-alist settings into .emacs. It still goes to .emacs if you change it via customize (unless you customize custom-file as well.) -- Manish
Hi Charles, charles snyder <clsnyder@gmail.com> writes: > I have been trying out 'publish projects' in org mode. It works perfectly > (following the instructions on Sebastian's tutorial), but I have a very basic > question - The tutorial describes putting > > (require 'org-publish) > (setq org-publish-project-alist > '( > > ;; ... add all the components here (see below)... > > )) > > into the *scratch* buffer, followed by C-x C-e two times. Other than > re-entering all the "org-publish-project-alist" info each time I publish to > HTML, where does this code go - > > ? into my .emacs file > ? change it via org menu -> customize -> customize -> Org Publishing -> Org > Publish Project alist > ? a separate file I store the (setq org-publish-project-alist ...) variable in a separate ~/elisp/config/org-config.el file which looks like this: ,---- | (setq org-publish-project-alist ...) | (setq org-blabla ...) | (provide 'org-config) `---- For this file to be loaded by emacs, you need to add its location to the load-path, and to require the feature it provides: ,---- | (add-to-list 'load-path "~/elisp/config/") | (require 'org-config) `---- HTH > On a related note, searching the mailing list on the org main page doesn't seem > to work : > > Warning: Unable to include '/cgi-bin/omega.cgi?query=publish&group= > gmane.emacs.orgmode' - request execution failed in /home/xapian/html/index.php > on line 105 This is a problem on Gmane, I wrote to the maintainer, thanks. -- Bastien
Bastien <bastienguerry@googlemail.com> writes:
>> Warning: Unable to include '/cgi-bin/omega.cgi?query=publish&group=
>> gmane.emacs.orgmode' - request execution failed in /home/xapian/html/index.php
>> on line 105
>
> This is a problem on Gmane, I wrote to the maintainer, thanks.
The problem is fixed, the search on gmane archives is now okay.
--
Bastien
Hi, I've already found and corrected the stupid typo, and that didn't fix this problem, so it's time to call for help. I just downloaded 6.28e last night. I am using GNU Emacs, 22.3.1 on Windows XP. I'm trying to export an org file to LaTeX, and overall it is working ok. However, I cannot seem to get the options #+EXPORT_EXCLUDE_TAGS and #+OPTIONS:...tags:nil to work. I've looked around some at org-export-general options, and I deleted the only old export setup file I had. I would think that options listed in the file would take precedence over those, though. Below are a truncated version of my org file and then the LaTeX output resulting from C-c C-e l. The section with the tag listed in export-exclude is in the output. The tag on that section is not in the output, however. My understanding of this setting was that it would prevent the tree from export, not just the keyword. The tags on other sections are also in the output, though I have tags:nil. #+OPTIONS is all on one line in my file. For the exclude tags option, I tried: :noexportlatex: :noexportlatex and what you see below. I did do C-c C-c in each of the options lines after adding them. I also tried without blank line between top options and #LATEX OPTIONS (I also could not get export to ignore options marked with begin/end html block.) Thanks for any help, and for org-mode in general. I voted. :-) --Kristina -=-=-test.org-=-=- #+TITLE: A test page #+AUTHOR: Kristina M. Spurgin #+EMAIL: kristina@infomuse.net #+DATE: 2008-11-10 Mon #+LANGUAGE: en # LATEX OPTIONS #+OPTIONS: H:4 num:t toc:4 \n:t @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:nil skip:nil d:nil tags:nil #+EXPORT_EXCLUDE_TAGS: noexportlatex * How to use this page :noexportlatex: Here you will find step by step instructions for constructing all the numbers we looked at in class. There are also others to demonstrate concepts we do not have time to look at in class. * Concepts ** Standing room and approximating the whole :standing-room:approximating- whole: Consult the Introduction in v. 1 for more information on the ideas of "standing room" in a class number, "approximating the whole" of the universe of a class number, and when you can add on standard subdivisions. *Relevant sections are 7.16, 7.18, and 8.9.* -=-=-LaTeX Output (preamble snipped)-=-=- \begin{document} \maketitle \setcounter{tocdepth}{4} \tableofcontents \section{How to use this page} Here you will find step by step instructions for constructing all the numbers we looked at in class. There are also others to demonstrate concepts we do not have time to look at in class. \section{Concepts} \subsection{Standing room and approximating the whole :standing- room:approximating-whole:} Consult the Introduction in v. 1 for more information on the ideas of ``standing room'' in a class number, ``approximating the whole'' of the universe of a class number, and when you can add on standard subdivisions. \textbf{Relevant sections are 7.16, 7.18, and 8.9.} \end{document} -- Kristina M. Spurgin PhD student - Teaching assistant School of Information & Library Science - UNC Chapel Hill CB#3360, 100 Manning Hall - Chapel Hill, NC 27599-3360 kristina@infomuse.net - kspurgin@email.unc.edu http://www.infomuse.net http://blog.infomuse.net aim: infomusings
Hi Kristina, this does work correctly for me, using your test file as it is. So I would think that you are not using 6.28e but some older version. What do you get with M-x org-version RET ? If it is not 6.28e, check out http://orgmode.org/worg/org-faq.php#loaded-old-org HTH - Carsten On Jul 7, 2009, at 4:37 AM, Kristina M. Spurgin wrote: > Hi, > > I've already found and corrected the stupid typo, and that didn't > fix this > problem, so it's time to call for help. > > I just downloaded 6.28e last night. I am using GNU Emacs, 22.3.1 on > Windows > XP. > > I'm trying to export an org file to LaTeX, and overall it is working > ok. > However, I cannot seem to get the options #+EXPORT_EXCLUDE_TAGS and > #+OPTIONS:...tags:nil to work. I've looked around some at org-export- > general > options, and I deleted the only old export setup file I had. I would > think that > options listed in the file would take precedence over those, though. > > Below are a truncated version of my org file and then the LaTeX output > resulting from C-c C-e l. The section with the tag listed in export- > exclude is > in the output. The tag on that section is not in the output, > however. My > understanding of this setting was that it would prevent the tree > from export, > not just the keyword. The tags on other sections are also in the > output, > though I have tags:nil. > > #+OPTIONS is all on one line in my file. > > For the exclude tags option, I tried: > :noexportlatex: > :noexportlatex > and what you see below. > > I did do C-c C-c in each of the options lines after adding them. > > I also tried without blank line between top options and #LATEX > OPTIONS (I also > could not get export to ignore options marked with begin/end html > block.) > > Thanks for any help, and for org-mode in general. I voted. :-) > > --Kristina > > -=-=-test.org-=-=- > #+TITLE: A test page > #+AUTHOR: Kristina M. Spurgin > #+EMAIL: kristina@infomuse.net > #+DATE: 2008-11-10 Mon > #+LANGUAGE: en > > # LATEX OPTIONS > #+OPTIONS: H:4 num:t toc:4 \n:t @:t ::t |:t ^:t -:t f:t *:t TeX:t > LaTeX:nil > skip:nil d:nil tags:nil > #+EXPORT_EXCLUDE_TAGS: noexportlatex > > * How to use this page :noexportlatex: > Here you will find step by step instructions for constructing all > the numbers > we looked at in class. There are also others to demonstrate concepts > we do not > have time to look at in class. > * Concepts > ** Standing room and approximating the whole :standing- > room:approximating- > whole: > Consult the Introduction in v. 1 for more information on the ideas of > "standing room" in a class number, "approximating the whole" of the > universe > of a class number, and when you can add on standard subdivisions. > *Relevant > sections are 7.16, 7.18, and 8.9.* > > > > -=-=-LaTeX Output (preamble snipped)-=-=- > > \begin{document} > > \maketitle > > \setcounter{tocdepth}{4} > \tableofcontents > > \section{How to use this page} > > Here you will find step by step instructions for constructing all > the numbers > we looked at in class. There are also others to demonstrate concepts > we do not > have time to look at in class. > \section{Concepts} > > \subsection{Standing room and approximating the whole :standing- > room:approximating-whole:} > > Consult the Introduction in v. 1 for more information on the ideas of > ``standing room'' in a class number, ``approximating the whole'' of > the > universe of a class number, and when you can add on standard > subdivisions. > \textbf{Relevant sections are 7.16, 7.18, and 8.9.} > > \end{document} > > -- > Kristina M. Spurgin > PhD student - Teaching assistant > School of Information & Library Science - UNC Chapel Hill > CB#3360, 100 Manning Hall - Chapel Hill, NC 27599-3360 > kristina@infomuse.net - kspurgin@email.unc.edu > http://www.infomuse.net http://blog.infomuse.net aim: infomusings > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Thanks, Carsten. That was indeed the issue, and it is now working
perfectly.
Funny, I was looking at the FAQ yesterday, but in the Export section.
I didn't think to look under Errors because I wasn't getting an error
to look up. :-)
Thanks a bunch,
Kristina
Carsten Dominik wrote:
> Hi Kristina,
>
> this does work correctly for me, using your test file as it is.
>
> So I would think that you are not using 6.28e but some older version.
>
> What do you get with
>
> M-x org-version RET
>
> ?
>
>
> If it is not 6.28e, check out
>
>
> http://orgmode.org/worg/org-faq.php#loaded-old-org
>
>
> HTH
>
> - Carsten
>
> On Jul 7, 2009, at 4:37 AM, Kristina M. Spurgin wrote:
>
>> Hi,
>>
>> I've already found and corrected the stupid typo, and that didn't fix
>> this
>> problem, so it's time to call for help.
>>
>> I just downloaded 6.28e last night. I am using GNU Emacs, 22.3.1 on
>> Windows
>> XP.
>>
>> I'm trying to export an org file to LaTeX, and overall it is working ok.
>> However, I cannot seem to get the options #+EXPORT_EXCLUDE_TAGS and
>> #+OPTIONS:...tags:nil to work. I've looked around some at
>> org-export-general
>> options, and I deleted the only old export setup file I had. I would
>> think that
>> options listed in the file would take precedence over those, though.
>>
>> Below are a truncated version of my org file and then the LaTeX output
>> resulting from C-c C-e l. The section with the tag listed in
>> export-exclude is
>> in the output. The tag on that section is not in the output, however. My
>> understanding of this setting was that it would prevent the tree from
>> export,
>> not just the keyword. The tags on other sections are also in the output,
>> though I have tags:nil.
>>
>> #+OPTIONS is all on one line in my file.
>>
>> For the exclude tags option, I tried:
>> :noexportlatex:
>> :noexportlatex
>> and what you see below.
>>
>> I did do C-c C-c in each of the options lines after adding them.
>>
>> I also tried without blank line between top options and #LATEX OPTIONS
>> (I also
>> could not get export to ignore options marked with begin/end html block.)
>>
>> Thanks for any help, and for org-mode in general. I voted. :-)
>>
>> --Kristina
>>
>> -=-=-test.org-=-=-
>> #+TITLE: A test page
>> #+AUTHOR: Kristina M. Spurgin
>> #+EMAIL: kristina@infomuse.net
>> #+DATE: 2008-11-10 Mon
>> #+LANGUAGE: en
>>
>> # LATEX OPTIONS
>> #+OPTIONS: H:4 num:t toc:4 \n:t @:t ::t |:t ^:t -:t f:t *:t TeX:t
>> LaTeX:nil
>> skip:nil d:nil tags:nil
>> #+EXPORT_EXCLUDE_TAGS: noexportlatex
>>
>> * How to use this page :noexportlatex:
>> Here you will find step by step instructions for constructing all the
>> numbers
>> we looked at in class. There are also others to demonstrate concepts
>> we do not
>> have time to look at in class.
>> * Concepts
>> ** Standing room and approximating the whole
>> :standing-room:approximating-
>> whole:
>> Consult the Introduction in v. 1 for more information on the ideas of
>> "standing room" in a class number, "approximating the whole" of the
>> universe
>> of a class number, and when you can add on standard subdivisions.
>> *Relevant
>> sections are 7.16, 7.18, and 8.9.*
>>
>>
>>
>> -=-=-LaTeX Output (preamble snipped)-=-=-
>>
>> \begin{document}
>>
>> \maketitle
>>
>> \setcounter{tocdepth}{4}
>> \tableofcontents
>>
>> \section{How to use this page}
>>
>> Here you will find step by step instructions for constructing all the
>> numbers
>> we looked at in class. There are also others to demonstrate concepts
>> we do not
>> have time to look at in class.
>> \section{Concepts}
>>
>> \subsection{Standing room and approximating the whole :standing-
>> room:approximating-whole:}
>>
>> Consult the Introduction in v. 1 for more information on the ideas of
>> ``standing room'' in a class number, ``approximating the whole'' of the
>> universe of a class number, and when you can add on standard
>> subdivisions.
>> \textbf{Relevant sections are 7.16, 7.18, and 8.9.}
>>
>> \end{document}
>>
>> --
>> Kristina M. Spurgin
>> PhD student - Teaching assistant
>> School of Information & Library Science - UNC Chapel Hill
>> CB#3360, 100 Manning Hall - Chapel Hill, NC 27599-3360
>> kristina@infomuse.net - kspurgin@email.unc.edu
>> http://www.infomuse.net http://blog.infomuse.net aim: infomusings
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
On Jul 7, 2009, at 6:36 PM, Kristina M. Spurgin wrote: > Thanks, Carsten. That was indeed the issue, and it is now working > perfectly. > > Funny, I was looking at the FAQ yesterday, but in the Export > section. I didn't think to look under Errors because I wasn't > getting an error to look up. :-) You are right, this is confusing, I have change the section title to "Erros and general problems" - Carsten > > Thanks a bunch, > Kristina > > Carsten Dominik wrote: >> Hi Kristina, >> this does work correctly for me, using your test file as it is. >> So I would think that you are not using 6.28e but some older version. >> What do you get with >> M-x org-version RET >> ? >> If it is not 6.28e, check out >> http://orgmode.org/worg/org-faq.php#loaded-old-org >> HTH >> - Carsten >> On Jul 7, 2009, at 4:37 AM, Kristina M. Spurgin wrote: >>> Hi, >>> >>> I've already found and corrected the stupid typo, and that didn't >>> fix this >>> problem, so it's time to call for help. >>> >>> I just downloaded 6.28e last night. I am using GNU Emacs, 22.3.1 >>> on Windows >>> XP. >>> >>> I'm trying to export an org file to LaTeX, and overall it is >>> working ok. >>> However, I cannot seem to get the options #+EXPORT_EXCLUDE_TAGS and >>> #+OPTIONS:...tags:nil to work. I've looked around some at org- >>> export-general >>> options, and I deleted the only old export setup file I had. I >>> would think that >>> options listed in the file would take precedence over those, though. >>> >>> Below are a truncated version of my org file and then the LaTeX >>> output >>> resulting from C-c C-e l. The section with the tag listed in >>> export-exclude is >>> in the output. The tag on that section is not in the output, >>> however. My >>> understanding of this setting was that it would prevent the tree >>> from export, >>> not just the keyword. The tags on other sections are also in the >>> output, >>> though I have tags:nil. >>> >>> #+OPTIONS is all on one line in my file. >>> >>> For the exclude tags option, I tried: >>> :noexportlatex: >>> :noexportlatex >>> and what you see below. >>> >>> I did do C-c C-c in each of the options lines after adding them. >>> >>> I also tried without blank line between top options and #LATEX >>> OPTIONS (I also >>> could not get export to ignore options marked with begin/end html >>> block.) >>> >>> Thanks for any help, and for org-mode in general. I voted. :-) >>> >>> --Kristina >>> >>> -=-=-test.org-=-=- >>> #+TITLE: A test page >>> #+AUTHOR: Kristina M. Spurgin >>> #+EMAIL: kristina@infomuse.net >>> #+DATE: 2008-11-10 Mon >>> #+LANGUAGE: en >>> >>> # LATEX OPTIONS >>> #+OPTIONS: H:4 num:t toc:4 \n:t @:t ::t |:t ^:t -:t f:t *:t >>> TeX:t LaTeX:nil >>> skip:nil d:nil tags:nil >>> #+EXPORT_EXCLUDE_TAGS: noexportlatex >>> >>> * How to use this page :noexportlatex: >>> Here you will find step by step instructions for constructing all >>> the numbers >>> we looked at in class. There are also others to demonstrate >>> concepts we do not >>> have time to look at in class. >>> * Concepts >>> ** Standing room and approximating the whole :standing- >>> room:approximating- >>> whole: >>> Consult the Introduction in v. 1 for more information on the ideas >>> of >>> "standing room" in a class number, "approximating the whole" of >>> the universe >>> of a class number, and when you can add on standard subdivisions. >>> *Relevant >>> sections are 7.16, 7.18, and 8.9.* >>> >>> >>> >>> -=-=-LaTeX Output (preamble snipped)-=-=- >>> >>> \begin{document} >>> >>> \maketitle >>> >>> \setcounter{tocdepth}{4} >>> \tableofcontents >>> >>> \section{How to use this page} >>> >>> Here you will find step by step instructions for constructing all >>> the numbers >>> we looked at in class. There are also others to demonstrate >>> concepts we do not >>> have time to look at in class. >>> \section{Concepts} >>> >>> \subsection{Standing room and approximating the whole :standing- >>> room:approximating-whole:} >>> >>> Consult the Introduction in v. 1 for more information on the ideas >>> of >>> ``standing room'' in a class number, ``approximating the whole'' >>> of the >>> universe of a class number, and when you can add on standard >>> subdivisions. >>> \textbf{Relevant sections are 7.16, 7.18, and 8.9.} >>> >>> \end{document} >>> >>> -- >>> Kristina M. Spurgin >>> PhD student - Teaching assistant >>> School of Information & Library Science - UNC Chapel Hill >>> CB#3360, 100 Manning Hall - Chapel Hill, NC 27599-3360 >>> kristina@infomuse.net - kspurgin@email.unc.edu >>> http://www.infomuse.net http://blog.infomuse.net aim: infomusings >>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Remember: use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> writes:
> "Erros and general problems"
^ ^
Is that a missing "r" or an additional one? :)
--
Bastien