Re: [NTG-context] Typesetting Markdown

2019-05-23 Thread Thangalin
Hi Gour,

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

https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/

One of the reasons I chose Pandoc's Markdown is for its support of classes
and annotations. I looked into the pandoc-xhtml link and it looked both
incomplete and lacking support for typesetting mathematics.

Have a read and let me know what you think!

Thank you for the feedback.
___
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] no bookmark prerollling in bookmark option

2019-05-23 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\def\MyContent{This is expanded content}
\enabledirectives[references.bookmarks.preroll]
\setupinteraction[state=start, title={\MyContent}]
\placebookmarks[section]
\starttext
\section{\MyContent}
\startsection[title=\MyContent]
\stopsection
\startsection[title=\MyContent, bookmark=\MyContent]
\stopsection
\stoptext

Bookmarks aren’t prerolled when the bookmark option from \startSECTION
is used.

I think it may be a bug. Could anyone confirm it?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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] https://wiki.contextgarden.net/Fraktur_fonts

2019-05-23 Thread Taco Hoekwater
Hi,

Hint: when you get an error message from the wiki, it makes sense to
contact one of the wiki maintainers ;)

Uploads fixed now.

Best wishes,
Taco

> On 23 May 2019, at 07:41, Rudolf Bahr  wrote:
> 
> On Wed, May 22, 2019 at 07:40:12PM +0200, Willi Egger wrote:
>> Hi Rudolf,
>> 
>> I looked at your work on the wiki. It looks very nice, well-structured.
>> 
>> I wanted to try to upload the pictures. However if I understand the help 
>> correctly, then one needs privileges to upload files?
>> 
>> Kind regards
>> 
>> Willi
> 
> 
> Hello Willi,
> 
> thank you for your message!
> 
> I remember having read somewhere that after wiki-login one should have those 
> privileges
> to upload pictures to the wiki server.
> But I don't know whether I'm right. In any case I hadn't any success and gave 
> up
> (for a couple of weeks, at least :)
> 
> Best wishes,
> 
> Rudolf
> ___
> 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
> ___

Taco Hoekwater
Elvenkind BV




___
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] Strange behavior concerning pdf-output of .png-externalfigures

2019-05-23 Thread Rudolf Bahr
On Tue, May 21, 2019 at 10:07:01AM +0200, Hans Hagen wrote:
> On 5/17/2019 10:23 AM, Rudolf Bahr wrote:
> > 
> > On Thu, May 16, 2019 at 02:40:07PM +0200, Hans Hagen wrote:
> > > On 5/16/2019 12:21 PM, Rudolf Bahr wrote:
> > > > The problem with artefacts in .png images is still unsolved for me.
> > > > I can circumvent it by using .jpg or .tiff images instead of .png images
> > > > as long as no transparent areas in the images are needed. As far as I 
> > > > know
> > > > .jpg and .tiff formats cannot handle transparancy, do they?
> > > > 
> > > > Now in .log files messages like
> > > > "luatex warning  > pdfe: invalid 11 0 R object at offset 223611"
> > > > can be seen. Please, what do they mean?
> > 
> > > Does that come from an pdf generated by image magick>? If so, the problem 
> > > is
> > > there ... the last years I've seen lots of converted files with bogus pdf
> > > objects. (Kind of harmless but still.)
> > > 
> > > Hans
> > 
> > 
> > No. I never use neither ImageMagick nor GraphicsMagick to generate images in
> > .pdf-format. Even with my scanner software I produce always .jpg-images 
> > though it
> > is capable to produce .pdf-output too. The only .pdf-files I'm doing are 
> > made by
> > ConTeXt-LMTX!
> > 
> > I shall append another, interesting MWE. There is a .png-image which is, as 
> > it
> > occasionally happens, represented as it should, by ConTeXt. And then the 
> > same .png-image
> > to which I added a red frame by GIMP2.10. This one shows artefacts in 
> > ConTeXt!
> > 
> > I'm adding the .log-file too. There again is a luatex-warning, as I could 
> > observe them
> > often in ConTeXt-LMTX:
> the second image has a mask which is split off (an all 0xFF mask btw) .. it
> shows ok in acrobat so maybe gimp is at fault here?
> 
> Hans



In the mean time I had some more tries with another OS and even with MKIV. 
Unfortunatly
I changed to OS "LinuxMint" at the same time LMTX came out. Now after going to
"Fedora 30" there are no problems left in this respect up to now. So I agree 
with you,
GIMP could have been the cause. Not GIMP in general, but possibly only 
"LinuxMint"-GIMP's
png-part.

I'm sorry because of the trouble, my fault!
Thanks to All who answered to this problem and contributed to a solution!

Best wishes, Rudolf
___
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'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
___