public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Newbie
@ 2018-01-28 18:27 Bob Sharp
       [not found] ` <26f36b41-2b00-4cff-8c84-796ef46dbe49-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Sharp @ 2018-01-28 18:27 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 941 bytes --]

Have some documents downloaded from *GitHub*.   
They have the *.md *extension, but cannot read them on anything I have on 
my *Windows 10pro* system. 

Would ideally like to use a converter, that runs on my system, to change 
the files to *.pdf *
(perhaps even in a batch-mode to work on all files in a folder ?) 

Would prefer an* OpenSource* application. 

cheers 


-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/26f36b41-2b00-4cff-8c84-796ef46dbe49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1475 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Newbie
       [not found] ` <26f36b41-2b00-4cff-8c84-796ef46dbe49-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-01-28 19:27   ` James AUSTIN
  2018-01-29  4:51   ` Newbie John Gabriele
  1 sibling, 0 replies; 3+ messages in thread
From: James AUSTIN @ 2018-01-28 19:27 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3669 bytes --]

Hi Bob

Welcome to the list. i am very surprised that nothing on Win 10 pro will open the MD files. You don't even get a dialogue box asking which app you want to open the files with? Here's one way you might do what you want.

There is NotePad++ which can be found at:  
https://notepad-plus-plus.org

I think you will first need to install a LaTeX distribution before you can convert to PDF. Sorry distribution may not be the correct word but just cannot think of a better one at the moment. MicTEX is apparently a good choice for Windows and can be found at:  
https://miktex.org

I do not know anything about creating a batch file in Windows, but you could install  GNUMake  which has a Windows version. I think it only works in 32-bit mode though:
http://gnuwin32.sourceforge.net/packages/make.htm

After installing GNUMake, you could create a 'makefile' in the directory where your MD files are and try creating the following file.

test.pdf: <filename>.md <filename>.md etc
	pandoc -s -o test.pdf  <filename>.md <filename>.md etc
	
You will need to tab once before writing the pandoc command, for some reason MAKE doesn't like spaces. 	I am not a mAKE expert and there may be a better way of accomplishing this.

Once you've written and saved your makefile go back to Windows Explorer  and open a Windows Powershell session or Command prompt session from the File menu. (This will open either at the folder you are currently in).

Type the path to GNUMake, it might be something like:  
C:\Users\Bob\Program Files\GNUMake\bin\make.exe

Type a space and then the word 'make'. This should hopefully build your PDF file, merging all of the MD files into one PDF.

HTH
James 

> On 28 Jan 2018, at 18:27, Bob Sharp <probowluk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> Have some documents downloaded from GitHub.   
> They have the .md extension, but cannot read them on anything I have on my Windows 10pro system. 
> 
> Would ideally like to use a converter, that runs on my system, to change the files to .pdf 
> (perhaps even in a batch-mode to work on all files in a folder ?) 
> 
> Would prefer an OpenSource application. 
> 
> cheers 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/26f36b41-2b00-4cff-8c84-796ef46dbe49%40googlegroups.com <https://groups.google.com/d/msgid/pandoc-discuss/26f36b41-2b00-4cff-8c84-796ef46dbe49%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/47B342C6-0882-4C44-83B8-EB7E7DB8ABBF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 6049 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Newbie
       [not found] ` <26f36b41-2b00-4cff-8c84-796ef46dbe49-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2018-01-28 19:27   ` Newbie James AUSTIN
@ 2018-01-29  4:51   ` John Gabriele
  1 sibling, 0 replies; 3+ messages in thread
From: John Gabriele @ 2018-01-29  4:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 2282 bytes --]

On Sun, Jan 28, 2018, at 1:27 PM, Bob Sharp wrote:
> Have some documents downloaded from *GitHub*.   
> They have the **.md **extension, but cannot read them on anything I
> have on my *Windows 10pro* system.> 
> Would ideally like to use a converter, that runs on my system, to
> change the files to **.pdf **> (perhaps even in a batch-mode to work on all files in a folder ?) 
> 
> Would prefer an* OpenSource* application. 
> 
> cheers 

Hi Bob,

.md files are just plain text (that is, just unicode (or ascii)
character codes; that's it). You can open .md files in
  * Notepad (though Notepad in particular may not display line breaks
    correctly),
  * your web browser (though, oddly, Firefox may not be set up out of
    the box to recognize .md files as the plain text that they are)
  * LibreOffice

  * As James recommends, NotePad++, a text-editor app, the specific
    purpose of which is for writing plain text files.
The easiest way to read markdown (.md) files is to just open them up and
read them with one of the apps listed above. But you can also process an
.md file into a .html file using pandoc, and then open the resulting
html file in your web browser.
You could also install a LaTeX distribution, which contains the
necessary tools to allow pandoc to convert the .md file into a .pdf
file. And then run pandoc on the .md to get the .pdf file out.
If you install a LaTeX distribution, and install Pandoc, there may be a
small graphical app to help you convert documents, but I'm not familiar
with such a thing. On GNU/Linux, it's most typical to just open a
terminal and run the pandoc command on the file in question, thus
creating the output file in the same directory.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1517201513.1442657.1251340856.7CC120DD%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 4169 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-29  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-28 18:27 Newbie Bob Sharp
     [not found] ` <26f36b41-2b00-4cff-8c84-796ef46dbe49-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-28 19:27   ` Newbie James AUSTIN
2018-01-29  4:51   ` Newbie John Gabriele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).