Re: [NTG-context] ConTeXt features in pandoc 3

2023-01-23 Thread Saša Janiška via ntg-context
On Mon, 23 Jan 2023 08:22:46 +0100
juh via ntg-context  wrote:

> At work at my cooperative Hostsharing eG we use the way Markdown -->
> Pandoc --> ConTeXt and we are quite happy with the results. Sadly I
> don't have time to document it in full up to now.

OK. thanks.

> For my own writing I was using Markdown --> Pandoc --> ConTeXt for
> quite a while and was happy with it, too. Recently I switched to
> Org-Mode as I started to use org-roam to organize my Zettelkasten and
> want to make use of the org-mode TODO workflow states to organize the
> writing process. I use org-pandoc to export from org-mode/emacs to
> context. 

Interesting. I'm also into Zettelaksten, but consider to just use index cards. 
:-)

> I can also use ox-context but I have difficulties to
> customize it to my needs. 

I see...

> The main problem is that both org-pandoc and ox-context are developed
> by very few people. My lisp knowledge is very limited so I have to
> stick with what is there.

Here I am with you. ;)

> 
> Having a solid pipe from the first ideas to the print pdf would be
> nice. For now I would say that the exports from org-mode are the weak
> element in the chain. But if they fail I can export to Markdown and
> do the last steps via Markdown --> Pandoc.

Consdidering that either way, iow. both for Markdown or org-mode, I bet that 
some work is to be done on the exported markup before producing PDF, I wonder 
if you write/tweak ConTeXt markup in Emacs?

For that purpose I also played a bit with digestif...

> That said I have to confess that I do more sophisticated layout things
> like flyers in pure ConTeXt as it is much faster.  

I can imagine, but I've a long way before mastering ConTeXt...still I'm 
confident that for producing a book it is better option than fiddling with 
LaTex - I did two books long ago using it along with LyX - but for preparing 
the content, it could be easier to do it using markdown/org-mode.


Sincerely,
Saša

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] ConTeXt features in pandoc 3

2023-01-22 Thread Saša Janiška via ntg-context
On Fri, 20 Jan 2023 22:00:31 +0100
Albert Krewinkel via ntg-context  wrote:

> Hello,

> a new version of pandoc, the universal document converter, was
> released two days ago; pandoc 3 comes with new ConTeXt-related
> features on which we've spend a good bit of time:

I'll probably start to work on a book soon and would like to typeset it using 
ConTeXt, but wonder which markup to use as a source in a Markdown (via Pandoc) 
--> ConTeXt or possibly org-mode (via Pandoc) --> ConTeXt?

Anyone has some serious experience with org-mode (via ox-context) --> ConTeXt?

In the past I was told that ConTeXt suppor in Pandoc is not so great, so wonder 
how is it today?


Sincerely,
Saša

-- 
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-09 Thread Saša Janiška via ntg-context
On Tue, 8 Nov 2022 22:20:10 +0800
Ramkumar KB via ntg-context  wrote:

> Hello All,
> 
> I have published the new VSCode Extension for ConTeXt, that I
> presented during the 2022 ConTeXt meeting -
> 
> https://wiki.contextgarden.net/VSCode  

Any plan to make it work with other editors which do support LSP?


Sincerely,
Saša

-- 
In this endeavor there is no loss or diminution,
and a little advancement on this path can protect
one from the most dangerous type of fear.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-09 Thread Saša Janiška via ntg-context
On Tue, 8 Nov 2022 22:20:10 +0800
Ramkumar KB via ntg-context  wrote:

> Hello All,
> 
> I have published the new VSCode Extension for ConTeXt, that I
> presented during the 2022 ConTeXt meeting -
> 
> https://wiki.contextgarden.net/VSCode

Any plan to make it work with other editors which do support LSP?


Sincerely,
Saša

-- 
In this endeavor there is no loss or diminution,
and a little advancement on this path can protect
one from the most dangerous type of fear.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] ConTeXt support in LTEX

2021-11-29 Thread Saša Janiška via ntg-context
On Mon, Nov 29, 2021 at 10:02:34AM +0100, Saša Janiška via ntg-context wrote:

> didn't have time to (properly) test, but you might be interested to hear
> that since 15.2.0 release - hot from the owen - there is now support for
> ConTeXt as well.

I apologize for forgetting to include any link:

https://valentjn.github.io/ltex/

https://github.com/valentjn/ltex-ls/issues/120

> Sincerely,
> Gour

-- 
What is night for all beings is the time of awakening
for the self-controlled; and the time of awakening for
all beings is night for the introspective sage.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] ConTeXt support in LTEX

2021-11-29 Thread Saša Janiška via ntg-context
Hello,

didn't have time to (properly) test, but you might be interested to hear
that since 15.2.0 release - hot from the owen - there is now support for
ConTeXt as well.


Sincerely,
Gour

-- 
Bewildered by the modes of material nature, the ignorant fully
engage themselves in material activities and become attached. But
the wise should not unsettle them, although these duties are inferior
due to the performers' lack of knowledge.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (neo)vim support & Lua

2021-09-09 Thread Saša Janiška via ntg-context
Hello,

some months ago there was a 0.5 release (https://neovim.io/news/2021/07) of
Neovim which brings support for Lua language to a new level - "Lua as a
first-class scripting and configuration language". Moreover, Neovim now it also
has built-in LSP client...so, I wonder if there is some work planned to improve
Vim support for ConTeXt by taking advantage of those new development related to
Neovim?


Sincerely,
Gour

-- 
Just try to learn the truth by approaching a spiritual master.
Inquire from him submissively and render service unto him.
The self-realized souls can impart knowledge unto you because
they have seen the truth.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Org-Mode for ConTeXt

2021-01-10 Thread Saša Janiška
On Sun, 10 Jan 2021 20:27:57 +0100
"Jan U. Hasecke"  wrote:

> Is anybody aware of a ConTeXt export tool for Org-Mode?

Via Pandoc, maybe?

Sincerely,
Gour

-- 
Not by merely abstaining from work can one achieve freedom
from reaction, nor by renunciation alone can one attain perfection.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Saša Janiška
On Sun, 3 Jan 2021 10:45:00 +0100
Joaquín Ataz López  wrote:

Hiya Joaquín,

> It is precisely the members of this list who need no introduction at 
> all, but it can sometimes be useful to help someone get started with
> the fascinating typesetting system that is ConTeXt.

Well, I'm the one who (desperately) need it and I'm delighted. :-D

Thanks a lot for providing such a wonderful "introduction" popularizing 
ConTeXt!!


Sincerely,
Gour


-- 
Just try to learn the truth by approaching a spiritual master.
Inquire from him submissively and render service unto him.
The self-realized souls can impart knowledge unto you because
they have seen the truth.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Text editor support via Digestif

2021-01-03 Thread Saša Janiška
On Sat, 2 Jan 2021 19:58:06 +0100
Augusto Stoffel  wrote:

> I have only tested it with TeXLive. But if lmtx provides a lua
> interpreter with kpathsea bindings, like the usual texlua, then it
> will surely work. 

OK.

> If that's not the case and you installed lmtx in a
> nonstandard location, 

I've installed it into ~/opt/lmtx and context-en.xml is at

opt/lmtx/tex/texmf-context/tex/context/interface/mkiv/context-en.xml

> you will need to set an environment variable to
> specify the location of the interface XML files.

Which variable should be set?


Sincerely,
Gour

-- 
The senses, the mind and the intelligence are the sitting places
of this lust. Through them lust covers the real knowledge of the
living entity and bewilders him.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Text editor support via Digestif

2021-01-02 Thread Saša Janiška
On Thu, 31 Dec 2020 10:25:20 +0100
Augusto Stoffel  wrote:

Hiya Augusto,

> I have worked a bit on ConTeXt support in the Digestif language server
> [1], and I think it's pretty usable by this point, so I would like to
> invite everyone to check it out. Feedback is welcome.

Thanks a lot for your work on digestif and improving ConTeX support!

> Digestif plugs into any editor that support the Language Server
> Protocol

I'd probably like to use it with SublimeText which I favour over VScode...

> Another nice thing is that Digestif is a Lua program, and can run on
> the LuaTeX interpreter with no extra dependencies. On the other hand,
> I didn't get the change to test it on Windows or editors other than
> Emacs, although both things should work with minimal adjustments. Let
> me know if you have any issues.

I'd have to revive ST's package which provides support for ConTeXt syntax and
now trying it with vim/coc, but wonder whether you're using TeXLive or lmtx? 

I'm trying with the latter on Debian (Sid)...


Sincerely,
Gour

-- 
One who works in devotion, who is a pure soul, and who controls
his mind and senses is dear to everyone, and everyone is dear to
him. Though always working, such a man is never entangled.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] [solved] Re: fatal error: return code: 256

2021-01-02 Thread Saša Janiška
On Fri, 1 Jan 2021 12:42:04 +0100
Saša Janiška  wrote:

> runtime error : input file './t.tex' is not found, quitting

Ahh..blindness. :-(

Did not realize that I rm-ed (by mistake) source file...


Sincerely,
Gour

-- 
Everyone is forced to act helplessly according to the qualities
he has acquired from the modes of material nature; therefore no
one can refrain from doing something, not even for a moment.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] fatal error: return code: 256

2021-01-01 Thread Saša Janiška
Hello,

tried to install lmtx (Debian Sid) from scratch, did:


* wipe the texmf-cache directory
* mtx-install |   - run: mtxrun --generate
* mtx-install |   - run: context --make

but still getting:

[...]
languages   > language 'en' is active
runtime error : input file './t.tex' is not found, quitting
mtx-context | fatal error: return code: 256


Any hint?


Sincerely,
Gour

-- 
Just try to learn the truth by approaching a spiritual master.
Inquire from him submissively and render service unto him.
The self-realized souls can impart knowledge unto you because
they have seen the truth.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing VSCode extension?

2020-12-17 Thread Saša Janiška
On Thu, 17 Dec 2020 07:51:34 +0100
Mikael Sundqvist  wrote:

> To set the color theme, click the blue button "Set color theme".

So, this is the only thing which can be configured?


Sincerely,
Gour

-- 
Everyone is forced to act helplessly according to the qualities
he has acquired from the modes of material nature; therefore no
one can refrain from doing something, not even for a moment.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing VSCode extension?

2020-12-16 Thread Saša Janiška
On Tue, 4 Aug 2020 14:38:05 +0200
Mikael Sundqvist  wrote:

> To make a symlink worked well here, in the sense that I got a context
> extension in vs code, and when opening a context file it was
> recognized as such.   

I was able to install vscode extension by symlinking...

> I could go into the extension settings and enable
> color syntax. Questions:  

How to do that? 

I do not see such setting - see attached screenshot.

> 1) Is there a way to get autocompletion on all context commands (not
> only the ones I have in the document)? If so, how?  

I've the same question?

> I'm on linux and with the latest standalone (lmtx if that matters).  

Same here.

I also wonder about snippets, are there some?

To write markdown, I can get great support with *any* editor - Emacs,
Vim, Oni2, ST3(4) and same is true for PHP/HTML/CSS coding which I plan
to do, but ConTeXt support and LSP features are not so great in
comparison while I'd not like being forced to change (ConTeXt) markup
due to editor-related issues. 

Anyone?


Sincerely,
Gour

-- 
Even the intelligent are bewildered in determining what is action
and what is inaction. Now I shall explain to you what action is,
knowing which you shall be liberated from all misfortune.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installing VSCode extension?

2020-12-02 Thread Saša Janiška
On Wed, 5 Aug 2020 22:07:53 +0200
Mikael Sundqvist  wrote:

> * Since January, the editor supports a global tasks.json file (if I
> understood
> https://stackoverflow.com/questions/41046494/making-global-tasks-in-vs-code
> correctly).

Are those extensions only for VSCode or they should work with other
clients/editors (Emacs, Vim, ST) all of which have LSP support?


Sincerely,
Gour

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Beamer --> ConTeXt (sample)

2020-10-11 Thread Saša Janiška
On Fri, Oct 09, 2020 at 04:01:39PM -0400, Aditya Mahajan wrote:

> Agreed. I find that all beamer presentations look the same and it can 
> be difficult to change the look and feel of beamer presentations.

Indeed.

> A presentation is just a regular document with small margins and some 
> color :-)

:-)

> Here is an old blog post on how to get to a decent presentation layout 
> step-by-step. 
> 
> https://adityam.github.io/context-blog/post/presentation-40-commits-redux/

Wow! This is very useful, thanks a lot!!

> I also extensively use layers for absolute placement of content, which 
> is more powerful than the simple two columns which beamer provides. 

Thank youm will study them...


Sincerely,
Gour

-- 
The senses are so strong and impetuous, O Arjuna,
that they forcibly carry away the mind even of a man
of discrimination who is endeavoring to control them.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Beamer --> ConTeXt (sample)

2020-10-11 Thread Saša Janiška
On Fri, Oct 09, 2020 at 07:57:56PM +0200, Henning Hraban Ramm wrote:

> If you need columns, look into columnsets: 
> https://wiki.contextgarden.net/Columns#Column_Sets
> 
> Read https://wiki.contextgarden.net/Layers and play around with layers.
> (But your example doesn’t need layers at all.)
> 
> Here’s an example of the drop shadow:
> https://wiki.contextgarden.net/Drop_shadows
> 
> Also, there’s a number of presentation styles in the distribution.
> The wiki page https://wiki.contextgarden.net/Presentation_Styles is outdated 
> but might give you some hints.
> Feel free to update it.

Thank you very much for all the links as well as for download link (from 
another msg)!!


Sincerely,
Gour

-- 
One must deliver himself with the help of his mind, and not
degrade himself. The mind is the friend of the conditioned soul,
and his enemy as well.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Beamer --> ConTeXt (sample)

2020-10-09 Thread Saša Janiška

Hello,

recently I ha dto quickly put together few presentations for online 
meetings and not knowing better (aka quicker) way, I took/installed LyX 
on my Fedora machine. The process is not so smooth and end result is OK 
if we forgive ourselves that all Beamer presentations are looking almost 
the same.


However, I'm not into diving deep into Beamer package studying/learning 
it more thoroughly  anticipating that soon I'd have to do the same thing 
with some other package. :-)


Otoh, ConTeXt is a different league and learning it will pay for itself 
in the long run.


However, in order to be at least somewhat productive, I need some help 
so I can have some starter and not postponing learning ConTeXt ad 
infinitum, so I'm attaching small Beamer sample and wonder if someone 
can help by providing somewhat similar thing for ConText? (no need for 
all the graphic - I'm more concerned with proper overlays and having 
content in more than single column).



Sincerely,
Gour


--
A self-realized man has no purpose to fulfill in the discharge
of his prescribed duties, nor has he any reason not to perform
such work. Nor has he any need to depend on any other living being.


beamer.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] LSP support

2020-06-27 Thread Saša Janiška
Hello,

yesterday while exploring features/plugins of Kakoune (https://kakoune.org/)
editor I, naturally, asked about ConTeXt/LaTeX support and was told about
TexLab project (https://github.com/latex-lsp/texlab) bringing LSP
(https://microsoft.github.io/language-server-protocol/) support for LaTeX.
Interestingly enough, by browsing through the tickets I've found the following
issue: "ConTeXt support" (https://github.com/latex-lsp/texlab/issues/166) where
one of the, afaict, main devs of the project replied with:

"ConTeXt support is definitely in scope of this project.
Our LaTeX parser does not rely on LaTeX specifics
but a lot of the features like code completion rely on LaTeX specifics.
Nevertheless, supporting ConTeXt is a lot of effort at the moment
as I have never used ConTeXt before.
Supporting the project structure of ConTeXt would probably be the first
step. "

Of course, I'm glad that TexLab project does provide LSP support and bringing
it to the Kakoune editor as well, but I'm sure that many of you know
that bringing ConTeXt support to TexLab would benefit users of **many**
other editors since these today many most popular editors (Atom, Emacs,
SublimeText, (neo)Vimn, VScode...) are having support for LSP.

Unfortuantely, I'm ConTeXt noob and not speaking Rust, but just want to bring
the information if there are people familiar with both about potential benefit
for ConTeXt to get LSP support.


Sincerely,
Saša

-- 
One who is not disturbed in mind even amidst the threefold
miseries or elated when there is happiness, and who is free
from attachment, fear and anger, is called a sage of steady mind.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] status of t-rst

2020-06-01 Thread Saša Janiška
On Mon, 1 Jun 2020 09:13:35 +0200
Wolfgang Schuster  wrote:

> There is a newer version on gitlab:
> https://gitlab.com/phgsng/context-rst

Thank you! Found it, cloned the repo...now I wonder how does installing
3rd party modules
(https://wiki.contextgarden.net/ConTeXt_Standalone#Installing_third_party_modules)
does work with LMTX?


Sincerely,
Gour

-- 
One must deliver himself with the help of his mind, and not
degrade himself. The mind is the friend of the conditioned soul,
and his enemy as well.

-- 
The senses, the mind and the intelligence are the sitting places
of this lust. Through them lust covers the real knowledge of the
living entity and bewilders him.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] status of t-rst

2020-05-31 Thread Saša Janiška
Hello,

yesterday when browsing new ConTeXt site (yay!!) I found about the existance of
't-rst' to be used for typesetting files written in reST markup. However the
referenced web site (https://bitbucket.org/phg/context-rst/src/default/) shows
last activity 6yrs ago, so wonder if it is still relevent today or obsolete?

The static-site-generator (Nikola) which I use for web stuff has good support
for rst markup, so just wonder(ed) if I could continue using it for short stuff
which *might* become typeset with ConTeXt one day? 

Nikola does support using Markdown markup as well and it's usually possible to
do rst --> md by e.g. using Markdown, but just wonder... 


Sincerely,
Gour

-- 
He who is satisfied with gain which comes of its own accord, who
is free from duality and does not envy, who is steady in both
success and failure, is never entangled, although performing actions.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Saša Janiška
On Tue, 28 Apr 2020 08:32:57 +0200
"Jan U. Hasecke"  wrote:

> 3. Being a writer I think that Markdown --> ConTeXt is the best way to
> achieve what I want: easy writing and professional looking books. 

I've the same opinion!

> Up to now I used Pablos way via pandoc and XHTML described here:
> http://www.from-pandoc-to-context.tk/

What do you use now?

> The problem with pandoc is that it does not generate a perfect ConTeXt
> source to build the file as some things are missing.

You mean Pablos pandoc --> from-pandoc-to-context or

direct pandoc --> ConTeXt export ?


Sincerely,
Gour

-- 
As a lamp in a windless place does not waver, so the transcendentalist,
whose mind is controlled, remains always steady in his meditation on the
transcendent self.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OBORONA-SPAM] Re: lmtx & lohit-devanagari fonts

2020-04-22 Thread Saša Janiška
On Wed, 22 Apr 2020 16:01:16 +0800
Vladimir Lomov  wrote:

> Do you understand well how your shell work? If you do, it is Ok

Actually, the problem was that OSFONTDIR is like a $PATH variable, so I reset 
it as:

set -g -x OSFONTDIR "/home/gour/.local/share/fonts:/usr/share/fonts"

> but otherwise why do you use such unusual shell? Why not bash or zsh?

Because it's Friendly Interactive SHell requring minimum setup and providing
almost the same features as e.g. zsh, even more. Take a look:
https://fishshell.com/

> As you see, its value is semicolon separated paths.

Yes, that was my mistake. :-(

> You have a problem here (aside from broken formatting). The 'mtxrun'
> didn't find necessary files, take a look on last part of output.

Clash with texlive's luatex engine installed before...

Thank you for taking time. ;)


Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-22 Thread Saša Janiška
On Wed, 22 Apr 2020 08:10:10 +0200
Henning Hraban Ramm  wrote:

> > OSFONTDIR=/home/gour/.fonts/ /usr/share/fonts/  
> 
> Can you spot the difference?

Ahh, you are right!

> I don’t know about fish, but I guess even there a space is not a
> valid path separator.

Well, fish shell works a bit differently, but in this case problem is that
OSFONTDIR is a variable like PATH...

Otherwise:

$ set TEST a b c# define TEST envvar as array

$ echo $TEST
a b c

$ echo $TEST[2] # access 2nd member from the array
b

$ set -e TEST[2]# remove 2nd member from the array

$ echo $TEST
a c

> BTW: For me on MacOS Mojave, installing in texmf-fonts is unreliable, while
> installing in one of the OSFONTDIRs works.

My problem was that I had luatex engine installed from before and didn't
install required (regular) fonts, so after installing google-noto-sans-fonts
package everything is fine now. :-)

Thanks everyone for all your help!


Sincerely,
Gour

-- 
Bewildered by the modes of material nature, the ignorant fully
engage themselves in material activities and become attached. But
the wise should not unsettle them, although these duties are inferior
due to the performers' lack of knowledge.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
On Tue, 21 Apr 2020 23:07:48 +0200
Pablo Rodriguez  wrote:

Hello Pablo,

thank you for your assistance!

> This works for me with LMTX in Fedora.
> 
> Add to ~/.bashrc "export OSFONTDIR=~/.fonts/:/usr/share/fonts/" (log
> out and log in) 

I'm using fish shell, but here is my env:

$ env | grep OSFONTDIR
OSFONTDIR=/home/gour/.fonts/ /usr/share/fonts/

Now I changed local one to ~/.local/share/fonts, but it is empty and my
fonts are in:

$ fc-cache -v | grep google-noto
/usr/share/fonts/google-noto
/usr/share/fonts/google-noto-cjk
/usr/share/fonts/google-noto-emoji
/usr/share/fonts/google-noto-vf
/usr/share/fonts/google-noto: skipping, existing cache is valid: 76
fonts, 0 dirs /usr/share/fonts/google-noto-cjk: skipping, existing
cache is valid: 45 fonts, 0 dirs /usr/share/fonts/google-noto-emoji:
skipping, existing cache is valid: 1 fonts, 0 dirs
/usr/share/fonts/google-noto-vf: skipping, existing cache is valid: 146
fonts, 0 dirs /usr/share/fonts/google-noto: skipping, looped directory
detected /usr/share/fonts/google-noto-cjk: skipping, looped directory
detected /usr/share/fonts/google-noto-emoji: skipping, looped directory
detected /usr/share/fonts/google-noto-vf: skipping, looped directory
detected /usr/share/fonts/google-noto /usr/share/fonts/google-noto-cjk
/usr/share/fonts/google-noto-emoji
/usr/share/fonts/google-noto-vf
/usr/share/fonts/google-noto: skipping, existing cache is valid: 76
fonts, 0 dirs /usr/share/fonts/google-noto-cjk: skipping, existing
cache is valid: 45 fonts, 0 dirs /usr/share/fonts/google-noto-emoji:
skipping, existing cache is valid: 1 fonts, 0 dirs
/usr/share/fonts/google-noto-vf: skipping, existing cache is valid: 146
fonts, 0 dirs /usr/share/fonts/google-noto: skipping, looped directory
detected /usr/share/fonts/google-noto-cjk: skipping, looped directory
detected /usr/share/fonts/google-noto-emoji: skipping, looped directory
detected /usr/share/fonts/google-noto-vf: skipping, looped directory
detected

> and repeat the three other steps from my previous
> message.

Here they are:

> 1. Remove "/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/".

$ rm -rf /home/gour/opt/lmtx/tex/texmf-cache/luatex-cache

> 2. Run "mtxrun --generate".

$ mtxrun --generate
resolvers   | resolving | variable 'SELFAUTOLOC' set to
'/home/gour/opt/lmtx/bin' resolvers   | resolving | variable
'SELFAUTODIR' set to '/home/gour/opt/lmtx' resolvers   | resolving
| variable 'SELFAUTOPARENT' set to '/home/gour/opt' resolvers   |
resolving | variable 'TEXMFCNF' set to '' resolvers   | resolving |
variable 'TEXMF' set to '' resolvers   | resolving | variable
'TEXOS' set to 'lmtx' resolvers   | resolving |
resolvers   | resolving | using configuration specification
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving | resolvers   | resolving | looking for
regular 'texmfcnf.lua' on given path '/home/gour/texmf/web2c' from
specification 'home:texmf/web2c' resolvers   | resolving | looking
for regular 'texmfcnf.lua' on given path
'/home/gour/opt/texmf-local/web2c' from specification
'selfautoparent:/texmf-local/web2c' resolvers   | resolving |
looking for regular 'texmfcnf.lua' on given path
'/home/gour/opt/texmf-context/web2c' from specification
'selfautoparent:/texmf-context/web2c' resolvers   | resolving |
looking for regular 'texmfcnf.lua' on given path
'/home/gour/opt/texmf-dist/web2c' from specification
'selfautoparent:/texmf-dist/web2c' resolvers   | resolving |
looking for regular 'texmfcnf.lua' on given path
'/home/gour/opt/texmf/web2c' from specification
'selfautoparent:/texmf/web2c' resolvers   | resolving | looking for
fallback 'contextcnf.lua' on given path '/home/gour/texmf/web2c' from
specification 'home:texmf/web2c' resolvers   | resolving | looking
for fallback 'contextcnf.lua' on given path
'/home/gour/opt/texmf-local/web2c' from specification
'selfautoparent:/texmf-local/web2c' resolvers   | resolving |
looking for fallback 'contextcnf.lua' on given path
'/home/gour/opt/texmf-context/web2c' from specification
'selfautoparent:/texmf-context/web2c' resolvers   | resolving |
looking for fallback 'contextcnf.lua' on given path
'/home/gour/opt/texmf-dist/web2c' from specification
'selfautoparent:/texmf-dist/web2c' resolvers   | resolving |
looking for fallback 'contextcnf.lua' on given path
'/home/gour/opt/texmf/web2c' from specification
'selfautoparent:/texmf/web2c' resolvers   | resolving | resolvers
| resolving | warning: no lua configuration files found resolvers
| resolving | no texmf paths are defined (using TEXMF) resolvers
   | resolving | mtxrun  | mtxrun  | elapsed lua time:
0.019 seconds

and I notice that after that 

/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/ is empty?

My $PATH is:

$ env | grep PATH
PATH=

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
On Tue, 21 Apr 2020 18:27:22 +0200
Wolfgang Schuster  wrote:

> ConTeXt doesn't use system fonts on Linux by default but you have to set them
> yourself, the following should also work on Fedora

Thank you. Is there some documented procedure which does work with LMTX?


Sincerely,
Gour

-- 
He who is satisfied with gain which comes of its own accord, who
is free from duality and does not envy, who is steady in both
success and failure, is never entangled, although performing actions.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
On Tue, 21 Apr 2020 17:58:05 +0200
Pablo Rodriguez  wrote:

> The easiest way to achieve that is:
> 
> 1. Remove "/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/".
> 2. Run "mtxrun --generate".
> 3. Run "context t.tex"
> 
> Now the glyphs should be there.

That didn't work either - same symptom as before. :-(


Sincerely,
Gour

-- 
Even if you are considered to be the most sinful of all sinners,
when you are situated in the boat of transcendental knowledge
you will be able to cross over the ocean of miseries.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
On Tue, 21 Apr 2020 15:32:24 +0200
Wolfgang Schuster  wrote:

Hello Wolfgang,

thank you very much for prompt reply!

> You have to set a font which has the required glyphs but you can also 
> use different fonts for both scripts and combine them.

I understand that the font was not set... tried with your example...


> \definefallbackfamily [mainface] [ss] [Noto Sans Devanagari]
>[range={devanagari,devanagariextended},
> features=devanagari-two]
> 
> \definefontfamily [mainface] [ss] [Noto Sans]
> 
> \setupbodyfont[mainface]
> 
> \starttext
> 
> ध्यायतो विषयान्पुंसः सङ्गस्तेषूपजायते ।
> सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजायते ॥ ६२ ॥
> 
> dhyāyato viṣayān puṁsaḥ
> saṅgas teṣūpajāyate
> saṅgāt sañjāyate kāmaḥ
> kāmāt krodho ’bhijāyate
> 
> \stoptext

...but although I've installed all the google-noto-serif-devanagari-fonts
available for Fedora,  it still does not work:

$ context t.tex

resolvers   | formats | executing runner 'run luametatex format': 
/home/gour/opt/lmtx/tex/texmf-linux-64/bin/luametatex --jobname="t" 
--fmt=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
 
--lua=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
 cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" 
--c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/gour/opt/lmtx/tex/texmf-linux-64/bin"
This is LuaMetaTeX, Version 2.05.02 
open source > level 1, order 1, name 'cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2020.04.19 19:43 MKIV beta  fmt: 2020.4.21  
int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 't', input './t', result 't'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './t.tex'
selectfont  > the requested fallback font 'Noto Sans Devanagari' for 
typeface 'mainface' style 'ss' was ignored because no files where found.
selectfont  > the requested font 'Noto Sans' has no files for the 'tf' 
alternative, Latin Modern is used instead.
fonts   > preloading modern-designsize (math)
fonts   > typescripts > unknown library 'modern-designsize'
fonts   > 'fallback modern-designsize mm 12pt' is loaded
fonts   > preloading modern-designsize (mono)
fonts   > 'fallback modern-designsize tt 12pt' is loaded
fonts   > checking > char ध (U+00927) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ् (U+0094D) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char य (U+0092F) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ा (U+0093E) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char त (U+00924) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ो (U+0094B) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char व (U+00935) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ि (U+0093F) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ष (U+00937) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char न (U+00928) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char प (U+0092A) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ु (U+00941) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ं (U+00902) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char स (U+00938) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ः (U+00903) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ङ (U+00919) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ग (U+00917) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char े (U+00947) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ू (U+00942) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ज (U+0091C) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char । (U+00964) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char ञ (U+0091E) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checking > char क (U+00915) in font 'LMSans10-Regular' with 
id 1: missing
fonts   > checkin

[NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
Hello!

I'm working on a small presentation for an upcoming video meeting and started
writing some points in Markdown. After using Pandoc to convert I noticed that
*.pptx file does contain everything, but if I try with ConTexT, then Devanagi
and some diacritics are missing.

By inspecting *.pdf file produced by: Pandoc --> PPTX --> LibreOffice --> PDF

I can see that Lohit-Devanagari font is used for Sanskrit and I have it
installed on my Fedora (fc32) desktop machine.

Here is the test file:

\starttext
ध्यायतो विषयान्पुंसः सङ्गस्तेषूपजायते ।
सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजायते ॥ ६२ ॥

dhyāyato viṣayān puṁsaḥ
saṅgas teṣūpajāyate
saṅgāt sañjāyate kāmaḥ
kāmāt krodho ’bhijāyate

Translation: ``While contemplating the objects of the senses, a person
develops attachment for them, and from such attachment lust develops,
and from lust anger arises.''

\stoptext

which I would like to quote - I am somewhat familiar with latin transliteration
via diacritics, but completely ignorant in regard to Devanagari - but wonder
what is required to make ConText (lmtx) typeset it?

Here is the log file:

$ context t.tex

resolvers   | formats | executing runner 'run luametatex format': 
/home/gour/opt/lmtx/tex/texmf-linux-64/bin/luametatex --jobname="t" 
--fmt=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
 
--lua=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
 cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" 
--c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/gour/opt/lmtx/tex/texmf-linux-64/bin"
This is LuaMetaTeX, Version 2.05.02 
open source > level 1, order 1, name 'cont-yes.mkiv'
system  > 
system  > ConTeXt  ver: 2020.04.19 19:43 MKIV beta  fmt: 2020.4.21  
int: english/english
system  > 
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 't', input './t', result 't'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name './t.tex'
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
fonts   > checking > char ध (U+00927) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ् (U+0094D) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char य (U+0092F) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ा (U+0093E) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char त (U+00924) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ो (U+0094B) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char व (U+00935) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ि (U+0093F) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ष (U+00937) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char न (U+00928) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char प (U+0092A) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ु (U+00941) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ं (U+00902) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char स (U+00938) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ः (U+00903) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ङ (U+00919) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ग (U+00917) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char े (U+00947) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ू (U+00942) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ज (U+0091C) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char । (U+00964) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ञ (U+0091E) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char क (U+00915) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char म (U+0092E) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char र (U+00930) in font 'LMRoman12-Regular' with 
id 1: missing
fonts   > checking > char ऽ (U+009

Re: [NTG-context] Fonts/Layouts in ConTeXt books

2020-01-25 Thread Saša Janiška
On Fri, 24 Jan 2020 16:31:08 +0100
Hans Hagen  wrote:

> There are plenty of free font but here are my commercial favourites:

> - lucida (very cheap via tug.org and a full set with math)

I do not have need for the math, do you still recommend them?

>- optima nova(quite expensive but a treat for the eye)
> - palatino nova  (idem)

Beautiful, indeed!

Btw, I was thinking whether Fonts in ConTeXt book is still relevant (from the
ToC I conclude it deals with MkIV) aand/or provides enough info so that in case
I buy some 3prd party fonts (I am considering something from
https://mbtype.com/) I'll be able to configure ConTeXt to use them?

Similar concern in regard to layouts and the other book...but, I believe that
both are very useful in any case and ordering them is a small appreciation for
the work done for ConTeXt.


Sincerely,
Gour

-- 
Perform your prescribed duty, for doing so is better than not
working. One cannot even maintain one's physical body without work.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Fonts/Layouts in ConTeXt books

2020-01-24 Thread Saša Janiška
Hello,

I'm putting all my 'eggs' into ConTeXt basket and would like to learn it as
thoroughly as possible.

Considering that I always prefer physical books over starring at my computer
screen, I wonder if the books from the subject are still relevant for learning
about creating layouts and configuring additional (bought extra) fonts in
today's ConText?


Sincerely,
Gour

-- 
While contemplating the objects of the senses, a person
develops attachment for them, and from such attachment lust
develops, and from lust anger arises.


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] translating LyX/LaTex book into ConTeXt

2019-07-22 Thread Saša Janiška
On Sun, 21 Jul 2019 12:35:09 +0200
Hans Hagen  wrote:

> You can extend the default feature to also add missing composed 
> characters to the font. In mkiv we have way more control and these 
> missign characters are then made virtual ones but in the text they
> are proper unicodes.
> 
> \definefontfeature[default][compose=yes]
> 
> \starttext
>  char ṁ (U+01E41)
> \stoptext

That's great. Thank you!

> in sort-lan you can find examples of how sorting works in mkiv .. you 
> can find examples in the test suite end elsewhere about how to
> influence the sorting order (basically it uses a language sorting
> order, but the sequence of the about 6 steps involving code, case,
> shape, can be changed ... in your case the m is quite likely to be
> sorted as m because it has the 'm' shape

Good.

> should be problem ... i'm pretty sure that on the list someone can
> tell you how he/she did it (users of critical editions)

OK.


Sincerely,
Gour

-- 
He who is regulated in his habits of eating, sleeping, recreation
and work can mitigate all material pains by practicing the yoga system.


pgp0A0mIM2p4w.pgp
Description: OpenPGP digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Typesetting Markdown -- Part 2

2019-05-31 Thread Saša Janiška
David Nebauer  writes:

> https://github.com/Witiko/markdown is forked from
> https://github.com/jgm/lunamark. Github user "jgm" is John MacFarlane,
> the creator of pandoc, and pandoc itself is hosted on github under
> "jgm" as well: https://github.com/jgm/pandoc.
>
> So, it seems a good bet that https://github.com/Witiko/markdown
> supports pandoc markdown.

Well John MacFarlane is [here](https://commonmark.org/) as well. ;)


Sincerely,
Gour

-- 
While contemplating the objects of the senses, a person
develops attachment for them, and from such attachment lust
develops, and from lust anger arises.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Typesetting Markdown -- Part 2

2019-05-30 Thread Saša Janiška
Hans Hagen  writes:

> just test it and tell me what needs to be fixed / added

I'm looking at https://github.com/Witiko/markdown and wondering which
flavour of Markdown this package does support?

By reading https://github.com/Witiko/markdown/issues/25 it could mean it
could be Pandoc's one, but not sure?


Sincerely,
Gour

-- 
As the embodied soul continuously passes, in this body,
from boyhood to youth to old age, the soul similarly passes
into another body at death. A sober person is not bewildered
by such a change.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Typesetting Markdown

2019-05-23 Thread Saša Janiška
Thangalin  writes:

> I added an abstract, an overview section with the plan, and an RSS
> feed:

Thanks a lot - now it's much better seeing what is ahead of us. ;)

> One of the reasons I chose Pandoc's Markdown is for its support of
> classes and annotations.

I was not using Pandoc's markdown, so will have to check the docs in
regard.

> I looked into the pandoc-xhtml link and it looked both incomplete and
> lacking support for typesetting mathematics.

For Markdown --> ConTeXt usage, math is not my primary concern, but
wonder what do you think about the Pandoc's "cons" as stated on
pandoc-xhtml site, iow:

* Main document language information.

* Markup for language in text portions.

*  Any  or  elements markup.

> Have a read and let me know what you think!

See above. ;)


Sincerely,
Gour

-- 
You have a right to perform your prescribed duty, but you
are not entitled to the fruits of action. Never consider
yourself the cause of the results of your activities,
and never be attached to not doing your duty.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Typesetting Markdown

2019-05-22 Thread Saša Janiška
Thangalin  writes:

> I'm thinking about writing a series of blog posts about how to typeset
> Markdown using ConTeXt. I've written the first part and am wondering
> if anyone would be interested in reading more:

I'm interested for the topic, but it would be nice, imho, if the Part-1
would contain some kind of Abstract along with the TOC for the whole
series according to your plan?

Otoh, I still wonder which method to use for typesetting Markdown with
ConTeXt, iow. whether to use Mardkown module and/or filter or to go with
pandoc-xhtml (http://www.from-pandoc-to-context.tk/) method...

However, one thing is certain: (Pandoc's) Markdown seems easy and
good-enough for most of documents I plan to write, while ConTeXt is
without comparison when it comes to the quality of final output.


Sincerely,
Gour

-- 
From wherever the mind wanders due to its flickering and unsteady
nature, one must certainly withdraw it and bring it back under
the control of the self.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] tikz is not found

2019-04-25 Thread Saša Janiška
On Wed, 24 Apr 2019 19:08:12 +0200
Wolfgang Schuster  wrote:

> Change "with color" to "withcolor" (no space).

Thank you!


Sincerely,
Gour

-- 


pgpXOljXTa38u.pgp
Description: OpenPGP digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] markdown module vs pandoc

2019-02-24 Thread Saša Janiška
Pablo Rodriguez  writes:

> the code in my private repository is unnecessarily complex for too
> narrow cases.

OK.

>
> I think that the most valuable feature of environment itself (the file
> 'pandoc-xhtml.tex') is the practical introduction to “Dealing with XML
> in ConTeXt” (http://pragma-ade.com/general/manuals/xml-mkiv.pdf).

Thanks a lot for that url!!

> ConTeXt only requires XML source as input to typeset it.

That's great indeed. I have tried to typeset org-mode manual with your
environment and it worked great (~500p). :-)

> The published code is fine for what you want. The latest version would
> be misleading. It is crappy in many aspects (even for myself).

Good, good...

> ConTeXt deals with XML natively.

Yeah, next steps are to learn more ConTeXt and to study that manual.


Sincerely,
Gour

-- 
Not by merely abstaining from work can one achieve freedom
from reaction, nor by renunciation alone can one attain perfection.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Missing number, treated as zero

2019-02-15 Thread Saša Janiška
On Fri, 15 Feb 2019 13:59:46 +0100
Wolfgang Schuster  wrote:

> You need (note the “start”)
> 
>  \startsection[title={...}]
> 
> when you use \stopsection.

Ahh, I managed to try just those combination which do not work...feeling really
embarrassed. :-(

Thank you for being kind and exposing my stupidity. ;)


Sincerely,
Gour

-- 
A person is said to be established in self-realization and is called a
yogī [or mystic] when he is fully satisfied by virtue of acquired
knowledge and realization. Such a person is situated in transcendence
and is self-controlled. He sees everything — whether it be pebbles,
stones or gold — as the same.


pgpqq1hhraHuS.pgp
Description: OpenPGP digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
Russell Urquhart  writes:

> but why couldn't you do:
>
> AsciiDoc => DocBook => Pandoc => reveal.js

Because, as I’m told, only {txt,md} => reveal.js routes are currently
supported in Pandoc.

> It worked for me, here was my source:

That worked, is a bit twisted in comparison with the wiki example:

This\footnote(Or that\footnote{Or possibly even the other.}, if you
prefer.} is a sentence with a footnote.

which does not.


Sincerely,
Gour

-- 
The senses, the mind and the intelligence are the sitting places
of this lust. Through them lust covers the real knowledge of the
living entity and bewilders him.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in footnotes

2016-10-16 Thread Saša Janiška
Otared Kavian  writes:

> Indeed the example you sent does not work as expected, but as far as I
> remember for nested footnotes one can use the following construction

It’s a bit convoluted, but, well…

Otoh, it’s interesting to note that in my static-site-generator which
uses Go’s Blackfriday markdown processor which does support some
extensions, one can use nested footnotes.


Sincerely,
Gour

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the envious,
friends and enemies, the pious and the sinners all with an equal mind.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
Hans Hagen  writes:

> (These projects need pdf and html, all kind of products from
> one source or collection of sources).

Forgot to ask, whether for those products that require pdf and html, do
you work with the tex (context) sources or xml?

If the answer is ’context’, I’d like to know more aobut since it would
make me safe that I can easily do ConTeXt --> HTML and then covnert via
pandoc to plethora of formats for different purposes?


Sincerely,
Gour

-- 
As the ignorant perform their duties with attachment to results,
the learned may similarly act, but without attachment, for the
sake of leading people on the right path.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
Russell Urquhart  writes:

> While Pandoc does NOT input asciidoc, i use Asciidoc FX, as a
> previewer, and it also exports out to html, pdf, and i think you can
> get it to export to DocBook.

Yeah, I kmow about using e.g. AsciiDoc(tor)’s docbook5 backend to export
to DocBook which can be used as input format in Pandoc, but the problem
is if I would liek to e.g. use Pandoc to create e.g. reveal.js
presentation, then AsciiDoc input is of no help, since one can only do:

{txt,md} --> Pandoc --> reveal.js

> IMO, if you are debating on learning Context, i think that would be a
> good use of your time.

I also believe the same, although, interestingly,
footnotes-withing-footnote does not work with MkIV. :-)


Sincerely,
Gour

-- 
What is night for all beings is the time of awakening
for the self-controlled; and the time of awakening for
all beings is night for the introspective sage.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in footnotes

2016-10-16 Thread Saša Janiška
Jose Luis Arellano  writes:

> Dear list,
> I want to report a possible bug (I think), when one try to put a
> footnote into another footnote, here is MWE (from wiki):
>
> \starttext
> This\footnote{Or that\footnote{Or possibly even the other.}, if you
> prefer.} is a sentence with a footnote.
> \stoptext
>

While testing/evaluating different options/markups, the topic of using
“footnote within footnote” has appeared and I’ve tried to test it in the
ConTeXt, but, strangely-enoug, I can confirm that it does not work here
as reported by Jose.

Here is the console output:

$ context footnotetst.tex 

mtx-context | run 1: luatex 
--fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en"
 --jobname="footnotetst" 
--lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=1 --c:fulljobname="./footnotetst.tex" 
--c:input="./footnotetst.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.
open source > 1 > 1 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.5.28  int: 
english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
close source> 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
system  > files > jobname 'footnotetst', input './footnotetst', result 
'footnotetst'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
structure   > sectioning > section @ level 3 : 0.0.1 -> Footnote test
backend > xmp > using file 
'/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1
close source> 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
close source> 1 > 3 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

mkiv lua stats  > used config file: 
/usr/share/texmf/web2c/texmfcnf.lua;/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable: 
'/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442' | 
readable+writable: 
'/home/gour/.texlive2016/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442'
mkiv lua stats  > resource resolver: loadtime 0.059 seconds, 0 scans with 
scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: 
mkiv lua stats  > stored bytecode data: 387 modules (0.270 sec), 82 tables 
(0.009 sec), 469 chunks (0.279 sec)
mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable: 1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats  > node memory usage: 13 glue, 2 penalty, 41 attribute, 38 
glue_spec, 12 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances 
(re)created, 87 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 278 direct, 250 indirect, 528 total
mkiv lua stats  > randomizer: resumed with value 0.47685763401764
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > interactive elements: 0 references, 1 destinations
mkiv lua stats  > result saved in file: footnotetst.pdf, compresslevel 3, 
objectcompresslevel 3
mkiv lua stats  > loaded fonts: 5 files: latinmodern-math.otf, 
lmroman10-regular.otf, lmroman12-regular.otf, lmroman6-regular.otf, 
lmroman8-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 11 instances, 4 
shared in backend, 0 common vectors, 4 common hashes, load time 0.239 seconds 
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: usr
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live 
2016/debian)
mkiv lua stats  > control sequences: 43857 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua, used memory: 86 MB (ctx: 86 MB), 
hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.636 seconds, 1 processed pages, 1 shipped pages, 
1.572 pages/second

mtx-context | run 2: luatex 
--fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en"
 --jobname="footnotetst" 
--lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=2 --c:fulljobname="./footnotetst.tex" 
--c:input="./footnotetst.tex" --c:kindofrun=2 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.
open source > 1 > 1 > /us

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
Hans Hagen  writes:

> actually, some styles use layers and js to step through them .. very
> efficient and minimal javascript

But that’s more like helpers, right?

Still, wonder how portable is that in different PDF viewers?


Sincerely,
Gour

-- 
In this endeavor there is no loss or diminution,
and a little advancement on this path can protect
one from the most dangerous type of fear.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
Russell Urquhart  writes:

> I had first started looking at Markdown, but then came to Asciidoc,
> as, imo, Asciidoc is a superset of Markdown. In my previous job, and
> some in my current job, there is a need to have tables that have cells
> that go across multiple rows and/or columns. Asciidoc supports
> this. 

It seems that some thing are more clear now…

I do not (atm) have need for complex tables. Moreover, I’ve learnt that
atm. Asciidoc is not supported input format for creating presentations
with Pandoc…

> With that said, when i want or need to have a fine typeset type
> book/manual, something that might requrie extensive footnotes,
> indexes, specialized page layouts, auto cross references, etc. AND i
> could not get that from Asciidoc, then i would create my source in
> either Context, Docbook, or LaTex. (I haven't used LaTex very much
> myself, but i know people who swear by it.)

…which practically means that I can just use markdown for my ligth
writing (web stuff, small online articles etc.) and use ConTeXt for
everything else where quality is required.

Of course, there is also possibility to just use

markdown --> Pandoc --> reveal.js

which can look as low-hanging fruit, but, based on my observation,
everything around Javascript stuff is almost always hyped and
short-lived, iow. today reveal.js is “in”, but that can quickly change
tomorrow.

Otoh, learning ConTeXt is going to be useful not only for presentations,
but only for real book project which might arrive in the future…


Sincerely,
Gour

-- 
One who works in devotion, who is a pure soul, and who controls
his mind and senses is dear to everyone, and everyone is dear to
him. Though always working, such a man is never entangled.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Saša Janiška
Hans Hagen  writes:

> just look at the presentation styles in the distribuition. Many of
> them you can just process to get an example

Will do.

> then start making your own ... such styles are rather simple and not
> much coding in the document source is needed .. just develop your own
> look and feel after a while

It’s clear you’re not into JS-powered hype for presentations. ;)


Sincerely,
Gour

-- 
Therefore, without being attached to the fruits of activities,
one should act as a matter of duty, for by working without
attachment one attains the Supreme.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-14 Thread Saša Janiška
Hans Hagen  writes:

> Before we started with context we uses ascii based markup (i still
> have printouts of the code used for pagination, figure placement, tocs
> around somewhere) ...

That’s very interesting…

> but as the input becomes more complex it makes no sense any more to
> use such formats and tex (or nowadays xml) starts looking clean and
> simple in comparison

Hmmm…do you use XML as *source* authoring format? I did try to play with
some XML editors in the past and a bit with XSL stylesheets, but never
found it as pleasnt experience, so I’m really curios to know more about
your XML format usage?

> where
>
> \startglossary[reference=terms,title={List of Terms}]
>
> is not that more coding. Anyway, using some asciidoc (should be utfdoc
> i guess) converted to some kind of xml is probably the easiest to deal
> with.

I must admit that in one sense ConTeXt (TeX) is a clear winner. After I
did two books using LyX/LaTeX I am simply spoiled with TeX’s typestting
quality and cannot easily settle for less. Moreover, ConTeXt is
certainly superior to LaTeX (despite of possible lack of more docs), so
on one hand I can imagine that producing one presentation every two week
would probably (hopefully) make me quite skillful in using ConTeXt (maybe
even MetaPost/MetFun), at least, presentation-wise[1]…iow. the more I’d use
ConText, the possibly initial (steeper) learning curve will pay off in
the long term.

Let me say that few days ago I stumbled upon interesting thread
(http://lists.gnu.org/archive/html/auctex/2016-09/msg1.html) on the
AUCTeX mailing list disccussing about possibility to improve general
user experince when writing ConTeXt using that Emacs package…Here is one
message which can be interesting not only for Hans:

http://lists.gnu.org/archive/html/auctex/2016-09/msg00010.html


Sincerely,
Gour


Footnotes: 
[1]  Btw, are special presentation effects (animation, transitions etc.)
available for non-Acrobat-reader PDF viewers?

-- 
As the embodied soul continuously passes, in this body,
from boyhood to youth to old age, the soul similarly passes
into another body at death. A sober person is not bewildered
by such a change.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-14 Thread Saša Janiška
Russell Urquhart  writes:

> About a year ago i really got into Asciidoc, and use it at my work for
> technical writing.

What are your output formats?

> For me, i had some Context files, that had, for example, footnotes,
> within footnotes, within footnots. This is very doable in
> Context. Asciidoc, currently, does not support this multiple levels of
> footnotes, so, as i expected, converting Context -> Asciidoc, was not
> able to do this.

Interesting…I also have need for footnotes within footnotes and hit that
barrier with rst/markdown or some other non-AsciiDoc format
recently. :-)

> My suggestions would be, as you are going from asciidoc to Context,
> make sure that you are happy with what you can do in asciidoc. Context
> should be able to readily handle a conversion from Pandoc.

Well, considering that ConTeXt can do much more than AsciiDoc, maybe for
regualr web content (blog posts, shorter articles etc.) I could simply
use Markdown without even going to AsciiDoc which is interesting option
only in case of being able to server as single-source format.


Sincerely,
Gour

-- 
The humble sages, by virtue of true knowledge, see with equal
vision a learned and gentle brāhmana, a cow, an elephant, a dog
and a dog-eater.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-13 Thread Saša Janiška
Pablo Rodriguez  writes:

> What you can achieve is:
>
> AsciiDoc -> HTML -> PDF generated by ConTeXt
>
> If the conversion to HTML is fine, you even avoid the conversion to
> ConTeXt input format (and you might be very close to parse AsciiDoc
> sources with ConTeXt).

Hmm…that’s quite new idea for me and it needs some practical testing. ;)


Sincerely,
Gour

-- 
Whatever action a great man performs, common men follow. And
whatever standards he sets by exemplary acts, all the world pursues.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-13 Thread Saša Janiška
Pablo Rodriguez  writes:

> this feature makes ConTeXt much superior than LaTeX, but not all TeX
> users are aware of this jewel.

:-)

> Sure it can handle it, but I wonder whether this would make sense. (I
> mean, does DocBook handle slides?)

That’s valid point…I was also thinking about it and found something:

http://docbook.org/schemas/5x-custom.html#slides

> But this approach allows me to generate (with pandoc) PDF and ePub
> documents from exactly the same source. I only need to write the style
> files for each.

That was suggested to me at the beginning of year when I was asking
aobut ConTeXt vs Beamer, but the problem is it handles only Markdown
which is too simple for my general writing and when/if one uses
extensions, then it’s really a mess…

> ConTeXt XML input will afford you the markup, but you’ll have to know
> how to deal with the slides in ConTeXt :-).

That’s true…I’m simply trying, like you, to have AsciiDoc as
single-source format and then publish content on the web
(static-site-generator), producing high-quality PDF and/or ePub.


Sincerely,
Gour

-- 
Whenever and wherever there is a decline in religious practice,
O descendant of Bharata, and a predominant rise of irreligion —
at that time I descend Myself.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-13 Thread Saša Janiška
Mica Semrick  writes:

> From the pandoc github issues page, looks like they're working on
> asciidoc. See issue 1465 in the pandoc repo.

That issue (#1456) is in regard to providing AsciiDoc as Pandoc’s
*input* format, but my proposed toolchin is the following:

AsciiDoc --> DocBook5 (via AsciDoc’s own DocBook backend) --> ConTeXt
(using Pandoc’s  AsciiDoc writer)


Sincerely,
Gour

-- 
Abandoning all attachment to the results of his activities,
ever satisfied and independent, he performs no fruitive action,
although engaged in all kinds of undertakings.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-13 Thread Saša Janiška
Pablo Rodriguez  writes:

Hello Pablo,

> since ConTeXt can handle XML natively, how about converting AsciiDoc to
> an XML presentation and then compiling the XML file with ConTeXt?

I must admit I was not aware of that.

AsciiDoc can convert to e.g. DocBook(5), but I wonder if/how ConTeXt
could handle it?

I’ve found something:
http://doctribute.com/blog/003-docbook-to-context-xsl-stylesheets-en.html
but this involves fiddling with XSL stylesheets, while Pandoc’s
covnersion from DocBook to ConTexT eliminates need for them.

Another option would be to jsut bite the bullet and learn ConTeXt
properly to be use for *all* serious writings which makes sense if I
consider that I *might* need to produce one presentation every 2 weeks
which is more the one hundred per year. :-O

In that case it would be nice to have bette/more support in my (Emacs)
editor, but that’s another topic for another thread after I did discover
related thread in AUCTeX list today. ;)


Sincerely,
Gour

-- 
The embodied soul may be restricted from sense enjoyment,
though the taste for sense objects remains. But, ceasing
such engagements by experiencing a higher taste,
he is fixed in consciousness.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-13 Thread Saša Janiška
Hello,

I plan to adopt AsciiDoc(tor) as general markup for my writing (web
content, blog posts, study notes etc.) and I’d prefer to use ConTeXt for
my & wife’s presentations over something like reveal.js, so wonder if
anyone has some experienec with the AsciiDoc --> ConTeXt (converted by
Pandoc) toolchaincan?

I use Emacs as my editor (currently on Debian Linux, but soon probably
on FreeBSD/TrueOS)…


Sincerely,
Gour

-- 
In the material world, one who is unaffected by whatever good
or evil he may obtain, neither praising it nor despising it,
is firmly fixed in perfect knowledge.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
Wolfgang Schuster  writes:

> context 

Ahh, that is embarrassing. :-(

It seems the time is ripe to dive more seriously into ConTeXt…


Sincerely,
Gour

-- 
Before giving up this present body, if one is able to tolerate
the urges of the material senses and check the force of desire and
anger, he is well situated and is happy in this world.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
Hello,

I had to prepare some text for my mother by extracting some portions
from her book (done in LyX/LaTeX) and now wanted to use it as example to
see the quality of job done by LuaTeX…

However, converting LyX —> LaTeX —> Pandoc –> ConTeXt failed and I tried
with the simple example
(http://wiki.contextgarden.net/Command/startsection):

% mode=mkiv
\setuppapersize[A5]
\starttext

\startsection[
reference=sec:One,
title={Section One},
]

For a subsection, see \in{subsection}[sec:Two:Sec].

\stopsection

\startsection[
reference=sec:Two,
title={Section Two},
]
[a_variable={some value}]

a_variable=\quote{\structureuservariable{a_variable}}.

\startsubsection[
reference=sec:Two:Sec,
title={Here’s a subsection},
]

In this subsection there’s some text\ldots

\stopsubsection
\stopsection
\stoptext

but running it under Debian (Sid) gives:

[gour@atmarama ~/prj/knjiga]$ luatex t.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 
 restricted \write18 enabled.
(./t.tex
! Undefined control sequence.
l.2 \setuppapersize
 [A5]
? l
Type  to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
? x
No pages of output.
Transcript written on t.log.
[gour@atmarama ~/prj/knjiga]$ less t.tex
[gour@atmarama ~/prj/knjiga]$ luatex t.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) 
 restricted \write18 enabled.
(./t.tex
! Undefined control sequence.
l.2 \setuppapersize
 [A5]
? 


What is wrong?


Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification,
who lives free from desires, who has given up all sense of
proprietorship and is devoid of false ego — he alone can
attain real peace.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt vs Beamer

2016-02-02 Thread Saša Janiška
On Uto, 2016-01-26 at 09:57 +0100, Marcin Borkowski wrote:

> unfortunately, there's no ConTeXt support, but adding it is a
> questions of a few hours of simple Emacs Lisp hacking).

Let me just say that I've decided to move to Spacemacs (it's RSI-
friendly) along with Org-mode/Gnus etc.

However, Emacs Lisp hacking is still just TODO, but wonder if you can
share some tips for using AUCTeX with ConTeXt?

reveal.js looks interesting, although, in general, I prefer non-JS
stuff.


Sincerely,
Gour

-- 
Never was there a time when I did not exist,
nor you, nor all these kings; nor in the future
shall any of us cease to be.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt vs Beamer

2016-01-26 Thread Saša Janiška
On Pon, 2016-01-25 at 22:56 +0100, Otared Kavian wrote:

> I have been using Context for all my presentations for many years and
> I think it is easier to use than any Latex package, since out of the
> box I can add pictures, menus, graphs of functions, etc.

That is very encouraging to hear. ;)

> A good start is to begin with the examples set up by Hans and by
> Aditya and Thomas Schmitz.

This is natural answer to my question...

> The examples by Hans are in the directory
> 
>   /tex/texmf-context/tex/context/modules/mkiv
> 
> of your Context installation, and begin with s-pre-, followed by
> digits and mkii or mkiv suffix.
> The examples by Aditya and Thomas are to be found in 
> 
>   /tex/texmf-modules/tex/context/third/simpleslides

After some additonal install, I was able to localize both type of
examples. :-)

Now let me jump into some ConTeXt-related learning experience.


Sincerely,
Gour

-- 
Therefore, without being attached to the fruits of activities,
one should act as a matter of duty, for by working without
attachment one attains the Supreme.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt vs Beamer

2016-01-26 Thread Saša Janiška
On Uto, 2016-01-26 at 09:56 +0100, Hans Hagen wrote:

> The "Considering that there might be need to do such thing more often
> in the future as well as possibility that I might have to produce lot
> of presentations for my public lectures/workshops based on philosophy"
> is an argument for using context as it permits you to (stepwise)develop your 
> own style. 

Thank you for that, Hans!

> In the s-pre-* modules you can find examples (many of 
> them you can just process to get an idea as they contain examples) 
> what style or coding you use depends on what / the way you present.

Great! Found examples on my Debian...


Sincerely,
Gour

--
An intelligent person does not take part in the sources of misery,
which are due to contact with the material senses. O son of Kuntī,
such pleasures have a beginning and an end, and so the wise man does
not delight in them.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt vs Beamer

2016-01-26 Thread Saša Janiška
On Uto, 2016-01-26 at 08:34 +0100, Jan U. Hasecke wrote:

> For the sake of completeness, have a look at Pandoc, which produces
> presentations from simple markdown sources in various formats
> including beamer and some nice looking html based presentations.

I usually find too simple and prefer rst/AsciiDoc, but will try that as
well. Still, wonder how do you like Pandoc's ability to convert to
ConTeXt?


Sincerely,
Gour

-- 
You have a right to perform your prescribed duty, but you
are not entitled to the fruits of action. Never consider
yourself the cause of the results of your activities,
and never be attached to not doing your duty.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt vs Beamer

2016-01-26 Thread Saša Janiška
On Pon, 2016-01-25 at 22:15 +0100, Marcin Borkowski wrote:

> I used ConTeXt once for a presentation, and then came back to Beamer.
> Not necessarily because it's better, but I know it quite well, so
> I could prepare my slides faster.  

Hmm, that's valid point.

> So I don't have a lot of experience with ConTeXt, but I'll risk an
> opinion: if you're fine with a simple presentation without much
> learning, or more learning for a sophisticated presentation, consider
> ConTeXt.  If you don't mind a bit boring look (which some consider an
> advantage) and/or you want just to copy a template from the docs (even
> for a bit more sophisticated stuff), try Beamer.

Thank you for sharing.

> Also, you might want to switch to a decent text editor.  ;-P

I tried twice, but after noticing wrist pain, I said: "Goodbye!". ;)


Sincerely,
Gour

-- 
Even the intelligent are bewildered in determining what is action
and what is inaction. Now I shall explain to you what action is,
knowing which you shall be liberated from all misfortune.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ConTeXt vs Beamer

2016-01-26 Thread Saša Janiška
On Pon, 2016-01-25 at 13:55 -0700, Alan BRASLAU wrote:

> Beamer presentations look like ... beamer presentations.

That's very true, indeed!

> For something simple using ConTeXt, you might want to look at the
> simpleslides module. That could be a starting point.

That should be installed by default?


Sincerely,
Gour

-- 
One who is not disturbed in mind even amidst the threefold
miseries or elated when there is happiness, and who is free
from attachment, fear and anger, is called a sage of steady mind.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] ConTeXt vs Beamer

2016-01-25 Thread Saša Janiška
Hello,

I have just checked that my first post to this list was more than 10yrs
ago (end of 2002). Then I was working on some full-sized books and ended
up with LyX/LaTex. Later, had few attempts to switch to ConTeXt, but as
a result I reduced even my LyX/LaTeX usage and was using light markups
like rst/AsciiDoc for my writing needs without higher-quality
typesetting.

Yesterday I had to help my wife to put together some medicine-related
presentation for the meeting at her working place and used LyX/LaTeX
with Beamer class.

Considering that there might be need to do such thing more often in the
future as well as possibility that I might have to produce lot of
presentations for my public lectures/workshops based on philosophy (iow.
 no need of math), I am again in the position to consider ConTeXt, but
this time mostly for presentations.

I'm (well) aware of ConTeXt's advantage in the sense of being complete
package without clashing of different packages which usually happens in
LaTeX world, I wonder if someone can give some piece of advice to learn
and/or switch ConTeXt for preparing presentations instead of learning
lot of LaTeX packages?

How does ConTeXt compare for the purpose vs LaTeX/Beamer?

I'm on Linux (running Debian Sid) and use Vim as my primary editor so
wonder if ConTeXt users recommend to e.g. prepare drafts of their
documents like rst/AsciiDoc/markdown and then convert them into ConTeXt
with tool(s) like Pandoc?


Sincerely,
Gour

-- 
Therefore, without being attached to the fruits of activities,
one should act as a matter of duty, for by working without
attachment one attains the Supreme.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___