Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Alexander Adolf wrote: > I use visual-line-mode (which also enables > word-wrap by default) for Org files. For instance: > > (add-hook 'org-mode-hook (lambda () >(turn-off-auto-fill) >(visual-line-mode) >

Re: basic org questions

2020-09-17 Thread Alexander Adolf
Emanuel Berg via "General discussions about Org-mode." writes: > Re: basic org questions > Russell Adams wrote: > >>> 1) How do I make a region italic? [...] >> >> https://emacs.stackexchange.com/questions/18101/org-mode-multi-line-emphasis-and-bold &

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Stefan Nobis wrote: >>> #+attr_latex: :center nil :booktabs t >>> | My | Columns | >>> |+-| >>> | 1 | 2 | >>> | 3 | 4 | > >> "PDF file produced with errors." > > Sorry that I try to make more general examples that > are not exactly tailored to your use case. > As I said

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Stefan Nobis wrote: >> There are many pieces of software that will allow >> the user to the violate best typesetting practices >> easily. LaTeX is not one of them. > > Not quite right. I have seen people create really > ugly source code *and* ugly output with LaTeX with > ease. You can create

Re: basic org questions

2020-09-17 Thread General discussions about Org-mode.
Stefan Nobis wrote: >> OK, but the values still ned to be >> specified, right? > > No, just use the package - it sets the relevant > lengths to change the style of marking paragraphs > and tries hard to also reset every other length > that depends on the original values of > these variables. You

Re: basic org questions

2020-09-17 Thread Stefan Nobis
"Thomas S. Dye" writes: > There are many pieces of software that will allow the user to the > violate best typesetting practices easily. LaTeX is not one of them. Not quite right. I have seen people create really ugly source code *and* ugly output with LaTeX with ease. You can create garbage

Re: basic org questions

2020-09-17 Thread Stefan Nobis
Emanuel Berg via "General discussions about Org-mode." writes: >> #+attr_latex: :center nil :booktabs t >> | My | Columns | >> |+-| >> | 1 | 2 | >> | 3 | 4 | > "PDF file produced with errors." Sorry that I try to make more general examples that are not exactly

Re: basic org questions

2020-09-17 Thread Stefan Nobis
Emanuel Berg via "General discussions about Org-mode." writes: > OK, but the values still ned to be specified, right? No, just use the package - it sets the relevant lengths to change the style of marking paragraphs and tries hard to also reset every other length that depends on the original

Re: basic org questions

2020-09-17 Thread Stefan Nobis
Samuel Wales writes: > for my part, i appreciate your using the "wrong" style for your > email message A plain text document presented in a monospaced font is quite a different thing than a (longer) PDF with a plethora of layout and micro-typographic options. Do you also appreciate the

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Nick Dokos wrote: > (setq org-latex-tables-centered nil) Yes! :) Thanks :) That took a couple of messages... :O -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread Nick Dokos
Emanuel Berg via "General discussions about Org-mode." writes: > Matt Huszagh wrote: > >> Were you referring to the tables being centered >> after export (I see from another part of this chain >> that that's what you were referring to in the 3rd >> question) when you wanted them left-aligned?

Re: basic org questions

2020-09-16 Thread Thomas S. Dye
Yes, of course. But first you need to write a style or class file. All the best, Tom Emanuel Berg via General discussions about Org-mode. writes: Thomas S Dye wrote: There are many pieces of software that will allow the user to the violate best typesetting practices easily. LaTeX is not

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Thomas S Dye wrote: > There are many pieces of software that will allow > the user to the violate best typesetting practices > easily. LaTeX is not one of them. In my experience, you can typeset whatever you want with LaTeX, and in any way that you want. non-fiction book:

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Stefan Nobis wrote: > #+attr_latex: :center nil :booktabs t > | My | Columns | > |+-| > | 1 | 2 | > | 3 | 4 | "PDF file produced with errors." -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
tomas wrote: > Or just ask around here, but best with concrete, > little goals each time. ? -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
TEC wrote: > You see, strangely enough - if you want to tweak > the result of Org exporting to LaTeX, you have to > write LaTeX :P I got it to work. Thanks for your help. I'm not abandoning org-mode just yet... -- underground experts united http://user.it.uu.se/~embe8573

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Samuel Wales wrote: >> Marking paragraphs by blank lines and without >> indentation is deemed less readable (see for >> example section 3.10 "Marking Paragraphs" in >> https://komascript.de/~mkohm/scrguien.pdf). [...] > > for my part, i appreciate your using the "wrong" > style for your email

Re: basic org questions

2020-09-16 Thread Samuel Wales
On 9/16/20, Stefan Nobis wrote: > Marking paragraphs by blank lines and without indentation is deemed > less readable (see for example section 3.10 "Marking Paragraphs" in > https://komascript.de/~mkohm/scrguien.pdf). > > But if you really insist on using this style, still the variant of >

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Stefan Nobis wrote: >> #+latex_header: \setlength{\parindent}{0pt} >> #+latex_header: \setlength{\parskip}{\baselineskip} > > Better use > > #+latex_header: \usepackage{parskip} > > as this package has less bad side-effects on other > parts of the document than setting these far-reaching >

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Stefan Nobis wrote: > But otherwise I second your recommendation to not > use this style of marking paragraphs if not > absolutely required. Well, I'm not exactly required to do anything, but I know what I think something should look like... -- underground experts united

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Tim Cross wrote: >> #+latex_header: \parskip 1.5ex >> #+latex_header: \parindent 0pt > > Note that I agree with the other post recommending > using the parskip package as a better solution. > I had forgotten about that package when I posted > the above, which is really just a dirty hack.

Re: basic org questions

2020-09-16 Thread Tim Cross
Emanuel Berg via General discussions about Org-mode. writes: > Tim Cross wrote: > >> #+latex_header: \parskip 1.5ex > > Got it! Thanks! Now it works, with: > > #+latex_header: \parskip 1.5ex > #+latex_header: \parindent 0pt Note that I agree with the other post recommending using the

Re: basic org questions

2020-09-16 Thread General discussions about Org-mode.
Tim Cross wrote: > #+latex_header: \parskip 1.5ex Got it! Thanks! Now it works, with: #+latex_header: \parskip 1.5ex #+latex_header: \parindent 0pt -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-16 Thread Stefan Nobis
Eric S Fraga writes: > #+latex_header: \setlength{\parindent}{0pt} > #+latex_header: \setlength{\parskip}{\baselineskip} Better use #+latex_header: \usepackage{parskip} as this package has less bad side-effects on other parts of the document than setting these far-reaching lengths directly.

Re: basic org questions

2020-09-16 Thread Eric S Fraga
On Wednesday, 16 Sep 2020 at 06:13, Emanuel Berg wrote: > TEC wrote: > >> #+begin_src latex >> \setlength{\parindent}{0pt} >> \setlength{\parskip}{\baselineskip} >> #+end_src > > Also, that doesn't work. Put it in the document, new > PDF, looks the same. Try #+latex_header:

Re: basic org questions

2020-09-16 Thread Thomas S. Dye
This is the unix design: let each tool do what it does well. LaTeX decides how to format and align tables, and it does this very well. Nevertheless, it does this at the level of the document class, which decides how tables are formatted and aligned for the whole document. The idea of having

Re: basic org questions

2020-09-16 Thread Stefan Nobis
Emanuel Berg via "General discussions about Org-mode." writes: > Tim Cross wrote: >> #+latex_class: korma-article > user-error: Unknown LaTeX class ‘korma-article’ >> #+latex_header: \setlength{\parindent}{0pt} > Yes, that's removed the indentation but didn't insert > a blank line... First

Re: basic org questions

2020-09-16 Thread tomas
On Wed, Sep 16, 2020 at 06:11:52AM +0200, Emanuel Berg wrote: > TEC wrote: > > > #+begin_src latex > > \setlength{\parindent}{0pt} > > \setlength{\parskip}{\baselineskip} > > #+end_src > > I know this commands well from my LaTeX projects, > but I'm gonna use LaTeX anyway, what's the use of >

Re: basic org questions

2020-09-16 Thread tomas
On Wed, Sep 16, 2020 at 03:58:17AM +0200, Emanuel Berg via General discussions about Org-mode. wrote: > Tim Cross wrote: > > > #+latex_class: korma-article > > user-error: Unknown LaTeX class ‘korma-article’ This might have been a typo: there is a family of LaTeX classes called "koma" (not

Re: basic org questions

2020-09-16 Thread Stefan Nobis
Hi. Details about Org tables are to be found in the manual at different places (maybe not optimal, but that's the current structure). First of all, aspects of tables inside Emacs and Org are discussed here: https://orgmode.org/manual/Tables.html#Tables But everything about exporting

Re: basic org questions

2020-09-16 Thread TEC
pssst. I think you're a bit off. See my reply ;) All the best, Timothy.

Re: basic org questions

2020-09-15 Thread TEC
Emanuel Berg writes: > TEC wrote: > > I know this commands well from my LaTeX projects, > but I'm gonna use LaTeX anyway, what's the use of > using org-mode? You see, strangely enough - if you want to tweak the result of Org exporting to LaTeX, you have to write LaTeX :P Assuming your only

Re: basic org questions

2020-09-15 Thread Emanuel Berg
TEC wrote: > #+begin_src latex > \setlength{\parindent}{0pt} > \setlength{\parskip}{\baselineskip} > #+end_src I know this commands well from my LaTeX projects, but I'm gonna use LaTeX anyway, what's the use of using org-mode? Is this the org-mode that people have been praising for like a

Re: basic org questions

2020-09-15 Thread Emanuel Berg
TEC wrote: > #+begin_src latex > \setlength{\parindent}{0pt} > \setlength{\parskip}{\baselineskip} > #+end_src Also, that doesn't work. Put it in the document, new PDF, looks the same. -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-15 Thread Emanuel Berg
Matt Huszagh wrote: >> Yes, after export to PDF, they are centered. >> they = the whole table items. > > I think this link > (https://orgmode.org/manual/Tables-in-LaTeX-export.html) > is the relevant part of the documentation. Yeah, but in LaTeX being left aligned is not some property of the

Re: basic org questions

2020-09-15 Thread Tim Cross
Emanuel Berg via General discussions about Org-mode. writes: > Tim Cross wrote: > >> #+latex_class: korma-article > > user-error: Unknown LaTeX class ‘korma-article’ That probably indicates you have not got the necessary Latex packages installed. It was mainly an example of using a different

Re: basic org questions

2020-09-15 Thread TEC
Emanuel Berg via General discussions about Org-mode. writes: > user-error: Unknown LaTeX class ‘korma-article’ This is just because the class has to be defined in =org-latex-classes= (see the doctring for info). By default it contains: - beamer - article - report - book >>

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Tim Cross wrote: > #+latex_class: korma-article user-error: Unknown LaTeX class ‘korma-article’ > #+latex_header: \setlength{\parindent}{0pt} Yes, that's removed the indentation but didn't insert a blank line... -- underground experts united http://user.it.uu.se/~embe8573

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Matt Huszagh wrote: >> Yeah, but in LaTeX being left aligned is not some >> property of the table, everything is left-aligned, >> and if you want it otherwise, you put between >> \begin{center} and \end{center} ... > > That page also describes how to set float > parameters, which the table can be

Re: basic org questions

2020-09-15 Thread Tim Cross
Emanuel Berg via General discussions about Org-mode. writes: > 1) How do I make a region italic? > > This does not fontify and does not show up as > italic type: > > /En gång i tiden var även Spanien täckt av skog. > En gammal berättelse menar att man i norra Spanien > kunde hoppa upp på en

Re: basic org questions

2020-09-15 Thread Matt Huszagh
Emanuel Berg writes: > Yeah, but in LaTeX being left aligned is not some > property of the table, everything is left-aligned, > and if you want it otherwise, you put between > \begin{center} and \end{center} ... That page also describes how to set float parameters, which the table can be

Re: basic org questions

2020-09-15 Thread Matt Huszagh
Emanuel Berg via "General discussions about Org-mode." writes: > Yes, after export to PDF, they are centered. they = > the whole table items. I think this link (https://orgmode.org/manual/Tables-in-LaTeX-export.html) is the relevant part of the documentation. I haven't used this though, so I

Re: basic org questions

2020-09-15 Thread Samuel Wales
if it is in the buffer, asopposed to export, to align body text, including stuff like planning lines, take a look at org-adapt-indentation. i prefer everything left-aligned as opposed to moving around with the header indentation level, so i set this. if it's export, check backends for vars.

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Matt Huszagh wrote: > Were you referring to the tables being centered > after export (I see from another part of this chain > that that's what you were referring to in the 3rd > question) when you wanted them left-aligned? > If that is the case, it would really help if you > specify that in your

Re: basic org questions

2020-09-15 Thread Matt Huszagh
Emanuel Berg via "General discussions about Org-mode." writes: > Heh...? What's strange with that? > > Anyway that's what I mean. I guess I'm just not sure what you mean. I was under the impression that tables were always left-aligned and table alignment in the manual refers to column alignment

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Matt Huszagh wrote: > If you mean the table itself, that would be > very strange. Heh...? What's strange with that? Anyway that's what I mean. -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
tomas wrote: > The variable `org-emphasis-regexp-components' is > documented, so one might hope that the method is > magic, but somewhat official. Indeed, that works: (setq org-emphasis-regexp-components (append (butlast org-emphasis-regexp-components) '(7)) ) :) -- underground

Re: basic org questions

2020-09-15 Thread General discussions about Org-mode.
Re: basic org questions Russell Adams wrote: >> 1) How do I make a region italic? [...] > > https://emacs.stackexchange.com/questions/18101/org-mode-multi-line-emphasis-and-bold OK, thanks, not the same good looking syntax tho but good enough for government work, I suppose. >>

Re: basic org questions

2020-09-15 Thread Aleksandar Dimitrov
Hi Emanuel, Emanuel Berg via General discussions about Org-mode. writes: > 1) How do I make a region italic? > > This does not fontify and does not show up as > italic type: > > /En gång i tiden var även Spanien täckt av skog. > En gammal berättelse menar att man i norra Spanien > kunde hoppa

Re: basic org questions

2020-09-15 Thread Matt Huszagh
Emanuel Berg via "General discussions about Org-mode." writes: > 2) How do I have tables not appear centered > by default, but left-aligned? Do you mean the alignment of columns, or the table itself? You can control column alignment with ``, ``, ``, e.g., | title | description

Re: basic org questions

2020-09-15 Thread tomas
On Tue, Sep 15, 2020 at 05:29:05PM +0200, Emanuel Berg via General discussions about Org-mode. wrote: > 1) How do I make a region italic? > > This does not fontify and does not show up as > italic type: > > /En gång i tiden var även Spanien täckt av skog. > En gammal berättelse menar att man i

Re: basic org questions

2020-09-15 Thread Russell Adams
On Tue, Sep 15, 2020 at 05:29:05PM +0200, Emanuel Berg via General discussions about Org-mode. wrote: > 1) How do I make a region italic? > > This does not fontify and does not show up as > italic type: > > /En gång i tiden var även Spanien täckt av skog. > En gammal berättelse menar att man i

basic org questions

2020-09-15 Thread General discussions about Org-mode.
1) How do I make a region italic? This does not fontify and does not show up as italic type: /En gång i tiden var även Spanien täckt av skog. En gammal berättelse menar att man i norra Spanien kunde hoppa upp på en apas rygg och ta sig ner till södra Spanien utan att klättra av en enda gång.