From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hannon Subject: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 13:16:52 -0700 (PDT) Message-ID: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> Reply-To: Michael Hannon Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1547534555-1314217012=:11609" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwJsw-0005D9-Sn for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 16:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwJsv-0003OT-7y for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 16:17:14 -0400 Received: from nm13.bullet.mail.bf1.yahoo.com ([98.139.212.172]:28347) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QwJsu-00034W-QM for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 16:17:13 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode List --0-1547534555-1314217012=:11609 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Greetings.=A0 I've "inherited" an HTML document that uses the construct:=0A= =0A=A0=A0=A0 event=0A=0Afor instance, to underline the initial 'e' i= n the word.=A0 The context is=0Asomething like:=0A=0A=A0=A0=A0 e=A0= =A0=A0 event=0A=0Ato show that the choice of option 'e' corresponds = to choosing an "event".=0A=0AIn preparation for a revision of the document,= I'm trying to create a *.org=0Afile that will duplicate as much of the ori= ginal style of the HTML document as=0Apossible (i.e., when exported to HTML= ).=0A=0AI haven't been able to find a way to underline just the first chara= cter of a=0Aword.=A0 For instance,=0A=0A=A0=A0=A0 _e_vent=0A=0Adoesn't prod= uce what I want.=A0 I tried:=0A=0A=A0=A0=A0 _e_ vent=0A=0Aand that underlin= ed the 'e' but, of course, left an unwanted space.=0A=0AIs there some way t= o do this?=A0 A better way?=0A=0AThanks,=0A=0A-- Mike --0-1547534555-1314217012=:11609 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Greetings.  I've "inheri= ted" an HTML document that uses the construct:

    &l= t;u>e</u>vent

for instance, to underline the initial 'e' in= the word.  The context is
something like:

   = ; <b>e</b>    <u>e</u>vent

to= show that the choice of option 'e' corresponds to choosing an "event".
=
In preparation for a revision of the document, I'm trying to create a *= .org
file that will duplicate as much of the original style of the HTML = document as
possible (i.e., when exported to HTML).

I haven't bee= n able to find a way to underline just the first character of a
word.&nb= sp; For instance,

    _e_vent

doesn't produce = what I want.  I tried:

    _e_ vent

and that underlined the 'e' but, of course, left an unwanted s= pace.

Is there some way to do this?  A better way?

Thank= s,

-- Mike

--0-1547534555-1314217012=:11609-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 23:51:12 +0200 Message-ID: References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwLME-0002SG-C7 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 17:51:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwLMD-0004kb-Er for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 17:51:34 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:55898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwLMD-0004kV-A6 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 17:51:33 -0400 Received: by bkbzt4 with SMTP id zt4so1474231bkb.0 for ; Wed, 24 Aug 2011 14:51:32 -0700 (PDT) In-Reply-To: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: Org-Mode List On Wed, Aug 24, 2011 at 10:16 PM, Michael Hannon wrot= e: > I haven't been able to find a way to underline just the first character o= f a > word.=A0 For instance, > > =A0=A0=A0 _e_vent > > doesn't produce what I want.=A0 I tried: > > =A0=A0=A0 _e_ vent > > and that underlined the 'e' but, of course, left an unwanted space. > > Is there some way to do this?=A0 A better way? > I don't believe you can. --=20 Suvayu Open source is the future. It sets us free. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hannon Subject: Re: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 15:44:52 -0700 (PDT) Message-ID: <1314225892.38830.YahooMailNeo@web161914.mail.bf1.yahoo.com> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> Reply-To: Michael Hannon Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1178136424-1314225892=:38830" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMBq-0007sg-Sa for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 18:44:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwMBp-00074w-QU for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 18:44:54 -0400 Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]:25020) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QwMBp-00073l-N0 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 18:44:53 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: suvayu ali Cc: Org-Mode List --0-1178136424-1314225892=:38830 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Suvayu.=A0 I'll bet somebody on this list could knock out 400 lines= of elisp code that would do the trick, but I'm happy to punt on it.=A0 It = isn't that important a feature.=0A=0A-- Mike=0A=0A=0A=0A>__________________= ______________=0A>From: suvayu ali =0A>To: Mic= hael Hannon =0A>Cc: Org-Mode List =0A>Sent: Wednesday, August 24, 2011 2:51 PM=0A>Subject: Re: [O] Underli= ne ONLY the first character of a word?=0A>=0A>On Wed, Aug 24, 2011 at 10:16= PM, Michael Hannon wrote:=0A>> I haven't been able t= o find a way to underline just the first character of a=0A>> word.=A0 For i= nstance,=0A>>=0A>> =A0=A0=A0 _e_vent=0A>>=0A>> doesn't produce what I want.= =A0 I tried:=0A>>=0A>> =A0=A0=A0 _e_ vent=0A>>=0A>> and that underlined the= 'e' but, of course, left an unwanted space.=0A>>=0A>> Is there some way to= do this?=A0 A better way?=0A>>=0A>=0A>I don't believe you can.=0A>=0A>-- = =0A>Suvayu=0A>=0A>Open source is the future. It sets us free.=0A>=0A>=0A>= =0A> --0-1178136424-1314225892=:38830 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, Suvayu.  I'll be= t somebody on this list could knock out 400 lines of elisp code that would = do the trick, but I'm happy to punt on it.  It isn't that important a = feature.

-- Mike


From: suvayu ali <fatkasuvayu+linux= @gmail.com>
To: Mich= ael Hannon <jm_hannon@yahoo.com>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Sent: Wednesday, August 24, 2011 2= :51 PM
Subject: Re: [O]= Underline ONLY the first character of a word?

On Wed, Aug 24= , 2011 at 10:16 PM, Michael Hannon <jm_hannon@yahoo.com> wrote= :
> I haven't been able to find a way to underline just the first cha= racter of a
> word.  For instance,
>
>   &= nbsp; _e_vent
>
> doesn't produce what I want.  I tried:>
>     _e_ vent
>
> and that underli= ned the 'e' but, of course, left an unwanted space.
>
> Is ther= e some way to do this?  A better way?
>

I don't believe y= ou can.

--
Suvayu

Open source is the future. It sets us f= ree.



--0-1178136424-1314225892=:38830-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 17:50:09 -0500 Message-ID: References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <1314225892.38830.YahooMailNeo@web161914.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMGy-0001o6-4t for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 18:50:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwMGx-00089l-0X for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 18:50:12 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:34706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMGw-00089d-RD for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 18:50:10 -0400 Received: by bkbzt4 with SMTP id zt4so1504829bkb.0 for ; Wed, 24 Aug 2011 15:50:10 -0700 (PDT) In-Reply-To: <1314225892.38830.YahooMailNeo@web161914.mail.bf1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: Org-Mode List > > ________________________________ > From: suvayu ali > To: Michael Hannon > Cc: Org-Mode List > Sent: Wednesday, August 24, 2011 2:51 PM > Subject: Re: [O] Underline ONLY the first character of a word? > > On Wed, Aug 24, 2011 at 10:16 PM, Michael Hannon > wrote: >> I haven't been able to find a way to underline just the first character = of >> a >> word.=C2=A0 For instance, >> >> =C2=A0=C2=A0=C2=A0 _e_vent >> >> doesn't produce what I want.=C2=A0 I tried: >> >> =C2=A0=C2=A0=C2=A0 _e_ vent >> >> and that underlined the 'e' but, of course, left an unwanted space. >> >> Is there some way to do this?=C2=A0 A better way? >> What are you exporting to? I almost exclusively use LaTeX, so I will take to forcing something like this on the rare occasion I need it: ,----- | \underline{T}his is a test. | Ti\emph{k}Z `----- John > > I don't believe you can. > > -- > Suvayu > > Open source is the future. It sets us free. > > > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 19:28:19 -0400 Message-ID: <7670.1314228499@alphaville.americas.hpqcorp.net> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMrv-0004AZ-8W for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 19:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwMru-0006ls-3s for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 19:28:23 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:9734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMrt-0006li-Pd for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 19:28:22 -0400 In-Reply-To: Message from Michael Hannon of "Wed, 24 Aug 2011 13:16:52 PDT." <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: nicholas.dokos@hp.com, Org-Mode List Michael Hannon wrote: > Greetings. I've "inherited" an HTML document that uses the construct: > > event > > for instance, to underline the initial 'e' in the word. The context is > something like: > > e event > > to show that the choice of option 'e' corresponds to choosing an "event". > > In preparation for a revision of the document, I'm trying to create a *.org > file that will duplicate as much of the original style of the HTML document as > possible (i.e., when exported to HTML). > > I haven't been able to find a way to underline just the first character of a > word. For instance, > > _e_vent > > doesn't produce what I want. I tried: > > _e_ vent > > and that underlined the 'e' but, of course, left an unwanted space. > > Is there some way to do this? A better way? > Not without some code I think. I can *almost* do it with babel, but there is some manual work involved. For example, in the following file: --8<---------------cut here---------------start------------->8--- * Table :noexport: #+TBLNAME: actions | abbrev | action | |--------+-----------------| | a | actionable | | b | bibulous | | c | califragilistic | #+begin_src python :results output :exports none :var table=actions print "* Results" print "#+begin_html" for row in table: print "%s %s%s
" % (row[0], row[1][0:1], row[1][1:]) print "#+end_html" #+end_src --8<---------------cut here---------------end--------------->8--- I can evaluate the source block with C-c C-c and get a results block like this[fn:1]: --8<---------------cut here---------------start------------->8--- #+results: #+begin_example * Results #+begin_html a actionable
b bibulous
c califragilistic
#+end_html #+end_example --8<---------------cut here---------------end--------------->8--- then manually delete the #+{begin,end}_example lines and *then* export the resulting file. You might also be able to do something with radio tables or dynamic blocks but I have not gone down that path. Nick Footnotes: [fn:1] You might have to do something like this (setq org-babel-min-lines-for-block-output 1) to convince babel to produce an example block rather than colon-preceded literals. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 19:34:52 -0400 Message-ID: <7727.1314228892@alphaville.americas.hpqcorp.net> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <7670.1314228499@alphaville.americas.hpqcorp.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMyF-0008Gy-GH for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 19:34:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwMyE-0007oi-O0 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 19:34:55 -0400 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:19986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwMyE-0007oX-KE for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 19:34:54 -0400 In-Reply-To: Message from Nick Dokos of "Wed, 24 Aug 2011 19:28:19 EDT." <7670.1314228499@alphaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Nick Dokos wrote: > Not without some code I think. > D'oh - as John Hendy points out, you can do it by hand: --8<---------------cut here---------------start------------->8--- #+begin_html a actionable
b bibulous
c califragilistic
#+end_html --8<---------------cut here---------------end--------------->8--- It always amazes me how fixated I can get on the wrong approach. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Underline ONLY the first character of a word? Date: Wed, 24 Aug 2011 20:26:38 -0400 Message-ID: <8267.1314231998@alphaville.americas.hpqcorp.net> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <7670.1314228499@alphaville.americas.hpqcorp.net> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwNmL-0005IN-3y for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 20:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwNmJ-0001RL-Oq for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 20:26:41 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:43809 helo=g1u1820.austin.hp.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwNmJ-0001RG-HH for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 20:26:39 -0400 In-Reply-To: Message from Nick Dokos of "Wed\, 24 Aug 2011 19\:28\:19 EDT." <7670.1314228499@alphaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Here is an amusing aside[fn:1]. Take the org file I posted previously: --8<---------------cut here---------------start------------->8--- * Table :noexport: #+TBLNAME: actions | abbrev | action | |--------+-----------------| | a | actionable | | b | bibulous | | c | califragilistic | #+begin_src python :results output :exports none :var table=3Dactions print "* Results" print "#+begin_html" for row in table: print "%s %s%s
" % (row[0], row[1][0:1], row[1][1:= ]) =20=20 print "#+end_html" #+end_src --8<---------------cut here---------------end--------------->8--- If I export this to html, I get nothing in the body because of the :noexpor= t: tag. But if I evaluate the source block: --8<---------------cut here---------------start------------->8--- * Table = :noexport: #+TBLNAME: actions | abbrev | action | |--------+-----------------| | a | actionable | | b | bibulous | | c | califragilistic | #+begin_src python :results output :exports none :var table=3Dactions print "* Results" print "#+begin_html" for row in table: print "%s %s%s
" % (row[0], row[1][0:1], row[1][1:]) =20=20 print "#+end_html" =20=20 #+end_src #+results: #+begin_example * Results #+begin_html a actionable
b bibulous
c califragilistic
#+end_html #+end_example --8<---------------cut here---------------end--------------->8--- and then export (*without* the manual excision of the #+{begin,end}_example= ), I get: --8<---------------cut here---------------start------------->8---

1 Results

a actionable
b bibulous
c califragilistic
--8<---------------cut here---------------end--------------->8--- which surprised me: the "* Results" line is interpreted as a new headline during export, despite the fact that it appears within an example block (that's probably a consequence of the ordering of actions in org-export-preprocess-string [fn:2]): the noexport tag strips everything to the "* Results" line, which I guess is surprising at first but makes se= nse, and the #+end_example line is silently discarded). Oh, no! Look what I've done: Andr=C3=A1s will now insist that the whole thi= ng has to be either documented completely or thrown out bodily :-) With-tongue-firmly-in-cheek-ly yours, Nick Footnotes: [fn:1] For some value of "amusing". [fn:2] See somewhere in this thread: http://thread.gmane.org/gmane.emacs.or= gmode/46021. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hannon Subject: Re: Underline ONLY the first character of a word? Date: Thu, 25 Aug 2011 14:30:28 -0700 (PDT) Message-ID: <1314307828.65003.YahooMailNeo@web161908.mail.bf1.yahoo.com> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <1314225892.38830.YahooMailNeo@web161914.mail.bf1.yahoo.com> Reply-To: Michael Hannon Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-616906853-1314307828=:65003" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwhVO-0007ot-Up for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 17:30:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwhVO-0006sr-65 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 17:30:30 -0400 Received: from nm11-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.136]:41202) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QwhVO-0006sh-1i for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 17:30:30 -0400 In-Reply-To: <1314225892.38830.YahooMailNeo@web161914.mail.bf1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode List --0-616906853-1314307828=:65003 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks to Suvayu, John, and Nick (in chronological order) for thoughtful co= mments on this.=A0 I'm still considering my options.=0A=0A-- Mike --0-616906853-1314307828=:65003 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks to Suvayu= , John, and Nick (in chronological order) for thoughtful comments on this.&= nbsp; I'm still considering my options.

-- Mike
--0-616906853-1314307828=:65003-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Underline ONLY the first character of a word? Date: Fri, 26 Aug 2011 11:29:09 +0530 Message-ID: <81ty94sogi.fsf@gmail.com> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwpSe-0002x7-2S for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 02:00:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwpSc-0000MP-TO for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 02:00:12 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:43711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwpSc-0000MF-Lx for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 02:00:10 -0400 Received: by gxk23 with SMTP id 23so2676401gxk.0 for ; Thu, 25 Aug 2011 23:00:09 -0700 (PDT) In-Reply-To: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> (Michael Hannon's message of "Wed, 24 Aug 2011 13:16:52 -0700 (PDT)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: Org-Mode List See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg45991.html Just, creating a backlink to the other thread. John Hendy created the forward link. > Greetings. I've "inherited" an HTML document that uses the > construct: > > event > > for instance, to underline the initial 'e' in the word. The context > is > something like: > > e event > > to show that the choice of option 'e' corresponds to choosing an > "event". > > In preparation for a revision of the document, I'm trying to create a > *.org > file that will duplicate as much of the original style of the HTML > document as > possible (i.e., when exported to HTML). > > I haven't been able to find a way to underline just the first > character of a > word. For instance, > > _e_vent > > doesn't produce what I want. I tried: > > _e_ vent > > and that underlined the 'e' but, of course, left an unwanted space. > > Is there some way to do this? A better way? > > Thanks, > > -- Mike > > > -- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Underline ONLY the first character of a word? Date: Fri, 26 Aug 2011 10:35:07 +0200 Message-ID: <45432EFB-7253-4EF6-A681-3E7F4D3C0A3F@gmail.com> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <7670.1314228499@alphaville.americas.hpqcorp.net> <7727.1314228892@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwrse-0005m5-9G for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 04:35:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwrsd-0000MO-3y for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 04:35:12 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:55240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwrsc-0000M6-Vt for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 04:35:11 -0400 Received: by wwj26 with SMTP id 26so289906wwj.0 for ; Fri, 26 Aug 2011 01:35:09 -0700 (PDT) In-Reply-To: <7727.1314228892@alphaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Michael Hannon , emacs-orgmode@gnu.org Hi, I don't think the following trick has come up yet. If you are only exporting to HTML, you can do: @e@vent HTH - Carsten On 25.8.2011, at 01:34, Nick Dokos wrote: > Nick Dokos wrote: > >> Not without some code I think. >> > > D'oh - as John Hendy points out, you can do it by hand: > > --8<---------------cut here---------------start------------->8--- > > #+begin_html > a actionable
> b bibulous
> c califragilistic
> #+end_html > --8<---------------cut here---------------end--------------->8--- > > It always amazes me how fixated I can get on the wrong approach. > > Nick > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niels Giesen Subject: Re: Underline ONLY the first character of a word? Date: Sun, 28 Aug 2011 11:41:34 +0200 Message-ID: References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <7670.1314228499@alphaville.americas.hpqcorp.net> <7727.1314228892@alphaville.americas.hpqcorp.net> <45432EFB-7253-4EF6-A681-3E7F4D3C0A3F@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3040e4ce850a5404ab8d956c Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxbrz-000810-Rj for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 05:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qxbry-0001w3-Rj for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 05:41:35 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:57030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxbry-0001vt-PF for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 05:41:34 -0400 Received: by yib2 with SMTP id 2so2915169yib.0 for ; Sun, 28 Aug 2011 02:41:34 -0700 (PDT) In-Reply-To: <45432EFB-7253-4EF6-A681-3E7F4D3C0A3F@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Michael Hannon , nicholas.dokos@hp.com, emacs-orgmode@gnu.org --20cf3040e4ce850a5404ab8d956c Content-Type: text/plain; charset=UTF-8 What about using something well-structured like a table or a (definition) list and CSS :first-letter pseudoselector and text-decoration: underline? e.g. td:first-child { font-weight:bold; } td~td:first-letter { text-decoration:underline; } for a two-column table. On Fri, Aug 26, 2011 at 10:35 AM, Carsten Dominik wrote: > Hi, > > I don't think the following trick has come up yet. If you are > only exporting to HTML, you can do: > > @e@vent > > HTH > > - Carsten > > On 25.8.2011, at 01:34, Nick Dokos wrote: > > > Nick Dokos wrote: > > > >> Not without some code I think. > >> > > > > D'oh - as John Hendy points out, you can do it by hand: > > > > --8<---------------cut here---------------start------------->8--- > > > > #+begin_html > > a actionable
> > b bibulous
> > c califragilistic
> > #+end_html > > --8<---------------cut here---------------end--------------->8--- > > > > It always amazes me how fixated I can get on the wrong approach. > > > > Nick > > > > > -- http://pft.github.com --20cf3040e4ce850a5404ab8d956c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable What about using something well-structured like a table or a (definition) l= ist and CSS :first-letter pseudoselector and text-decoration: underline?
e.g.

td:first-child {
=C2=A0 font-weight:bold;
}
td~td:first-letter {
=C2=A0 text-decoration:underline;
}

<= /div>
for a two-column table.

On Fri, Aug 26, 2011 at 10:35 AM, Carsten Dominik <carsten.dominik@gmail.com>= wrote:
Hi,

I don't think the following trick has come up yet. =C2=A0If you are
only exporting to HTML, you can do:

@<u>e@</u>vent

HTH

- Carsten

On 25.8.2011, at 01:34, Nick Dokos wrote:

> Nick Dokos <nicholas.dokos= @hp.com> wrote:
>
>> Not without some code I think.
>>
>
> D'oh - as John Hendy points out, you can do it by hand:
>
> --8<---------------cut here---------------start------------->8--= -
>
> #+begin_html
> <b>a</b> =C2=A0<u>a</u>ctionable<br/> > <b>b</b> =C2=A0<u>b</u>ibulous<br/>
> <b>c</b> =C2=A0<u>c</u>alifragilistic<br/&g= t;
> #+end_html
> --8<---------------cut here---------------end--------------->8--= -
>
> It always amazes me how fixated I can get on the wrong approach.
>
> Nick
>





--
= http://pft.github.com
--20cf3040e4ce850a5404ab8d956c-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hannon Subject: Re: Underline ONLY the first character of a word? Date: Sun, 28 Aug 2011 20:48:00 -0700 (PDT) Message-ID: <1314589680.71929.YahooMailNeo@web161911.mail.bf1.yahoo.com> References: <1314217012.11609.YahooMailNeo@web161910.mail.bf1.yahoo.com> <7670.1314228499@alphaville.americas.hpqcorp.net> <7727.1314228892@alphaville.americas.hpqcorp.net> <45432EFB-7253-4EF6-A681-3E7F4D3C0A3F@gmail.com> Reply-To: Michael Hannon Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1906032806-1314589680=:71929" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxspP-0004tS-OZ for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 23:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxspO-0005jM-QK for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 23:48:03 -0400 Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]:20514) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QxspO-0005jG-LE for emacs-orgmode@gnu.org; Sun, 28 Aug 2011 23:48:02 -0400 In-Reply-To: <45432EFB-7253-4EF6-A681-3E7F4D3C0A3F@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: "emacs-orgmode@gnu.org" --0-1906032806-1314589680=:71929 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > I don't think the following trick has come up yet.=A0 If you are=0A> only= exporting to HTML, you can do:=0A> =0A> @e@vent=0A=0AThanks, Carste= n.=A0 That works nicely.=0A=0A-- Mike --0-1906032806-1314589680=:71929 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
> I don't think the following t= rick has come up yet.  If you are
> only exporting to HTML, you = can do:
>
> @<u>e@</u>vent

Thanks, Carsten.=   That works nicely.

-- Mike
<= /body> --0-1906032806-1314589680=:71929--