I am using VS code + Latex for writing my research papers. I want my spell check to show suggestions in English-US, but the results I am getting are in English-UK. Is there any possible way to configure the language in VS code?
PS: I am using the LaTex Workshop (James Yu) extension in VS code.
There are several VS Code plugins which provide this task. I recommend a couple:
Code Spell Checker, which supports many programming and markup languages;
LTeX – LanguageTool grammar/spell checking, which supports only a few markup languages.
Both check documents in American English (en-US) by default.
Related
I'm trying to add these punctuation mark things to XTend to define my generator for a custom language written in XText. I'm getting very sick of copy/pasting the « quotation/punctuation mark all over the place. Originally I copied it from one of their examples.
How in the world do I TYPE this mark? I'm in the eclipse IDE... any help would be great, I've searched all over the web for this.
Actually with Eclipse I'm finding that CTRL+SHIFT+< is what works. This is with Eclipse Oxygen, maybe you're on another version.
within eclipse you can use Crtl+Space or Crtl+< within a Rich String ('''''') to get the Guillemets
I've been using F# for a few months now and have started looking into ways to create documents and presentations that include static plots/charts with F#, much like I was able to do in the programming language R with knitr and Beamer slides. For literate programming, I've found that FSharp.Formatting allows me to export to HTML and that FSharp.Markdown.Pdf will allow me to export to .pdf, but in neither instance is there a clear way to embed plots generated in F#.
For creating plots, I'm familiar with FnuPlot (which allows me to write a static plot directly to a .png), Plotly, and have started looking into XPlot, but again, there isn't a clear way to include charts from these packages into document produced out of F#.
This may be more of a "plotting in F#" question than literate programming, but is there a simple means of producing a presentation or document with static charts, text/tables, and a custom CSS in F#?
Thanks for your help!
The FsLab journal template lets you turn scripts with Markdown comments and F# code snippets into a nice HTML (and with some limitations into a PDF too). Here is a sample output that it can produce.
To get started you can:
Download "FsLab Journal Template" from the FsLab downloads page
Get a Visual Studio Template if you are using VS
Look at Literate F# scripts and Embedding output documentation.
It supports embedding of XPlot and F# Charting charts out of the box. If you're interested in adding FnuPlot support, then it certainly be done - feel free to open an issue on GitHub for this.
We are working on a product which is developed using progress 4gl but with Dutch naming conventions.
Source code has (naming convention, procedure description, on screen messages, table/fields/variable) all in Dutch language. Could anyone suggest if there is some way to map the table/fields to their corresponding English names?
We have tried to google but we didn't reach to a fixed solutions. All suggestions are highly appreciated.
For texts (labels, strings etc) Progress offers translation software.
Take a look at the documentation and if it seems good contact your Progress salesperson for a demo (the translation package is a separate license).
Linking to the 11.3 version of the documentation. If you need to look at another version search for it on community.progress.com
Visual Translator
Translation Manager
The source code is a different thing. Perhaps you can COMPILE with the XREF and LISTING options - perhaps that will create output that you somehow can run through a translator (after some parsing).
COMPILE file.p [SAVE]
XREF xref-file.txt [STRING-XREF string-xref.txt] LISTING listing-file.txt.
You can also replace XREF with XML-XREF and a XML-file will be created instead of a flat text file.
Check in on documentation (link above) on formats for these files.
Visual Studio doesn't offer automatic formatting for F#, is there any other editor I can use to automate that?
I would like it would put reasonable white spaces in between arithmetic operators (a+b) goes to (a + b) or assignment operators =
I have been developing a source code formatter for F#. The source can be found on Github.
At the moment, a VS extension has been released in Visual Studio gallery. Integration to other IDEs and editors should be possible while the API and command line are already available.
The VS extension can handle the situations you described quite well via formatting selection feature.
Generic code indentation is supported in FSharpMode in Emacs:
Link to download site
But it wont help you to do automatic white-space separation of operators, only indentation.
Maybe write a simple formatter based on Tomas Petriceks code for syntax highlighting?
Link to FSharp.Formatting
Were looking at building a Chinese site (Traditional and Simplified) in Sitecore and was wondering where the possibilities for supporting the search.
From what I have been able to gather so far:
Lucene doesn't support it out of the box but can be extended through development or third party to allow Chinese search
dtSearch should support it but from what I've been able to find it is unreliable/untested.
Does anyone have any experience using Chinese language in Sitecore and performing searches?
Has anyone had any experience implementing Chinese into Lucene?
Any help would be appreciated.
Cheers,
Phil
Cove Enterprise Search supports Chinese and integrates well with Sitecore. You should double check their full language support list if you have other needs.
http://www.coveo.com/en/technology-platform/coveo-platform-version-6-5/connectivity/web-site-search/sitecore-cms
Supported languages on Page 4:
http://www.coveo.com/~/media/Files/Support/Knowledge-Base/information-articles/Administration-Tool-Help_Coveo-Enterprise-Search6.ashx
Sitecore 7 ContentSearch features could help you out of the troubles; the search functionality supports many different languages including Chinese, Arabic, and non-UTF based characters.
I have tried to search Chinese (Traditional and Simplified) in sitecore 7 backend search tab. If you have played sitecore 7, you may notice that every content item has a new search tab. You can try to create a content item with 2 different language versions (zh-TW, zh-CN: Traditional, Simplified), then search some Chinese keyword in the search tab, it works fine.
For different language analyzers configuration, please find the Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config in the App_Config/Include folder, there already defined many language analyzers for searching, you can also add the Chinese analyzer (Luncene.Net.Analysis.Cn.ChineseAnalyzer).
There is a "developer's_guide_to_item_buckets_and search_sc7" document on the sdn site(http://sdn.sitecore.net), it provides more details.
Hope these can help you.