-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to hide stata software information in quarto #49
Comments
It sounds like you're talking about the Stata "splash" (like the first output shown in this example)? That should be turned off by default. To be sure you're using nbstata, could you share the full yaml header at the start of your .qmd file? Are you using an nbstata config file? To check, run the |
YAML I used before is title: "Stata testing" But badly I uninstalled and installed nbstata. Or the problem came out because my install process is wrong? Could you do a favor to take look at it? |
I thought the YAML would be Otherwise, what would you like me to look at, your nbstata config file? Whatever it is, I'm happy to help. |
@hugetim thank you so much for your help. [nbstata] |
I incorrectly closed this issue. Could you help to reopen it as it is not solved? Thank you :) |
My first thought: Have checked if it works without a config file? You could just move that one to a different directory temporarily. |
Otherwise, maybe try shortening the path to just |
It is feasible in the first way. I move the config file to other folder and it works. But the splash still existing in the pdf file. --- ```{stata} sysuse auto ``` |
To get the config file working, try re-running the install program with the That should create a working config file for you, which you can then edit as needed. But the splash remains puzzling. Can you provide more details about how you produced that screen shot? If possible, attach the full .qmd file, provide the nbstata and quarto versions you're using, and show the quarto command you use to create the output (or explain what you did if you are using VSCode or RStudio to produce the output). |
-Below are all contents in my qmd file, no extra codes are used to produce output in vscode. After input below things, there is a 'preview' buttom in vscode and then PDF file is created. --- ```{stata} sysuse auto |
Have you tried the ```{stata} Otherwise, when I get a chance, I'll see if I can replicate the splash issue using VSCode (albeit on Windows), following your steps. I take it you're using the Quarto Extension for VSCode? |
Yes, I am using quarto extension for VScode. But you still need to install quarto first and then for vscode install the extension. I tried below code and it works as long as I remove the config file to other folders. ```{stata} However, the splash is still existing. It seems the config file does not work in my side. |
Can you paste the output from the |
When I render qmd file in quarto, it always show that stata log and software information. Not sure where is th problem.
The tool I am using is vscode and the kernel is nstata. My quarto output format is pdf.
The text was updated successfully, but these errors were encountered: