Re: [NTG-context] question about Linux Libertine

2017-05-06 Thread Hans Hagen

On 5/7/2017 12:44 AM, kaddour kardio wrote:

Hi, i would ask you a stupid question: how to get ornaments from Linux
Libertine font in ConTeXT/mkiv ?


it's probably a stylistic alternate so some ssNN feature that you need 
to enable


as a test you can try

\definefontfeature[default][default][ss01=yes]

before loading (or some other ss number)


Thnk you in advance

--
Dr YAHYAOUI Mohamed Kaddour, cardiologue.Clinique EL ABRAR.


___
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
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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] question about Linux Libertine

2017-05-06 Thread kaddour kardio
Hi, i would ask you a stupid question: how to get ornaments from Linux
Libertine font in ConTeXT/mkiv ?
Thnk you in advance

-- 
Dr YAHYAOUI Mohamed Kaddour, cardiologue.Clinique EL ABRAR.
___
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] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-05-06 Thread Brian Ballsun-Stanton
For what it's worth, the folks I work with would find it very valuable. Our
team currently composes on drive and I have to kick things in various ways
via pandoc to get it into our ConTeXt server (multi-user editing with
floobits is ... kinda neat). Reducing complexity of that would be
wonderful. I also use the md mechanism in journal publishing (
https://github.com/sx-archipelagos/sxa) -- and would find it very useful
there.

(The other route that would be very useful here is any paperpile
integration, but that's rather outside the scope of this discussion).

On 6 May 2017 at 18:28, Hans Hagen  wrote:

> On 5/5/2017 9:54 PM, Aditya Mahajan wrote:
>
>> On Thu, 4 May 2017, Mojca Miklavec wrote:
>>
>> Hi,
>>>
>>> There's a really nice module for processing markdown:
>>> https://github.com/Witiko/markdown
>>> that has been presented during the TUG meeting and is included in TeX
>>> Live.
>>>
>>
>> This is a fork of luamark (by the author of pandoc). Wouldn't it be
>> better to provide an interface around that? Is it simply providing a tex
>> interface around luamark or are there any changes in the parser as well.
>>
>> Any idea how it compares with the markdown parser in m-markdown already
>> included in ConTeXt?
>>
>
> that one was written when i tested some other lua thing that was very
> slow/inefficient .. irr some of the improved code was backported but as i
> never use markdown i didn't keep track of it (maybe some day i'll pick up
> that tread for mixed source coding or so)
>
> Hans
>
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> 
> ___
> 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/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
>



-- 



Brian Ballsun-Stanton Ph.D.
FAIMS Project  - Data Architect

br...@fedarch.org 0479 178 749
___
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] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-05-06 Thread Vít Novotný
On Fri, May 05, 2017 at 11:12:41PM +0200, Mojca Miklavec wrote:
> On 5 May 2017 at 21:54, Aditya Mahajan wrote:
> > On Thu, 4 May 2017, Mojca Miklavec wrote:
> >
> >> There's a really nice module for processing markdown:
> >> https://github.com/Witiko/markdown
> >> that has been presented during the TUG meeting and is included in TeX
> >> Live.
> >
> > This is a fork of luamark (by the author of pandoc). Wouldn't it be better
> > to provide an interface around that? Is it simply providing a tex interface
> > around luamark or are there any changes in the parser as well.
> >
> > Any idea how it compares with the markdown parser in m-markdown already
> > included in ConTeXt?

Hello,

some of the major differences between jgm/lunamark and Witiko/markdown
include:

 - Witiko/markdown supports syntax extensions that are currently not
   implemented in jgm/lunamark (iA Writer Content Blocks).

 - The output of Witiko/markdown consists of structural
   `\markdownRenderer...` macros that can be easily redefined by a user
   to produce arbitrary results. Example input:

- _item 1_
- [item 2](url)
- `item 3`

   Example output:

\markdownRendererUlBeginTight
\markdownRendererUlItem\markdownRendererEmphasis{item 
1}\markdownRendererUlItemEnd 
\markdownRendererUlItem\markdownRendererLink{item 
2}{url}{url}{}\markdownRendererUlItemEnd 
\markdownRendererUlItem\markdownRendererCodeSpan{item 
3}\markdownRendererUlItemEnd 
\markdownRendererUlEndTight

   In contrast, jgm/lunamark directly produces ConTeXt-specific markup.

 - Witiko/markdown does caching; processed documents and verbatim code
   blocks are stored in auxiliary files and these files are referenced
   from the conversion output. This is highly useful for debugging and
   for postprocessing the auxiliary files using external tools.
 
 - Witiko/markdown is stripped-down compared to jgm/lunamark, so that
   external dependencies such as Cosmo and Alt-getopt are unnecessary.

The `m-markdown.lua` seems like a heavily stripped-down version of
lunamark. Most importantly, the parser seems to recognize no syntax
extensions, so only Gruber's vanilla Markdown is supported.

P.S.: Witiko/markdown already has a ConTeXt interface (see `texdoc
markdown`, section 2.4). However, Mojca and I agreed that it would
likely benefit from additional syntactic sugar. Example document:

\usemodule[t][markdown]
\def\markdownOptionSomething{true}
\def\markdownRendererSomethingElse#1#2#3{\foo{#1}}
\starttext
\markdownInput{bar.md}
\startmarkdown
Some _Markdown_ text.
\stopmarkdown
\stoptext

The example document was taken from the slides introducing the package [1].

  [1]: https://github.com/Witiko/markdown/blob/slides-tug07/light.pdf

Best Regards,
Vít Novotný

> I'm CC-ing the author since I don't know answers to these questions,
> but it would indeed be nice to end up with one single good module
> rather than having two slightly different incompatible ones with the
> same name.
> 
> Mojca
___
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] Wrong redirection in contextgarden.net

2017-05-06 Thread Nicola

On 29/04/2017 21:29, Mojca Miklavec wrote:


In case I forget, please remind me about this after the 4th May.


Ping. As requested ;)
Nicola


___
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] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-05-06 Thread Mica Semrick
It’s a plain text format for writing structured documents, based on formatting 
conventions from email and usenet. 

http://commonmark.org

-m

On May 6, 2017 8:42:46 AM PDT, John Culleton  wrote:
> 
>  
>  
>  
>
>
> From: "Hans Hagen" 
>Sent: Saturday, May 6, 2017 4:30 AM
>To: ntg-context@ntg.nl
>Subject: Re: [NTG-context] Module for Markdown: any volunteer to make a
>
>ConTeXt interface?   
>On 5/5/2017 9:54 PM, Aditya Mahajan wrote: > On Thu, 4 May 2017, Mojca 
>Miklavec wrote: > >> Hi, >> >> There's a really nice module for
>processing 
>markdown: >> https://github.com/Witiko/markdown >> that has been
>presented 
>during the TUG meeting and is included in
>  
>  
> Pardon my ignorance but what is markdown?
> 
>  
> John  Culleton
___
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] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-05-06 Thread John Culleton
 
  
  
  


 From: "Hans Hagen" 
Sent: Saturday, May 6, 2017 4:30 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Module for Markdown: any volunteer to make a 
ConTeXt interface?   
 On 5/5/2017 9:54 PM, Aditya Mahajan wrote: > On Thu, 4 May 2017, Mojca 
Miklavec wrote: > >> Hi, >> >> There's a really nice module for processing 
markdown: >> https://github.com/Witiko/markdown >> that has been presented 
during the TUG meeting and is included in
  
  
 Pardon my ignorance but what is markdown?
 
  
 John  Culleton


___
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] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-05-06 Thread Hans Hagen

On 5/5/2017 9:54 PM, Aditya Mahajan wrote:

On Thu, 4 May 2017, Mojca Miklavec wrote:


Hi,

There's a really nice module for processing markdown:
https://github.com/Witiko/markdown
that has been presented during the TUG meeting and is included in TeX
Live.


This is a fork of luamark (by the author of pandoc). Wouldn't it be
better to provide an interface around that? Is it simply providing a tex
interface around luamark or are there any changes in the parser as well.

Any idea how it compares with the markdown parser in m-markdown already
included in ConTeXt?


that one was written when i tested some other lua thing that was very 
slow/inefficient .. irr some of the improved code was backported but as 
i never use markdown i didn't keep track of it (maybe some day i'll pick 
up that tread for mixed source coding or so)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___