Questions tagged [cross-reference]

a notation or direction at one place (as in a document or file) to pertinent information at another place

365 questions
6
votes
2 answers

OCaml cross linking

how does referenced linking work in OCaml? Example, let's assume I have 3 modules declared as A.ml B.ml C.ml of which A needs B and C B needs A How should I proceed in compiling? Since order is relevant using ocamlc or ocamlopt how can I fix the…
Jack
  • 131,802
  • 30
  • 241
  • 343
5
votes
2 answers

Quarto cross-references: persistent cross-references when text changes

I am creating a long PDF report using Quarto. I want to include two formats of cross-reference: To the section/figure number, e.g. As discussed in Section 3.1 To the section/figure title, e.g. As discussed in My awesome section. It is…
SamR
  • 8,826
  • 3
  • 11
  • 33
5
votes
2 answers

Forward declaration of set Comparator

I have a Graph structure that uses Nodes (Vertices), which in turn have Edges attached under the form of a std::pair where the Node is the other end of the edge, and the integer is the edge weight. I'd like to keep the edges sorted in a…
SakoDaemon
  • 973
  • 1
  • 6
  • 21
5
votes
2 answers

Referencing figures with bookdown

For some reason I have problems with cross-referencing figures in a bookdown document. Here is a minimal example: --- output: bookdown::html_document2: fig_caption: yes --- Reference example: \@ref(fig:plot-cars): ```{r plot-cars, fig.cap…
der_grund
  • 1,898
  • 20
  • 36
5
votes
1 answer

Cross-referencing Chapter numbers or names by rmarkdown

In trying to find a way in Rmarkdown for cross-referencing chapters which were auto-numbering and/or by its named to do something like "As I explained hundred pages ago in \ref{ch:Chapter_Label}....." and then the generated pdf document produced…
Fábio Salles
  • 345
  • 4
  • 14
5
votes
2 answers

Getting sibling value of key in a JavaScript object literal

Does anybody know of there's a way to reference the value of a sibling key in a JavaScript object literal? so use the value of target in the beforeNext() function here: obj: { target: 'li.player a.icon-tag', parent: 'ul#drop_list', …
5
votes
1 answer

XSL cross-reference

I'm learning XSL right now and have a question regarding cross-references. My target XML file is structured like this:
gs3rr4
  • 59
  • 4
4
votes
1 answer

How can I avoid a cross-reference between 2 Objects?

I have a DataAccess Class and it has a reference to a an interface. The interface represents the caching strategy to use. I would like that the caching strategy has something like an initalize() method that fills the cache on startup. However that…
beginner_
  • 7,230
  • 18
  • 70
  • 127
4
votes
5 answers

Cross reference and circular dependency. Header including itself indirectly

placeable.h #include "selectable.h" class placeable : selectable { .. }; selectable.h #include "game.h" class selectable { .. }; game.h #include "placeable.h" class game { ... class placeable* holding; ... }; Basically placeable.h includes…
4
votes
1 answer

x-ref the python standard library with intersphinx while omitting the module name

EDIT: Other answers than the one I provided are welcome! Consider the following function: from pathlib import Path from typing import Union def func(path: Union[str, Path]) -> None: """My super function. Parameters ---------- path…
Mathieu
  • 5,410
  • 6
  • 28
  • 55
4
votes
0 answers

RMarkdown bibliography references in a ggplot

I would like to create a ggplot with articles references on one axis. I was wondering if it is possible to put the conventional Rmarkdown citation syntax as a variable input (e.g. @barnagaud_temporal_2017) and to see the clean reference in the plot…
FrsLry
  • 348
  • 4
  • 19
4
votes
1 answer

how to deploy gdata-objectivec-client library in xcode 4

I want to create an application that support Youtube API. I use this tutorial for create cross-references project http://mischneider.net/blog/?s=gdata But this tutorial deploy my project only in XCode 3. My questions - how do I connect GData in…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
4
votes
0 answers

Cross-references in Python docx

I am attempting to use Python docx to write a document that contains cross-references in its text. What I mean by a cross reference is a reference to a number (and, as the case may be, name of the caption of a paragraph/section), with such reference…
Marius
  • 45
  • 1
  • 7
4
votes
0 answers

How do I cross-reference objects by page number in R Markdown to Microsoft Word?

I am wondering how to cross-reference by page number, similar to the way that you can cross-reference section numbers (https://bookdown.org/yihui/bookdown/cross-references.html) when generating Word documents from .Rmd files. I am looking for…
4
votes
4 answers

Cross referencing assemblies

I have three projects in my .net solution. The main project and two class library projects. I have found out that I need to cross reference the class library projects. Can I do that? Is it safe or there are some considerations?
1 2
3
24 25