I never thought about grabbing the HTML. Works great for my HTML need. Many thanks!! Unfortunately, besides not working on the source Wikimedia file, Pandoc does not convert the HTML to TeX or Docx successfully either. On Thursday, May 7, 2020 at 5:41:54 PM UTC-4, John MacFarlane wrote: > > > You might have better luck converting the HTML version of the > wikipedia page. See > https://groups.google.com/d/msg/pandoc-discuss/ptiLha5vJ2I/bPJvyLw0BAAJ > > > John McCorkle > writes: > > > I need to convert a Wikipedia page I wrote, to HTML and to either LaTex > or > > Docx. > > I go to the page here > > (https://en.wikipedia.org/wiki/User:JohnM7190/John%27s_Noise_Figure_Page), > > > click on the "edit source" tab, select and copy the source text, and > then > > click on the "read" tab so I don't risk actually editing anything. I > paste > > that text into Notepad++ and use several regular expression > search/replace > > operations to eliminate the styles (since > Pandoc > > does not recognize them), but keeps the equation and the equation > reference > > number they contain plus fixes the {{EquationNote|x}} references to > those > > equations. That gets saved, UTF-8 encoded, as my source.wiki file. > Pandoc > > converts my source.wiki file to all three output formats pretty well > except > > the citations don't come across. > > > > Can someone please tell me how to modify the citations in my source.wiki > > file so the citations get converted properly (i.e. both first use of the > > citation, and additional references to the same citation), and end up > > listed at the end of the article the same way they do on the Wikipedia > page? > > > > For example, on first use, one of my citations is: > > {{Cite > > book|url=https://cds.cern.ch/record/105963|title=Communication system > > principles|last=Peebles|first=Peyton > > Z.|date=1976|publisher=Addison-Wesley|year=|isbn=|location=Reading, > > MA|pages=457}} > > > > and then other references to it are: > > > > > > There are several types of references, like > > > > {{Cite journal|last=Friis|first=H. T.|date=July > > 1944|title=Noise Figures of Radio Receivers|url=|journal=Proceedings of > the > > > IRE|volume=32|issue=7|pages=419–422|doi=10.1109/JRPROC.1944.232049|issn=0096-8390|via=}}[ > https://ieeexplore.ieee.org/abstract/document/1695024] > > > > {{Cite > > web|url= > http://www.electropedia.org/iev/iev.nsf/display?openform&ievref=702-08-57|title=IEC > > 60050 - International Electrotechnical Vocabulary - IEV number > 702-08-57: > > "spot noise factor (of a linear two-port device); spot noise figure (of > a > > linear two-port device)"|last=|first=|date=September > > > 2018|website=|url-status=live|archive-url=|archive-date=|accessdate=2019-12-29}} > > > > > {{Cite journal|last=Fisk|first=James R.|date=Oct > > 1975|title=Receiver Noise Figure Sensitivity and Dynamic Range - What > The > > Numbers > > Mean|url= > http://www.electronicsandbooks.com/eab3/manual/Magazine/H/Ham%20Radio%20Magazine%20US/Ham%20Radio%20Magazine%201975/10%20October%201975.pdf|journal=Ham > > > Radio|volume=|pages=8-25, pg. 12|via=}} > > > > Then Wikimedia automatically numbers these and puts them all at the end > of > > the article with the command: > > {{Reflist}} > > > > Is there some format I could convert these citations to, e.g. using > regular > > expressions, so that Pandoc would convert them properly? And is there > > something I can use to replace the {{Reflist}} command? > > > > Thanks in advance for any help! > > > > > > -- > > 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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/52683ae4-6dc6-45cd-8e2f-66b1226d6b08%40googlegroups.com. > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f57971df-00de-48d2-b4ad-3c3e0dc6a629%40googlegroups.com.