cross-reference

How do I make a reference to a figure in markdown using pandoc?

℡╲_俬逩灬. 提交于 2019-11-27 19:13:28
问题 I'm currently writing a document in markdown and I'd like to make a reference to an image from my text. this is my text, I want a reference to my image1 [here]. blablabla ![image1](img/image1.png) I want to do that reference because after converting my markdown to pdf, images get placed in one or two pages after and the document doesn't make any sense. UPDATE: I've tried Ryan's answer in that post and I can't make it working. Apparently the code : [image]: image.png "Image Title" ![Alt text]

Excel structured reference table syntax

假如想象 提交于 2019-11-27 17:55:26
问题 I try to avoid using Excel too much, but when I do I like using structured references as they seem a lot cleaner to write. If I create a table called "table1" with columns "col1" and "col2" how would I reference the first row in "col1" using a structured reference in another table? I have tried the syntax =table1[[#this row],[col1]] , and just get an error. Is there a syntax like =table1[1,1] or =table1[1,[col1]] ? Of course, this doesn't work either, but what's the equivalent? It's very

How do I create a cross reference table/query for my data?

依然范特西╮ 提交于 2019-11-27 15:51:18
I have two simple tables in my database. A "card" table that contains Id, Name, and text of a card, and a "rulings" table which contains the Id of the card, and text detailing the rulings for the card. Often enough in the ruling text, there is a reference to another card in the database. It is easy enough to find this in the text because each card is encapsulated within quotes in the text. It is not uncommon to have multiple cards referenced within the text of the ruling. What I'd like to do is be able to create a cross reference table (or procedure if it is efficient enough) so that when I

XML - Referencing Other XML Files

无人久伴 提交于 2019-11-27 13:46:21
问题 I'm new to XML, so this may be a fairly easy question to answer. I was wondering if there is a standard way of referencing external XML files from within other XML files. Let me give an example. Say you have a file which defines a single object that holds a large amount of data: <person> <name>John</name> <age>18</age> <hair>Brown</hair> <eyes>Blue</eyes> </person> For the sake of this question, pretend that person holds loads of other information. Pretend the file is like 10 MB. Now, let's

knitr/rmarkdown/Latex: How to cross-reference figures and tables?

我与影子孤独终老i 提交于 2019-11-27 06:37:11
I'm trying to cross-reference figures and tables in a PDF produced with knitr/rmarkdown. There are some questions on SO and tex.stackexchange ( here and here , for example), that suggest the way to do this inline is to add \ref{fig:my_fig} , where my_fig is the chunk label. However, when I try that in my rmarkdown document, I get ?? where the figure number should be. I'd like to find out how to get cross-referencing to work properly. A reproducible example is below. There are two files: the rmarkdown file plus a header.tex file that I've included just in case it affects the answer (though I

Is there YAML syntax for sharing part of a list or map?

牧云@^-^@ 提交于 2019-11-27 00:54:20
So, I know I can do something like this: sitelist: &sites - www.foo.com - www.bar.com anotherlist: *sites And have sitelist and anotherlist both contain www.foo.com and www.bar.com . However, what I really want is for anotherlist to also contain www.baz.com , without having to repeat www.foo.com and www.baz.com . Doing this gives me a syntax error in the YAML parser: sitelist: &sites - www.foo.com - www.bar.com anotherlist: *sites - www.baz.com Just using anchors and aliases it doesn't seem possible to do what I want without adding another level of substructure, such as: sitelist: &sites - www

Cross-reference (named anchor) in markdown

六月ゝ 毕业季﹏ 提交于 2019-11-26 21:13:45
Is there markdown syntax for the equivalent of: Take me to <a href="#pookie">pookie</a> ... <a name="pookie">this is pookie</a> Steve Powell Take me to [pookie](#pookie) should be the correct markdown syntax to jump to the anchor point named pookie. To insert an anchor point of that name use HTML: <a name="pookie"></a> Markdown doesn't seem to mind where you put the anchor point. A useful place to put it is in a header. For example: ### <a name="tith"></a>This is the Heading works very well. (I'd demonstrate here but SO's renderer strips out the anchor.) Note on self-closing tags and id=

How do I create a cross reference table/query for my data?

ⅰ亾dé卋堺 提交于 2019-11-26 17:19:28
问题 I have two simple tables in my database. A "card" table that contains Id, Name, and text of a card, and a "rulings" table which contains the Id of the card, and text detailing the rulings for the card. Often enough in the ruling text, there is a reference to another card in the database. It is easy enough to find this in the text because each card is encapsulated within quotes in the text. It is not uncommon to have multiple cards referenced within the text of the ruling. What I'd like to do

knitr/rmarkdown/Latex: How to cross-reference figures and tables?

早过忘川 提交于 2019-11-26 10:26:17
问题 I\'m trying to cross-reference figures and tables in a PDF produced with knitr/rmarkdown. There are some questions on SO and tex.stackexchange (here and here, for example), that suggest the way to do this inline is to add \\ref{fig:my_fig} , where my_fig is the chunk label. However, when I try that in my rmarkdown document, I get ?? where the figure number should be. I\'d like to find out how to get cross-referencing to work properly. A reproducible example is below. There are two files: the

Is there YAML syntax for sharing part of a list or map?

房东的猫 提交于 2019-11-26 08:09:26
问题 So, I know I can do something like this: sitelist: &sites - www.foo.com - www.bar.com anotherlist: *sites And have sitelist and anotherlist both contain www.foo.com and www.bar.com . However, what I really want is for anotherlist to also contain www.baz.com , without having to repeat www.foo.com and www.baz.com . Doing this gives me a syntax error in the YAML parser: sitelist: &sites - www.foo.com - www.bar.com anotherlist: *sites - www.baz.com Just using anchors and aliases it doesn\'t seem