[O] emacs export org-mode to wiki: especially for the org-mode tables

2013-03-10 Thread filebat Mark
hi all

I badly need the feature of exporting org-mode to wiki(like mediawiki).

After google for a while, I found some links but they don't work for me.

Do you guys have any suggestion for this? If no option, I may use lisp
to implement them by myself.

http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00862.html
http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00896.html
http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01834.html
http://orgmode.org/worg/org-blog-wiki.html
http://orgmode.org/


-- 
Thanks & Regards

Denny Zhang



Re: [O] when export org-mode to html, don't export entries of TODO, CANCELED

2011-11-17 Thread filebat Mark
Hi Bernt

I am not sure whether I get you correctly.

The behavior of [#+OPTIONS: tasks:("DONE") todo:nil] looks like (setq
org-export-with-todo-keywords nil).

My purpose is not to export entries of "TODO", "CANCELED", etc, instead of
only strings of "TODO", "CANCELED".



On Fri, Nov 18, 2011 at 9:46 AM, Bernt Hansen  wrote:

> filebat Mark  writes:
>
> > Exporting org-mode's entries to html is a fantastic way for knowledge
> > sharing!
> >
> > Usually entries of "TODO" "HALF" "DELEGATE" "CANCELED" "DEFERRED" are
> > incomplete/immature knowledge.  Thus, I don't want to export
> > them. Furthermore, after they are marked as "DONE", I'd like to export
> > them.
> >
> > Any idea for how to do this?  Note that org-export-exclude-tags
> > doesn't help us, at my first glance.
> >
> >
> > Draft solution:
> > After checking the implementation of org-mode for this part, I found
> > org-export-handle-export-tags function.  It determines what to be
> > excluded when exporting, by search regexp of :\\(TAG1\\|TAG2\\|...\\):
> > in entries' title.
> >
> > Thus I override org-export-handle-export-tags, by search regexp of
> \\(TAG1\\|TAG2\\|...\\) with leading/tailing colon removed.
> >
> > It's ugly but it works.
> > So my open question is what's the better solution?
>
> Hi,
>
> Try adding this to your org file and then exporting
>
> #+OPTIONS: tasks:("DONE") todo:nil
>
> Regards,
> Bernt
>



-- 
Thanks & Regards

Denny Zhang


[O] when export org-mode to html, don't export entries of TODO, CANCELED

2011-11-17 Thread filebat Mark
hi emacsers

Exporting org-mode's entries to html is a fantastic way for knowledge sharing!

Usually entries of "TODO" "HALF" "DELEGATE" "CANCELED" "DEFERRED" are
incomplete/immature knowledge.
Thus, I don't want to export them. Furthermore, after they are marked
as "DONE", I'd like to export them.

Any idea for how to do this?
Note that org-export-exclude-tags doesn't help us, at my first glance.

Draft solution:
After checking the implementation of org-mode for this part, I found
org-export-handle-export-tags function.
It determines what to be excluded when exporting, by search regexp of
:\\(TAG1\\|TAG2\\|...\\): in entries' title.

Thus I override org-export-handle-export-tags, by search regexp of
\\(TAG1\\|TAG2\\|...\\) with leading/tailing colon removed.

It's ugly but it works.
So my open question is what's the better solution?

http://hi.baidu.com/filebat/blog/item/6406a9fd6f79fd0b08244d7d.html


Re: [Orgmode] How to change font size and colors for specified content?

2010-04-26 Thread filebat Mark
Thanks, Jan
Please allow me to clarify the requirement.
- Highlight some content with different colors.
- Highlight some content with bigger font.

Sample:
---
Tech learning and improve communication skills

  Summary Description:

·Deep dive for cloud storage area, exercise communication skills to
get things done more efficiently

 Goal Measurements:

·Case study for gfs and amazon, from the aspect of serveral
fundanmental problems.

·Form good habit to keep focus on the target

·Get prepared for discussions and meetings

·Be careful and patient for the tasks


---
Regrards,
Denny

On 4/26/10, Jan Böcker  wrote:

> On 26.04.2010 07:21, filebat Mark wrote:
> > Hi friends
> >
> > I am bumped to be asked: how to change font size and colors for
> > specified content, in order to higlight them, like MSword.
>
>
> Can you be more specific?
> I'd guess that a lot of the people on this list do not use MS Word
> regularly if at all, so we do not know what exactly you want to do.
>
> Do you want to change the font of TODO keywords, etc?
>
> Make some words in your text *bold* or /italic/?
>
> If you want to temporarily highlight all occurences of a word in a
> buffer, isearch (C-s) might help you.
>
> HTH, Jan
>



-- 
Thanks & Regards

Denny Zhang
___
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] How to change font size and colors for specified content?

2010-04-25 Thread filebat Mark
Hi friends

I am bumped to be asked: how to change font size and colors for specified
content, in order to higlight them, like MSword.

This question may be not specified to org-mode, but emacs itself.
However, requirement for this is mainly from the use of org-mode. So I refer
to my super stars in this mail list.

-- 
Thanks & Regards

Denny Zhang
___
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: Show entries which have been logdone in the last several days?

2010-04-15 Thread filebat Mark
Hi Matt

Thanks for your answer. It's quite useful for me.

However I just show entry#1, while entry#2 is the typical case.

#entry1
 *** DONE Check which node run which stage [2009-11-23 星期一 17:12]
 This is an sample.

#entry2
 *** DONE Check which node run which stage
 CLOSED: [2009-11-23 星期一 17:12]
 This is an sample.

On Thu, Apr 15, 2010 at 8:14 PM, Matt Lundin  wrote:

> filebat Mark  writes:
>
> > I am a big fun of org-mode, and right now I'd like to get the
> > statistics for the time allocation in my daily life.
> > Apparently, not all things are important, so some entries may not have
> > the timestamp like <2010-04-15 19:48>.
> > Thus agenda view can't help for my question, it seems can't show the
> > entries which are closed like the following:
> >
> > ,---
> > | *** DONE Check which node run which stage
> > | CLOSED: [2009-11-23 星期一 17:12]
> > | This is an sample.
> > `---
>
> You can display inactive timestamps in the agenda view:
>
> ,[Org Manual 10.5, "Commands in the Agenda Buffer"]
> | `v l  or short  l'
> |  Toggle Logbook mode.  In Logbook mode, entries that were marked
> |  DONE while logging was on (variable `org-log-done') are shown in
> |  the agenda, as are entries that have been clocked on that day.
> |  You can configure the entry types that should be included in log
> |  mode using the variable `org-agenda-log-mode-items'.  When called
> |  with a `C-u' prefix, show all possible logbook entries, including
> |  state changes.  When called with two prefix args `C-u C-u', show
> |  only logging information, nothing else.  `v L' is equivalent to
> |  `C-u v l'.
> |
> | `v [  or short  ['
> |  Include inactive timestamps into the current view.  Only for
> |  weekly/daily agenda and timeline views.
> `
>
> Best,
> Matt
>



-- 
Thanks & Regards

Denny Zhang
___
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] Show entries which have been logdone in the last several days?

2010-04-15 Thread filebat Mark
Hi GTDers,

I am a big fun of org-mode, and right now I'd like to get the statistics for
the time allocation in my daily life.
Apparently, not all things are important, so some entries may not have the
timestamp like <2010-04-15 19:48>.
Thus agenda view can't help for my question, it seems can't show the entries
which are closed like the following:

,---
| *** DONE Check which node run which stage
| CLOSED: [2009-11-23 星期一 17:12]
| This is an sample.
`---

-- 
Thanks & Regards

Denny Zhang
___
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] Align column of table to the center

2010-03-30 Thread filebat Mark
Hi All

>From the following page, we can align column to the left/right by putting
/ at the header of a table.
http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment

My question is how we align a column to the center?

Thanks in advance.


-- 
Thanks & Regards

Denny Zhang
___
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


Re: [Orgmode] Is there a way to fill org-mode's table cell with the values nearby?

2010-03-22 Thread filebat Mark
Many thanks, Chris and Carsten!

I got your points. It show me a way which solves my problem gracefully.

Regards,
Denny

On 3/22/10, Carsten Dominik  wrote:
>
>
> On Mar 21, 2010, at 12:22 PM, filebat Mark wrote:
>
>  Hi All
>>
>> I am wondering whether we have a handy way to fill table's cell with the
>> values nearby.
>> Like in office excel:
>> - C-d: Fill current cell with the value of the upper cell
>> - C-r: Fill current cell with the value of the left cell.
>>
>
> No we do not, but this would be easily programmed.
>
> The keys you propose are not possible though.
>
> - Carsten
>
>


-- 
Thanks & Regards

Denny Zhang
___
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] Is there a way to fill org-mode's table cell with the values nearby?

2010-03-21 Thread filebat Mark
Hi All

I am wondering whether we have a handy way to fill table's cell with the
values nearby.
Like in office excel:
- C-d: Fill current cell with the value of the upper cell
- C-r: Fill current cell with the value of the left cell.

-- 
Thanks & Regards

Denny Zhang
___
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


Re: [Orgmode] How to align table in org-mode with Unicode characters, like Chinese

2010-03-03 Thread filebat Mark
Thanks, Giovanni.

You're right, I have just asked a duplicate question.
I am very sorry about that. And I will pay attention to this next time.

Regards,
Denny

On Thu, Mar 4, 2010 at 12:04 AM, Giovanni Ridolfi  wrote:

> filebat Mark  writes:
>
> please, search the list before posting.
>
> > Hi AllI fail to align table which has Chinese, while English
> > characters work very well.Below is the sample. Is there any setting
> > can save me out of this annoying problems?| 编号 | 姓名 | 分数 ||
> > 1 | 张三 |   80 |
>
> > |2 | 欧阳友人 |   90 ||3 | 李四 | 75   |Thanks very much
> > for your attentions.-- Thanks & RegardsDenny Zhang
> FAQ:
>
> the table editor works fine if each Chinese character is an integer
> number of ASCII characters wide [1]. So you need to find a Chinese font
> that
> does have this property. No chance that will ever make this work for
> fonts that do not have this property.
>
> - Carsten
> http://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html
>
> [1]
> Org is smart enough to deal with integer width characters (quite a feat
> already, I assure you), but it cannot and likely never will handle
> variable width fonts.
> http://lists.gnu.org/archive/html/emacs-orgmode/2008-10/msg00326.html
>
> cheers,
>
> Giovanni
>
>
>
>
>


-- 
Thanks & Regards

Denny Zhang
___
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] How to align table in org-mode with Unicode characters, like Chinese

2010-03-03 Thread filebat Mark
Hi All

I fail to align table which has Chinese, while English characters work very
well.
Below is the sample. Is there any setting can save me out of this annoying
problems?

| 编号 | 姓名 | 分数 |
|1 | 张三 |   80 |
|2 | 欧阳友人 |   90 |
|3 | 李四 | 75   |

Thanks very much for your attentions.
-- 
Thanks & Regards

Denny Zhang
___
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: table format is messed up, when it is copied from org-mode to email

2009-08-29 Thread filebat Mark
Hi Bernt

I used the default font in gmail, then it looks messy.
If I use the certain font, like "courier New", then it aligns very well.

No idea why it looks fine in your side and bad in my side.
Anyway, it works for me, if I stick to fixed font as Carsten has said.


2009/8/30 Bernt Hansen 

> Carsten Dominik  writes:
>
> > On Aug 29, 2009, at 3:40 PM, filebat Mark wrote:
> >
> >> Hi all
> >>
> >> Do you have any suggestion for copying tables from org-mode to email.
> >>
> >> The format is messed up. Please see the sample below.
>
> 
> >
> > Actually, looks just fine to me!
> >
> > - Carsten
>
> Looks fine to me too.
>
> -Bernt
>



-- 
Thanks & Regards

Denny Zhang
___
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


Re: [Orgmode] table format is messed up, when it is copied from org-mode to email

2009-08-29 Thread filebat Mark
The table is not aligned. It suffers~~

2009/8/29 Carsten Dominik 

>
> On Aug 29, 2009, at 3:40 PM, filebat Mark wrote:
>
>  Hi all
>>
>> Do you have any suggestion for copying tables from org-mode to email.
>>
>> The format is messed up. Please see the sample below.
>>
>> | filename   | descript| P
>>  |
>> | mgmt_admin/mgmt_dashboard.rhtml| portal for system dashboard |
>> P0 |
>> | mgmt_admin/site_dashboard.html | portal for rmg dashboard|
>> P0 |
>> | mgmt/node_dashboard.html   | portal for node dashboard   |
>> P0 |
>> | mgmt/_node_disk_list.rhtml | Disk Information|
>> P0 |
>> | mgmt/_alert_table.html.erb | Alerts  |
>>  |
>> | mgmt/_alert_list.html.erb  | |
>>  |
>> | tenant_admin/user_and_group.html.erb   | |
>>  |
>> | mgmt/_recovery_object_list.html.erb| Impacted Object Number  |
>> P0 |
>> | mgmt_controller.rb:2126:node_dashboard | |
>>  |
>> | mgmt_admin/_rmg_node_list.html.erb | |
>>  |
>>
>>
>>
> Actually, looks just fine to me!
>
> - Carsten
>
>


-- 
Thanks & Regards

Denny Zhang
___
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


[Orgmode] table format is messed up, when it is copied from org-mode to email

2009-08-29 Thread filebat Mark
Hi all

Do you have any suggestion for copying tables from org-mode to email.

The format is messed up. Please see the sample below.

| filename   | descript| P
|
| mgmt_admin/mgmt_dashboard.rhtml| portal for system dashboard | P0
|
| mgmt_admin/site_dashboard.html | portal for rmg dashboard| P0
|
| mgmt/node_dashboard.html   | portal for node dashboard   | P0
|
| mgmt/_node_disk_list.rhtml | Disk Information| P0
|
| mgmt/_alert_table.html.erb | Alerts  |
|
| mgmt/_alert_list.html.erb  | |
|
| tenant_admin/user_and_group.html.erb   | |
|
| mgmt/_recovery_object_list.html.erb| Impacted Object Number  | P0
|
| mgmt_controller.rb:2126:node_dashboard | |
|
| mgmt_admin/_rmg_node_list.html.erb | |
|


-- 
Thanks & Regards

Denny Zhang
___
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