How do you output an info page to pdf?convert single-page landscape pdf into rescaled double-page portrait...

If a digital camera can be "hacked" in the ransomware sense, how best to protect it?

How to remove ambiguity: "... lives in the city of H, the capital of the province of NS, WHERE the unemployment rate is ..."?

Box of tablets, whole or broken: solution required

Medieval Warfare and Combat Implications of Superior Strength and Skin as Strong as Leather Armor

If clocks themselves are based on light signals, wouldn't we expect the measured speed of light to always be the same constant?

Why did Gandalf use a sword against the Balrog?

A disc is cut into 12 sectors with areas in arithmetic progression. The largest angle is twice the smallest. Find the smallest angle.

What is the difference between 型 and 形?

Why are Tucker and Malcolm not dead?

Is this curved text blend possible in Illustrator?

Whether the pranava - om - mentioned in Vedas?

Is it okay for a ticket seller to grab a tip in the USA?

Aligning molecule names

A Word/Phrase for the Process of Classifying Something as a Sin

Is there any way to get the Draconic Claw feat without losing BAB?

How do I restore a deleted command in Arch Linux?

Should I ask for permission to write an expository post about someone else's research?

How can this older-style irrigation tee be replaced?

Email address etiquette - Which address should I use to contact professors?

How many different ways are there to checkmate in the early game?

How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?

Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?

Can a fight scene, component-wise, be too complex and complicated?

What does "sardine box" mean?



How do you output an info page to pdf?


convert single-page landscape pdf into rescaled double-page portrait pdfHow can you change the format command used by man?How can I merge pdf files so that each file begins on an odd page number?How to convert a color pdf to black-white?Why are man pages blank for non-root users?Why didn't GNU Info succeed man?Splitting a PDF file with Ghostscript results in one extra blank pageIs there a pdf or text file for manpages of all commands/utilities?how to look for help on a command outputHow can I split each PDF page into two pages, using the command line?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







10















If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages?



I've tried something like the following but with no success:



info -o info | ps2pdf - > info.pdf


All this does is output a blank pdf file called info.pdf and output the body into a text file.










share|improve this question



























  • That's good enough for me. It appears that info2man is in the Debian repositories so if you want to formulate that as an answer with example, I'll mark as correct. I can work it out without an example, but it may help anyone who stumbles upon this question.

    – Simon Hoare
    Jan 29 '13 at 10:56











  • It's also in Fedora 17 and Ubuntu according to pkgs.org

    – Simon Hoare
    Jan 29 '13 at 10:57






  • 1





    info -o - info | /usr/bin/groff -mandoc -Tpdf > info.pdf except it does not handle any formatting at all... not sure if there is a way to preserve that directly with the info command

    – frostschutz
    Jan 29 '13 at 12:14













  • Thanks but it's the formatting I was after. I might stick with the text files for info then as, while they are not pdf, they are at least laid out correctly.

    – Simon Hoare
    Jan 29 '13 at 12:18











  • According to gnu.org/software/texinfo/manual/info-stnd/… you should go looking for the tex sources of those info pages...?

    – frostschutz
    Jan 29 '13 at 12:22


















10















If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages?



I've tried something like the following but with no success:



info -o info | ps2pdf - > info.pdf


All this does is output a blank pdf file called info.pdf and output the body into a text file.










share|improve this question



























  • That's good enough for me. It appears that info2man is in the Debian repositories so if you want to formulate that as an answer with example, I'll mark as correct. I can work it out without an example, but it may help anyone who stumbles upon this question.

    – Simon Hoare
    Jan 29 '13 at 10:56











  • It's also in Fedora 17 and Ubuntu according to pkgs.org

    – Simon Hoare
    Jan 29 '13 at 10:57






  • 1





    info -o - info | /usr/bin/groff -mandoc -Tpdf > info.pdf except it does not handle any formatting at all... not sure if there is a way to preserve that directly with the info command

    – frostschutz
    Jan 29 '13 at 12:14













  • Thanks but it's the formatting I was after. I might stick with the text files for info then as, while they are not pdf, they are at least laid out correctly.

    – Simon Hoare
    Jan 29 '13 at 12:18











  • According to gnu.org/software/texinfo/manual/info-stnd/… you should go looking for the tex sources of those info pages...?

    – frostschutz
    Jan 29 '13 at 12:22














10












10








10


1






If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages?



I've tried something like the following but with no success:



info -o info | ps2pdf - > info.pdf


All this does is output a blank pdf file called info.pdf and output the body into a text file.










share|improve this question
















If man -t ls | ps2pdf - > ls.pdf is useful for outputting the ls man page via ps2pdf to pdf, what about info pages?



I've tried something like the following but with no success:



info -o info | ps2pdf - > info.pdf


All this does is output a blank pdf file called info.pdf and output the body into a text file.







pdf man info






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 29 '13 at 16:29









don_crissti

54.3k17 gold badges149 silver badges177 bronze badges




54.3k17 gold badges149 silver badges177 bronze badges










asked Jan 29 '13 at 10:31









Simon HoareSimon Hoare

5284 silver badges12 bronze badges




5284 silver badges12 bronze badges
















  • That's good enough for me. It appears that info2man is in the Debian repositories so if you want to formulate that as an answer with example, I'll mark as correct. I can work it out without an example, but it may help anyone who stumbles upon this question.

    – Simon Hoare
    Jan 29 '13 at 10:56











  • It's also in Fedora 17 and Ubuntu according to pkgs.org

    – Simon Hoare
    Jan 29 '13 at 10:57






  • 1





    info -o - info | /usr/bin/groff -mandoc -Tpdf > info.pdf except it does not handle any formatting at all... not sure if there is a way to preserve that directly with the info command

    – frostschutz
    Jan 29 '13 at 12:14













  • Thanks but it's the formatting I was after. I might stick with the text files for info then as, while they are not pdf, they are at least laid out correctly.

    – Simon Hoare
    Jan 29 '13 at 12:18











  • According to gnu.org/software/texinfo/manual/info-stnd/… you should go looking for the tex sources of those info pages...?

    – frostschutz
    Jan 29 '13 at 12:22



















  • That's good enough for me. It appears that info2man is in the Debian repositories so if you want to formulate that as an answer with example, I'll mark as correct. I can work it out without an example, but it may help anyone who stumbles upon this question.

    – Simon Hoare
    Jan 29 '13 at 10:56











  • It's also in Fedora 17 and Ubuntu according to pkgs.org

    – Simon Hoare
    Jan 29 '13 at 10:57






  • 1





    info -o - info | /usr/bin/groff -mandoc -Tpdf > info.pdf except it does not handle any formatting at all... not sure if there is a way to preserve that directly with the info command

    – frostschutz
    Jan 29 '13 at 12:14













  • Thanks but it's the formatting I was after. I might stick with the text files for info then as, while they are not pdf, they are at least laid out correctly.

    – Simon Hoare
    Jan 29 '13 at 12:18











  • According to gnu.org/software/texinfo/manual/info-stnd/… you should go looking for the tex sources of those info pages...?

    – frostschutz
    Jan 29 '13 at 12:22

















That's good enough for me. It appears that info2man is in the Debian repositories so if you want to formulate that as an answer with example, I'll mark as correct. I can work it out without an example, but it may help anyone who stumbles upon this question.

– Simon Hoare
Jan 29 '13 at 10:56





That's good enough for me. It appears that info2man is in the Debian repositories so if you want to formulate that as an answer with example, I'll mark as correct. I can work it out without an example, but it may help anyone who stumbles upon this question.

– Simon Hoare
Jan 29 '13 at 10:56













It's also in Fedora 17 and Ubuntu according to pkgs.org

– Simon Hoare
Jan 29 '13 at 10:57





It's also in Fedora 17 and Ubuntu according to pkgs.org

– Simon Hoare
Jan 29 '13 at 10:57




1




1





info -o - info | /usr/bin/groff -mandoc -Tpdf > info.pdf except it does not handle any formatting at all... not sure if there is a way to preserve that directly with the info command

– frostschutz
Jan 29 '13 at 12:14







info -o - info | /usr/bin/groff -mandoc -Tpdf > info.pdf except it does not handle any formatting at all... not sure if there is a way to preserve that directly with the info command

– frostschutz
Jan 29 '13 at 12:14















Thanks but it's the formatting I was after. I might stick with the text files for info then as, while they are not pdf, they are at least laid out correctly.

– Simon Hoare
Jan 29 '13 at 12:18





Thanks but it's the formatting I was after. I might stick with the text files for info then as, while they are not pdf, they are at least laid out correctly.

– Simon Hoare
Jan 29 '13 at 12:18













According to gnu.org/software/texinfo/manual/info-stnd/… you should go looking for the tex sources of those info pages...?

– frostschutz
Jan 29 '13 at 12:22





According to gnu.org/software/texinfo/manual/info-stnd/… you should go looking for the tex sources of those info pages...?

– frostschutz
Jan 29 '13 at 12:22










4 Answers
4






active

oldest

votes


















13














Ah, info brings along the texi2ps and texi2pdf programs.



So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using:



texi2pdf info.texi





share|improve this answer























  • 1





    Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

    – Simon Hoare
    Jan 29 '13 at 13:29











  • Ok, since I didn't specifically request an example, I'm going to give you the points.

    – Simon Hoare
    Jan 30 '13 at 8:18



















4














Info is a specialized format with few formatting capabilities, it's basically man with hyperlinks. Most info files are generated from a Texinfo source with the makeinfo command. Texinfo is designed to accommodate a wide range of outputs, both hypertext and printed, with basic or pretty formatting. Supported output formats include info, HTML, DVI, PostScript and PDF.



The PDF may already be present in the same package as the info file or in a separate package (depending on how much your distributing).



If it isn't, install a Texinfo setup and get the source of the package. You can then process the Texinfo source with texi2pdf, and you'll get a manual in PDF format with nicer formatting.






share|improve this answer


























  • Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

    – Simon Hoare
    Jan 30 '13 at 8:03



















0














I'd go with this freecode.com/projects/info2man as I don't know if you can output info directly. It's in the Debian and Ubuntu repositories, at least. Simply give your class file (.ci) extension as the argument to info2man.






share|improve this answer


























  • AUR also has it.

    – schaiba
    Jan 29 '13 at 10:59











  • Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

    – Simon Hoare
    Jan 29 '13 at 11:21





















0














I have found a solution that may not need the info source file to convert the info pages to pdf. However, the generated pdf format may not be beautiful as you think, but it much like the info pages.

According to the info man pages, here is a -o, --output=file option to convert the info pages to text files. So then you can convert the text file to pdf with enscript and ps2pdf.



Example: info --subnodes -o - info | enscript -o - | ps2pdf - info.pdf

Note: --subnodes: recursively output menu items.

Then it will generate the info.pdf in your working directory.






share|improve this answer




























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f62941%2fhow-do-you-output-an-info-page-to-pdf%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    13














    Ah, info brings along the texi2ps and texi2pdf programs.



    So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using:



    texi2pdf info.texi





    share|improve this answer























    • 1





      Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

      – Simon Hoare
      Jan 29 '13 at 13:29











    • Ok, since I didn't specifically request an example, I'm going to give you the points.

      – Simon Hoare
      Jan 30 '13 at 8:18
















    13














    Ah, info brings along the texi2ps and texi2pdf programs.



    So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using:



    texi2pdf info.texi





    share|improve this answer























    • 1





      Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

      – Simon Hoare
      Jan 29 '13 at 13:29











    • Ok, since I didn't specifically request an example, I'm going to give you the points.

      – Simon Hoare
      Jan 30 '13 at 8:18














    13












    13








    13







    Ah, info brings along the texi2ps and texi2pdf programs.



    So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using:



    texi2pdf info.texi





    share|improve this answer















    Ah, info brings along the texi2ps and texi2pdf programs.



    So if you find the info source (info.texi) you can generate beautiful (or bloated, depending on your point of view) PDF using:



    texi2pdf info.texi






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 29 '13 at 16:39









    don_crissti

    54.3k17 gold badges149 silver badges177 bronze badges




    54.3k17 gold badges149 silver badges177 bronze badges










    answered Jan 29 '13 at 12:27









    frostschutzfrostschutz

    30.8k2 gold badges68 silver badges100 bronze badges




    30.8k2 gold badges68 silver badges100 bronze badges











    • 1





      Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

      – Simon Hoare
      Jan 29 '13 at 13:29











    • Ok, since I didn't specifically request an example, I'm going to give you the points.

      – Simon Hoare
      Jan 30 '13 at 8:18














    • 1





      Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

      – Simon Hoare
      Jan 29 '13 at 13:29











    • Ok, since I didn't specifically request an example, I'm going to give you the points.

      – Simon Hoare
      Jan 30 '13 at 8:18








    1




    1





    Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

    – Simon Hoare
    Jan 29 '13 at 13:29





    Thanks. Don't get me wrong, I love the terminal. I just don't enjoy reading man/info pages there.

    – Simon Hoare
    Jan 29 '13 at 13:29













    Ok, since I didn't specifically request an example, I'm going to give you the points.

    – Simon Hoare
    Jan 30 '13 at 8:18





    Ok, since I didn't specifically request an example, I'm going to give you the points.

    – Simon Hoare
    Jan 30 '13 at 8:18













    4














    Info is a specialized format with few formatting capabilities, it's basically man with hyperlinks. Most info files are generated from a Texinfo source with the makeinfo command. Texinfo is designed to accommodate a wide range of outputs, both hypertext and printed, with basic or pretty formatting. Supported output formats include info, HTML, DVI, PostScript and PDF.



    The PDF may already be present in the same package as the info file or in a separate package (depending on how much your distributing).



    If it isn't, install a Texinfo setup and get the source of the package. You can then process the Texinfo source with texi2pdf, and you'll get a manual in PDF format with nicer formatting.






    share|improve this answer


























    • Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

      – Simon Hoare
      Jan 30 '13 at 8:03
















    4














    Info is a specialized format with few formatting capabilities, it's basically man with hyperlinks. Most info files are generated from a Texinfo source with the makeinfo command. Texinfo is designed to accommodate a wide range of outputs, both hypertext and printed, with basic or pretty formatting. Supported output formats include info, HTML, DVI, PostScript and PDF.



    The PDF may already be present in the same package as the info file or in a separate package (depending on how much your distributing).



    If it isn't, install a Texinfo setup and get the source of the package. You can then process the Texinfo source with texi2pdf, and you'll get a manual in PDF format with nicer formatting.






    share|improve this answer


























    • Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

      – Simon Hoare
      Jan 30 '13 at 8:03














    4












    4








    4







    Info is a specialized format with few formatting capabilities, it's basically man with hyperlinks. Most info files are generated from a Texinfo source with the makeinfo command. Texinfo is designed to accommodate a wide range of outputs, both hypertext and printed, with basic or pretty formatting. Supported output formats include info, HTML, DVI, PostScript and PDF.



    The PDF may already be present in the same package as the info file or in a separate package (depending on how much your distributing).



    If it isn't, install a Texinfo setup and get the source of the package. You can then process the Texinfo source with texi2pdf, and you'll get a manual in PDF format with nicer formatting.






    share|improve this answer













    Info is a specialized format with few formatting capabilities, it's basically man with hyperlinks. Most info files are generated from a Texinfo source with the makeinfo command. Texinfo is designed to accommodate a wide range of outputs, both hypertext and printed, with basic or pretty formatting. Supported output formats include info, HTML, DVI, PostScript and PDF.



    The PDF may already be present in the same package as the info file or in a separate package (depending on how much your distributing).



    If it isn't, install a Texinfo setup and get the source of the package. You can then process the Texinfo source with texi2pdf, and you'll get a manual in PDF format with nicer formatting.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 30 '13 at 1:07









    GillesGilles

    569k136 gold badges1172 silver badges1685 bronze badges




    569k136 gold badges1172 silver badges1685 bronze badges
















    • Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

      – Simon Hoare
      Jan 30 '13 at 8:03



















    • Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

      – Simon Hoare
      Jan 30 '13 at 8:03

















    Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

    – Simon Hoare
    Jan 30 '13 at 8:03





    Thanks but if it isn't a 1 or 2-step process the advantage is lost. I was just quite impressed that a single expression could turn a man page into an attractive formatted pdf document.

    – Simon Hoare
    Jan 30 '13 at 8:03











    0














    I'd go with this freecode.com/projects/info2man as I don't know if you can output info directly. It's in the Debian and Ubuntu repositories, at least. Simply give your class file (.ci) extension as the argument to info2man.






    share|improve this answer


























    • AUR also has it.

      – schaiba
      Jan 29 '13 at 10:59











    • Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

      – Simon Hoare
      Jan 29 '13 at 11:21


















    0














    I'd go with this freecode.com/projects/info2man as I don't know if you can output info directly. It's in the Debian and Ubuntu repositories, at least. Simply give your class file (.ci) extension as the argument to info2man.






    share|improve this answer


























    • AUR also has it.

      – schaiba
      Jan 29 '13 at 10:59











    • Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

      – Simon Hoare
      Jan 29 '13 at 11:21
















    0












    0








    0







    I'd go with this freecode.com/projects/info2man as I don't know if you can output info directly. It's in the Debian and Ubuntu repositories, at least. Simply give your class file (.ci) extension as the argument to info2man.






    share|improve this answer













    I'd go with this freecode.com/projects/info2man as I don't know if you can output info directly. It's in the Debian and Ubuntu repositories, at least. Simply give your class file (.ci) extension as the argument to info2man.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 29 '13 at 10:59









    schaibaschaiba

    5,7061 gold badge23 silver badges30 bronze badges




    5,7061 gold badge23 silver badges30 bronze badges
















    • AUR also has it.

      – schaiba
      Jan 29 '13 at 10:59











    • Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

      – Simon Hoare
      Jan 29 '13 at 11:21





















    • AUR also has it.

      – schaiba
      Jan 29 '13 at 10:59











    • Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

      – Simon Hoare
      Jan 29 '13 at 11:21



















    AUR also has it.

    – schaiba
    Jan 29 '13 at 10:59





    AUR also has it.

    – schaiba
    Jan 29 '13 at 10:59













    Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

    – Simon Hoare
    Jan 29 '13 at 11:21







    Could you provide an example. I've tried info2man /path/to/info-page (as per the info2man manual page) but do I need other arguments? Where does this output to?

    – Simon Hoare
    Jan 29 '13 at 11:21













    0














    I have found a solution that may not need the info source file to convert the info pages to pdf. However, the generated pdf format may not be beautiful as you think, but it much like the info pages.

    According to the info man pages, here is a -o, --output=file option to convert the info pages to text files. So then you can convert the text file to pdf with enscript and ps2pdf.



    Example: info --subnodes -o - info | enscript -o - | ps2pdf - info.pdf

    Note: --subnodes: recursively output menu items.

    Then it will generate the info.pdf in your working directory.






    share|improve this answer






























      0














      I have found a solution that may not need the info source file to convert the info pages to pdf. However, the generated pdf format may not be beautiful as you think, but it much like the info pages.

      According to the info man pages, here is a -o, --output=file option to convert the info pages to text files. So then you can convert the text file to pdf with enscript and ps2pdf.



      Example: info --subnodes -o - info | enscript -o - | ps2pdf - info.pdf

      Note: --subnodes: recursively output menu items.

      Then it will generate the info.pdf in your working directory.






      share|improve this answer




























        0












        0








        0







        I have found a solution that may not need the info source file to convert the info pages to pdf. However, the generated pdf format may not be beautiful as you think, but it much like the info pages.

        According to the info man pages, here is a -o, --output=file option to convert the info pages to text files. So then you can convert the text file to pdf with enscript and ps2pdf.



        Example: info --subnodes -o - info | enscript -o - | ps2pdf - info.pdf

        Note: --subnodes: recursively output menu items.

        Then it will generate the info.pdf in your working directory.






        share|improve this answer













        I have found a solution that may not need the info source file to convert the info pages to pdf. However, the generated pdf format may not be beautiful as you think, but it much like the info pages.

        According to the info man pages, here is a -o, --output=file option to convert the info pages to text files. So then you can convert the text file to pdf with enscript and ps2pdf.



        Example: info --subnodes -o - info | enscript -o - | ps2pdf - info.pdf

        Note: --subnodes: recursively output menu items.

        Then it will generate the info.pdf in your working directory.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 14 '16 at 5:44









        zhenguolizhenguoli

        1487 bronze badges




        1487 bronze badges

































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f62941%2fhow-do-you-output-an-info-page-to-pdf%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

            The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

            Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...