Rendering in Quarto #16
Replies: 4 comments 3 replies
-
[Note: I made a small edit to your comment to fix the formatting: adding an extra tick to the enclosing ticks: ````] My short answer is: No, I don't know. I have been using Quarto, though. Just yesterday I spent a while trying to get some html rendering how I wanted it. My frustration was that it interprets "asis" output as Markdown rather than raw HTML as I would like. |
Beta Was this translation helpful? Give feedback.
-
That is good to know!
I should try that instead of Markdown tables.
Im still trying to see how to solve the other problem I mentioned. when
pritint output straight out of stata. for some reason things get messed up
in quatro, or quatro produced jupyter notebooks, but not if I do it in
jupyter notebooks directly.
anyways, I ll try your trick!
…On Thu, Mar 23, 2023 at 11:21 AM Tim Huegerich ***@***.***> wrote:
For what it's worth, I finally figured out my html issue. This (that is,
the surrounding disp commands) works, in a Stata code cell, to render the
esttab html correctly (including model numbers and the stars footnote):
disp "```{=html}"
esttab m1 m2 m3, mtitles keep(treat_effect yq) se align(center) width(100%) html
disp "```"
—
Reply to this email directly, view it on GitHub
<#16 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZKKFWYDW6M562UYYYKS53W5RS6XANCNFSM6AAAAAAWFLJCAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
something you may want to try
<iframe width=100% height =2000px src="aux.html"></iframe>
with the src being a file created by esttab.
The only thing i do not know is how to request Height to be automatically
sized.
…On Thu, Mar 23, 2023 at 11:34 AM Tim Huegerich ***@***.***> wrote:
Actually, it doesn't always work. I don't know if the problem is with
esttab or something in the Quarto stack, but within the surrounding disp
commands, esttab, nostar no longer renders correctly.
—
Reply to this email directly, view it on GitHub
<#16 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZKKFVMYUGRQS7U6MFUBLLW5RUSFANCNFSM6AAAAAAWFLJCAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To add to the previous point regarding code output.
I figure out a way around it.
Display it with two codes:
1st. Display the code of interest
```stata
```
2nd. display the output as is
```{stata}
*| echo: off
display "```"
All code to be shown.
display "```"
```
Makes it for longer coding, but its at least an improvement.
F
On Thu, Mar 23, 2023 at 11:49 AM Fernando Rios-Avila ***@***.***>
wrote:
… something you may want to try
<iframe width=100% height =2000px src="aux.html"></iframe>
with the src being a file created by esttab.
The only thing i do not know is how to request Height to be automatically
sized.
On Thu, Mar 23, 2023 at 11:34 AM Tim Huegerich ***@***.***>
wrote:
> Actually, it doesn't always work. I don't know if the problem is with
> esttab or something in the Quarto stack, but within the surrounding disp
> commands, esttab, nostar no longer renders correctly.
>
> —
> Reply to this email directly, view it on GitHub
> <#16 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASZKKFVMYUGRQS7U6MFUBLLW5RUSFANCNFSM6AAAAAAWFLJCAA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Tim,
Just a quick question (which i have also sent to quarto dev).
Not sure if you kept exploring quarto, but i encounter an odd problem when rendering documents straight from Stata.
consider this
So when I render this into HTML i get two outcomes from the regressions:
a good one
but also one misaligned
Do you have any idea why would this happen?
Beta Was this translation helpful? Give feedback.
All reactions