Those days when I was preparing a presentation about the special chars
that starts with a =\= in C programming language, I made such a table
| \' | signle quote |
| \" | double quote |
It did not work after I hit C-c C-e p.
So I modified it as
| =\'= | signle quote |
| =\"= | double quote |
St
Carsten Dominik writes:
> On Sep 19, 2010, at 4:29 PM, zwz wrote:
>
>> Those days when I was preparing a presentation about the special chars
>> that starts with a =\= in C programming language, I made such a table
>>
>> | \' | signle quote |
>> | \"
Now I am preparing a presentation using the beamer feature supported by
org-mode.
When exporting, I want some long source code (more than one frame can
contain) to be arranged in several frames rather than partially
invisible.
I know there's once a discussion on the support of the frame option
al
de/
Just copy the code and save it as "plantuml-mode.el" in a path where
emacs finds its libraries.
Best regards,
zwz
___
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
Rainer M Krug writes:
> On 12/03/2010 12:31 PM, zwz wrote:
>> Rainer M Krug writes:
>>
>>> Hi
>>>
>>> I would like to be able to edit code blocks of plantuml via C-', but
> I
>>> get the message
>>> No such language mode: plan
No, but I am considering to make a repository on github for all my
emacs-stuff. I will inform you when it is done :)
Rainer M Krug writes:
> Hi zwz
>
> That looks great. Do you have a repository, where I could check for
> updates?
>
> Rainer
>
> On Fri, Dec 3, 2010
I want to insert a series of images in the org file.
The images are located in a directory, with names in such a pattern
"cat-N0.png", where N is a number.
The direct and compact macro is something like this:
#+MACRO: cat-imgs /path/to/cat-${1}0.png
Here the {} is used to separate the pla
I use org-remember for my contact records.
This is a template in org-remember-templates
("Contact" ?c "* %^{Name} \n%[~/.contact]\n" "contact.org" "Contacts")
the content of the file "~/.contact":
:PROPERTIES:
:Mobile: %^{mobile}
:Email:
:Added: %u
:END:
I found that the prompt "%^{mobile}" work
Carsten Dominik gmail.com> writes:
>
>
> On Jan 31, 2010, at 5:00 PM, zwz wrote:
>
> > I use org-remember for my contact records.
> >
> > This is a template in org-remember-templates
> > ("Contact" ?c "* %^{Name} \n%[~/.contact]\n"
The variable "org-agenda-files" can be a list of file names or a single file
name. I prefer the latter, since it is much easier to maintain one ordinary
file without modifying the .emacs.
So in my .emacs I just use:
(setq org-agenda-files (expand-file-name "agenda" org-directory))
However, it s
Now and then I have to set http_proxy for internet access.
I do it in emacs, e.g. by
(setenv "http_proxy" "http://10.10.10.10:808";)
Ok, now org-feed will use this proxy and works great.
Later, I find the proxy is down, so I switch to another proxy
(setenv "http_proxy" "http://10.10.10.20:808";
Magnus Henoch writes:
> zwz writes:
>
>> By the way, I can not get the feeds from codeproject.
>> My setting:
>> ("codeproject"
>> "http://www.codeproject.com/webservices/articlerss.aspx?cat=2";
>> "~/.org/feeds.org&
Carsten Dominik writes:
> On Apr 9, 2010, at 2:44 PM, zwz wrote:
>
>> Now and then I have to set http_proxy for internet access.
>>
>> I do it in emacs, e.g. by
>> (setenv "http_proxy" "http://10.10.10.10:808";)
>>
>> Ok, now org-fee
AFAIK, it is now impossible to add a table entry by org-template.
But I think it is very useful. For example,
in my private.org, there is a section
* Contacts
| name | tel. | email | addr |
|--+--+-+---|
| A| 12 | a...@a.com | somewhere |
If it is fea
Matt Lundin writes:
> zwz writes:
>
>> AFAIK, it is now impossible to add a table entry by org-template.
>> But I think it is very useful. For example,
>> in my private.org, there is a section
>>
>> * Contacts
Matt Lundin writes:
> zwz writes:
>
>> Matt Lundin writes:
>>
>>> zwz writes:
>>>
>>>> AFAIK, it is now impossible to add a table entry by org-template.
>>>> But I think it is very useful. For example,
>>>> in my
I have the feed
("codeproject"
"http://www.codeproject.com/webservices/articlerss.aspx?cat=2";
"~/feeds.org" "C++ on CodeProject")
in the org-feed-alist.
Everytime I update the feed, I got a new headline "* codeproject" added
into the file feeds.org without any new items.
It is
David Maus writes:
> zwz wrote:
>>I have the feed
>>("codeproject"
>> "http://www.codeproject.com/webservices/articlerss.aspx?cat=2";
>> "~/feeds.org" "C++ on CodeProject")
>>in the org-feed-alist.
>
>>
Hi, all
I have a item of type "table-line" in org-capture-templates like
("t" "test" table-line
(file "test.org")
"| %i%? | %U |" :prepend t)
When I hit C-c c t, and then C-c C-k immediately, the file test.org is
still modified with an new blank row inserted in the table
I came across Ian Yang's
[[http://www.emacswiki.org/emacs/org-export-blocks-format-plantuml.el][org-export-blocks-format-plantuml]]
a few days ago, which brought me in front of the
great software [[http://plantuml.sourceforge.net/][Plantuml]]. It is an
open-source tool in java that allows to qui
Mike Gauland writes:
> Mike Gauland gmail.com> writes:
>
>> I can get an image if I evaluate the block manually (e.g., via 'C-c
> C-c' with
>> the cursor on the BEGIN block), but when I export the file the image
> is
>> invalid.
>
> I figured it out. I was getting extra carriage returns in the f
"Eric Schulte" writes:
> Hi,
>
> I agree plantuml certainly makes sense as a new code block type. I'd
> like to include your ob-plantuml.el file into Org-mode/Babel, would you
> be willing to complete the FSF assignment process for contributing to
> Org-mode as described at http://orgmode.org/w
"Eric Schulte" writes:
> zwz writes:
>
>> "Eric Schulte" writes:
>>
>>> Hi,
>>>
>>> I agree plantuml certainly makes sense as a new code block type. I'd
>>> like to include your ob-plantuml.el file into Org-mo
Those days I came across two tools which I thought interesting and
helpful if could be combined with org-export in some way.
1. Deck.js: a js lib for making modern html presentation. See
http://imakewebthings.github.com/deck.js/#intro for more info.
2. Tralics: a LaTeX to XML translator, http://
Eric Schulte writes:
> Matt Price writes:
>
>> On Wed, Aug 24, 2011 at 8:14 AM, zwz wrote:
>>> Those days I came across two tools which I thought interesting and
>>> helpful if could be combined with org-export in some way.
>>>
>>> 1. Deck.js: a
,
zwz
Eric S Fraga writes:
> zwz writes:
>
>> I use org to make presentations for C class.
>> Sometimes the code is quite long. And I want to arrange it in two
> column
>> so that it will be presented in one slide.
>>
>> I wonder how to do it easily using org-ex
Bernt Hansen writes:
> Dave Abrahams writes:
>
>> Org-babel does a magic thing where you get to edit and view your
> source
>> code blocks in their native modes. Wow!
>>
>> I also happen to use markdown-mode to write blog articles. How hard,
> on
>> a scale from "read the source and figure it o
Steps to reproduce it:
This org file can be exported to pdf correctly.
#+begin_src org
* test
#+BEGIN_SRC c
void main(){
int a;
}
#+END_SRC
#+end
Then you modify it:
#+begin_src org
* test
#+BEGIN_SRC c
void main(){
int a[5];
}
#+END_SRC
#+end
It says "org-export-latex-pr
Nick Dokos writes:
> zwz wrote:
>
>> Steps to reproduce it:
>>
>> This org file can be exported to pdf correctly.
>> #+begin_src org
>> * test
>> #+BEGIN_SRC c
>> void main(){
>> int a;
>> }
>> #+END_SR
Nick Dokos writes:
> zwz wrote:
>
>
>> >> Then you modify it:
>> >> #+begin_src org
>> >> * test
>> >> #+BEGIN_SRC c
>> >> void main(){
>> >> int a[5];
>> >> }
>> >> #+END_
It takes long to export the whole file when it contains many babel
stuff. And in many cases, I just want to check if the current frame is
arranged as expected. SO I just want to know if there is some convenient
way to export just one frame without tagging all the other frames as :noexport.
Herbert Sitz writes:
> zwz gmail.com> writes:
>
>> It takes long to export the whole file when it contains many babel
>> stuff. And in many cases, I just want to check if the current frame is
>> arranged as expected. SO I just want to know if there is some
> conven
In a org file I have
* what is x?
#+BEGIN_SRC c
char (*(*x())[])();
#+END_SRC
\pause
char \fbox{\fbox{(*\fbox{\fbox{(*\fbox{x()})}[]})}()};
The latex generated for the last line turned out to be
char \fbox\{\fbox\{(*\fbox{\fbox{(*\fbox{x()})}[]})\}()\};
which is not expected.
Is it a b
Eric S Fraga writes:
> zwz writes:
>
>> In a org file I have
>>
>> * what is x?
>> #+BEGIN_SRC c
>> char (*(*x())[])();
>> #+END_SRC
>> \pause
>> char \fbox{\fbox{(*\fbox{\fbox{(*\fbox{x()})}[]})}()};
>>
>> The latex
In a org file, I have
* item1
** aaa
*** bbb
123
* item2
** ccc
*** ddd
123
The generated slides have just a blank outline page.
However, if I modify the org content as
* item1
** aaa
*** bbb
* item2
** ccc
*** ddd
The outline page contains item1 and item2, just as expected.
here is my
Eric S Fraga writes:
> zwz writes:
>
>> In a org file, I have
>>
>> * item1
>> ** aaa
>> *** bbb
>> 123
>> * item2
>> ** ccc
>> *** ddd
>> 123
>>
>> The generated slides have just a blank outline page.
Eric S Fraga writes:
> zwz writes:
>
> [...]
>
>>
>> And here is Here is "does_not_work.org" (which result in a blank
> outline
>> slide):
>> --8<->8--
>> #+startup: beamer
>> #+LaTeX_CLASS: beamer
>>
I made presentations with org-mode + beamer quite a lot.
Now and then I'd like to set a different color for some text
to draw the students' attention. For example,
#+begin_src org
* test
blah blah ...
We should \textcolor{red}{NEVER} do it.
#+end_src
As HTML5 slides are getting popul
I like org-mode.
I use it for taking notes and writing papers.
One problem pops up when I try to export one org file, which contains
some maths, to multiple formats, specifically html and tex.
For tex, it is required to enclose the maths by $/$$; For html, there
is no need to use $/$$.
I just
Hi,
I recently found the problem when I want to export the org file to
html and pdf. I guess there will be some people (who are also not so
familiar with the powerful org-mode) bothered by the same issue, that
is, html and pdf requires different org format sometimes.
- I use $ y = x_1^2 + x_2^2 $
Bernt Hansen writes:
> zwz writes:
>
>> I recently found the problem when I want to export the org file to
>> html and pdf. I guess there will be some people (who are also not so
>> familiar with the powerful org-mode) bothered by the same issue, that
>> is, html
Here is the content of my org file:
> > >
> * Test>
> | | A | B | >
> |-+---+---| >
> | com | 1 | 2 | >
> | org | 3 | 4 | >
>
And as far as I have tested, I found that when there's a bland line or a
headline right before the table, this error pops.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/
Hi, all
Would you like to share your configuration of how to compose mails by org-mode.
I start org-mode by M-x org-mode, and found it not appelling at all.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-or
Hi,
I do not know if I can do org-plot on rows instead of columns.
But today after I finished a table, I found I have to transpose the
table by hand so that I can plot it as I want.
Here is original table:
| x | y | x | y | ... |
|-++++-|
| 1 | 2 | 3 | 4 | |
| 5
--text follows this line--
Here is an example:
* array
** search
- example
#+BEGIN_SRC c
/* find score in scores
,* return the index if found or -1 */
int search(int scores[], int n, int score){
int i = 0;
for(; i
- test
The indentation of the src block is OK, but it is re
Thanks! :)
Charles Berry writes:
> zwz gmail.com> writes:
>
>
>> Here is an example:
>>
>> * array
>> ** search
>>- example
>> #+BEGIN_SRC c
>> /* find score in scores
>>,* return the index if found or -1 */
>&
Hi, I want to export a table to pdf as follows:
* test
| \textcolor{red}{range} | \textcolor{blue}{0\sim2^{8}-1} |
I checked the generated tex.
The first column is OK. While in the second column, the result is something
like:
\textcolor{blue}\{...\}
I don't know what is the right way doing this,
Rasmus gmx.us> writes:
>
> zwz gmail.com> writes:
>
> I'm assuming you're only interested in LaTeX output here.
>
> > Hi, I want to export a table to pdf as follows:
> >
> > * test
> > | \textcolor{red}{range} | \textcolor{blue}{0\
Nicolas Goaziou gmail.com> writes:
>
> Hello,
>
> You can also use an export snippet:
>
> | latex:\textcolor{blue}{0\sim2^{8}-1} |
>
> Regards,
>
Yes, it works.
Thanks.
You should use "custom-set-faces" instead of "setq".
Chris Henderson writes:
> I'd like to change the color of Next to Red and Started to brown. At the
> moment, todo/ next and started all showing as red.
>
> Here is my .emacs snippet.
>
> (setq org-todo-keywords
> '((sequence "TODO
In my setup, there is
(setq org-export-exclude-tags '("private" "exclude")
and In my test.org:
* test
** Not exported:exclude:
#+BEGIN_SRC ditaa :file test.png :cmdline -E
++---+---+---+---+---+---+---+
+---+---+---+---+---+---+---+---+
x | 0 cRED
Here is an example:
* test
#+BEGIN_SRC ditaa
++ +-+
|| | |
|| | |
++ +-+
#+END_SRC
When I hit C-c ', the minibuffer says "Recognizing tables...done",
and the org src scratch buffer does not turn picture-mode on.
Thomas Holst writes:
> Hi,
>
> zwz wrote:
>
>> Here is an example:
>>
>> * test
>> #+BEGIN_SRC ditaa
>> ++ +-+
>> || | |
>> || | |
>> ++ +-+
>> #+END_SRC
>> When I hit C-c '
Thomas Holst writes:
> Hi,
>
> zwz wrote:
>
>> Here is an example:
>>
>> * test
>> #+BEGIN_SRC ditaa
>> ++ +-+
>> || | |
>> || | |
>> ++ +-+
>> #+END_SRC
>> When I hit C-c '
Sebastien Vauban
writes:
> Rainer M Krug wrote:
>> Ken Mankoff writes:
>>> On 2014-03-11 at 08:47, zwz wrote:
>>>> In my setup, there is
>>>> (setq org-export-exclude-tags '("private" "exclude")
>>>>
>>>
Ken Mankoff writes:
> Hi Andreas,
>
> On 2014-03-11 at 09:41, Andreas Leha wrote:
>> Hi Ken,
>>
>> Ken Mankoff writes:
>>
>>> On 2014-03-11 at 08:47, zwz wrote:
>>>> In my setup, there is
>>>> (setq org-export-exclude-tags
Rainer M Krug writes:
> Ken Mankoff writes:
>
>> On 2014-03-11 at 08:47, zwz wrote:
>>> In my setup, there is
>>> (setq org-export-exclude-tags '("private" "exclude")
>>>
>>> and In my test.org:
>>>
>>
Samuel Wales writes:
> how about call lines?
>
> to me, they should not run if they are not supposed to be exported.
>
> is this a bug?
>
> * babel should not export a call line via todo kw
> *** NEXT to reproduce
> set org-export-with-tasks to nil
> *** NEXT this should n
Eric Schulte writes:
>> Sorry for being unclear here. I wanted to propose different
>> behaviour for TAGs (lets say :noexport:) and the COMMENT keyword.
>> I am perfectly fine with :noexport: only prohibiting export but
>> still allowing evaluation.
>>
>> But I propose that COMMENT be more treat
Before I adopt asyn export, I config in an org file
#+TODO: XeTeX
to locally set xelatex for org-latex-pdf-process by:
(if (member "XeTeX" org-todo-keywords-1)
(setq org-latex-default-packages-alist
(remove '("AUTO" "inputenc" t)
org-latex
Bastien writes:
> zwz writes:
>
>> How to locally set org-latex-pdf-process?
>
> #+BIND: org-latex-pdf-process ...
>
> should work.
Thank you, Bastien.
Sometimes my org-latex-pdf-process is quite complicated, as I will
set or add-to-list some extra process, for ex
Nicolas Goaziou writes:
> Hello,
>
> zwz writes:
>
>> So here what I mean by "locally" is to adjust the org-latex-pdf-process
>> by some keywords, instead of binding it with some specific code/value
>> (which is difficult for modification)
>
>
Nicolas Goaziou writes:
> zwz writes:
>
>> Can you give me some example code?
>
> I was thinking about something like this (untested):
>
> (let (template)
> (defun ngz-set-template (new)
> (setq template new))
> (defun ngz-latex-process (file)
&g
65 matches
Mail list logo