On Sat, Jul 11, 2015 at 12:53 PM, Rich Shepard <rshep...@appl-ecosys.com> wrote:
>> http://yihui.name/knitr/options/
>
>
> Liviu,
>
>   I'm becoming more comfortable with knitr in lyx, yet cannot find answers
> to some questions in the above page. For example, in a figure chunk I create
> an option box and enter fig.cap='some caption text' and fig.lp=1 as the
> lable prefix. What I have not found is how to enter a cross-reference to
> that figure.
>
>   When I follow the menus to enter a cross-reference the choice box is
> empty. In Yihui's knitr book I find no presentation of figure options nor
> how to reference them.

Can you provide a minimal example to the list? What if you include the
knitr chunk in a float and then just use LyX to create the caption and
label?

Scott

Reply via email to