From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada++ Date: Sat, 13 Jun 2020 12:07:03 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <50711230-5b14-4278-b9d8-d197bbe3c93b@googlegroups.com> <9320040f-5486-4d1e-847d-f81b0a59fcfa@googlegroups.com> NNTP-Posting-Host: 2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:59069 Date: 2020-06-13T12:07:03+02:00 List-Id: On 13/06/2020 11:40, Nasser M. Abbasi wrote: > You might ask, why not use Latex editor? No at all. With all due respect to Knuth, TeX is a bad language. > But to do this, one has to be able to write, inside the Ada editor, No. See above. The answer to the first question implies the answer to the second one. Do a higher level abstraction to your LaTeX elements in the form of Ada subprograms. Call these subprograms to "program" the document. P.S. I had same issue with HTML, which is also an incredibly bad language. I used Ada generating calls instead of inserting HTML tags using Ada literals. P.P.S. The additional advantage of this approach is that you could set/change styles on top of it without usual ugly ways (macros in TeX, styles in HTTP). P.P.P.S. I find the idea of markup language inherently flawed. Neither of hundreds if not thousands existing markup languages offers readability or efficiency. They might be good for small hacks like texts of GUI labels, but on a larger scale they do not work without a massive tool chain to deal with the mess. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de