[Libre-soc-dev] Wiki constrain image size
Cole Poirier
colepoirier at gmail.com
Tue Jul 28 20:31:59 BST 2020
On Tue, Jul 28, 2020 at 12:19 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
>
> On Tuesday, July 28, 2020, Cole Poirier <colepoirier at gmail.com> wrote:
>
> > Hi Luke,
> >
> > I've added a section to HDL_workflow/coriolis2 documenting how to use
> > the soclayout repo to layout example9 (as an example).
>
>
> nice! really appreciated.
Thanks, it's really quite cool!
> > As a part of
> > this I linked to the image 180nm_Oct2020/2020-07-03_11-04.png as an
> > example of what the end result should look like.
>
>
> oo coool did you get it to run at your end?
Yes, but only in a virtual box vm, there's something wrong with my system,
running the scripts that I wrote in dev-env-setup in the vm works perfectly,
on my own system it leaves me with no TTY and I have to restart my
my computer to get it back (I've searched a bit on how to resolve this,
but I am still very much a linux noob).
>
> > Unfortunately it
> > appears HUGE on the page. What is the way that our ikwiki expects
> > image size constraints to be expressed in?
>
>
> grep -r the wiki source for "img" and you will find plenty of examples. i
> would tell you the syntax but can't remember. size="900x" rings a bell
> though. this sets width and autoscales height.
Thanks I got it working. That is correct syntax. I think it's helpful to have
an example in context, because it wasn't clear from what I found online
that the 'size=' was supposed to go inside the [[ ]], from the examples
online it was placed after the ]]. So for the future newbies, here's an
example in context.
[[!img 180nm_Oct2020/2020-07-03_11-04.png size=825x825 ]]
Works nicely :)
> qualify searches by adding the keyword "ikiwiki" and you'll find the
> documentation pretty quickly
I did, unfortunately the answers were unclear (see above).
> > and I didn't want to pollute the
> > libreriscv repo with a bunch of commits trying to figure out how to do
> > this.
> been there, done that :)
Woohoo! Learning :)
Cole
More information about the Libre-soc-dev
mailing list