Skip to content

Quotation marks are not replaced when working with noweb file with Sweave extension (*.Rnw) #4180

@tannenfreund87

Description

@tannenfreund87

Quotation marks don't get replaced when working with Sweave-files.

I use RStudio and TeXstudio to work on the same source file at the same time. I use TeXstudio, because it's a way better LaTeX-editor than RStudio, which supports LaTeX only rudimentary. I highly appreciate the support for Sweave/knittr files, since that allows me to write my reports with all the power of the TeXstudio-IDE!

Environment

  • TeXstudio: 4.8.6
  • Qt: Use Qt-Version 6.9.2, compiled with Qt 6.9.1 R
  • OS:
    • Operating System: openSUSE Tumbleweed 20250910
    • KDE Plasma Version: 6.4.4
    • KDE Frameworks Version: 6.17.0
    • Qt Version: 6.9.2
    • Kernel Version: 6.17.0-rc5-18-g9dd1835ecda5b-1.g91eb846-vanilla (64-bit)
    • Graphics Platform: Wayland
  • TeX distribution: TinyTeX

Expected behavior

When I type ", it should automatically get replaced by \enquote{ or whatever substitution I have chosen in the options.

Actual behavior

When I type " nothing gets replaced

How to reproduce

  • Set Options > Configure TeXstudio > Editor > Replace Quotation Marks to any option but "no replacement"
  • Open or create a noweb file with Sweave extension (*.Rnw)
  • Try to write text in quotation marks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions