File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ PRPDFDocument >> postWriteTransform: aFile [
9090 ' -f' .
9191 ' -interaction=nonstopmode' .
9292 ' -outdir=' , (self toCommandPath: outputFileReference fullName).
93- self toCommandPath: (PRLaTeXWriter toLatexPath: (aFile relativeTo: outputDirectory) pillarPrintString) }
93+ self toCommandPath: (self toLatexPath: (aFile relativeTo: outputDirectory) pillarPrintString) }
9494 workingDirectory: outputDirectory fullName
9595]
9696
@@ -103,6 +103,22 @@ PRPDFDocument >> toCommandPath: aPathString [
103103 ^ aPathString
104104]
105105
106+ { #category : ' writing' }
107+ PRPDFDocument >> toLatexPath: aString [
108+ " Replace all (windows style) back slashes in paths by (unix style) forward slashes.
109+ This is required as path in latex only support unix style pathes like
110+
111+ /home/xxx
112+
113+ or
114+
115+ C:/home/xxx
116+
117+ See https://tex.stackexchange.com/questions/9363/how-does-one-insert-a-backslash-or-a-tilde-into-latex
118+ "
119+ ^ aString copyReplaceAll: ' \' with: ' /'
120+ ]
121+
106122{ #category : ' accessing' }
107123PRPDFDocument >> transformations [
108124 self halt.
You can’t perform that action at this time.
0 commit comments