Timeline for How to continue giving list number after insert a block of code
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 10, 2019 at 1:25 | answer | added | Ynjxsjmh | timeline score: 0 | |
Dec 10, 2015 at 12:06 | comment | added | Tobias | @user2699 See my answer. (Note: Without this comment user2699 would not be notified.) | |
Dec 10, 2015 at 8:22 | answer | added | Tobias | timeline score: 1 | |
Dec 10, 2015 at 4:39 | comment | added | user2699 | I just ran into this same problem, and the results line must be indented as well. | |
Dec 9, 2015 at 22:46 | history | edited | yuxuan | CC BY-SA 3.0 |
added 116 characters in body
|
Dec 9, 2015 at 22:41 | comment | added | yuxuan |
@Tobias I do as you say, and I can continue adding consecutive number by entering M-return before [[file:xx]] . But after [[file:xx]] I can't continue the number. I update the question with a picture. Thank you very much
|
|
Dec 9, 2015 at 8:11 | comment | added | Tobias |
I can reproduce your problem. The most remarkable effect in org 8.2.10 is that #+end_src does not have the same indentation level as #+begin_src . Note, you do not have the document structure specified in the org-manual. At the beginning of your document you need at least one heading starting with a star * as first character of the header line followed by a space and some header text. When I add such a heading the #+end_src problem disappears. To have [[file:xx]] tab-indented correctly, you need at least 1 leading space.
|
|
Dec 8, 2015 at 21:14 | comment | added | yuxuan |
@Tobias You say correct it manually, is it just to use Tab or any way else. Since I press tab. It didn't work.
|
|
Dec 4, 2015 at 15:15 | comment | added | Tobias |
In my experience #+begin_src must be indented correctly. #+end_src is aligned accordingly to #+begin_src . The indentation of the source code does not matter. It may be that at copy-paste #+begin_src ends up at a wrong indentation. If that happens you need to correct it manually.
|
|
Dec 3, 2015 at 20:40 | history | edited | yuxuan | CC BY-SA 3.0 |
added 247 characters in body
|
Dec 2, 2015 at 11:05 | comment | added | JeanPierre | Could you please edit your question to include the information of this last comment? | |
Nov 22, 2015 at 17:31 | history | edited | yuxuan | CC BY-SA 3.0 |
deleted 21 characters in body
|
Nov 22, 2015 at 17:22 | comment | added | yuxuan |
@JeanPierre. Indent lines works well. But when I use Yasnippet, some lines can't be indent. For example, ` #+begin_src dot :file xx :cmdline -Tzzz :exports none :results silent sss #+end_src [[file:xx]] ` The [[file:xx]] can't forcely indent.
|
|
Nov 22, 2015 at 17:04 | comment | added | JeanPierre | Make sure you indent the lines between the numbered ones. | |
Nov 22, 2015 at 16:53 | comment | added | yuxuan |
@JeanPierre I repeat my procedure. And I find the reason is that I copy the text #+begin_src sh ls -la #+end_src . So it interrupt the number list. I success only whey I manually type this code. So it obviously different in the format. Then when I encounter the problem that the number list was interrupted. How can I recover that number list?
|
|
Nov 22, 2015 at 16:41 | comment | added | JeanPierre | Does work as expected for me with the same versions (emacs 24.5.1, org-mode 8.2.10). Does your file contain exactly that? | |
Nov 19, 2015 at 21:50 | history | edited | yuxuan | CC BY-SA 3.0 |
added 144 characters in body
|
Nov 19, 2015 at 21:50 | comment | added | yuxuan | @biondo GNU Emacs 24.5.1 Org-mode version 8.2.10 | |
Nov 19, 2015 at 20:51 | comment | added | Jordon Biondo | Your exports as expected for me, what are your emacs and org versions? | |
Nov 19, 2015 at 19:27 | history | asked | yuxuan | CC BY-SA 3.0 |