Using ocgx, pgfplots packages to create a clickable pdf file, use in Microsoft Powerpoint? ...
What documents does someone with a long-term visa need to travel to another Schengen country?
How to leave only the following strings?
"Destructive force" carried by a B-52?
Why did Israel vote against lifting the American embargo on Cuba?
Why not use the yoke to control yaw, as well as pitch and roll?
Kepler's 3rd law: ratios don't fit data
Does the Pact of the Blade warlock feature allow me to customize the properties of the pact weapon I create?
What is the difference between 准时 and 按时?
Can this water damage be explained by lack of gutters and grading issues?
Meaning of "Not holding on that level of emuna/bitachon"
Are Flameskulls resistant to magical piercing damage?
Compiling and throwing simple dynamic exceptions at runtime for JVM
How to keep bees out of canned beverages?
Why is one lightbulb in a string illuminated?
Can 'non' with gerundive mean both lack of obligation and negative obligation?
Protagonist's race is hidden - should I reveal it?
How to ask rejected full-time candidates to apply to teach individual courses?
Assertions In A Mock Callout Test
How to make an animal which can only breed for a certain number of generations?
Can gravitational waves pass through a black hole?
2 sample t test for sample sizes - 30,000 and 150,000
Providing direct feedback to a product salesperson
How to mute a string and play another at the same time
How is an IPA symbol that lacks a name (e.g. ɲ) called?
Using ocgx, pgfplots packages to create a clickable pdf file, use in Microsoft Powerpoint?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)pgfplots, using sprintf in clickable libraryplotting two time series with boundsCreate PGFPlots Histogram from fileUsing pgfplots to create 2-D parameterized parametric plotPlot data file using PGFPlotsPlot excel file using pgfplotsPGFPLOTS: 3d Surface plots using data filetikz pgf - create bubble plot without using file contentPlotting an approximative function using tikz and pgfplots packagesHow to read data from file using pgfplots?
So using a simple example of a .tex file to get a clickable pdf, I want to then take the pdf image and use it in a powerpoint presentation. So I could be presenting in powerpoint, and click on the objects in the pdf to change visibility of the graph like in the example code below. I can load the pdf into powerpoint like normal, but it loses the clickable functionality. Any ideas?!?
documentclass{beamer}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{tikz}
usetikzlibrary{ocgx,calc}
begin{document}
tikzset{ocg button/.style={circle,minimum size=.5em,switch ocg with mark on={#1}{}}}
begin{frame}
frametitle{Title}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 1,ref=layer1}]
begin{scope}[shift={(current page)}]
fill[red,fill opacity=.5] (120:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 2,ref=layer2}]
begin{scope}[shift={(current page)}]
fill[blue,fill opacity=.5] (240:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 3,ref=layer3}]
begin{scope}[shift={(current page)}]
fill[green,fill opacity=.5] (0:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{itemize}
item Layer 1 tikznode[fill=red!50,ocg button=layer1]{};
item Layer 2 tikznode[fill=blue!50,ocg button=layer2]{};
item Layer 3 tikznode[fill=green!50,ocg button=layer3]{};
end{itemize}
end{frame}
end{document}
pgfplots powerpoint ocgx
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
So using a simple example of a .tex file to get a clickable pdf, I want to then take the pdf image and use it in a powerpoint presentation. So I could be presenting in powerpoint, and click on the objects in the pdf to change visibility of the graph like in the example code below. I can load the pdf into powerpoint like normal, but it loses the clickable functionality. Any ideas?!?
documentclass{beamer}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{tikz}
usetikzlibrary{ocgx,calc}
begin{document}
tikzset{ocg button/.style={circle,minimum size=.5em,switch ocg with mark on={#1}{}}}
begin{frame}
frametitle{Title}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 1,ref=layer1}]
begin{scope}[shift={(current page)}]
fill[red,fill opacity=.5] (120:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 2,ref=layer2}]
begin{scope}[shift={(current page)}]
fill[blue,fill opacity=.5] (240:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 3,ref=layer3}]
begin{scope}[shift={(current page)}]
fill[green,fill opacity=.5] (0:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{itemize}
item Layer 1 tikznode[fill=red!50,ocg button=layer1]{};
item Layer 2 tikznode[fill=blue!50,ocg button=layer2]{};
item Layer 3 tikznode[fill=green!50,ocg button=layer3]{};
end{itemize}
end{frame}
end{document}
pgfplots powerpoint ocgx
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
At a rough guess PowerPoint is not a pdf presenter, and as such cant run any imbedded code the way Acrobat can with its JavaScript support. Perhaps you need to use Acrobat reader to run the embedded programs or convert PDF to PowerPoint and add its own scripted controls. I guess this may be classed "off topic" by Latex Mods however I think it helps others to see an answer as to why a Latex feature may not be available to some users. Perhaps you could test in powerpoint settings if pdfs from other presentation sources can run without similar issues and modify question or provide your own answer
– KJO
Oct 24 '18 at 23:23
I suggest you amend Question to something like "How can I adapt my LaTeX Animation to suit PowerPoint ?"
– KJO
Oct 24 '18 at 23:56
Btw.,ocgx
is a bit dated, useocgx2
instead:usepackage[tikz]{ocgx2}
, and removeusetikzlibrary{ocgx}
.
– AlexG
Oct 25 '18 at 7:32
PDF Layers are a PDF feature. What you see in PPT is a screenshot / converted to bitmap version of the PDF and thus no more PDF. That's why the layers are gone in PPT.
– AlexG
Oct 25 '18 at 7:53
add a comment |
So using a simple example of a .tex file to get a clickable pdf, I want to then take the pdf image and use it in a powerpoint presentation. So I could be presenting in powerpoint, and click on the objects in the pdf to change visibility of the graph like in the example code below. I can load the pdf into powerpoint like normal, but it loses the clickable functionality. Any ideas?!?
documentclass{beamer}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{tikz}
usetikzlibrary{ocgx,calc}
begin{document}
tikzset{ocg button/.style={circle,minimum size=.5em,switch ocg with mark on={#1}{}}}
begin{frame}
frametitle{Title}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 1,ref=layer1}]
begin{scope}[shift={(current page)}]
fill[red,fill opacity=.5] (120:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 2,ref=layer2}]
begin{scope}[shift={(current page)}]
fill[blue,fill opacity=.5] (240:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 3,ref=layer3}]
begin{scope}[shift={(current page)}]
fill[green,fill opacity=.5] (0:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{itemize}
item Layer 1 tikznode[fill=red!50,ocg button=layer1]{};
item Layer 2 tikznode[fill=blue!50,ocg button=layer2]{};
item Layer 3 tikznode[fill=green!50,ocg button=layer3]{};
end{itemize}
end{frame}
end{document}
pgfplots powerpoint ocgx
So using a simple example of a .tex file to get a clickable pdf, I want to then take the pdf image and use it in a powerpoint presentation. So I could be presenting in powerpoint, and click on the objects in the pdf to change visibility of the graph like in the example code below. I can load the pdf into powerpoint like normal, but it loses the clickable functionality. Any ideas?!?
documentclass{beamer}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}
usepackage{tikz}
usetikzlibrary{ocgx,calc}
begin{document}
tikzset{ocg button/.style={circle,minimum size=.5em,switch ocg with mark on={#1}{}}}
begin{frame}
frametitle{Title}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 1,ref=layer1}]
begin{scope}[shift={(current page)}]
fill[red,fill opacity=.5] (120:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 2,ref=layer2}]
begin{scope}[shift={(current page)}]
fill[blue,fill opacity=.5] (240:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{tikzpicture}[overlay,remember picture,ocg={name=Layer 3,ref=layer3}]
begin{scope}[shift={(current page)}]
fill[green,fill opacity=.5] (0:1cm) circle [radius=1.5cm];
end{scope}
end{tikzpicture}
begin{itemize}
item Layer 1 tikznode[fill=red!50,ocg button=layer1]{};
item Layer 2 tikznode[fill=blue!50,ocg button=layer2]{};
item Layer 3 tikznode[fill=green!50,ocg button=layer3]{};
end{itemize}
end{frame}
end{document}
pgfplots powerpoint ocgx
pgfplots powerpoint ocgx
edited Oct 24 '18 at 23:08
Bernard
177k778210
177k778210
asked Oct 24 '18 at 22:17
RyanRyan
61
61
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
At a rough guess PowerPoint is not a pdf presenter, and as such cant run any imbedded code the way Acrobat can with its JavaScript support. Perhaps you need to use Acrobat reader to run the embedded programs or convert PDF to PowerPoint and add its own scripted controls. I guess this may be classed "off topic" by Latex Mods however I think it helps others to see an answer as to why a Latex feature may not be available to some users. Perhaps you could test in powerpoint settings if pdfs from other presentation sources can run without similar issues and modify question or provide your own answer
– KJO
Oct 24 '18 at 23:23
I suggest you amend Question to something like "How can I adapt my LaTeX Animation to suit PowerPoint ?"
– KJO
Oct 24 '18 at 23:56
Btw.,ocgx
is a bit dated, useocgx2
instead:usepackage[tikz]{ocgx2}
, and removeusetikzlibrary{ocgx}
.
– AlexG
Oct 25 '18 at 7:32
PDF Layers are a PDF feature. What you see in PPT is a screenshot / converted to bitmap version of the PDF and thus no more PDF. That's why the layers are gone in PPT.
– AlexG
Oct 25 '18 at 7:53
add a comment |
At a rough guess PowerPoint is not a pdf presenter, and as such cant run any imbedded code the way Acrobat can with its JavaScript support. Perhaps you need to use Acrobat reader to run the embedded programs or convert PDF to PowerPoint and add its own scripted controls. I guess this may be classed "off topic" by Latex Mods however I think it helps others to see an answer as to why a Latex feature may not be available to some users. Perhaps you could test in powerpoint settings if pdfs from other presentation sources can run without similar issues and modify question or provide your own answer
– KJO
Oct 24 '18 at 23:23
I suggest you amend Question to something like "How can I adapt my LaTeX Animation to suit PowerPoint ?"
– KJO
Oct 24 '18 at 23:56
Btw.,ocgx
is a bit dated, useocgx2
instead:usepackage[tikz]{ocgx2}
, and removeusetikzlibrary{ocgx}
.
– AlexG
Oct 25 '18 at 7:32
PDF Layers are a PDF feature. What you see in PPT is a screenshot / converted to bitmap version of the PDF and thus no more PDF. That's why the layers are gone in PPT.
– AlexG
Oct 25 '18 at 7:53
At a rough guess PowerPoint is not a pdf presenter, and as such cant run any imbedded code the way Acrobat can with its JavaScript support. Perhaps you need to use Acrobat reader to run the embedded programs or convert PDF to PowerPoint and add its own scripted controls. I guess this may be classed "off topic" by Latex Mods however I think it helps others to see an answer as to why a Latex feature may not be available to some users. Perhaps you could test in powerpoint settings if pdfs from other presentation sources can run without similar issues and modify question or provide your own answer
– KJO
Oct 24 '18 at 23:23
At a rough guess PowerPoint is not a pdf presenter, and as such cant run any imbedded code the way Acrobat can with its JavaScript support. Perhaps you need to use Acrobat reader to run the embedded programs or convert PDF to PowerPoint and add its own scripted controls. I guess this may be classed "off topic" by Latex Mods however I think it helps others to see an answer as to why a Latex feature may not be available to some users. Perhaps you could test in powerpoint settings if pdfs from other presentation sources can run without similar issues and modify question or provide your own answer
– KJO
Oct 24 '18 at 23:23
I suggest you amend Question to something like "How can I adapt my LaTeX Animation to suit PowerPoint ?"
– KJO
Oct 24 '18 at 23:56
I suggest you amend Question to something like "How can I adapt my LaTeX Animation to suit PowerPoint ?"
– KJO
Oct 24 '18 at 23:56
Btw.,
ocgx
is a bit dated, use ocgx2
instead: usepackage[tikz]{ocgx2}
, and remove usetikzlibrary{ocgx}
.– AlexG
Oct 25 '18 at 7:32
Btw.,
ocgx
is a bit dated, use ocgx2
instead: usepackage[tikz]{ocgx2}
, and remove usetikzlibrary{ocgx}
.– AlexG
Oct 25 '18 at 7:32
PDF Layers are a PDF feature. What you see in PPT is a screenshot / converted to bitmap version of the PDF and thus no more PDF. That's why the layers are gone in PPT.
– AlexG
Oct 25 '18 at 7:53
PDF Layers are a PDF feature. What you see in PPT is a screenshot / converted to bitmap version of the PDF and thus no more PDF. That's why the layers are gone in PPT.
– AlexG
Oct 25 '18 at 7:53
add a comment |
1 Answer
1
active
oldest
votes
It would appear from the second option on this page that you can import a LaTeX generated pdf to a slide then select it to be opened so that you can activate any LaTeX imbedded controls (Presuming you also have Acrobat or similar JavaScript enabled viewer installed).
from the description "This makes the PDF file part of the presentation file. The quality of the PDF file is reduced with this method, but you can open the full PDF file by double-clicking the image when viewing or editing in Normal view"
The alternative as per first option would be to use LaTeX to export PNG or single PDF pages to be added page by page to the PPT with similar PowerPoint controls.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456649%2fusing-ocgx-pgfplots-packages-to-create-a-clickable-pdf-file-use-in-microsoft-p%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It would appear from the second option on this page that you can import a LaTeX generated pdf to a slide then select it to be opened so that you can activate any LaTeX imbedded controls (Presuming you also have Acrobat or similar JavaScript enabled viewer installed).
from the description "This makes the PDF file part of the presentation file. The quality of the PDF file is reduced with this method, but you can open the full PDF file by double-clicking the image when viewing or editing in Normal view"
The alternative as per first option would be to use LaTeX to export PNG or single PDF pages to be added page by page to the PPT with similar PowerPoint controls.
add a comment |
It would appear from the second option on this page that you can import a LaTeX generated pdf to a slide then select it to be opened so that you can activate any LaTeX imbedded controls (Presuming you also have Acrobat or similar JavaScript enabled viewer installed).
from the description "This makes the PDF file part of the presentation file. The quality of the PDF file is reduced with this method, but you can open the full PDF file by double-clicking the image when viewing or editing in Normal view"
The alternative as per first option would be to use LaTeX to export PNG or single PDF pages to be added page by page to the PPT with similar PowerPoint controls.
add a comment |
It would appear from the second option on this page that you can import a LaTeX generated pdf to a slide then select it to be opened so that you can activate any LaTeX imbedded controls (Presuming you also have Acrobat or similar JavaScript enabled viewer installed).
from the description "This makes the PDF file part of the presentation file. The quality of the PDF file is reduced with this method, but you can open the full PDF file by double-clicking the image when viewing or editing in Normal view"
The alternative as per first option would be to use LaTeX to export PNG or single PDF pages to be added page by page to the PPT with similar PowerPoint controls.
It would appear from the second option on this page that you can import a LaTeX generated pdf to a slide then select it to be opened so that you can activate any LaTeX imbedded controls (Presuming you also have Acrobat or similar JavaScript enabled viewer installed).
from the description "This makes the PDF file part of the presentation file. The quality of the PDF file is reduced with this method, but you can open the full PDF file by double-clicking the image when viewing or editing in Normal view"
The alternative as per first option would be to use LaTeX to export PNG or single PDF pages to be added page by page to the PPT with similar PowerPoint controls.
answered Oct 24 '18 at 23:44
KJOKJO
3,9501223
3,9501223
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456649%2fusing-ocgx-pgfplots-packages-to-create-a-clickable-pdf-file-use-in-microsoft-p%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
At a rough guess PowerPoint is not a pdf presenter, and as such cant run any imbedded code the way Acrobat can with its JavaScript support. Perhaps you need to use Acrobat reader to run the embedded programs or convert PDF to PowerPoint and add its own scripted controls. I guess this may be classed "off topic" by Latex Mods however I think it helps others to see an answer as to why a Latex feature may not be available to some users. Perhaps you could test in powerpoint settings if pdfs from other presentation sources can run without similar issues and modify question or provide your own answer
– KJO
Oct 24 '18 at 23:23
I suggest you amend Question to something like "How can I adapt my LaTeX Animation to suit PowerPoint ?"
– KJO
Oct 24 '18 at 23:56
Btw.,
ocgx
is a bit dated, useocgx2
instead:usepackage[tikz]{ocgx2}
, and removeusetikzlibrary{ocgx}
.– AlexG
Oct 25 '18 at 7:32
PDF Layers are a PDF feature. What you see in PPT is a screenshot / converted to bitmap version of the PDF and thus no more PDF. That's why the layers are gone in PPT.
– AlexG
Oct 25 '18 at 7:53