Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jude DaShiell
Thanks much, that one worked.


-- Jude  "There are four boxes to be used in
defense of liberty: soap, ballot, jury, and ammo. Please use in that
order." Ed Howdershelt 1940.

On Mon, 11 Sep 2023, to...@tuxteam.de wrote:

> On Mon, Sep 11, 2023 at 09:52:30AM -0400, Jude DaShiell wrote:
> > Why does this happen?
> >
> > The gpg command given in the faq does not return what the faq claims will
> > be returned.
> > Look for the public key of Klaus Knopper:
> > bash: Look: command not found
> > bash-5.1$  gpg --keyserver pool.sks-keyservers.net --search-keys "Klaus
> > Knopper"
>
> Hm. Keyservers seem to be a dying species these days. Try
>
>   --keyserver hkp://keyserver.ubuntu.com/
>
> Cheers
>



Re: Feature request: Allow export to convert broken links to plain text

2023-09-11 Thread Berry, Charles
Ryan,

> On Sep 9, 2023, at 9:13 PM, Ryan C. Thompson  wrote:
> 
> So, this isn't an ideal solution, since it requires me to prefix any 
> potential offending links with "maybe:". But it's good enough for me.
> 

It is good that you have a solution, albeit with the caveat you mention above.

A couple of thoughts:

There is a hook that operates on the copy buffer before parsing viz. 
"org-export-before-parsing-functions is a variable defined in ‘ox.el’." (In 
older versions, it was org-export-before-parsing-hook.) Maybe you can add a 
hook that will add that prefix to all links, so you do not need to put it in 
your working files.

Or you could write an elisp macro that takes two arguments (link, desc) and 
uses them to either construct a link or your preferred substitute if it fails 
validation. 

HTH,

Chuck



Re: [patch] Fixes and improvements in org-latex-language-alist (was: ox-latex language handling in Org-9.5 vs 9.6)

2023-09-11 Thread Max Nikulin

On 10/09/2023 23:52, Ihor Radchenko wrote:

Max Nikulin writes:


On 09/09/2023 16:11, Ihor Radchenko wrote:

I am not sure if making a breaking change to public constant is the best
approach.
What about simply adding an extra entry:
("de" )
("de-de" )


Ideally it should not be a public constant. Values should be accessed
using a helper that returns "de" value for "de-de", "de-ch", "de-it"
without copies, unless a more specific key is defined as it is done for
de-at.


It is already a public constant. And I see no strong reason to change
this (strong enough to justify breaking change).


Every piece of code accessing this public constant must implement 
fallback from e.g. "de-ch" (or de_CH) to "de". Or to "en" for an 
unsupported language. To achieve consistent behavior it is better to 
provide a helper function.



I have a hope that properties may be generated from CLDR data, LaTeX
babel .ini files, etc. However it should be possible to override
specific properties.


For context, I plan to provide a global language-identifier alist that
will link human-readable language names to abbreviations like "de",
"de-de", etc.


This languange-region identifiers may be written in different way 
(dash/underscore, case), but they are used specify POSIX locale LANG, 
LC_* and extensions like LANGUAGE, so in some cases human friendly names 
may be less convenient.



Thus, auto-generating the alist may be not reliable. At least some
manual overseeing may be needed.


Of course, some overrides may be necessary. E.g. it was decided to use 
French inner quotes different from CLDR.



Though I am not sure if we can easily handle tricky
cases like weird installation directory for TeXLive or MikTeX.


kpsewhich babel-de.ini
/usr/share/texlive/texmf-dist/tex/generic/babel/locale/de/babel-de.ini






Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread tomas
On Mon, Sep 11, 2023 at 09:52:30AM -0400, Jude DaShiell wrote:
> Why does this happen?
> 
> The gpg command given in the faq does not return what the faq claims will
> be returned.
> Look for the public key of Klaus Knopper:
> bash: Look: command not found
> bash-5.1$  gpg --keyserver pool.sks-keyservers.net --search-keys "Klaus
> Knopper"

Hm. Keyservers seem to be a dying species these days. Try

  --keyserver hkp://keyserver.ubuntu.com/

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Description list with " :: " in the tag.

2023-09-11 Thread Tom Alexander
Thanks!

-- 
Tom Alexander

On Sat, Sep 9, 2023, at 5:06 AM, Ihor Radchenko wrote:
> "Tom Alexander"  writes:
>
>> Emacs version: 29.1
>> Org-mode version: 163bafb43dcc2bc94a2c7ccaa77d3d1dd488f1af
>>
>> Found a conflict between the documentation and the parser behavior. The 
>> org-mode documentation[1] for description list items says that TAG '[...] 
>> does not contain the substring " :: "'
>>
>> Using this sample document, I have created a plain list item with a tag that 
>> contains that substring by wrapping it in a verbatim block:
>> ```
>> - =foo :: bar= :: baz
>> ```
>>(item
>> ...
>> ((1 0 "- " nil nil "=foo :: bar=" 23))
>> ...
>> It seems that "TAG-TEXT" is not just text but it can include objects and 
>> those objects can include the substring " :: ".
>
> It is simpler.
> Everything after the bullet and before the last " :: " is considered as
> tag. Everything after the last " :: " is description.
> Then, tag and description are parsed, allowing objects inside.
>
> org-syntax document is inaccurate here - it says that the _first_ " :: "
> is used as tag:description delimiter, not the _last_.
>
> I do not see any benefit changing the current parser. So, we probably
> need to update org-syntax document instead.
>
> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at .
> Support Org development at ,
> or support my work at 



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jude DaShiell
fenrir-screenreader is installable with pip though you may need some
support getting it set up and configured.


-- Jude  "There are four boxes to be used in
defense of liberty: soap, ballot, jury, and ammo. Please use in that
order." Ed Howdershelt 1940.

On Mon, 11 Sep 2023, to...@tuxteam.de wrote:

> On Mon, Sep 11, 2023 at 08:06:34AM -0400, Jude DaShiell wrote:
> > fenrir-screenreader is also available.
> > https://nashcentral.duckdns.org/projects/Jenux
> > uses fenrir by default.
> > Klaus Knopper's public key I haven't been able to find and none of his
> > email addresses seem to be working any longer either for the ones I found.
>
> The knoppix signing keys seem to be around here:
>
>   http://ftp.knoppix.net/wiki/Downloading_FAQ
>
> > You have a chance of getting a good version of knoppix if you download
> > with a good bittorrent client and make sure your encryption required is
> > turned on and make sure of integrity checks.
>
> Look here:
>
>   http://knoppix.net/
>
> ...and consider buying a CD (yes, that's still a thing ;-) or a stick
> to support development.
>
> Cheers
>



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jude DaShiell
Why does this happen?

The gpg command given in the faq does not return what the faq claims will
be returned.
Look for the public key of Klaus Knopper:
bash: Look: command not found
bash-5.1$  gpg --keyserver pool.sks-keyservers.net --search-keys "Klaus
Knopper"
gpg: error searching keyserver: Server indicated a failure
gpg: keyserver search failed: Server indicated a failure
bash-5.1$
bash-5.1$


-- 
Jude 
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo.
Please use in that order."
Ed Howdershelt 1940.

On Mon, 11 Sep 2023, to...@tuxteam.de wrote:

> On Mon, Sep 11, 2023 at 08:06:34AM -0400, Jude DaShiell wrote:
> > fenrir-screenreader is also available.
> > https://nashcentral.duckdns.org/projects/Jenux
> > uses fenrir by default.
> > Klaus Knopper's public key I haven't been able to find and none of his
> > email addresses seem to be working any longer either for the ones I found.
>
> The knoppix signing keys seem to be around here:
>
>   http://ftp.knoppix.net/wiki/Downloading_FAQ
>
> > You have a chance of getting a good version of knoppix if you download
> > with a good bittorrent client and make sure your encryption required is
> > turned on and make sure of integrity checks.
>
> Look here:
>
>   http://knoppix.net/
>
> ...and consider buying a CD (yes, that's still a thing ;-) or a stick
> to support development.
>
> Cheers
>



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jens Lechtenboerger
Thank you for the additional pointers!  I still need to check out
promising combinations of those approaches, also options for MBROLA
(which is not free, but applies a custom AGPL-3.0-but-not-be-sold
license to the voices).  ADRIANE is certainly fascinating.

Best wishes
Jens

On 2023-09-11, briangpowell wrote:

> * eSpeak seems to focus on small footprints & a "format synthesis" method
>
> * Suggest using Festival with MBrola:
>
> https://www.cstr.ed.ac.uk/projects/festival/mbrola.html
>
> https://www.cstr.ed.ac.uk/projects/festival/
>
> and/or just install FestivalLite:
>
> apt-get install -f -y --force-yes flite
>
> * Note EmacSpeak {mentioned in another email} is written by OrgMode user &
> programmer TV Raman--not sure EmacSpeak will help you at all; but it might
> be interesting for you
>
> ** Klaus Knopper distributes some very interesting free software that
> includes an audio-desktop called ADRIANE that maybe you can look at--I'd
> love to hear what you find out if you do:
>
> https://www.knopper.net/knoppix-adriane/index-en.html
>
> ** Knopper invented the "run Linux entirely from a cdrom" craze--which
> still is very useful in many ways--suggest you give Knoppix & Adriane a look
>
> On Mon, Sep 11, 2023 at 4:02 AM Christian Thäter  wrote:
>
>> On Sun, 10 Sep 2023 16:39:26 +0200
>> Jens Lechtenboerger  wrote:
>>
>> > On 2023-09-10, Ihor Radchenko wrote:
>> >
>> > > Jens Lechtenboerger  writes:
>> > >
>> > >> does someone here produce audio via Text-To-Speech (TTS) from Org
>> > >> sources?  I plan to do that in the context of emacs-reveal to
>> > >> generate voice-over for reveal.js presentations, with open
>> > >> questions [1] concerning my initial, experimental approach.
>> > >
>> > > Emacspeak is a mature Emacs solution for TTS. However, it aims blind
>> > > users, not presentations. Still,
>> > > http://tvraman.github.io/emacspeak/manual/Quick-Installation.html
>> > > might be a good starting point for TTS options.
>> >
>> > Thank you for the suggestion.  With espeak this indeed pronounces
>> > numbers and abbreviations but its audio quality it not good enough
>> > for my purposes.  I am looking for (near-) human voices...
>>
>> using mbrola is probably as good as possible with free software:
>> https://en.wikipedia.org/wiki/MBROLA
>>
>> still not perfect, but much better than the builtin voices of espeak or
>> festival (YYMV).
>>
>> >
>> > Best wishes
>> > Jens
>> >
>>
>>
>>


smime.p7s
Description: S/MIME cryptographic signature


Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread tomas
On Mon, Sep 11, 2023 at 08:06:34AM -0400, Jude DaShiell wrote:
> fenrir-screenreader is also available.
> https://nashcentral.duckdns.org/projects/Jenux
> uses fenrir by default.
> Klaus Knopper's public key I haven't been able to find and none of his
> email addresses seem to be working any longer either for the ones I found.

The knoppix signing keys seem to be around here:

  http://ftp.knoppix.net/wiki/Downloading_FAQ

> You have a chance of getting a good version of knoppix if you download
> with a good bittorrent client and make sure your encryption required is
> turned on and make sure of integrity checks.

Look here:

  http://knoppix.net/

...and consider buying a CD (yes, that's still a thing ;-) or a stick
to support development.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jude DaShiell
espeak-ng is a fork of espeak and can use speechdispatcher.


-- 
Jude 
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo.
Please use in that order."
Ed Howdershelt 1940.

On Mon, 11 Sep 2023, briangpowell wrote:

> * eSpeak seems to focus on small footprints & a "format synthesis" method
>
> * Suggest using Festival with MBrola:
>
> https://www.cstr.ed.ac.uk/projects/festival/mbrola.html
>
> https://www.cstr.ed.ac.uk/projects/festival/
>
> and/or just install FestivalLite:
>
> apt-get install -f -y --force-yes flite
>
> * Note EmacSpeak {mentioned in another email} is written by OrgMode user &
> programmer TV Raman--not sure EmacSpeak will help you at all; but it might
> be interesting for you
>
> ** Klaus Knopper distributes some very interesting free software that
> includes an audio-desktop called ADRIANE that maybe you can look at--I'd
> love to hear what you find out if you do:
>
> https://www.knopper.net/knoppix-adriane/index-en.html
>
> ** Knopper invented the "run Linux entirely from a cdrom" craze--which
> still is very useful in many ways--suggest you give Knoppix & Adriane a look
>
> On Mon, Sep 11, 2023 at 4:02 AM Christian Thäter  wrote:
>
> > On Sun, 10 Sep 2023 16:39:26 +0200
> > Jens Lechtenboerger  wrote:
> >
> > > On 2023-09-10, Ihor Radchenko wrote:
> > >
> > > > Jens Lechtenboerger  writes:
> > > >
> > > >> does someone here produce audio via Text-To-Speech (TTS) from Org
> > > >> sources?  I plan to do that in the context of emacs-reveal to
> > > >> generate voice-over for reveal.js presentations, with open
> > > >> questions [1] concerning my initial, experimental approach.
> > > >
> > > > Emacspeak is a mature Emacs solution for TTS. However, it aims blind
> > > > users, not presentations. Still,
> > > > http://tvraman.github.io/emacspeak/manual/Quick-Installation.html
> > > > might be a good starting point for TTS options.
> > >
> > > Thank you for the suggestion.  With espeak this indeed pronounces
> > > numbers and abbreviations but its audio quality it not good enough
> > > for my purposes.  I am looking for (near-) human voices...
> >
> > using mbrola is probably as good as possible with free software:
> > https://en.wikipedia.org/wiki/MBROLA
> >
> > still not perfect, but much better than the builtin voices of espeak or
> > festival (YYMV).
> >
> > >
> > > Best wishes
> > > Jens
> > >
> >
> >
> >
>



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jude DaShiell
fenrir-screenreader is also available.
https://nashcentral.duckdns.org/projects/Jenux
uses fenrir by default.
Klaus Knopper's public key I haven't been able to find and none of his
email addresses seem to be working any longer either for the ones I found.
You have a chance of getting a good version of knoppix if you download
with a good bittorrent client and make sure your encryption required is
turned on and make sure of integrity checks.


-- 
Jude 
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo.
Please use in that order."
Ed Howdershelt 1940.

On Mon, 11 Sep 2023, briangpowell wrote:

> * eSpeak seems to focus on small footprints & a "format synthesis" method
>
> * Suggest using Festival with MBrola:
>
> https://www.cstr.ed.ac.uk/projects/festival/mbrola.html
>
> https://www.cstr.ed.ac.uk/projects/festival/
>
> and/or just install FestivalLite:
>
> apt-get install -f -y --force-yes flite
>
> * Note EmacSpeak {mentioned in another email} is written by OrgMode user &
> programmer TV Raman--not sure EmacSpeak will help you at all; but it might
> be interesting for you
>
> ** Klaus Knopper distributes some very interesting free software that
> includes an audio-desktop called ADRIANE that maybe you can look at--I'd
> love to hear what you find out if you do:
>
> https://www.knopper.net/knoppix-adriane/index-en.html
>
> ** Knopper invented the "run Linux entirely from a cdrom" craze--which
> still is very useful in many ways--suggest you give Knoppix & Adriane a look
>
> On Mon, Sep 11, 2023 at 4:02 AM Christian Thäter  wrote:
>
> > On Sun, 10 Sep 2023 16:39:26 +0200
> > Jens Lechtenboerger  wrote:
> >
> > > On 2023-09-10, Ihor Radchenko wrote:
> > >
> > > > Jens Lechtenboerger  writes:
> > > >
> > > >> does someone here produce audio via Text-To-Speech (TTS) from Org
> > > >> sources?  I plan to do that in the context of emacs-reveal to
> > > >> generate voice-over for reveal.js presentations, with open
> > > >> questions [1] concerning my initial, experimental approach.
> > > >
> > > > Emacspeak is a mature Emacs solution for TTS. However, it aims blind
> > > > users, not presentations. Still,
> > > > http://tvraman.github.io/emacspeak/manual/Quick-Installation.html
> > > > might be a good starting point for TTS options.
> > >
> > > Thank you for the suggestion.  With espeak this indeed pronounces
> > > numbers and abbreviations but its audio quality it not good enough
> > > for my purposes.  I am looking for (near-) human voices...
> >
> > using mbrola is probably as good as possible with free software:
> > https://en.wikipedia.org/wiki/MBROLA
> >
> > still not perfect, but much better than the builtin voices of espeak or
> > festival (YYMV).
> >
> > >
> > > Best wishes
> > > Jens
> > >
> >
> >
> >
>



Some Issues I Encountered While Developing Metanote

2023-09-11 Thread note meta
Dear org mode developers,

I'm the author of Metanote. A few days ago, I posted a thread on Reddit
with the title "Let's Talk About the Story of Metanote and Free Software."
https://www.reddit.com/r/emacs/comments/16db9gz/lets_talk_about_the_story_of_metanote_and_free/
You  can learn more about Metanote and me from there. In the replies to
that post, someone mentioned here, so here I am.

During the development of Metanote, I encountered some issues, as follows:
(Note that my testing environment is based on org mode 9.3.6, GNU Emacs
28.2. I haven't tested with the latest org mode, so I'm not sure if these
issues still exist.)

1. Dynamic Block Parsing Issue

   #+begin_example
#+begin
#+end:
   #+end_example

   The above is a Dynamic Block, and the parsed syntax tree is:

   (org-data nil (section (:begin 1 :end 17 :contents-begin 1 :contents-end
17 :post-blank 0 :post-affiliated 1 :parent #0) (dynamic-block (:begin 1
:end 17 :block-name nil :arguments nil :contents-begin nil :contents-end
nil :post-blank 0 :post-affiliated 1 :parent #1

   However, the following is not recognized as a Dynamic Block:

   #+begin_example
a
#+begin
#+end:
   #+end_example

   the parsed syntax tree is:

(org-data nil (section (:begin 1 :end 18 :contents-begin 1 :contents-end 18
:post-blank 0 :post-affiliated 1 :parent #0) (paragraph (:begin 1 :end 11
:contents-begin 1 :contents-end 11 :post-blank 0 :post-affiliated 1 :parent
#1)) (keyword (:key "END" :value "" :begin 11 :end 18 :post-blank 0
:post-affiliated 11 :parent #1

2. About Paragraph

   #+begin_example
+--+
+--+
+this is a paragraph+
+this is a paragraph+
   #+end_example

There should be only one paragraph above, but it's parsed as two:

(org-data nil (section (:begin 1 :end 55 :contents-begin 1 :contents-end 55
:post-blank 0 :post-affiliated 1 :parent #0) (paragraph (:begin 1 :end 6
:contents-begin 1 :contents-end 6 :post-blank 0 :post-affiliated 1 :parent
#1)) (paragraph (:begin 6 :end 55 :contents-begin 6 :contents-end 55
:post-blank 0 :post-affiliated 6 :parent #1

3. About Pre-blank

   The first blank line in a Greater Element is parsed as a paragraph.
However, this behavior is inconsistent in Items and Footnote definitions.
In Items and Footnote definitions, a blank line is parsed as a Pre-blank.
In Footnote definitions, especially, this blank line appears only once
because having more than one would break the Footnote definitions.

#+begin_example
[fn:a]

bbb
#+end_example

(org-data nil (section (:begin 1 :end 13 :contents-begin 1 :contents-end 13
:post-blank 0 :post-affiliated 1 :parent #0) (footnote-definition (:label
"a" :begin 1 :end 13 :contents-begin 9 :contents-end 13 :pre-blank 2
:post-blank 0 :post-affiliated 1 :parent #1) (paragraph (:begin 9 :end 13
:contents-begin 9 :contents-end 13 :post-blank 0 :post-affiliated 9 :parent
#2)


I'm a big fan of org mode. A few years ago, I couldn't find an app that
supported org mode on my phone, so I created one myself. I hope that
through my app, I can introduce org mode to more people, even those who are
not familiar with Emacs. I also hope to make some contributions to org mode.

Additionally, is it possible to include Metanote in the 'Tools that work
with Org' section at https://orgmode.org/tools.html ?  Metanote website is
https://metanote-dev.github.io/.

Best regards,
Zhen


Re: #2 [[bbb:OrgMeetup]] on Wed, Sep 13, 19:00 UTC+3

2023-09-11 Thread Corwin Brust
On Mon, Sep 11, 2023 at 3:39 AM Ihor Radchenko  wrote:
>
> Tshiung Han See  writes:
>
> > I would’ve liked to join, but that’s 1am (Malaysian time).
>
> Currently, the time is decided simply by my own availability.
> [snip]
> But someone needs to volunteer.
>

I can host US/Central evening hours, so any start-time from about 5pm
until about 10pm my time (10p-3a UTC), give we are talking exclusively
about "school nights" :)



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread briangpowell
* eSpeak seems to focus on small footprints & a "format synthesis" method

* Suggest using Festival with MBrola:

https://www.cstr.ed.ac.uk/projects/festival/mbrola.html

https://www.cstr.ed.ac.uk/projects/festival/

and/or just install FestivalLite:

apt-get install -f -y --force-yes flite

* Note EmacSpeak {mentioned in another email} is written by OrgMode user &
programmer TV Raman--not sure EmacSpeak will help you at all; but it might
be interesting for you

** Klaus Knopper distributes some very interesting free software that
includes an audio-desktop called ADRIANE that maybe you can look at--I'd
love to hear what you find out if you do:

https://www.knopper.net/knoppix-adriane/index-en.html

** Knopper invented the "run Linux entirely from a cdrom" craze--which
still is very useful in many ways--suggest you give Knoppix & Adriane a look

On Mon, Sep 11, 2023 at 4:02 AM Christian Thäter  wrote:

> On Sun, 10 Sep 2023 16:39:26 +0200
> Jens Lechtenboerger  wrote:
>
> > On 2023-09-10, Ihor Radchenko wrote:
> >
> > > Jens Lechtenboerger  writes:
> > >
> > >> does someone here produce audio via Text-To-Speech (TTS) from Org
> > >> sources?  I plan to do that in the context of emacs-reveal to
> > >> generate voice-over for reveal.js presentations, with open
> > >> questions [1] concerning my initial, experimental approach.
> > >
> > > Emacspeak is a mature Emacs solution for TTS. However, it aims blind
> > > users, not presentations. Still,
> > > http://tvraman.github.io/emacspeak/manual/Quick-Installation.html
> > > might be a good starting point for TTS options.
> >
> > Thank you for the suggestion.  With espeak this indeed pronounces
> > numbers and abbreviations but its audio quality it not good enough
> > for my purposes.  I am looking for (near-) human voices...
>
> using mbrola is probably as good as possible with free software:
> https://en.wikipedia.org/wiki/MBROLA
>
> still not perfect, but much better than the builtin voices of espeak or
> festival (YYMV).
>
> >
> > Best wishes
> > Jens
> >
>
>
>


Re: #2 [[bbb:OrgMeetup]] on Wed, Sep 13, 19:00 UTC+3

2023-09-11 Thread Ihor Radchenko
Tshiung Han See  writes:

> I would’ve liked to join, but that’s 1am (Malaysian time).
>
> Apologies if I missed out on the thread for setting my availability.

Currently, the time is decided simply by my own availability.
If someone can host the meetup and be regularly available for
Asia-Pacific time zone, we can have a second timing. For example, by
alternating the meetup times (one in EU time zone, one in Asia-Pacific).
But someone needs to volunteer.

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



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jens Lechtenboerger
On 2023-09-10, Christian Thäter wrote:

> On Sun, 10 Sep 2023 16:39:26 +0200
> Jens Lechtenboerger  wrote:
>
>> On 2023-09-10, Ihor Radchenko wrote:
>> 
>> > Jens Lechtenboerger  writes:
>> >  
>> >> does someone here produce audio via Text-To-Speech (TTS) from Org
>> >> sources?  I plan to do that in the context of emacs-reveal to
>> >> generate voice-over for reveal.js presentations, with open
>> >> questions [1] concerning my initial, experimental approach.  
>> >
>> > Emacspeak is a mature Emacs solution for TTS. However, it aims blind
>> > users, not presentations. Still,
>> > http://tvraman.github.io/emacspeak/manual/Quick-Installation.html
>> > might be a good starting point for TTS options.  
>> 
>> Thank you for the suggestion.  With espeak this indeed pronounces
>> numbers and abbreviations but its audio quality it not good enough
>> for my purposes.  I am looking for (near-) human voices...
>
> using mbrola is probably as good as possible with free software:
> https://en.wikipedia.org/wiki/MBROLA
>
> still not perfect, but much better than the builtin voices of espeak or
> festival (YYMV).

This sounds promising.  I’ll check it out.

Many thanks
Jens


smime.p7s
Description: S/MIME cryptographic signature


Re: [patch] Fixes and improvements in org-latex-language-alist

2023-09-11 Thread Ihor Radchenko
Juan Manuel Macías  writes:

> Ihor Radchenko writes:
>
>> For context, I plan to provide a global language-identifier alist that
>> will link human-readable language names to abbreviations like "de",
>> "de-de", etc. These abbreviations are not unique to LaTeX, but also used
>> elsewhere, so there is no guarantee that babel .ini files will always
>> use a consistent set of language abbreviations.
>
> Is the code you're working on in a public repository, to keep an eye
> on?

Not really. The story starts from the previous discussion of
translations in your French quote patch:
https://list.orgmode.org/orgmode/87pm3e6qx3.fsf@localhost/

I started writing it and realized that the current situation with all
the translations scattered all over the place (at least, ox libraries,
column view, and org-clock) is not ideal. So, I plan to factor out all
the translations into a separate file (say, org-translate). That file
will also define common interfaces to work with language codes and
translating phrases.

> As I mentioned in previous messages, that seems like a great improvement
> to me. I think it was not a happy decision at the time to use languages
> codes to declare the language of the document in Org. Language codes can
> be useful at a low level (although they can also lead to confusion), but
> I think that for a user level it is more practical to use human-readable
> names, as is done in babel or polyglossia, and in general, any user
> interface outside of LaTeX. Although babel also allows language codes as
> a value for some \babelprovide options (for example, I can define a new
> "virtual" language, importing the Greek captions:
> \babelprovide[captions=el]{mylanguage}).

That's very LaTeX-specific and will be limited to LaTeX export.
I do not see any problem since we have to support languages defined by
language code anyway, for backwards compatibility.

> In case it helps you, on page. 19 of the Babel manual there is an
> exhaustive list of all the languages codes, and on p. 22 a list of
> supported (human readable) language names for loading ini files. The
> language names of the old ldf files are on p. 49:
>
> https://CTAN/macros/latex/required/babel/base/babel.pdf

Thanks!

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



Should we move constants.el by Carsten Dominik to Org orphanage? (was: Erratum in "The Org Manual" 9.6)

2023-09-11 Thread Ihor Radchenko
Maske  writes:

> There are some links, that I am afraid don't work:
> ...
> ‘constants.el’ by Carsten Dominik [...] 
> http://www.astro.uva.nl/~dominik/Tools.
>
>
> # That link is dead. Maybe this would be the correct one: 
> https://staff.fnwi.uva.nl/c.dominik/#orgf869524

The source code at https://github.com/cdominik/constants-for-Emacs has
not been changed since the end of 2020, and I have last seen Carsten
being active on mailing lists at the beginning of 2021.

So, we may instead consider marking the package at
https://orgmode.org/worg/org-orphanage.html and maybe inside
https://sr.ht/~bzg/org/ project.

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



Re: Erratum in "The Org Manual" 9.6

2023-09-11 Thread Ihor Radchenko
Maske  writes:

> There are some links, that I am afraid don't work:
>
>
> 17.14.1 Packages that Org cooperates with
>
> ‘calc.el’ by Dave Gillespie
> [...] See Section “Embedded Mode” in calc.
>
> # that link doesn't work, it seems it tries to open the file calc.pdf

It works on my side, when opening from inside org-manual.org, from Info
manual page, and from https://orgmode.org/manual/Cooperation.html. May
you please provide more details?

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



Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Christian Thäter
On Sun, 10 Sep 2023 16:39:26 +0200
Jens Lechtenboerger  wrote:

> On 2023-09-10, Ihor Radchenko wrote:
> 
> > Jens Lechtenboerger  writes:
> >  
> >> does someone here produce audio via Text-To-Speech (TTS) from Org
> >> sources?  I plan to do that in the context of emacs-reveal to
> >> generate voice-over for reveal.js presentations, with open
> >> questions [1] concerning my initial, experimental approach.  
> >
> > Emacspeak is a mature Emacs solution for TTS. However, it aims blind
> > users, not presentations. Still,
> > http://tvraman.github.io/emacspeak/manual/Quick-Installation.html
> > might be a good starting point for TTS options.  
> 
> Thank you for the suggestion.  With espeak this indeed pronounces
> numbers and abbreviations but its audio quality it not good enough
> for my purposes.  I am looking for (near-) human voices...

using mbrola is probably as good as possible with free software:
https://en.wikipedia.org/wiki/MBROLA

still not perfect, but much better than the builtin voices of espeak or
festival (YYMV).

> 
> Best wishes
> Jens
> 




Re: #2 [[bbb:OrgMeetup]] on Wed, Sep 13, 19:00 UTC+3

2023-09-11 Thread Tshiung Han See
Hi Ihor,

I would’ve liked to join, but that’s 1am (Malaysian time).

Apologies if I missed out on the thread for setting my availability.

Han

Ihor Radchenko  writes:

> Dear all,
>
> The last meetup [1] turned out quite successful. Let’s continue.
>
> [1]  (meetup notes)
>
> URL: 
> Time & Date: <2023-09-13 Wed 19:00-21:00>
> The room will be open half an hour before the official start.
>
> During the meetup, we can:
>
> - Give advice to new users
> - Showcase Org configs or workflows
> - Demo/discuss interesting packages
> - Troubleshoot each-other’s issues
> - Discuss “Org mode” section of Emacs news ()
> - Discuss anything else Org-related
>
> Everyone is free to join the discussion/chat or lurk around silently,
> listening.
>
> We will _not_ do any recording by default.