Comments (7)
Thank you. Please attach the log files. Should be here:
~/.miktex/data/miktex/log/
And it would be nice if you provide a minimal test case.
from miktex.
I am sorry but I am quite new to ubuntu.
I am currently in the /usr directory. ls outputs the following:
- bin
- games
- include
- lib
- libexec
- local
- sbin
- share
- src
from miktex.
Thank you. So it seems that you cannot provide more information? Too bad...
Let's try again. Enter this command:
tar -cvzf logfiles.tar.gz ~/.miktex/texmfs/data/miktex/log/*
Then attach logfiles.tar.gz
to this ticket. Thank you!
from miktex.
from miktex.
Thank you. So it seems that everything is alright (no error messages in the log files). Since you provided no minimal test case, I cannot work on this issue effectively and I will close this ticket. If you have more info available: you can add comments and attach files.
from miktex.
Setup
- Ubuntu
- Installed pandoc
- Installed MikTeX:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
echo "deb http://miktex.org/download/ubuntu xenial universe" | sudo tee /etc/apt/sources.list.d/miktex.list
sudo apt-get update
sudo apt-get install miktex
R-code
# Set working directory
setwd("/var/www/html/test_Knitr")
# Create .md, .html, and .pdf files
print("Debug1: packages loaded")
setwd("/var/www/html/DATA/test")
knit("/var/www/html/test_Knitr/reporting_style.Rmd")
print("Debug2: knit succesfull")
setwd("/var/www/html/DATA/test")
print("Debug3: setwd successfull")
markdownToHTML('/var/www/html/DATA/test/reporting_style.md', '/var/www/html/DATA/test/reporting_style.html', options=c("use_xhml"))
print("Debug4: markdownToHTML succesfull")
system("pandoc -s /var/www/html/DATA/test/reporting_style.html -o /var/www/html/DATA/test/reporting_style.pdf")
print("Debug5: pandoc succesfull")
reporting_style.Rmd
---
title: "Reporting template"
output: html_document
---
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents.
Problem
The function runs perfectly until it reaches the last part system("pandoc.."
Here I receive an error message:
Sorry, but pdflatex did not succeed.
You may want to visit the MiKTeX project page, if you need help.
terminate called after throwing an instance of 'MiKTeX::Core::MiKTeXException'
what(): MiKTeX encountered an internal error.
pandoc: Error producing PDF
Is this sufficient?
from miktex.
No, this does not help me to reproduce the issue. Quoting this site:
"The aim of the exercise is to enable them to reproduce the problem. You want the programmer to run their own copy of the program, do the same things to it, and make it fail in the same way. When they can see the problem happening in front of their eyes, then they can deal with it.
So tell them exactly what you did. If it's a graphical program, tell them which buttons you pressed and what order you pressed them in. If it's a program you run by typing a command, show them precisely what command you typed. Wherever possible, you should provide a verbatim transcript of the session, showing what commands you typed and what the computer output in response.
Give the programmer all the input you can think of. If the program reads from a file, you will probably need to send a copy of the file. If the program talks to another computer over a network, you probably can't send a copy of that computer, but you can at least say what kind of computer it is, and (if you can) what software is running on it."
from miktex.
Related Issues (20)
- Error: "FATAL pdflatex.core - Function: fread" HOT 1
- Issue with function fread HOT 1
- spell checker is missing HOT 1
- spell checker is missing (re #1466) HOT 1
- MiKTeX Console has closed unexpectedly in Ubuntu HOT 3
- miktex-console cannot be launched due to Qt platform plugin issue HOT 11
- Missing `qt6-wayland` dependency on Ubuntu for v24.3 after moving to Qt6 (22.04) HOT 2
- Cannot compile files with "~" in the path name HOT 1
- l3sys-query HOT 1
- Bug in pdflatex.exe (as opposed to miktex-pdftex -undump=pdflatex): missing line in PDF HOT 2
- Memory leak or user fault? HOT 1
- Cannot download Miktex in Windows
- MiKTeX support for Fedora 40 HOT 1
- MiKTeX support for Ubuntu 24.04
- MiKTeX console 4.12 stuck on a defunct repository, cannot change
- Small bug in console and a suggestion.
- Following "miktex-qt5-bin-x64" should be repaired made MiKTeX Console to stop HOT 20
- QT plugin could not be initialized HOT 1
- Miktex installation broken after latest update (30 Apr 2024) HOT 1
- miktex-console failed to start because no Qt platform plugin could be initialized. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miktex.