Coder Social home page Coder Social logo

latex-workshop-wiki's People

Contributors

arkandias avatar aykborstelmann avatar c-schuhmann avatar chkwon avatar cortner avatar d12bb avatar eric-wieser avatar f-i-d-o avatar foadsf avatar james-yu avatar jlelong avatar jlperla avatar johnnychen94 avatar kjgoodrick avatar leafac avatar logerfo avatar lordamit avatar lucunji avatar maawoo avatar mosullivan93 avatar poteat avatar problame avatar tamuratak avatar tecosaur avatar tenhobi avatar thegregyang avatar tnfssc avatar trevorgunn avatar watermarkhu avatar yarakashi-kikohshi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

latex-workshop-wiki's Issues

documentation on project-dependent building recipe

Currently, all latex projects without magic comments, are built using the default recipe (the first recipe). I find this behavior not so satisfactory since different project uses different compilers. In my case, many available English-version paper templates use pdflatex as its compiler, and I have to use xelatex to write Chinese.

Thus, I'm wondering if any of the following two options are possible, or already implemented but not documented:

  • when called Build Latex Project, change the default recipe to the last called recipe Build with recipe.
  • provide a project-only configuration file to override the global building settings.

Thanks

Use sumatraPdf &inverse-search SyncTex in windows (11, actually) with vscode 1.62.3

the SyncTex can be used with the following settings:

In sumatraPDF: (THIS IS IMPORTANT)

InverseSearchCmdLine = "C:\Users\<Username>\AppData\Local\Programs\Microsoft VS Code\Code.exe"  -g "%f":"%l"// the part of cli.js is deleted
EnableTeXEnhancements = true

In vscode: (other settings are the same as normal)

"latex-workshop.view.pdf.external.synctex.args": [
        "-forward-search",
        "%TEX%",
        "%LINE%",
        "-reuse-instance",
        "-inverse-search",
        "code \"C:\\Users\\<Username>\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\out\\cli.js\" -r -g \"%f:%l\"", 
        //In this place, whether the cli.js is deleted seems like make no sense
        "%PDF%",
    ],

P.S. it seems like that the cli.js is not necessary, but i do not know the reason why the deletion will make sense since i have no idea about the file or anything about the principle of SyncTex, but it truly works for me. By the way, this way seems like also solve the problem that the SyncTex fails when use inverse search and open the cli.js in vscode instead.

Document configuration variables

Some configuration variables from package.json are not documented in the wiki

  • latex-workshop.chktex.delay
  • latex-workshop.chktex.run
  • latex-workshop.docker.image.latex
  • latex-workshop.hover.ref.number.enabled
  • latex-workshop.intellisense.update.aggressive.enabled
  • latex-workshop.intellisense.update.delay
  • latex-workshop.latex.external.build.args
  • latex-workshop.latex.rootFile.useSubFile
  • latex-workshop.message.convertFilenameEncoding
  • latex-workshop.progress.barLength
  • latex-workshop.progress.barStyle
  • latex-workshop.progress.runIconType
  • latex-workshop.texdoc.args
  • latex-workshop.view.pdf.external.synctex.args
  • latex-workshop.view.pdf.external.synctex.command
  • latex-workshop.viewer.pdf.internal.port

On the contrary, some variables documented in the wiki do not exist anymore

  • latex-workshop.chktex.interval
  • latex-workshop.hover.ref.numberAtLastCompilation.enabled
  • latex-workshop.latex.texdoc.args
  • latex-workshop.latex.texdoc.path
  • latex-workshop.view.pdf.external.command
  • latex-workshop.view.pdf.external.synctex

Request for Addition of Snippet: "@O" for "\Omega"

I'd like to propose the addition of a snippet for the Omega symbol ("\Omega") in a manner similar to the existing functionality. For instance, just like "@f" outputs "\phi" and "@f" outputs "\Phi", I propose the addition of the snippet "@o" to generate "\Omega".

Currently, while using the LaTeX Workshop, there isn't a predefined snippet for entering the Omega symbol. Introducing this snippet would be beneficial for users, providing a more streamlined and efficient way to input this specific symbol.

Would it be possible to include this snippet in the library of predefined shortcuts for enhanced user convenience?

Thank you for considering this enhancement suggestion!

Translation provided by ChatGPT

Using placeholders • and TAB

When editing a Tex file, the role of placeholder • is erratic. When several of these are put sequentially in a snippet, the TAB only moves the pointer to the first • and behaves erratically afterwards. It is not possible to get out of an environment using • when this placeholder is outside the environment. Would it be possible to program the • so that TAB moves seamlessly from • to • ?

Broken link for SumatraPDF discussion

The reference link on the following page as “see here” is broken.

https://github.com/James-Yu/LaTeX-Workshop/wiki/View#sumatrapdf

This is because the discussion forum has moved.

Wrong link

https://forum.sumatrapdfreader.org/t/inverse-search-not-performed-for-vs-code-exe/4486/20

https://forum.sumatrapdfreader.org/t/inverse-search-not-performed-for-vs-code-exe/4486/20

Go to “Not Found” page...

Correct link

https://forum.sumatrapdfreader.org/t/inverse-search-not-performed-for-vs-code-exe/4486

https://forum.sumatrapdfreader.org/t/inverse-search-not-performed-for-vs-code-exe/4486

However, it is difficult to see which part of the link page is being referred to. You can also make the reference point clearer by adding highlights to specific characters. See https://developer.chrome.com/blog/new-in-chrome-80/#more

https://forum.sumatrapdfreader.org/t/inverse-search-not-performed-for-vs-code-exe/4486/#:~:text=DigNative

https://forum.sumatrapdfreader.org/t/inverse-search-not-performed-for-vs-code-exe/4486/#:~:text=DigNative


The Sumatra Reader Discussion Forum moved to GitHub Discussion of SumatraPDF.

This past discussion logs will be archived. See sumatrapdfreader/sumatrapdf#2293

Some configuration variables are not documented

Variables in package.json but not in the wiki:

  • latex-workshop.codespaces.portforwarding.openDelay
  • latex-workshop.latex.build.rootfileInStatus
  • latex-workshop.latex.rootFile.indicator
  • latex-workshop.synctex.indicator.enabled

Variables in the wiki but not in package.json:

  • latex-workshop.intellisense.fastparse.enabled
  • latex-workshop.intellisense.label.keyval

Multiple file compilation is not working!!

I tried to compile multiple file project but it is not compiling it is always showing errors. Could you please help me with it?
It is always showing "Recipe terminated with error". I am attaching the screenshot below.
Screenshot (259)

please help!!

Some commands / variables are not documented

Configuration variables

  • latex-workshop.intellisense.preview.enabled
  • latex-workshop.progress.location
  • latex-workshop.view.pdf.tab.backgroundColor

Commands

  • latex-workshop.actions
  • latex-workshop.addtexroot
  • latex-workshop.citation
  • latex-workshop.clean
  • latex-workshop.kill
  • latex-workshop.log
  • latex-workshop.refresh-viewer
  • latex-workshop.saveWithoutBuilding
  • latex-workshop.showCompilationPanel
  • latex-workshop.showSnippetPanel
  • latex-workshop.synctex
  • latex-workshop.tab
  • latex-workshop.texdoc
  • latex-workshop.texdocUsepackages
  • latex-workshop.view

Missing configuration documentation

The following variables are not documented

  • latex-workshop.bibtex-format.trailingComma
  • latex-workshop.intellisense.includegraphics.preview.pdf.enabled
  • latex-workshop.mathpreviewpanel.editorGroup

Feature request: option to set root file through a workspace setting

When working with multi-file projects that have multiple alternate root files that include the same sub-files, the current root file detection can be hard to switch. For example:

  • A1 and A2 are root files that both input B, and only define some toggles: these build two different versions of a document (e.g. for short/full versions of some document).
  • B contains \begin{document} and possibly includes multiple subfiles C1...CN

Using the current root file setup, it is cumbersome to switch between A1 and A2, especially when editing Cx, as the root file to compile needs to be either hardcoded in all these files B,C1..CN, or one needs to switch back to A1/A2 to trigger the build.

Requested feature:

A generic solution that would probably work for many other use cases, is to introduce a workspace setting that, if present, overrides the root file detection (https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#the-root-file). This could be called something like, e.g., latex-workshop.latex.rootfile or latex-workshop.latex.forceRootfile.

(Note that I tried to simulate this behavior with include/exclude lists for the root file search, but this didn't yield the override I wanted in all cases.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.