From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104655 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier Newsgroups: gmane.comp.tex.context Subject: Re: translating LyX/LaTex book into ConTeXt (was Re: [Context] Xindy) Date: Sun, 21 Jul 2019 12:39:25 +0200 Message-ID: References: <87fxo5nz6c.fsf@nitai.hr> <6faad9f00809121630m743d8816w97687ec8c2012754@mail.gmail.com> <87vdx0d37n.fsf@gaura-nitai.no-ip.org> <48CB9421.8080605@wxs.nl> <71bb1833-454c-bf88-9ea3-0f078ffce57b@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6111337739308768784==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="34511"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Gour To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 21 12:40:08 2019 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hp9GA-0008sp-7O for gctc-ntg-context-518@m.gmane.org; Sun, 21 Jul 2019 12:40:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0ED57152B28; Sun, 21 Jul 2019 12:39:42 +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 b18ypKXwnG0w; Sun, 21 Jul 2019 12:39:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 88675152B31; Sun, 21 Jul 2019 12:39:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 809BB152B2D for ; Sun, 21 Jul 2019 12:39:39 +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 YcPnEfPumbQu for ; Sun, 21 Jul 2019 12:39:38 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.215.176; helo=mail-pg1-f176.google.com; envelope-from=maier.de@gmail.com; receiver= Original-Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 62B81152B28 for ; Sun, 21 Jul 2019 12:39:38 +0200 (CEST) Original-Received: by mail-pg1-f176.google.com with SMTP id i18so16303779pgl.11 for ; Sun, 21 Jul 2019 03:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pG7qb25R579UgQNV9iWbShnxGyRaSUUXdhcwegLovYQ=; b=YqzZI3nP0zqvPTcD25Gv77uCuRF6nM4xRepDsf5KFmpHXTerjREcizhbZg3PKqDjJp DuEngr0/ndn1JVB+dZX9vz6OpB/P6EZMd7263l5tnRC+6cK1uTRSEMCfB8oXnd36csR2 cZ3XIkl+01KJdbTQ2NG7A+5f4cIevtqHeRu+1Kzq3Mk4+3cB9nyPwrTgLAymlym8LfrK boEf7RKZKUvP0MNpPXlGBIH1RCk5Pp73kChM7GOI1j04DMfC98ZI7iY4dlye8rTgbNBX aVoWoufybsNXdXGX/og2f96huTVpv1jRM9vC77joYsDLep6bnYJEN46D30/Kg40fC5W9 oMwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pG7qb25R579UgQNV9iWbShnxGyRaSUUXdhcwegLovYQ=; b=sqwlWicoyfB2cjQve52uON8g3WiC2Qhna5fstkNZRUT9gGDbk/acnH0XUVZL+anFYY /Zi/udQ6/Cyl9+1cxWfJnzu5ZQ0utpNZdEYnAdwvaZDCHH7umTxh7/XfpbQ/jT156a39 /RWad63xbSslVlVTL3NoqM31FNHoulctLCmNTgtyJ6eNwRRt+mlqJkl3JJ+PF6rLdQhT lSW4oo8BnyC6B0kMFGB1kstpqX4ZJO/6wew1L0/J/OcbWf/5zISHzxrjEu7EJP9QGQPk TkmwkbObn/DXGlU0astAL/fIcZrqXRYa4LZWEYmik7+eRJlNMJQq8DtDuE2GVoUUrEKW J0aQ== X-Gm-Message-State: APjAAAXBbfVFJ2MmBb78o4Bahm00aZ33AqXhMqCBPNWcCUEiT6JssutT Jntjb/RpF+gJNmK66kYoi7wnI1wagusSavOXvv6Z+Dhe X-Google-Smtp-Source: APXvYqybMD4Qv61c6GvjKgAKrHzkrKNIE4TSSmCsmBsYksHgNzSo3Lms1hfz9lBb5cuLHw4UIjMgTWcvsWGriF7WSIo= X-Received: by 2002:a65:4509:: with SMTP id n9mr12659309pgq.133.1563705576460; Sun, 21 Jul 2019 03:39:36 -0700 (PDT) In-Reply-To: <71bb1833-454c-bf88-9ea3-0f078ffce57b@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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:104655 Archived-At: --===============6111337739308768784== Content-Type: multipart/alternative; boundary="0000000000006b1625058e2e9389" --0000000000006b1625058e2e9389 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Converting LaTeX to ConTeXt should be possible with pandoc, though not everything will work without manual adjustments. Denis Hans Hagen schrieb am So., 21. Juli 2019, 12:35: > Hi, > > > fonts > checking > char =E1=B9=81 (U+01E41) in font > > 'LMRoman12-Regular' with id 1: missing backend > xmp > using > > file '/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml' > > 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=3Dyes] > > \starttext > char =E1=B9=81 (U+01E41) > \stoptext > > > Now, I wonder how can one "define one's own sort order" since I'd like > > that words containing e.g. '=E1=B9=81' are to be sorted as 'm'? > > 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 > > > What about generating Glossary? > > should be problem ... i'm pretty sure that on the list someone can tell > you how he/she did it (users of critical editions) > > > Any further hint in translating LyX/LaTeX sources into ConTeXt? > > i never used lyx but i assume that when there is structure it can partly > be scripted > > 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 > > _________________________________________________________________________= __________ > --0000000000006b1625058e2e9389 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Converting LaTeX to ConTeXt should be possible with pando= c, though not everything will work without manual adjustments.

Denis

Hans Hagen <j.hagen@xs4all.nl> schrieb am So., 21. Juli 201= 9, 12:35:
Hi,

> fonts=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> checking > char = =E1=B9=81 (U+01E41) in font
> 'LMRoman12-Regular' with id 1: missing backend=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0> xmp > using
> file '/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'

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=3Dyes]

\starttext
=C2=A0 =C2=A0 =C2=A0char =E1=B9=81 (U+01E41)
\stoptext

> Now, I wonder how can one "define one's own sort order" = since I'd like
> that words containing e.g. '=E1=B9=81' are to be sorted as = 9;m'?

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

> What about generating Glossary?

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

> Any further hint in translating LyX/LaTeX sources into ConTeXt?

i never used lyx but i assume that when there is structure it can partly be scripted

Hans


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.n= l | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000006b1625058e2e9389-- --===============6111337739308768784== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6111337739308768784==--