### Bug description

In any quarto project (website, book, etc) with pdf/latex output, if you type something like  
```
\(F_{X}(x)=\operatorname{Pr}(X \leq x)\).
```

quarto parses it as 

```
(F\_\{X\}(x)=\operatorname{Pr}(X\leq x)).
```

Causing the following error 

```
Missing $ inserted.
<inserted text> 
                $
l.241 ... (F\_\{X\}(x)=\operatorname{Pr}(X 

You may need to $ $ around an expression in this file.
see index.log for more information.
```

For html document, here  is the final output 

![image](https://user-images.githubusercontent.com/4078489/196559896-6b7f1cf5-4d26-4d5d-a80f-83148734a218.png)


The same code in `bookdown` looks like this 

![image](https://user-images.githubusercontent.com/4078489/196559988-f8b9f4db-91c0-42cf-afaf-b01432e30e2a.png)



The `\( \)` is the "newer" (LaTeX) inline mode of the classic `$ $` (TeX). A discussion about their features is here: https://tex.stackexchange.com/a/513/42627

I think that quarto should be support both ways to guarantee maximum compatibility. 



Here is a full qmd example 

```
---
title: "Latex inline \( \) doesn't work"
format: pdf
---


\(F_{X}(x)=\operatorname{Pr}(X \leq x)\).
```



My quarto version is ` 1.2.226`. 

Best. 
 

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-10-18T22:41:01Z
maikol-solis
bug
closed
Quarto doesn't parse \( \) (inline LaTeX math) correctly with pdf and html documents
https://github.com/quarto-dev/quarto-cli/issues/2924