From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114656 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Spellchecking for ConTeXt user on a Windows platform Date: Sat, 2 Apr 2022 15:19:53 +0200 Message-ID: References: <5730146b-9b9f-3be1-ffb3-53cb5aa5804b@leliseron.org> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0916317738993879643==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6510"; mail-complaints-to="usenet@ciao.gmane.io" Cc: A A To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 02 15:20:46 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nadgL-0001VT-Hu for gctc-ntg-context-518@m.gmane-mx.org; Sat, 02 Apr 2022 15:20:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8D3562A3093; Sat, 2 Apr 2022 15:20:10 +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 fDBNcxSEvWfA; Sat, 2 Apr 2022 15:20:08 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AAE862A3104; Sat, 2 Apr 2022 15:20:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 889D62A30F3 for ; Sat, 2 Apr 2022 15:20:06 +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 sC49g3axFk9E for ; Sat, 2 Apr 2022 15:20:05 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.41; helo=mail-io1-f41.google.com; envelope-from=amine.aboufirass@gmail.com; receiver= Original-Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (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 AA12F2A3093 for ; Sat, 2 Apr 2022 15:20:04 +0200 (CEST) Original-Received: by mail-io1-f41.google.com with SMTP id 125so6109774iov.10 for ; Sat, 02 Apr 2022 06:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=48ZjndWTn5r+BIiVvaSuTuHQBewjODbeA4lRqAfvfBU=; b=pzH3L5+84oyNn+oUfG0aiwvo/1aD/XkfygjtRe1RIr5LFvwCJOw+sYdXZYf4EeX/Mm sxfnO1r8wTzxg2hhjQmZuzGADKDYqV7BGzFFwRWCfPnQZbPtOqNd+Ob6OL0L0Nk9F47x UXLZyCW7u/VQBoW6RRNPoOrR7sLAtoLmU2DUsupZ6pIXf9hzOocqhg1vGs529/2v68A2 oVfMZHTi4k7fsB2vh6sp3YXv5+lf3V0mgoM7JCr0AmzWowUUOe/Edgz+4ain1he0i7Hv ZvkOXJX9pAW+RyH5CWzlXU8os9w+S7aIZLss9cEZd6zxpAui9W+f6xhh7vqDx4fY5L3E u4Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=48ZjndWTn5r+BIiVvaSuTuHQBewjODbeA4lRqAfvfBU=; b=c7v2Rc35YjYCq9C/NQyMO80nwriEgKjESwf48PT63CaZH19TiMqYhUUxyTmmDEXDSA /MSG/V5372ZPzqy5h/ya4HAd2PsVxCSMetBAhMHKDPkJnZFhS3tf01LAxDiLIwO3Co73 LCGyna8MBFdujUnnVW3Dt54kCRzsCgJVpy4RUuNgB7+pgKvgrXuAXUFngkBHoYCURMjt pa24x/Jl9/I54pWS1Ztbni1uu6bDl9Tli6IEwgYxMlFZasko7xAhYlWAn8m1PxKGyxQK raJjRFYUjob5AnN0fQILOeNGfgvkaPdwF0SHJ+ShOKqGYR46Bm/CJZJlxjubpqt8Y6E7 +8bw== X-Gm-Message-State: AOAM531x16+aJVEEX1T2MsyRpwqgqwLo80g+kVgqseDVRX2gTVDgQduE Go+MWv4FGt6oio+xhJZzNxyBRIbkPVyBUdqJmYN27VmHAa0= X-Google-Smtp-Source: ABdhPJyBCewBuAcLpoNjBDCzvF1RPLp0PPUXSyQ7lkiHW61AC4001TO446f2UTlF35lLqGjzRKBlsa/C5pk2UYg6RQk= X-Received: by 2002:a05:6638:1902:b0:323:664a:6977 with SMTP id p2-20020a056638190200b00323664a6977mr7697372jal.298.1648905602035; Sat, 02 Apr 2022 06:20:02 -0700 (PDT) In-Reply-To: <5730146b-9b9f-3be1-ffb3-53cb5aa5804b@leliseron.org> 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.io gmane.comp.tex.context:114656 Archived-At: --===============0916317738993879643== Content-Type: multipart/alternative; boundary="000000000000ad749f05dbabc008" --000000000000ad749f05dbabc008 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Alain, Yes that's what I mean, spellchecking any content which is not a control sequence. That should include things like section titles and footnotes. Though I'm afraid that might be asking for too much. I'd rather not make it part of my editor (I use vim) and have it as an extra step which I can add to something like a Makefile. Do I need to install all of Libreoffice to gain access to the files you mention or is there an easier way? Amine On Sat, 2 Apr 2022, 13:42 Alain Delmotte via ntg-context, < ntg-context@ntg.nl> wrote: > Hi Amine! > > Do you mean spellchecking the content of your document (not the ConTeXt > commands)? > > This depends on your editor! > I use TeXworks and there is spellchecking using the dictionaries of > LibreOffice. You should copy the .aff and .dicfiles from "C:\Program > Files\LibreOffice\share\extensions\..." subdirectories to the "C:\Users\<= yourname>\AppData\Roaming\TUG\TeXworks\dictionaries" > folder (created when installing TeXworks), (I think not in subfolders for > the different languages). > You can then ask for spellchecking when you type or not. > > I hope this help, > > Alain > Le 2/04/2022 =C3=A0 09:23, A A via ntg-context a =C3=A9crit : > > Dear All, > > I'm currently using ConTeXt on a windows machine. I'd like to incorporate > some sort of automated spell-checking in my workflow. I've seen that ther= e > are two options: > > 1. spell check the .tex source file > 2. spell check the resulting pdf > > For the first option many resources online seem to suggest using *aspell. > aspell* is however not maintained for windows and therefore hopelessly > out of date. Furthermore many resources online seem to suggest skipping T= eX > and LaTeX control sequences does not always succeed. So I can only imagin= e > how poorly it deals with ConTeXt control sequences. > > The second option as shown on this StackExchange > post > suggests using *\loadspellchecklist. *However, on of the arguments to > this command includes a text file listing - and brace yourself - *all of > the correctly spelled words*. I find this both an amusing and tragic > proposition, since I basically need to spellcheck based on *every word in > a given language.* > > What options are out there for someone who would like to do serious > spellchecking using ConTeXt on Windows platform, using Powershell as my > command line? > > Regards, > > Amine > > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --000000000000ad749f05dbabc008 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Alain,

Yes that's what I mean, spellchecking any content which= is not a control sequence. That should include things like section titles = and footnotes. Though I'm afraid that might be asking for too much.
I'd rather not make it part of my editor (I use vim) and have it = as an extra step which I can add to something like a Makefile.

Do I need to install all of Libreoff= ice to gain access to the files you mention or is there an easier way?

Amine

On Sat, 2 Apr 202= 2, 13:42 Alain Delmotte via ntg-context, <ntg-context@ntg.nl> wrote:
=20 =20 =20

Hi Amine!

Do you mean spellchecking the content of your document (not the ConTeXt commands)?

This depends on your editor!
I use TeXworks and there is spellchecking using the dictionaries of LibreOffice. You should copy the .aff and .dicfiles from "C:\Program Files\LibreOffice\share\extensions\..." subdirectories to the "
C:\Users\<yourname>\= AppData\Roaming\TUG\TeXworks\dictionaries" folder (created when installing TeXworks), (I think not in subfolders for the different languages).
You can then ask for spellchecking when you type or not.

I hope this help,

Alain

Le 2/04/2022 =C3=A0 09:23, A A via ntg-context a =C3=A9crit=C2=A0:
=20
Dear All,

I'm currently using ConTeXt on a windows machine. I'd = like to incorporate some sort of automated spell-checking in my workflow. I've seen that there are two options:
  1. spell check the .tex source file
  2. spell check the resulting pdf
For the first option many resources online seem to suggest using aspell. aspell=C2=A0is however not maintained for windows and therefore hopelessly out of date. Furthermore many resources online seem to suggest skipping TeX and LaTeX control sequences does not always succeed. So I can only imagine how poorly it deals with ConTeXt control sequences.

The second option as shown on this=C2=A0StackExchange=C2=A0post sugges= ts using \loadspellchecklist. However, on of the arguments to this command includes=C2=A0a text file listing - a= nd brace yourself - all of the correctly spelled words. I find this both an amusing and tragic proposition, since I basically need to spellcheck based on every word in a given language.

What options are out there for someone who would like to do serious spellchecking using ConTeXt on Windows platform, using Powershell as my command line?

Regards,

Amine

________________________________________________________________=
___________________
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  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror=
/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________=
________
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________
--000000000000ad749f05dbabc008-- --===============0916317738993879643== 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== --===============0916317738993879643==--