emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl> (by way of Marcin Borkowski <mbork@wmi.amu.edu.pl>)
To: Dror Atariah <drorata@gmail.com>
Subject: Re: Markup (blod for instance) over line breaks
Date: Sun, 13 Oct 2013 22:22:47 +0200	[thread overview]
Message-ID: <20131013222247.59a95700@aga-netbook> (raw)
In-Reply-To: <20088ECB-A097-4B42-BC3C-748313F4586C@gmail.com>

Dnia 2013-10-13, o godz. 21:58:20
Dror Atariah <drorata@gmail.com> napisał(a):

> 
> On Oct 13, 2013, at 21:38 PM, Marcin Borkowski wrote:
> 
> > Dnia 2013-10-13, o godz. 20:49:30
> > Dror Atariah <drorata@gmail.com> napisał(a):
> > 
> >> Dear org-moders,
> >> 
> >> It might be terribly simple, but I failed to find a solution. How
> >> can I mark several words as bold (or emphasized or any similar
> >> markup), in particular if the words spans over *more then one
> >> line*?
> >> 
> >> A similar problem can occur when one is pasting a long line into an
> >> org-mode buffer and then, after it is being broken into shorter
> >> lines, you try to make it bold.
> >> 
> >> The documentation
> >> (http://orgmode.org/org.html#Emphasis-and-monospace) states that
> >> this kind of markup is aimed at words - so it might not support
> >> sentences and in particular long ones... Is it correct?
> > 
> > Not really an answer, but does visual-line-mode help in your use
> > case?
> It does help. Doesn't org-mode has some sort of dedicated
> line-breaking mechanism? How would you turn it into a complete
> solution?

Not that I know of.  Basically, "lines" may be /visual/ (i.e., broken by
the display engine at spaces etc., but the whole paragraph is one long
line in the file) or /physical/ (i.e., with newline characters at the
end of each line).  In Emacs, you an use M-q to "fill" a paragraph
(more or less, convert from visual to physical lines), and something
along the lines of C-u 9 9 9 9 9 C-x f M-q to "unfill" a paragraph.
(There are also "unfill" functions (quod google), though they are not
part of stock Emacs.)

There is an ongoing discussion on which is better, too long to repeat
any of the arguments here.  For a LaTeX-centric approach, see e.g.
http://tex.stackexchange.com/questions/4376/good-strategy-for-line-breaks-with-paragraphs-of-latex-source
(note that Emacs's longline-mode was a predecessor of visual-line-mode).

And indeed, bold/italic spanning more than a few words might not be a
good idea.  And in cases it is, it's problably better to define a
specialized "environment" (in LaTeX lingo) - like one for theorems
(which are often typeset in italics).

> Best,
> Dror

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

  reply	other threads:[~2013-10-13 20:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-13 18:49 Markup (blod for instance) over line breaks Dror Atariah
2013-10-13 19:38 ` Marcin Borkowski
2013-10-13 19:58   ` Dror Atariah
2013-10-13 20:22     ` Marcin Borkowski [this message]
2013-10-14  6:53       ` Dror Atariah
2013-10-14 20:14         ` Marcin Borkowski
2013-10-14  5:11 ` Eric Abrahamsen
2013-10-14  6:55   ` Dror Atariah
2013-10-14  8:19     ` Eric Abrahamsen

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=20131013222247.59a95700@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --cc=drorata@gmail.com \
    /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).