Re: [O] Org-babel for sending emails

2017-04-09 Thread John Kitchin
I do not know of any org-babel stuff.

I use some functions here:
https://github.com/jkitchin/scimax/blob/master/scimax-email.el

for emailing headings and for mail-merge like features.

You may find some of them suitable for your needs.

Giri Prashanth writes:

> Hi,
>
> Is there a dedicated org-babel for composing and sending emails from
> org-mode ?
>
> I know that a entire org-mode file could be sent as email by exporting
> with org-mime, but I was wondering if there exist some package to have
> message mode for org-babel, like the following:
>
> #+BEGIN_SRC message FROM: TO:...
> 
> #+END_SRC
>
> and executing above send the email.
>
> Thank you in advance for your responses.


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] Viewing pdf images

2017-04-09 Thread Doyley, Marvin M.
Hi Eduardo,

I also agree that in terms of resolution (pix per inch ) pdf and jpg are the 
same. However, pdf (and SVG) allow the image to be scaled with little loss in 
image quality. In my lab we typically save the images in pdf because the most 
biomedical journals don’t accept SVG file format (not yet).

Thanks,
M
PS Since emacs can display SVG, we are planning to use this as our default file 
format during the manuscript generation stage, and then convert to pdf at the 
end (just before submitting)

> On Apr 9, 2017, at 6:06 PM, Eduardo Mercovich  wrote:
> 
> Hi Marvin.
> 
>> For manuscripts, my research group and I typically save images in pdf 
>> format, much better resolution. It would be nice to view pdf  images when 
>> working in org-mode.
>> Does anybody know how to view pdf images in org-mode.
> 
> Excuse my question but there is something I don't understand here... I'd like 
> to be sure we are not scratching where it doesn't itch.
> PDF files don't show images at a better resolution, they just "encapsulate" 
> and show them. So, if you have a 2000x2000 px jpg, putting it inside a pdf 
> will not add resolution (nor lower it, if it's not compressed), but just add 
> a wrapper around it. The resolution is a property of the image file.
> 
> OTOH, different image formats do change the quality: jpg and (some) png are 
> lossy formats while tiff is looseless.
> So what kind of images are you talking about? Are they produced by you and 
> your team (and using what tools/methods), scanned from physical artifacts, or 
> taken from other sources?
> 
> Maybe there is no need to do all this pdf magic.
>> PS We also work with svg images too, that would also love to view in org-mode
> 
> Again, this is quite similar. You can produce pdf from svg: both are vector 
> images and are resolution independent. But emacs con show svg files directly 
> (see 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.emacswiki.org_emacs_EmacsSvg&d=DwIDaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=s3_3riAscdqtNAzgOuwYB9g0dZVGcp8BNCy_RylYdxU&m=ToUr47iyS79VqRe2JGHpKEuFdjOC7Ae_27eFPP0IW_w&s=7L3s6Qt1QD87OGVmmSwlgpqsI1HZOUvEVFP6izsIYmc&e=
>  ).
> 
> Best...
> --
> eduardo mercovich
> 
> Donde se cruzan tus talentos con las necesidades del mundo, ahí está tu 
> vocación. (Anónimo)



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [O] Viewing pdf images

2017-04-09 Thread Eduardo Mercovich

Hi Marvin.

For manuscripts, my research group and I typically save images 
in pdf format, much better resolution. It would be nice to view 
pdf  images when working in org-mode.

Does anybody know how to view pdf images in org-mode.


Excuse my question but there is something I don't understand 
here... I'd like to be sure we are not scratching where it doesn't 
itch. 

PDF files don't show images at a better resolution, they just 
"encapsulate" and show them. So, if you have a 2000x2000 px jpg, 
putting it inside a pdf will not add resolution (nor lower it, if 
it's not compressed), but just add a wrapper around it. The 
resolution is a property of the image file.


OTOH, different image formats do change the quality: jpg and 
(some) png are lossy formats while tiff is looseless. 

So what kind of images are you talking about? Are they produced by 
you and your team (and using what tools/methods), scanned from 
physical artifacts, or taken from other sources?


Maybe there is no need to do all this pdf magic. 

PS We also work with svg images too, that would also love to 
view in org-mode


Again, this is quite similar. You can produce pdf from svg: both 
are vector images and are resolution independent. But emacs con 
show svg files directly (see 
https://www.emacswiki.org/emacs/EmacsSvg).


Best... 


--
eduardo mercovich

Donde se cruzan tus talentos 
con las necesidades del mundo, 
ahí está tu vocación. 
(Anónimo)




[O] Radio targets

2017-04-09 Thread R C
I set up radio targets such as <<>> in a heading, which makes all
occurrences of the word analysis to be links to the heading. However this
seems to override the boldface settings such *Analysis*, so that the
asterisks show up in the exported text. Is there a way to get around this?
Thanks.