[O] Seeing Actual Emphasis in Orgmode Buffer
[ Orgmode v8.3.1 ] How can I have Emacs actually display /foo/, *bar*, _blah_ emphasis *in an Orgmode buffer*? Note that I am not "exporting" HTML, LaTeX, or friends (where I assume the above markups get correctly styled as italics, bold, etc.). Is there some way to do this? "org-fontify-emphasized-text" is non-nil. Anyone know how to do this? Sorry if I'm missing the obvious! Thanks, -Kenneth -- Prof Kenneth H Jacker k...@cs.appstate.edu Computer Science Dept www.cs.appstate.edu/~khj Appalachian State Univ Boone, NC 28608 USA
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
On 2016-01-11, at 19:30, Kenneth Jacker wrote: > [ Orgmode v8.3.1 ] > > How can I have Emacs actually display /foo/, *bar*, _blah_ emphasis *in an > Orgmode buffer*? > Note that I am not "exporting" HTML, LaTeX, or friends (where I assume the > above markups get correctly styled as italics, bold, etc.). > > Is there some way to do this? > > "org-fontify-emphasized-text" is non-nil. > > Anyone know how to do this? Sorry if I'm missing the obvious! Are you sure you have a font that supports italic or boldface variants? It works out of the box on my Emacs, but I didn't mess up with the default font. > Thanks, > > -Kenneth Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
> > Are you sure you have a font that supports italic or boldface variants? > Hmmm ... not sure I know how to check that ... Might you suggest a "variable", "function" or "menu item" that would indicate whether the needed "font support" was there/enabled? > It works out of the box on my Emacs, but I didn't mess up with the > default font. I don't *think* I did anything with the "default font" either ... So you actually see the "bold" rendering in the "buffer" corresponding to the ".org" file ? If so, there is "hope" for me ;-) Thanks for your comments! -Kenneth
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
Hi! Kenneth Jacker writes: >> Are you sure you have a font that supports italic or boldface variants? >> > > Hmmm ... not sure I know how to check that ... > > Might you suggest a "variable", "function" or "menu item" that would > > indicate whether the needed "font support" was there/enabled? > > >> It works out of the box on my Emacs, but I didn't mess up with the >> default font. > > > I don't *think* I did anything with the "default font" either ... > > So you actually see the "bold" rendering in the "buffer" corresponding to > the ".org" file ? > > If so, there is "hope" for me ;-) Sure, always! ;) Maybe you get some insight if you do e.g. 'M-x customize-face italic' and play with settings. HTH -- Marco Wahl GPG: 0x49010A040A3AE6F2
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
Thanks for you suggestions Marco, but I still can't figure out how to get the "styles"/"emphasis" displayed in a '.org' file buffer. As mentioned before, the variable "org-fontify-emphasized-text" is set to `t' (non-nil). Documentation says this about that variable: Non-nil means fontify *bold*, /italic/ and _underlined_ text. Anyone have any other ideas? Thanks, -Kenneth
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
Kenneth Jacker writes: > Thanks for you suggestions Marco, but I still can't figure out how to get the > "styles"/"emphasis" displayed in a '.org' file buffer. > > As mentioned before, the variable "org-fontify-emphasized-text" is set to `t' > (non-nil). > > Documentation says this about that variable: > > Non-nil means fontify *bold*, /italic/ and _underlined_ text. > > Anyone have any other ideas? > > Thanks, > > -Kenneth > Open an org mode buffer, type *bold* in it, move the cursor over one of the letters of the word "bold" and type C-u C-x = You should get a *Help* buffer and towards the bottom there should be a section that looks something like this (this is what I get in my case): , | There are text properties here: | face (bold) | font-lock-multiline t | fontifiedt | org-emphasis t ` What do you get? -- Nick
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
> What do you get? character: o (111, #o157, #x6f) preferred charset: ascii (ASCII (ISO646 IRV)) code point: 0x6F syntax: w which means: word category: .:Base, a:ASCII, l:Latin, r:Roman buffer code: #x6F file code: #x6F (encoded by coding system utf-8-unix) display: by this font (glyph code) x:-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 (#x6F) Character code properties: customize what to show name: LATIN SMALL LETTER O general-category: Ll (Letter, Lowercase) There are text properties here: face (bold) font-lock-multiline t fontifiedt line-prefix [Show] org-emphasis t wrap-prefix [Show] Thanks! -Kenneth
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
On Sunday, 17 Jan 2016 at 12:59, Kenneth Jacker wrote: >> What do you get? [...] > x:-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 (#x6F) On my system, the combination of pxlsz and ptSx you have for that font (misc-fixed) precludes the use of the italic or bold faces... I use DejaVu Sans Mono as my font in Emacs. Try (set-face-attribute 'default nil :font "DejaVu Sans Mono-18") to see if you get better behaviour and, if so, then play around to look for a font that pleases you. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.1.50.2, Org release_8.3.3-449-gd85ff3
Re: [O] Seeing Actual Emphasis in Orgmode Buffer
Hey Eric! Thanks for the fast and detailed help. I'll try 'set-face-attribute' later. Will advise how it goes ... Thanks again, -Kenneth