From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94614 Path: news.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Autogenerating a module's documentation Date: Sun, 1 May 2016 17:23:37 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7865914203680444256==" X-Trace: ger.gmane.org 1462137867 14748 80.91.229.3 (1 May 2016 21:24:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 21:24:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 01 23:24:16 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awyqd-0003TN-UA for gctc-ntg-context-518@m.gmane.org; Sun, 01 May 2016 23:24:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1DC7AB732; Sun, 1 May 2016 23:23:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aSpKgxJKkyux; Sun, 1 May 2016 23:23:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 49860B6C9; Sun, 1 May 2016 23:23:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B3BC8B6C7 for ; Sun, 1 May 2016 23:23:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GV1PpKNrY53s for ; Sun, 1 May 2016 23:23:49 +0200 (CEST) Original-Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8C4E3B6C5 for ; Sun, 1 May 2016 23:23:39 +0200 (CEST) Original-Received: by mail-ob0-f171.google.com with SMTP id n10so70517309obb.2 for ; Sun, 01 May 2016 14:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=lPOuEI6fQ3zDoWyfVvJUsi89+hsko4KvLEq1u9NBgAc=; b=S7yBi+TTYiaEINvDKjJjcuLodnoCAWB5kKb2byax0qB+2HG3xSS25Q0WvMCOjBc7Ql 2Dt4yzTv0pz90KWafyGrP72/OxiHT0vFolnm4lV4uGUTM8PY3SdECiJMIYxCS2Fyepjh 0AMbdYUu0d4rrliyyknrNKbRauOq0O9BmgcxO4D/qQB1KGgxTTI6vq8Uyli9Pp7jkcT9 QRaQrjfe2u2ZuhHz3A46aI+MDvFGMdIYGhgByg5auZGTXlglzBdcxUXAPpQig2ImWFNc Hfyli26LzNQ1JIp39Hnxi2dam4HzYyN7vAI7BWh/oS0I+UdlHH2WcGul8rLLSUmgUEoZ dhvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=lPOuEI6fQ3zDoWyfVvJUsi89+hsko4KvLEq1u9NBgAc=; b=ETYjqTGzDbSe1wDiw3J8EgfqGv4MaPzty/1+vSRc5WFH8tGreUEW73Qe73dj/2As4H RZLieDEvhVYpzYcjVph8sopTG8N8zDs2cXCURvs5fch4/Zzq/wz49+q95rxJXsqK8Ch7 bmtp5y3z3RZ8Mk3Errja3PpNqbJrqw0xvvq1X405te3K9XP8RomptX2iSsJekYdo0vcQ s/qUEPpcFmWXTGfzrxMvAyMuP3HBreIGQP2KDitOX7BuZ1XnGLy46Kq0XN2YnQz99zw+ Dj51VNg/jsnDEz+fDgAAX3BR2q6GGFZNpKKC2gtlR/pwPASbxxuq/qa50H3SXF7x0UDd /fPQ== X-Gm-Message-State: AOPr4FV2JE3PvZ/i3aplcGVrCmtj4BjJanqPy+90mytGNNXqsQ7Yw38INnd8jbBmCvIXIEA4MVKlUgo77hzTyw== X-Received: by 10.60.81.167 with SMTP id b7mr14230621oey.2.1462137817863; Sun, 01 May 2016 14:23:37 -0700 (PDT) Original-Received: by 10.157.3.34 with HTTP; Sun, 1 May 2016 14:23:37 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94614 Archived-At: --===============7865914203680444256== Content-Type: multipart/alternative; boundary=047d7b4187713f1dea0531ce7d3e --047d7b4187713f1dea0531ce7d3e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello list, Has anyone managed to generate documentation for lua files recently? According to wiki/Module , something like the following should work: context --ctx=3Dx-ldx core-con.lua But it only produces core-con.lua.prep and not the PDF file. In fact, it seems to work on the prep file and compile a core-con.lua.prep.prep which escapes even the XML tags of the prep file. Probably some switch changed and the ctx file was not updated, so it just doesn't know how to deal with the prep file properly? On the other hand, the command to get PDF documentation out of TeX files does work and produces (albeit with some errors at times) the final documentation. context --ctx=3Ds-mod core-con.mkiv Thanks! =E2=80=94MHB --047d7b4187713f1dea0531ce7d3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello list,

Has anyone managed to gener= ate documentation for lua files recently?=C2=A0 According to wiki/Module, something like the fol= lowing should work:

context --ctx=3Dx-ldx core-con= .lua

But it only produces core-con.lua.prep an= d not the PDF file.=C2=A0 In fact, it seems to work on the prep file and co= mpile a core-con.lua.prep.prep which escapes even the XML tags of the prep = file.=C2=A0 Probably some switch changed and the ctx file was not updated, = so it just doesn't know how to deal with the prep file properly?
<= div>
On the other hand, the command to get PDF documentation = out of TeX files does work and produces (albeit with some errors at times) = the final documentation.

context --ctx=3Ds-mod cor= e-con.mkiv

Thanks!
=E2=80=94MHB

--047d7b4187713f1dea0531ce7d3e-- --===============7865914203680444256== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============7865914203680444256==--