Re: [SUMMARY] #3 [[bbb:OrgMeetup]] on Wed, Oct 11, 19:00 UTC+3

2023-10-17 Thread Eshel Yaron
Hello Ihor,

Ihor Radchenko  writes:

> - There was a demo demonstrating how to export texinfo manual to HTML
>   with source code examples fontified as in Org mode
>
>   - The motivation is limited Org support for manual authoring
> - ELPA, when generating manuals from Org sources, does not use the
>   latest Org version, with some features lacking.
> - While Org supports org to texi export, only a limited subset of
>   texinfo markup is supported, as Org is not specialized for
>   manuals and does not have a notion of specialized markup like
>   , , , etc
> - Also, Org does not yet support glossaries and indexes as well as
>   Texinfo does. Though see
>   https://github.com/tecosaur/org-glossary, which is an
>   experimental implementation by one of the Org contributors.
>
>   - One downside of texinfo is that code snippets are not colored
> - To solve this problem, https://github.com/hniksic/emacs-htmlize
>   and Org publishing are utilized
>   - The manual source is written in texi and then exported to html
> during publishing
>   - The generated HTML is further processed (via
> ~org-publish-after-publishing-hook~), taking the code in HTML,
> passing it through ~htmlize~ (just like what Org does in
> ~org-html-fontify-code~), and replacing the HTML code elements
> with property fontified versions.
>
> - Unfortunately, the code was only showed on screen and no link was
>   dropped to the chat. So, I am just leaving what I remember from
>   how the code works (above).

I presented that, sorry for not sharing a link.  You can find the code I
use for adding highlighting to Texinfo examples here:

http://git.eshelyaron.com/gitweb/?p=esy-publish.git;a=blob;f=esy-publish.el;h=cb103b78b7dd2f8d0f5260883b61bf651d0650f5;hb=HEAD#l394

Namely, the function `esy-publish-fontify-examples` takes the name of an
HTML-formatted Texinfo manual, and uses `htmlize` to markup the contents
of "example" blocks in that HTML file.

The result is very similar to the markup of source blocks in Org
documents.  For instance you can see some highlighted "examples" here:

https://eshelyaron.com/man/sweep/Numbered-Variables.html


Thank you for organizing this nice meetup!


Best,

Eshel



#3 [[bbb:OrgMeetup]] on Wed, Oct 11, 19:00 UTC+3

2023-10-05 Thread Ihor Radchenko
Dear all,

Another OrgMeetup will be scheduled on the second Wednesday of October,
next week.

Previous meetup notes:
https://list.orgmode.org/orgmode/878r97bzs4.fsf@localhost/

URL: https://bbb.emacsverse.org/b/iho-h7r-qg8-led
Time & Date: <2023-10-11 Wed 19:00-21:00 @+03,Europe/Istanbul>
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 (https://sachachua.com/blog/)
- 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.

In addition, feel free to propose topics to discuss in the replies. We
can select a couple of topics and discuss them at the beginning of the
meetup, followed by the usual flow with topics appearing in the process.

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