#LateX on Vs Code

1 messages · Page 1 of 1 (latest)

unreal whale
#

hi! i as wondering if someone knows how i can use latex in vs code, i watched some videos but it didn't work for me, can someone help me?

gloomy island
#
  1. install TeXLive or equivalent distribution

  2. install the LaTeX workshop on VSCode

  3. done

unreal whale
#

thxxxx

gloomy island
#

let me know how you go))

unreal whale
#

hiiii! i made it!

#

but i have another question, i have a latex zip file imported from overleaf, how can i open a zip file in vs code to run just like overleaf?

gloomy island
#

what format is the zip file?

#

tar.gz? tar.xz? .zip?

unreal whale
#

.zip

gloomy island
#

and I'm assuming you're on Windows?

unreal whale
#

yesss

gloomy island
#

If you double click the zip you should be able to extract it

unreal whale
#

oh, i know, it's just that when i upload a zip file in overleaf, it shows me everything on the file the way it should be, like i don't have to upload photos etc, one file and it's all there and overleaf can read this and i was wondering if vs code can do the same thing

gloomy island
#

No, I don't think so

unreal whale
#

so, i have to import everything individually? 😦

gloomy island
#

Ideally you'd have some structure in your root working directory

#

like this, for example

#

I'm not sure how "one file" can have everything you need

unreal whale
#

can you look at it? i can send you what i have

gloomy island
#

Do you have link to your overleaf document?

unreal whale
#

like, it's in portuguese cause im from brazil

gloomy island
#

That shouldn't matter at all 😄

unreal whale
gloomy island
#

Ok before we proceed any further, let me just clarify what you are looking for

unreal whale
#

ok!

gloomy island
#
  1. You want to work on your Overleaf document locally

  2. when you download the source from Overleaf, you get it as a zip

  3. You want to know how you can use this zip to work locally on your VSCode

correct?

unreal whale
#

yes it is!

gloomy island
#

Then my suggestion is

  1. Extract the zip file.

  2. Open the extracted folder on VSCode

  3. Done

#

This is how it looks for me when I follow those steps.

unreal whale
#

OMG!!!!!! thank you soooo much

#

like, if im going to do a file in latex using vscode, i always have to create an folder to put all the images etc?

gloomy island
#

You don't have to, but it gets messier if you have 37 images in the same directory as your other important files

#

It's for the purpose of organisation

unreal whale
#

understood!

#

and, whats the difference between texlive and miktex?

#

i heard something about perl (??)

#

when i tested on my computer at work, miktex worked with this perl

#

but i would like to understand the difference between these two

gloomy island
#

they are just different distributions for macropackages/packages

unreal whale
#

understood!

#

look, thank you so much! i am getting a new computer in a few weeks so i will have to do this all over again and this was really helpful!

#

im still learning how to use vs code

gloomy island
#

All good, come again when you need more help 😄

unreal whale
#

thanks!

#

ohhh, the last question

#

it's about vs code

#

when you open a folder in explorer at left, how do you delete it from there

gloomy island
#

delete?

#

as in closing the project?

#

(Ctrl+K F) command should do it

unreal whale
#

ok!

#

again, thank you for the support <33

unreal whale
#

idk how to fix it

#

i'll try to uninstall miktex and install texlive

gloomy island
#

What is the error you see?

unreal whale
#

hiii! well, i need some help, my images in latex on vs code are not where they supose to be, in the order of the code, but in overleaf it seems to work normaly, can you help me again?

brave umbra
#

could you provide part of the code that's wrong and the comparisons?