Convert enumerator names to string in C/C++

=Ditaa= Source Code Blocks in Org Mode

tubo posted @ 2014年11月07日 04:37 in 未分类 , 1434 阅读
<code>Ditaa</code> Source Code Blocks in Org Mode

Introduction

Ditaa is a command-line utility that converts diagrams drawn using ASCII art into bitmap graphics.

Requirements and Setup

Ditaa is distributed with Org mode. The file ditaa.jar can be found in contrib/scripts.

Activate evaluation of ditaa source code blocks by adding ditaa to org-babel-load-languages.

(org-babel-do-load-languages
 'org-babel-load-languages
 '((ditaa . t))) ; this line activates ditaa

Org Mode Features for ditaa Source Code Blocks

Header Arguments

file
ditaa source code blocks require that an output file be specified.
cmdline
specify command line arguments for ditaa
java
arguments for the java runtimes (JRE)

Sessions

ditaa does not support sessions.

Result Types

Ditaa source code blocks return a link to a png bitmap file.

Examples of Use

The obligatory Hello World! example in ditaa:

#+BEGIN_SRC ditaa :file images/hello-world.png
+--------------+
|              |
| Hello World! |
|              |
+--------------+
#+END_SRC

hello-world.png hello-world.png

Now, round all corners by passing ditaa the -r,--round-corners command line switch.

#+BEGIN_SRC ditaa :file images/hello-world-round.png :cmdline -r
+--------------+
|              |
| Hello World! |
|              |
+--------------+
#+END_SRC

hello-world-round.png hello-world-round.png

.

AP SSC fa 1 Question 说:
2022年9月09日 02:21

Formative Assessment means not only an examination, it includes various aspects such as Examination in completed lessons, Reflections, Project work done on the allotted topic and Self also Prepared notes etc. AP SSC fa 1 Question Paper Candidates of Telugu Medium, English Medium & Urdu Medium of the AP State can download the AP 10th Class FA 4 Model Paper 2023 Pdf with answers for the regular exams conducted by the Directorate of Government Examinations, Andhra Pradesh.

meidir 说:
2023年2月08日 02:59

im surpirsed this post hasnt got more attention, get some backlinks friend and move it to the top of Google. SaaS Licensing Attorney

meidir 说:
2023年6月20日 02:49

What your saying is completely proper. I know that all people must say the incredibly exact same issue, but I just presume that you put it in a way that everyone can totally grasp. I also actually like the photographs you position in the adhering to. They match so nicely with what youre attempting to say. Im guaranteed youll accomplish so quite a couple of men and women with what youve acquired to say. 花藝設計


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter