code2pdf icon indicating copy to clipboard operation
code2pdf copied to clipboard

No output pdf

Open numbworks opened this issue 5 years ago • 0 comments

Hello,

first of all, thank you for your work :)

I'd really need something like this to export some repositories and read them offline on my ebook reader. But it seems I can't get code2pdf to work.

I installed it:

$ sudo apt-get install ruby $ sudo gem install code2pdf

I cloned one of the repositories I'm interested into (in C#):

$ mkdir "/home/ruben/Downloads/_Temp/ML .NET" $ cd "/home/ruben/Downloads/_Temp/ML .NET" $ git clone https://github.com/dotnet/machinelearning.git

While running it against one single sub-folder that contains few classes, I get no error but also no PDF either:

$ code2pdf /home/ruben/Downloads/_Temp/ML\ .NET/machinelearning/src/Microsoft.ML.Analyzer/ Reading file /home/ruben/Downloads/_Temp/ML .NET/machinelearning/src/Microsoft.ML.Analyzer/TypeIsSchemaShapeAnalyzer.cs Reading file /home/ruben/Downloads/_Temp/ML .NET/machinelearning/src/Microsoft.ML.Analyzer/Microsoft.ML.Analyzer.csproj Reading file /home/ruben/Downloads/_Temp/ML .NET/machinelearning/src/Microsoft.ML.Analyzer/Properties/AssemblyInfo.cs

What to I do wrong? Aren't C# .cs files supported?

Thanks!

numbworks avatar Mar 19 '19 23:03 numbworks