Re: SMART goals and bolding the first letter

2024-05-27 Thread Berry, Charles
Sharon,

> On May 27, 2024, at 8:07 AM, Sharon Kimble  
> wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> 
> How can I bold the first letter of a word please? I'm trying to do this -
> 
> 
> - - *S*pecific -  You don’t want a vague goal. 
> 


I think the usual approach is to use a zero width space.

See `Section 17.12 Escape Character` of the org manual.

Here is an example:

Type `*S*` then  `C-x 8  ZERO WIDTH SPACE ` then `port`

On LaTeX export, this renders as 

`\textbf{S}​port`

HTH,

Chuck 
  



Re: SMART goals and bolding the first letter

2024-05-27 Thread Dr. Arne Babenhauserheide
Sharon Kimble  writes:

> How can I bold the first letter of a word please? I'm trying to do this -
>   
> 
> - - *S*pecific -  You don’t want a vague goal. 
> 
>
> Its part of a section explaining SMART goals.
>
> Any ideas please?

I don’t know a pure org method, but if this is for LaTeX, you can use:

@@latex:\textbf{@@S@@latex:}\nobreak\hspace{0pt}@@pecific.

(for the cleaner looking method: https://tex.stackexchange.com/a/267806 )

If this is HTML, you can CSS it:

#+html: .first-letter-bold li::first-letter {font-weight: bold}

#+attr_html: :class first-letter-bold
- Specific
- Measurable
- ...

See https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de


signature.asc
Description: PGP signature


SMART goals and bolding the first letter

2024-05-27 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


How can I bold the first letter of a word please? I'm trying to do this -
  

- - *S*pecific -  You don’t want a vague goal. 


Its part of a section explaining SMART goals.

Any ideas please?
  
Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.6.30 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmZUob0dHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sMLw/7Bl5FJ+t/UzKO3ULg
CF0mxdf7W7gUknRJ2ocy604wVjblXsnSrYISISWfuwFUnw27rthVx/ceUZWh47kA
Wme3rri83pHAx0QRJn3lkVvYidp7PiSig5FUYNtIeIQqqKGMU9p4T1p+ZLCMhce2
ntivOXE/UcHUULTNkqElXct05WNfitNUuIYmJnCyMO3kv/gahNQ0PSaRK5xVK6DM
IXU8O73ifktBCdL4zP8si+4HFVJoh58yidBdmY94RVuxBsSvS4z3LzCsaNn1h4EE
qxB+8wHmN18jXp6my3KaV25DYDf3SDONUxcg/dOv0ZUYa/Sy1XvbUMIOjorJy/8+
oVEDC5Ez1FuTDbmZHJr/XrZURM5uP8bIlwvyGeNtm25KFBqgNp4hxd9QlLEFqGhP
vYlxqIKr4pQs8FRqqDsA/dCoq+dVhg+uNBcMSqDmYAXnkYOpvI8a43kKvcZ9FD0E
RRvjUEsJTg2uQjrcCZxOotS8eAFaukkCV09F0+g2S8IoKUCaIJfBhNsK020so223
nPor0HvD9m8euYMs8YuAlG3Xny3LhYS3zRb47d93X4nLyeVSibQ7KS6y3TG3MmFD
1UbA92ybkpbzSxA0hDfXhSsoQ+dfLiWD84yJfz/5AgPqE5cU0d1mKns8qJ59yq6M
UA3jOkErn1V/Tqchmr2OJU7glV0=
=AdBb
-END PGP SIGNATURE-



Re: LaTeX brocs: Babel vs export

2024-05-27 Thread Ihor Radchenko
Sébastien Gendre  writes:

> tl;dr: Which is the best option between LaTeX source bloc and LaTeX
>export bloc to embed some LaTeX code in my Org-mode document ?
> ...
> But I remember that it's possible to use Babel source bloc, indicate
> "latex" as language then evaluate it. But I've never do it. Is it better
> than using export bloc ? Does it give a simple way to encapsulate the
> result into a figure with caption ?

When result is an image, you can use #+caption and other affiliated
keywords to control how the image is rendered in LaTeX. So, yes, you can
use LaTeX source block.

It will be also somewhat easier if you want to re-generate previews of
the rendered image only.

However, direct LaTeX is (naturally) more flexible. If you need some
non-trivial typesetting, you may have better luck with direct LaTeX.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: How should I handle babel configuration of exports & results in Dslide?

2024-05-27 Thread Ihor Radchenko
Psionic K  writes:

> Because live presentations are a bit different from exporting
> documents, I'm not always sure how options should apply.  I'm not an
> expert on many of these options and am not sure what will feel
> consistent for users.
>
> For context, a user wants :exports results or :exports none to hide
> the babel block / results.  Issue is here:
> https://github.com/positron-solutions/dslide/issues/1  Is their idea
> consistent with the expectations and usages elsewhere?

In some way, presentation can be viewed as export - if you only display
things selectively. So, :exports header argument may indeed be used.
Or you can use a custom header argument...

> To implement options from the Dslide configuration, how can I
> explicitly change babel block behavior from an Elisp program?

> What function is best for cleaning up results of a single block?  I'm
> using `org-babel-remove-result'.  Whenever the babel args are :results
> replace, I am clearing them on that block both at the start fo the
> slide and when going backwards.  Should this behavior interact with
> :exports?

For example, you can use ox-org exporter.
Or you can pass PARAMS argument to `org-babel-execute-src-block' to
override :results header argument value.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



How should I handle babel configuration of exports & results in Dslide?

2024-05-27 Thread Psionic K
Because live presentations are a bit different from exporting
documents, I'm not always sure how options should apply.  I'm not an
expert on many of these options and am not sure what will feel
consistent for users.

For context, a user wants :exports results or :exports none to hide
the babel block / results.  Issue is here:
https://github.com/positron-solutions/dslide/issues/1  Is their idea
consistent with the expectations and usages elsewhere?

To implement options from the Dslide configuration, how can I
explicitly change babel block behavior from an Elisp program?

What function is best for cleaning up results of a single block?  I'm
using `org-babel-remove-result'.  Whenever the babel args are :results
replace, I am clearing them on that block both at the start fo the
slide and when going backwards.  Should this behavior interact with
:exports?

As you can see, feedback will be helpful in reconciling my
understanding of the docs versus users actual expectations and common
usage patterns.

Thanks



Re: [PATCH 1/2] org-capture: Allow entry template to start without heading

2024-05-27 Thread Bastien Guerry
Ihor Radchenko  writes:

> Bastien, may you please check FSF records?

The record for Rens is valid.

Thanks for your contributions!

-- 
 Bastien Guerry



Re: [PATCH 1/2] org-capture: Allow entry template to start without heading

2024-05-27 Thread Rens Oliemans
Ihor Radchenko  writes:

> It has been one month since the last activity in this thread.
> May I know if you got any reply from FSF?

My copyright assignment with the FSF is now complete!



Re: Managing acronyms in an Org-mode document

2024-05-27 Thread Pedro Andres Aranda Gutierrez
Sébastien writes:
>  Hello,

Hi, answers inline

> Is there a way to manage acronyms in an Org-mode document ?

Currently I'm using acronyms in Documents which I handle with *TeX as my
background processor. So, it's basically embedding the LaTeX \ac* commands
in the org-file. But I'm thinking of a module to do this in org-native
mode.

> For example:
>
> 1. I write a list of acronyms and their definition inside a "List of
>acronyms" heading
>
> 2. In my document, when I simply write the acronyms in my text
>
> 3. When I export my Org-mode document, the first time that an acronym is
>written, it appear in full version and all the other times it appear
>in acronym version

Most of what you say is already there in e.g. the acronyms package in LaTeX
and I have an ancient attempt at this written in C which made it's way to
the venerable latex2rtf program. It could make a nice summer project. I
could share the notes I have taken until now with basic ideas.

Best, /PA

--
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet


Re: [PATCH 1/2] org-capture: Allow entry template to start without heading

2024-05-27 Thread Ihor Radchenko
Rens Oliemans  writes:

> Ihor Radchenko  writes:
>
>> It has been one month since the last activity in this thread.
>> May I know if you got any reply from FSF?
>
> My copyright assignment with the FSF is now complete!

Bastien, may you please check FSF records?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at