Convert from LyX/Latex to wordpress post












2















I have some documents in LyX/Latex and I want them as a wordpress post. I have tried converting latex to HTML (with latex2html) and afterwards, pasting that code in the wordpress editor but everything looks ugly. Do you know a better approach?










share|improve this question























  • You may be interested in this project

    – egwene sedai
    Mar 16 '15 at 15:57













  • do you mean I can convert to XML and then paste in wordpress? I have already converted from LyX to XML and then pasted in wordpress, but results look awkward

    – Open the way
    Mar 16 '15 at 16:00











  • Wordpress has a a very good QuickLaTeX plugin for math expressions, however, it's not so sophisticated for other macros.

    – user31729
    Mar 16 '15 at 16:28











  • well, i Just tried a very basic document (my CV) and could not import it correctly

    – Open the way
    Mar 19 '15 at 18:25











  • Can you tell us what looks wrong, or provide a screenshot? Without more detail on what the problem is and a minimum working example, we can't even begin to guess what might be wrong on the LaTeX side.

    – John Laviolette
    Mar 20 '15 at 0:04
















2















I have some documents in LyX/Latex and I want them as a wordpress post. I have tried converting latex to HTML (with latex2html) and afterwards, pasting that code in the wordpress editor but everything looks ugly. Do you know a better approach?










share|improve this question























  • You may be interested in this project

    – egwene sedai
    Mar 16 '15 at 15:57













  • do you mean I can convert to XML and then paste in wordpress? I have already converted from LyX to XML and then pasted in wordpress, but results look awkward

    – Open the way
    Mar 16 '15 at 16:00











  • Wordpress has a a very good QuickLaTeX plugin for math expressions, however, it's not so sophisticated for other macros.

    – user31729
    Mar 16 '15 at 16:28











  • well, i Just tried a very basic document (my CV) and could not import it correctly

    – Open the way
    Mar 19 '15 at 18:25











  • Can you tell us what looks wrong, or provide a screenshot? Without more detail on what the problem is and a minimum working example, we can't even begin to guess what might be wrong on the LaTeX side.

    – John Laviolette
    Mar 20 '15 at 0:04














2












2








2


1






I have some documents in LyX/Latex and I want them as a wordpress post. I have tried converting latex to HTML (with latex2html) and afterwards, pasting that code in the wordpress editor but everything looks ugly. Do you know a better approach?










share|improve this question














I have some documents in LyX/Latex and I want them as a wordpress post. I have tried converting latex to HTML (with latex2html) and afterwards, pasting that code in the wordpress editor but everything looks ugly. Do you know a better approach?







lyx html






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 16 '15 at 15:52









Open the wayOpen the way

82951629




82951629













  • You may be interested in this project

    – egwene sedai
    Mar 16 '15 at 15:57













  • do you mean I can convert to XML and then paste in wordpress? I have already converted from LyX to XML and then pasted in wordpress, but results look awkward

    – Open the way
    Mar 16 '15 at 16:00











  • Wordpress has a a very good QuickLaTeX plugin for math expressions, however, it's not so sophisticated for other macros.

    – user31729
    Mar 16 '15 at 16:28











  • well, i Just tried a very basic document (my CV) and could not import it correctly

    – Open the way
    Mar 19 '15 at 18:25











  • Can you tell us what looks wrong, or provide a screenshot? Without more detail on what the problem is and a minimum working example, we can't even begin to guess what might be wrong on the LaTeX side.

    – John Laviolette
    Mar 20 '15 at 0:04



















  • You may be interested in this project

    – egwene sedai
    Mar 16 '15 at 15:57













  • do you mean I can convert to XML and then paste in wordpress? I have already converted from LyX to XML and then pasted in wordpress, but results look awkward

    – Open the way
    Mar 16 '15 at 16:00











  • Wordpress has a a very good QuickLaTeX plugin for math expressions, however, it's not so sophisticated for other macros.

    – user31729
    Mar 16 '15 at 16:28











  • well, i Just tried a very basic document (my CV) and could not import it correctly

    – Open the way
    Mar 19 '15 at 18:25











  • Can you tell us what looks wrong, or provide a screenshot? Without more detail on what the problem is and a minimum working example, we can't even begin to guess what might be wrong on the LaTeX side.

    – John Laviolette
    Mar 20 '15 at 0:04

















You may be interested in this project

– egwene sedai
Mar 16 '15 at 15:57







You may be interested in this project

– egwene sedai
Mar 16 '15 at 15:57















do you mean I can convert to XML and then paste in wordpress? I have already converted from LyX to XML and then pasted in wordpress, but results look awkward

– Open the way
Mar 16 '15 at 16:00





do you mean I can convert to XML and then paste in wordpress? I have already converted from LyX to XML and then pasted in wordpress, but results look awkward

– Open the way
Mar 16 '15 at 16:00













Wordpress has a a very good QuickLaTeX plugin for math expressions, however, it's not so sophisticated for other macros.

– user31729
Mar 16 '15 at 16:28





Wordpress has a a very good QuickLaTeX plugin for math expressions, however, it's not so sophisticated for other macros.

– user31729
Mar 16 '15 at 16:28













well, i Just tried a very basic document (my CV) and could not import it correctly

– Open the way
Mar 19 '15 at 18:25





well, i Just tried a very basic document (my CV) and could not import it correctly

– Open the way
Mar 19 '15 at 18:25













Can you tell us what looks wrong, or provide a screenshot? Without more detail on what the problem is and a minimum working example, we can't even begin to guess what might be wrong on the LaTeX side.

– John Laviolette
Mar 20 '15 at 0:04





Can you tell us what looks wrong, or provide a screenshot? Without more detail on what the problem is and a minimum working example, we can't even begin to guess what might be wrong on the LaTeX side.

– John Laviolette
Mar 20 '15 at 0:04










2 Answers
2






active

oldest

votes


















2














Wordpress supports a couple different formatting options, including HTML and Markdown. You can convert LaTeX to either of these formats, as well as several others, using Pandoc. But it's probably not the low-level formatting that you are objecting to, but things like margins, header positions, colors, choice of font, and other elements that simply don't get translated, because they are dependent on the intended final form. LaTeX document class, usepackage, and the like don't get translated to HTML, and on the HTML side, anything controlled by CSS generally won't get translated into LaTeX.



Wordpress has themes available that control the way the website looks, and the style of individual elements like headings are going to be controlled by adding a CSS class to the element, something like <P CLASS="myparagraphstyle">. You should really talk to other Wordpress users about this, since it probably has nothing to do with LaTeX.






share|improve this answer
























  • thanks for the comment. I am desperate, do not know what to do!

    – Open the way
    Mar 19 '15 at 18:25



















1














That's an old question, but I have stumbled upon it recently and thought that it might help pointing out to the link below



https://lucatrevisan.wordpress.com/2009/02/21/converting-latex-to-wordpress/



Seems like someone came-up with an automatic script in python that can translate math oriented latex to nice wordpress formatted text.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    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%2ftex.stackexchange.com%2fquestions%2f233434%2fconvert-from-lyx-latex-to-wordpress-post%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Wordpress supports a couple different formatting options, including HTML and Markdown. You can convert LaTeX to either of these formats, as well as several others, using Pandoc. But it's probably not the low-level formatting that you are objecting to, but things like margins, header positions, colors, choice of font, and other elements that simply don't get translated, because they are dependent on the intended final form. LaTeX document class, usepackage, and the like don't get translated to HTML, and on the HTML side, anything controlled by CSS generally won't get translated into LaTeX.



    Wordpress has themes available that control the way the website looks, and the style of individual elements like headings are going to be controlled by adding a CSS class to the element, something like <P CLASS="myparagraphstyle">. You should really talk to other Wordpress users about this, since it probably has nothing to do with LaTeX.






    share|improve this answer
























    • thanks for the comment. I am desperate, do not know what to do!

      – Open the way
      Mar 19 '15 at 18:25
















    2














    Wordpress supports a couple different formatting options, including HTML and Markdown. You can convert LaTeX to either of these formats, as well as several others, using Pandoc. But it's probably not the low-level formatting that you are objecting to, but things like margins, header positions, colors, choice of font, and other elements that simply don't get translated, because they are dependent on the intended final form. LaTeX document class, usepackage, and the like don't get translated to HTML, and on the HTML side, anything controlled by CSS generally won't get translated into LaTeX.



    Wordpress has themes available that control the way the website looks, and the style of individual elements like headings are going to be controlled by adding a CSS class to the element, something like <P CLASS="myparagraphstyle">. You should really talk to other Wordpress users about this, since it probably has nothing to do with LaTeX.






    share|improve this answer
























    • thanks for the comment. I am desperate, do not know what to do!

      – Open the way
      Mar 19 '15 at 18:25














    2












    2








    2







    Wordpress supports a couple different formatting options, including HTML and Markdown. You can convert LaTeX to either of these formats, as well as several others, using Pandoc. But it's probably not the low-level formatting that you are objecting to, but things like margins, header positions, colors, choice of font, and other elements that simply don't get translated, because they are dependent on the intended final form. LaTeX document class, usepackage, and the like don't get translated to HTML, and on the HTML side, anything controlled by CSS generally won't get translated into LaTeX.



    Wordpress has themes available that control the way the website looks, and the style of individual elements like headings are going to be controlled by adding a CSS class to the element, something like <P CLASS="myparagraphstyle">. You should really talk to other Wordpress users about this, since it probably has nothing to do with LaTeX.






    share|improve this answer













    Wordpress supports a couple different formatting options, including HTML and Markdown. You can convert LaTeX to either of these formats, as well as several others, using Pandoc. But it's probably not the low-level formatting that you are objecting to, but things like margins, header positions, colors, choice of font, and other elements that simply don't get translated, because they are dependent on the intended final form. LaTeX document class, usepackage, and the like don't get translated to HTML, and on the HTML side, anything controlled by CSS generally won't get translated into LaTeX.



    Wordpress has themes available that control the way the website looks, and the style of individual elements like headings are going to be controlled by adding a CSS class to the element, something like <P CLASS="myparagraphstyle">. You should really talk to other Wordpress users about this, since it probably has nothing to do with LaTeX.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 16 '15 at 17:04









    John LavioletteJohn Laviolette

    20817




    20817













    • thanks for the comment. I am desperate, do not know what to do!

      – Open the way
      Mar 19 '15 at 18:25



















    • thanks for the comment. I am desperate, do not know what to do!

      – Open the way
      Mar 19 '15 at 18:25

















    thanks for the comment. I am desperate, do not know what to do!

    – Open the way
    Mar 19 '15 at 18:25





    thanks for the comment. I am desperate, do not know what to do!

    – Open the way
    Mar 19 '15 at 18:25











    1














    That's an old question, but I have stumbled upon it recently and thought that it might help pointing out to the link below



    https://lucatrevisan.wordpress.com/2009/02/21/converting-latex-to-wordpress/



    Seems like someone came-up with an automatic script in python that can translate math oriented latex to nice wordpress formatted text.






    share|improve this answer




























      1














      That's an old question, but I have stumbled upon it recently and thought that it might help pointing out to the link below



      https://lucatrevisan.wordpress.com/2009/02/21/converting-latex-to-wordpress/



      Seems like someone came-up with an automatic script in python that can translate math oriented latex to nice wordpress formatted text.






      share|improve this answer


























        1












        1








        1







        That's an old question, but I have stumbled upon it recently and thought that it might help pointing out to the link below



        https://lucatrevisan.wordpress.com/2009/02/21/converting-latex-to-wordpress/



        Seems like someone came-up with an automatic script in python that can translate math oriented latex to nice wordpress formatted text.






        share|improve this answer













        That's an old question, but I have stumbled upon it recently and thought that it might help pointing out to the link below



        https://lucatrevisan.wordpress.com/2009/02/21/converting-latex-to-wordpress/



        Seems like someone came-up with an automatic script in python that can translate math oriented latex to nice wordpress formatted text.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 25 '16 at 18:47









        themthem

        12116




        12116






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX 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%2ftex.stackexchange.com%2fquestions%2f233434%2fconvert-from-lyx-latex-to-wordpress-post%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

            Contact image not getting when fetch all contact list from iPhone by CNContact

            count number of partitions of a set with n elements into k subsets

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks