From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: turn off monospace in src result Date: Thu, 17 Jul 2014 22:50:18 +0100 Message-ID: References: <87y4wsl062.fsf@channing.harvard.edu> <8761jpl6gl.fsf@bzg.ath.cx> <87fvi0ufly.fsf_-_@channing.harvard.edu> <87k37b4qew.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7tZE-0008W4-3y for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 17:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7tZ7-000144-0u for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 17:50:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:40802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7tZ6-00013s-R7 for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 17:50:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X7tZ5-0007MB-HJ for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 23:50:11 +0200 Received: from vpn-2002.gwdg.de ([134.76.2.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jul 2014 23:50:11 +0200 Received: from andreas.leha by vpn-2002.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jul 2014 23:50:11 +0200 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: emacs-orgmode@gnu.org Hi Nick, Nick Dokos writes: > Andreas Leha writes: > >> Hi regcl, >> >> regcl writes: >> >>> With this line in my .org file ... >>> >>> This is src_R{foo<-"FOO"; paste(foo)}. >>> >>> ... when I publish to html or pdf, I get ... >>> >>> This is FOO. >>> >>> ... which is wonderful, except that "FOO" is monospace. >>> >>> Can I turn off monospace for all results of inline source? >> >> I do not know, how to do that for all inline source blocks. But you can >> turn it off >> 1. per code block as in src_R[:results raw]{foo<-"FOO"; paste(foo)} > > Looks like > > This is src_R[:results raw]{foo<-"FOO"; paste(foo)}. > > produces a newline after the evaluated code block in the HTML file, > which is rendered as a space between the word FOO and the period. Bug? > I tend to agree. There was some discussion on this last year [fn:1] that went dead after a while. I still think that modifying raw results (as in adding newline) should be avoided -- at least in inline source blocks. Regards, Andreas Footnotes: [fn:1] http://article.gmane.org/gmane.emacs.orgmode/71385