Write Form Field From MikTex (via Pandoc) which iTextSharp Can ParseHow can I write greek in TexnicCenter...

Why the difference in metal between 銀行 and お金?

Do I have an "anti-research" personality?

gnu parallel how to use with ffmpeg

What is the difference between `a[bc]d` (brackets) and `a{b,c}d` (braces)?

When and why did journal article titles become descriptive, rather than creatively allusive?

Counterexample: a pair of linearly ordered sets that are isomorphic to subsets of the other, but not isomorphic between them

Single Colour Mastermind Problem

What does YCWCYODFTRFDTY mean?

Were there two appearances of Stan Lee?

Feels like I am getting dragged in office politics

Is there a way to detect if the current member function is operating on an lvalue or rvalue?

Why does processed meat contain preservatives, while canned fish needs not?

Lock in SQL Server and Oracle

Why was Germany not as successful as other Europeans in establishing overseas colonies?

Will tsunami waves travel forever if there was no land?

How to stop co-workers from teasing me because I know Russian?

Python "triplet" dictionary?

Advice on laptop battery life

Does jamais mean always or never in this context?

Why is current rating for multicore cable lower than single core with the same cross section?

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

What is the point of Germany's 299 "party seats" in the Bundestag?

Transfer over $10k

Why are the 2nd/3rd singular forms of present of « potere » irregular?



Write Form Field From MikTex (via Pandoc) which iTextSharp Can Parse


How can I write greek in TexnicCenter with MiktexHow can I enable write 18 on a MikTeX installationHow can I tell which Latex (MikTex or TexLive) I have installed on Ubuntu?Use Note field in Bibtex with CMS via PandocCan I save the list of installed Miktex (MPM) packages to a text file and install from that file in another installation?













1















I'm doing some tests with iTextSharp to see it would work to automate a workflow I have. So, I am using Pandoc to generate some pdfs from markdown. But when I generate the files iTextSharp doesn't recognize the fields I have generated. It recognizes the fields in a different pdf I didn't create so I figure it is something that I am doing wrong.



Solution:



I guess I needed the form wrapper around it:



begin{Form}

My field: underline{TextField[name=AField]{}}

end{Form}




So, I start with this code in Test.md:



My field: underline{TextField[name=AField]{}}


If I use this command pandoc -s .Test.md -o Test.tex to generate the tex file I get this result:



... see pre code below if this part of the latex file matter to you

begin{document}

My field: underline{TextField[name=AField]{}}

end{document}


Of course, I use this command pandoc -s .Test.md -o Test.pdf to actually generate the pdf. Should I be using a different command to generate the TextField?



Code generated in tex file not included above for brevity:



PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
PassOptionsToPackage{hyphens}{url}
%
documentclass[]{article}
usepackage{lmodern}
usepackage{amssymb,amsmath}
usepackage{ifxetex,ifluatex}
usepackage{fixltx2e} % provides textsubscript
ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{textcomp} % provides euro and other symbols
else % if luatex or xelatex
usepackage{unicode-math}
defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
fi
% use upquote if available, for straight quotes in verbatim environments
IfFileExists{upquote.sty}{usepackage{upquote}}{}
% use microtype if available
IfFileExists{microtype.sty}{%
usepackage[]{microtype}
UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
IfFileExists{parskip.sty}{%
usepackage{parskip}
}{% else
setlength{parindent}{0pt}
setlength{parskip}{6pt plus 2pt minus 1pt}
}
usepackage{hyperref}
hypersetup{
pdfborder={0 0 0},
breaklinks=true}
urlstyle{same} % don't use monospace font for urls
setlength{emergencystretch}{3em} % prevent overfull lines
providecommand{tightlist}{%
setlength{itemsep}{0pt}setlength{parskip}{0pt}}
setcounter{secnumdepth}{0}
% Redefines (sub)paragraphs to behave more like sections
ifxparagraphundefinedelse
letoldparagraphparagraph
renewcommand{paragraph}[1]{oldparagraph{#1}mbox{}}
fi
ifxsubparagraphundefinedelse
letoldsubparagraphsubparagraph
renewcommand{subparagraph}[1]{oldsubparagraph{#1}mbox{}}
fi

% set default figure placement to htbp
makeatletter
deffps@figure{htbp}
makeatother


date{}


Note: I asked this question over on StackOverflow but it is probably better here.










share|improve this question
















bumped to the homepage by Community 55 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I'm doing some tests with iTextSharp to see it would work to automate a workflow I have. So, I am using Pandoc to generate some pdfs from markdown. But when I generate the files iTextSharp doesn't recognize the fields I have generated. It recognizes the fields in a different pdf I didn't create so I figure it is something that I am doing wrong.



    Solution:



    I guess I needed the form wrapper around it:



    begin{Form}

    My field: underline{TextField[name=AField]{}}

    end{Form}




    So, I start with this code in Test.md:



    My field: underline{TextField[name=AField]{}}


    If I use this command pandoc -s .Test.md -o Test.tex to generate the tex file I get this result:



    ... see pre code below if this part of the latex file matter to you

    begin{document}

    My field: underline{TextField[name=AField]{}}

    end{document}


    Of course, I use this command pandoc -s .Test.md -o Test.pdf to actually generate the pdf. Should I be using a different command to generate the TextField?



    Code generated in tex file not included above for brevity:



    PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
    PassOptionsToPackage{hyphens}{url}
    %
    documentclass[]{article}
    usepackage{lmodern}
    usepackage{amssymb,amsmath}
    usepackage{ifxetex,ifluatex}
    usepackage{fixltx2e} % provides textsubscript
    ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage{textcomp} % provides euro and other symbols
    else % if luatex or xelatex
    usepackage{unicode-math}
    defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
    fi
    % use upquote if available, for straight quotes in verbatim environments
    IfFileExists{upquote.sty}{usepackage{upquote}}{}
    % use microtype if available
    IfFileExists{microtype.sty}{%
    usepackage[]{microtype}
    UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
    }{}
    IfFileExists{parskip.sty}{%
    usepackage{parskip}
    }{% else
    setlength{parindent}{0pt}
    setlength{parskip}{6pt plus 2pt minus 1pt}
    }
    usepackage{hyperref}
    hypersetup{
    pdfborder={0 0 0},
    breaklinks=true}
    urlstyle{same} % don't use monospace font for urls
    setlength{emergencystretch}{3em} % prevent overfull lines
    providecommand{tightlist}{%
    setlength{itemsep}{0pt}setlength{parskip}{0pt}}
    setcounter{secnumdepth}{0}
    % Redefines (sub)paragraphs to behave more like sections
    ifxparagraphundefinedelse
    letoldparagraphparagraph
    renewcommand{paragraph}[1]{oldparagraph{#1}mbox{}}
    fi
    ifxsubparagraphundefinedelse
    letoldsubparagraphsubparagraph
    renewcommand{subparagraph}[1]{oldsubparagraph{#1}mbox{}}
    fi

    % set default figure placement to htbp
    makeatletter
    deffps@figure{htbp}
    makeatother


    date{}


    Note: I asked this question over on StackOverflow but it is probably better here.










    share|improve this question
















    bumped to the homepage by Community 55 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I'm doing some tests with iTextSharp to see it would work to automate a workflow I have. So, I am using Pandoc to generate some pdfs from markdown. But when I generate the files iTextSharp doesn't recognize the fields I have generated. It recognizes the fields in a different pdf I didn't create so I figure it is something that I am doing wrong.



      Solution:



      I guess I needed the form wrapper around it:



      begin{Form}

      My field: underline{TextField[name=AField]{}}

      end{Form}




      So, I start with this code in Test.md:



      My field: underline{TextField[name=AField]{}}


      If I use this command pandoc -s .Test.md -o Test.tex to generate the tex file I get this result:



      ... see pre code below if this part of the latex file matter to you

      begin{document}

      My field: underline{TextField[name=AField]{}}

      end{document}


      Of course, I use this command pandoc -s .Test.md -o Test.pdf to actually generate the pdf. Should I be using a different command to generate the TextField?



      Code generated in tex file not included above for brevity:



      PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
      PassOptionsToPackage{hyphens}{url}
      %
      documentclass[]{article}
      usepackage{lmodern}
      usepackage{amssymb,amsmath}
      usepackage{ifxetex,ifluatex}
      usepackage{fixltx2e} % provides textsubscript
      ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage{textcomp} % provides euro and other symbols
      else % if luatex or xelatex
      usepackage{unicode-math}
      defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
      fi
      % use upquote if available, for straight quotes in verbatim environments
      IfFileExists{upquote.sty}{usepackage{upquote}}{}
      % use microtype if available
      IfFileExists{microtype.sty}{%
      usepackage[]{microtype}
      UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
      }{}
      IfFileExists{parskip.sty}{%
      usepackage{parskip}
      }{% else
      setlength{parindent}{0pt}
      setlength{parskip}{6pt plus 2pt minus 1pt}
      }
      usepackage{hyperref}
      hypersetup{
      pdfborder={0 0 0},
      breaklinks=true}
      urlstyle{same} % don't use monospace font for urls
      setlength{emergencystretch}{3em} % prevent overfull lines
      providecommand{tightlist}{%
      setlength{itemsep}{0pt}setlength{parskip}{0pt}}
      setcounter{secnumdepth}{0}
      % Redefines (sub)paragraphs to behave more like sections
      ifxparagraphundefinedelse
      letoldparagraphparagraph
      renewcommand{paragraph}[1]{oldparagraph{#1}mbox{}}
      fi
      ifxsubparagraphundefinedelse
      letoldsubparagraphsubparagraph
      renewcommand{subparagraph}[1]{oldsubparagraph{#1}mbox{}}
      fi

      % set default figure placement to htbp
      makeatletter
      deffps@figure{htbp}
      makeatother


      date{}


      Note: I asked this question over on StackOverflow but it is probably better here.










      share|improve this question
















      I'm doing some tests with iTextSharp to see it would work to automate a workflow I have. So, I am using Pandoc to generate some pdfs from markdown. But when I generate the files iTextSharp doesn't recognize the fields I have generated. It recognizes the fields in a different pdf I didn't create so I figure it is something that I am doing wrong.



      Solution:



      I guess I needed the form wrapper around it:



      begin{Form}

      My field: underline{TextField[name=AField]{}}

      end{Form}




      So, I start with this code in Test.md:



      My field: underline{TextField[name=AField]{}}


      If I use this command pandoc -s .Test.md -o Test.tex to generate the tex file I get this result:



      ... see pre code below if this part of the latex file matter to you

      begin{document}

      My field: underline{TextField[name=AField]{}}

      end{document}


      Of course, I use this command pandoc -s .Test.md -o Test.pdf to actually generate the pdf. Should I be using a different command to generate the TextField?



      Code generated in tex file not included above for brevity:



      PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
      PassOptionsToPackage{hyphens}{url}
      %
      documentclass[]{article}
      usepackage{lmodern}
      usepackage{amssymb,amsmath}
      usepackage{ifxetex,ifluatex}
      usepackage{fixltx2e} % provides textsubscript
      ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage{textcomp} % provides euro and other symbols
      else % if luatex or xelatex
      usepackage{unicode-math}
      defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
      fi
      % use upquote if available, for straight quotes in verbatim environments
      IfFileExists{upquote.sty}{usepackage{upquote}}{}
      % use microtype if available
      IfFileExists{microtype.sty}{%
      usepackage[]{microtype}
      UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
      }{}
      IfFileExists{parskip.sty}{%
      usepackage{parskip}
      }{% else
      setlength{parindent}{0pt}
      setlength{parskip}{6pt plus 2pt minus 1pt}
      }
      usepackage{hyperref}
      hypersetup{
      pdfborder={0 0 0},
      breaklinks=true}
      urlstyle{same} % don't use monospace font for urls
      setlength{emergencystretch}{3em} % prevent overfull lines
      providecommand{tightlist}{%
      setlength{itemsep}{0pt}setlength{parskip}{0pt}}
      setcounter{secnumdepth}{0}
      % Redefines (sub)paragraphs to behave more like sections
      ifxparagraphundefinedelse
      letoldparagraphparagraph
      renewcommand{paragraph}[1]{oldparagraph{#1}mbox{}}
      fi
      ifxsubparagraphundefinedelse
      letoldsubparagraphsubparagraph
      renewcommand{subparagraph}[1]{oldsubparagraph{#1}mbox{}}
      fi

      % set default figure placement to htbp
      makeatletter
      deffps@figure{htbp}
      makeatother


      date{}


      Note: I asked this question over on StackOverflow but it is probably better here.







      miktex pandoc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 30 '18 at 19:38







      Jon49

















      asked Aug 30 '18 at 19:21









      Jon49Jon49

      1063




      1063





      bumped to the homepage by Community 55 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 55 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I guess I needed the form wrapper around it:



          begin{Form}

          My field: underline{TextField[name=AField]{}}

          end{Form}





          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%2f448566%2fwrite-form-field-from-miktex-via-pandoc-which-itextsharp-can-parse%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I guess I needed the form wrapper around it:



            begin{Form}

            My field: underline{TextField[name=AField]{}}

            end{Form}





            share|improve this answer




























              0














              I guess I needed the form wrapper around it:



              begin{Form}

              My field: underline{TextField[name=AField]{}}

              end{Form}





              share|improve this answer


























                0












                0








                0







                I guess I needed the form wrapper around it:



                begin{Form}

                My field: underline{TextField[name=AField]{}}

                end{Form}





                share|improve this answer













                I guess I needed the form wrapper around it:



                begin{Form}

                My field: underline{TextField[name=AField]{}}

                end{Form}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 31 '18 at 17:58









                Jon49Jon49

                1063




                1063






























                    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%2f448566%2fwrite-form-field-from-miktex-via-pandoc-which-itextsharp-can-parse%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

                    El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

                    Castillo d'Acher Características Menú de navegación

                    Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...