* Concatenating Files that Live in Different Folders @ 2016-05-18 15:38 TH [not found] ` <dff79dcf-130a-4947-9e8e-21ee423cb407-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: TH @ 2016-05-18 15:38 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 971 bytes --] I have three html files in each of three sub folders... parent/child1/index.html parent/child2/index.html parent/child3/index.html Can I run PanDoc in the Parent folder in a way that it will concatenate all of those html files? I want to avoid moving the target html files around as I'm trying to make a single PDF from multiple htmls and images that are in a bunch of child folders. Thanks! -- 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/dff79dcf-130a-4947-9e8e-21ee423cb407%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 1500 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <dff79dcf-130a-4947-9e8e-21ee423cb407-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Concatenating Files that Live in Different Folders [not found] ` <dff79dcf-130a-4947-9e8e-21ee423cb407-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2016-05-18 15:49 ` Daniel Staal 2016-05-18 16:05 ` TH 1 sibling, 0 replies; 5+ messages in thread From: Daniel Staal @ 2016-05-18 15:49 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw --As of May 18, 2016 8:38:38 AM -0700, TH is alleged to have said: > I have three html files in each of three sub folders... > > parent/child1/index.html > parent/child2/index.html > parent/child3/index.html > > Can I run PanDoc in the Parent folder in a way that it will concatenate > all of those html files? --As for the rest, it is mine. It should be as simple as: pandoc [options] parent/child2/index.html parent/child1/index.html parent/child3/index.html Where you put any options you need in instead of `[options]`. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Concatenating Files that Live in Different Folders [not found] ` <dff79dcf-130a-4947-9e8e-21ee423cb407-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2016-05-18 15:49 ` Daniel Staal @ 2016-05-18 16:05 ` TH [not found] ` <6f531af2-6bfa-4a50-9792-994f5beeb373-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 1 sibling, 1 reply; 5+ messages in thread From: TH @ 2016-05-18 16:05 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1300 bytes --] Hey thanks I just tried this. pandoc gave me this type of error over and over... Could not find image `205292028-job_summary_info.png', skipping... The images are all in those children folders. The only option I used was... -o levo.pdf On Wednesday, May 18, 2016 at 8:38:38 AM UTC-7, TH wrote: > > I have three html files in each of three sub folders... > > parent/child1/index.html > parent/child2/index.html > parent/child3/index.html > > Can I run PanDoc in the Parent folder in a way that it will concatenate > all of those html files? > > I want to avoid moving the target html files around as I'm trying to make > a single PDF from multiple htmls and images that are in a bunch of child > folders. > > Thanks! > -- 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/6f531af2-6bfa-4a50-9792-994f5beeb373%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 2113 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <6f531af2-6bfa-4a50-9792-994f5beeb373-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Concatenating Files that Live in Different Folders [not found] ` <6f531af2-6bfa-4a50-9792-994f5beeb373-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2016-05-18 16:23 ` John MacFarlane [not found] ` <20160518162328.GF39875-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: John MacFarlane @ 2016-05-18 16:23 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Pandoc essentially just concatenates the contents of the files you specify as arguments; any information about where they are situated is lost before the parser gets to them. You could always do something like: for f in child*/*.{png,jpg}; do ln -s $f .; done and then run the command. After you're done you can delete the symlinks. +++ TH [May 18 16 09:05 ]: > Hey thanks I just tried this. pandoc gave me this type of error over > and over... > > Could not find image `205292028-job_summary_info.png', skipping... > The images are all in those children folders. The only option I used > was... > -o levo.pdf > On Wednesday, May 18, 2016 at 8:38:38 AM UTC-7, TH wrote: > > I have three html files in each of three sub folders... > parent/child1/index.html > parent/child2/index.html > parent/child3/index.html > Can I run PanDoc in the Parent folder in a way that it will concatenate > all of those html files? > I want to avoid moving the target html files around as I'm trying to > make a single PDF from multiple htmls and images that are in a bunch of > child folders. > Thanks! > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/6f531af2-6bfa-4a50- > 9792-994f5beeb373%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/6f531af2-6bfa-4a50-9792-994f5beeb373-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20160518162328.GF39875-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>]
* Re: Concatenating Files that Live in Different Folders [not found] ` <20160518162328.GF39875-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org> @ 2016-05-18 16:39 ` TH 0 siblings, 0 replies; 5+ messages in thread From: TH @ 2016-05-18 16:39 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2999 bytes --] Thanks for the tip. I'll give that a shot! On Wednesday, May 18, 2016 at 9:23:35 AM UTC-7, John MacFarlane wrote: > > Pandoc essentially just concatenates the contents of the > files you specify as arguments; any information about where > they are situated is lost before the parser gets to them. > > You could always do something like: > > for f in child*/*.{png,jpg}; do ln -s $f .; done > > and then run the command. After you're done you can delete > the symlinks. > > +++ TH [May 18 16 09:05 ]: > > Hey thanks I just tried this. pandoc gave me this type of error over > > and over... > > > > Could not find image `205292028-job_summary_info.png', skipping... > > The images are all in those children folders. The only option I used > > was... > > -o levo.pdf > > On Wednesday, May 18, 2016 at 8:38:38 AM UTC-7, TH wrote: > > > > I have three html files in each of three sub folders... > > parent/child1/index.html > > parent/child2/index.html > > parent/child3/index.html > > Can I run PanDoc in the Parent folder in a way that it will > concatenate > > all of those html files? > > I want to avoid moving the target html files around as I'm trying to > > make a single PDF from multiple htmls and images that are in a bunch > of > > child folders. > > Thanks! > > > > -- > > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. > > To post to this group, send email to > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. > > To view this discussion on the web visit > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/6f531af2-6bfa-4a50- > > 9792-994f5beeb373%40googlegroups.com. > > For more options, visit [4]https://groups.google.com/d/optout. > > > >References > > > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> > > 3. > https://groups.google.com/d/msgid/pandoc-discuss/6f531af2-6bfa-4a50-9792-994f5beeb373-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > > 4. 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/47f7d0b0-df94-465b-b765-3b77e1b9ae32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 6439 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-05-18 16:39 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-05-18 15:38 Concatenating Files that Live in Different Folders TH [not found] ` <dff79dcf-130a-4947-9e8e-21ee423cb407-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2016-05-18 15:49 ` Daniel Staal 2016-05-18 16:05 ` TH [not found] ` <6f531af2-6bfa-4a50-9792-994f5beeb373-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2016-05-18 16:23 ` John MacFarlane [not found] ` <20160518162328.GF39875-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org> 2016-05-18 16:39 ` TH
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).