From: Nishiyama Nobuyuki <nishiyama@target-ent.com>
To: emacs-orgmode@gnu.org
Subject: Bug: HTML export problem [8.2.3b]
Date: Thu, 14 Nov 2013 00:40:45 +0900 [thread overview]
Message-ID: <6EB20FA6-C8D7-4012-8E1D-0BC01E7D5283@target-ent.com> (raw)
Dear org-mode team.
Hi
org-mode is gread major mode in my emacs life.
But, If this org-file is export to HTML, an indent will collapse.
I wish keep indents...
Best regards.
test.org
* Sample A
#+BEGIN_SRC C++
#include "Eigen/Core"
// Good layout.
// The indent is maintained.
int main() {
Eigen::Matrix3i m;
m << 1, 2, 3,
4, 5, 6,
7, 8, 9;
}
#+END_SRC
* Sample B
#+BEGIN_SRC C++
#include "Eigen/Core"
// Bad layout.
// The indent has collapsed.
int main() {
Eigen::Matrix3i m1;
m1 << 1, 2, 3,
4, 5, 6,
7, 8, 9;
}
#+END_SRC
こんにちは。
私にとって、org-modeはemacsの中でもっとも素晴らしいmajor modeです。
ところが、1つ問題があります。
このorgファイルをhtmlファイルにエクスポートすると、
ソースコードのレイアウトが崩れてしまう場合があります。
何が問題なのでしょうか??
お手数をおかけしますが、宜しくお願いします。
Emacs : GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0 AppKit 1265)
of 2013-11-09 on Nishiyama-no-MacBook-Air.local
Package: Org-mode version 8.2.3b (8.2.3b-dist @ /Users/nishi/.emacs.d/lisp/)
current state:
==============
(setq
org-hide-leading-stars t
org-agenda-log-mode-items '(closed clock state)
org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
org-agenda-skip-timestamp-if-done t
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-log-done 'time
org-confirm-shell-link-function 'yes-or-no-p
org-read-date-popup-calendar nil
org-agenda-restore-windows-after-quit t
org-special-ctrl-a/e t
org-todo-keyword-faces '(("WAIT" :foreground "#0000FF" :weight bold) ("ABORT" :foreground "#E000FF" :weight bold))
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-tags-column -115
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes org-mode-hooks)
org-stuck-projects '("+PROJECT&+LEVEL=2/-DONE" ("TODO" "NEXT" "NEXTACTION" "WAIT" "ABORT") nil "")
org-agenda-time-grid '((daily today require-timed) #("----------------" 0 16 (org-heading t)) (800 1000 1200 1400 1600 1800 2000 2200))
org-yank-adjusted-subtrees t
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-agenda-tags-column -130
org-archive-location "::* Archived Tasks"
org-agenda-after-show-hook '(my-org-agenda-after-show-hooks)
org-todo-keywords '((sequence "TODO" "WAIT" "|" "DONE" "ABORT"))
org-agenda-window-setup 'current-window
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-odd-levels-only t
org-insert-heading-respect-content t
org-agenda-mode-hook '(org-agenda-mode-hooks)
org-agenda-files '("~/to-do.org")
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
)
--
Nishiyama Nobuyuki
Mail: nishiyama@target-ent.com
next reply other threads:[~2013-11-13 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 15:40 Nishiyama Nobuyuki [this message]
2013-11-13 23:50 ` Bug: HTML export problem [8.2.3b] Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6EB20FA6-C8D7-4012-8E1D-0BC01E7D5283@target-ent.com \
--to=nishiyama@target-ent.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).